1. Home
  2. Docs
  3. Ultimate FAQ Solution
  4. Displaying FAQs
  5. Shortcode Parameters

Shortcode Parameters

The Ultimate FAQ Solution plugin offers powerful shortcodes to display FAQs across your site. These shortcodes come with optional parameters to customize their behavior and appearance. Below you’ll find the parameters available for both the FAQ Directory and individual FAQ Group shortcodes.

๐Ÿ“‚ Directory Shortcode Parameters

Shortcode: [ufaqsw-all]
Use this shortcode to display all FAQ groups in a directory format.

๐Ÿ”น exclude

Exclude specific FAQ Groups from the directory.

  • Value: Comma-separated list of FAQ Group IDs.
  • Example:[ufaqsw-all exclude="1,2"]
  • Use Case: Hide specific FAQ groups, like those assigned to WooCommerce products, from the main FAQ directory.

๐Ÿ”น behaviour

Controls the toggle behavior of the FAQ elements.

  • Supported Values: toggle, accordion
  • Default: toggle
  • Example:[ufaqsw-all behaviour="accordion"]
  • Use Case: Use accordion to ensure only one FAQ opens at a time for a cleaner UX.

๐Ÿ“ Group Shortcode Parameters

Shortcode: [ufaqsw id=1]
Use this shortcode to display FAQs from a single FAQ group.

๐Ÿ”น id

Display FAQs from a specific FAQ Group.

  • Value: FAQ Group ID
  • Example: [ufaqsw id="1"]
  • Note: You can find the group ID in the Manage FAQ Groups page.

๐Ÿ”น elements_order

Change the order of FAQ items within the group.

  • Supported Values: ASC, DESC
  • Default: ASC
  • Example:[ufaqsw id="1" elements_order="DESC"]
  • Use Case: Display the most recently added FAQs first by using DESC.

๐Ÿ› ๏ธ Support & ๐Ÿ’ฌ Feedback

Need help or want to share your thoughts? We’re here for you!

๐Ÿ“ฉ Support Options

If you’re facing issues or have questions about using the Ultimate FAQ Solution plugin, please reach out through any of the following channels:

๐Ÿ› ๏ธ Bug Reports & Contributions

Want to report a bug or contribute code? We welcome community feedback and contributions:

Feel free to open issues, submit pull requests, or suggest improvements. Your input helps make this plugin even better!