Overview
The [twdh_faq] shortcode is for use in classic (non-block-editor) themes, widget areas, or any context where you can't use the Gutenberg block.
Basic Usage
[twdh_faq]
When used alone, the shortcode renders all FAQs from the global library (Pro) or displays a message if no library FAQs are configured.
Inline Q&A (Free)
You can define questions and answers inline using nested tags:
[twdh_faq]
[twdh_faq_item question="What services do you offer?"]We offer web design, SEO, and branding.[/twdh_faq_item]
[twdh_faq_item question="How long does a project take?"]Most projects take 4โ8 weeks.[/twdh_faq_item]
[/twdh_faq]
Parameters
| Parameter | Default | Description |
|---|---|---|
category | | Filter by FAQ category slug (Pro) |
limit | -1 | Max FAQ items to show |
open_first | false | Have the first item expanded on load |
class | | Additional CSS class on wrapper |
faq-blockshortcodereferenceclassic-theme
Was this article helpful?
Let us know so we can keep improving our docs.
Still stuck?
We'll get back to you within a day.
Send us a note and our team will reply within one business day.
