CM FAQ (CMFAQ) - Shortcodes
FAQ Shortcodes
TIP: What Are Shortcodes
Shortcodes add dynamic content to your site via a small piece of code.
Learn more: Shortcodes - How To Use | Finding ID of Post/Page/Other Content
FAQ With All Categories
To display FAQ with all categories use [cm_faq]
shortcode
- To show only selected lists, use the
list
parameter with name or slug of the list[cm_faq list="general-wordpress,general-magento"]
All Questions
Use [cm_faq_all]
to display a list with all questions. You can further customize this list with parameters.
Parameters
- Show only questions from selected categories - use
category
with name or slug or list of names or slugs of the categories
[cm_faq_all category="WordPress,technology"]
- Order displayed questions - use the
orderby
parameter with voting or title value to order by voting or question title
Example[cm_faq_all orderby="title"]
[cm_faq_all orderby="voting"]
- Limit the number of displayed questions - use
number=x
. By default, there's no limit.
[cm_faq_all number="10"]
- To enable or disable accordion view - use
accordion
attribute with 0 or 1 value to specify the accordion appearance of QA list items.
If set active (1), it can overwrite general appearance settings and is configured via tab option Appearance > Accordion. You can choose separate icons for collapsed and expanded view and change the icon size.
More information can be found here
[cm_faq_all accordion="0"]
[cm_faq_all accordion="1"]
Example With All Parameters
[cm_faq_all category="Technology" orderby="title" number="3" accordion="1"]
![]() |
More information about the CM FAQ WordPress Plugin Other WordPress products can be found at CreativeMinds WordPress Store |
![]() |
Let us know how we can Improve this Product Documentation Page To open a Support Ticket visit our support center |