CM Answers Experts (CMA) - Shortcodes
TIP: What Are Shortcodes
Shortcodes add dynamic content to your site via a small piece of code. Learn more: Shortcodes - How To Use
Display the dashboard for the regular users, experts and administrators depending on who actually browse the website.
Login Form AttributesYou can show a login form for users that are not logged in.
- login_form - Show a login form or not for guest users. "0" won't show and "1" will show. Default is "1" (show)
- login_form_heading_text - Header text of the login form, if it's shown. Default is empty
[cmaexp-dashboard login_form="1" login_form_heading_text="You are not logged in" ]
Will show a list of all categories in the system. For each category once clicked will show the list of experts assigned to it. Clicking on the expert will take you to the expert profile.
Returns the value of the "author" parameter from the URL address. For example, if the URL is /custom-user-page/?author=123, the shortcode will return 123.
You can used this shortcode combined with the [cma-questions] or [cma-answers] shortcodes in order create a custom contributor's page. Example: