FAQ Shortcode

The [faq] shortcode can be used to include a FAQ group from the FAQs > Frequently Asked Questions list.

By default, the [faq] shortcode includes Questions sorted by title. You can change the default sort order using the 'order' and 'orderby' shortcode attribute.

See the Order and Orderby Parameters section in the WordPress WP_Query code reference for additional information on these WordPress query attributes.

You can change the default heading level and the FAQ title using the 'heading' and 'title' attributes.

The 'show_answer_nums' attribute can be used to show one or more answers by default when the "Click Question to Show/Hide Answer" option is enabled.

The 'show_answer_ids' attribute can be used to show one or more answers (by question ID) by default when the "Click Question to Show/Hide Answer" option is enabled.