SLA24 Documentation

Frequently Asked Questions Shortcode

The FAQ addon is quite simple to use. By default, there is no configuration at all. The questions are displayed using your theme’s default archive page, and single questions are displayed using your theme’s default single page.

However, if you want to customize the look of your FAQ, you can use the dedicated shortcode 

Test FAQ Articel

.

The shortcode has a number of parameters available:

  • limit (default 10): the number of questions to display
  • before_title: something to display before the question title. The default is an H3 tag
  • after_title: something to display after the title. The default closes the H3 tag
  • before_answer: something to display before the answer. The default is a div
  • after_answer: something to display after the answer. The default is a closing div
  • cat: ID of categories to limit the questions to. Separate multiple categories IDs with a comma

Examples

  • Show only entries from FAQ Category id 101:   
  • Limit the number of articles shown to just 5: 

Please notice that in order to restrict the shortcode to displaying just a single category, you have to use the WordPress category id, not the slug!  To locate the WordPress category id you can go to FAQs->CATEGORIES and hover over any of the categories.  The ID will be shown in the URL at the bottom of the browser. Or, if you click on the category, it will be shown as part of the URL in your browser bar.  Look for the part of the url that says tag_id=nnn where nnn will be the category id.

Chat with us
Chat with us
Questions, doubts, issues? We're here to help you!
Connecting...
None of our operators are available at the moment. Please, try again later.
Our operators are busy. Please try again later
:
:
:
Have you got question? Write to us!
:
:
This chat session has ended
Was this conversation useful? Vote this chat session.
Good Bad