FAQ [tbl_faq]
The [tbl_faqs] / [tbl_faq] shortcode pair renders a styled FAQ list and automatically injects FAQPage JSON-LD structured data into the page, which can generate rich results in Google Search.
Usage
Wrap one or more [tbl_faq] items inside a [tbl_faqs] container:
[tbl_faqs]
[tbl_faq q="Does the theme work with WooCommerce?"
a="Yes. Tabule Theme includes styled WooCommerce templates for the shop, cart, checkout, and account pages."]
[tbl_faq q="Do I need to know how to code?"
a="No. All settings are available through the WordPress Customizer and the theme settings panel."]
[tbl_faq q="Is there a free version?"
a="No. Tabule Theme is a premium theme sold at tabuletheme.com."]
[/tbl_faqs]
Parameters
[tbl_faqs]
Wrapper only. No parameters. All it does is group the FAQ items and wrap them in the correct container class.
[tbl_faq]
| Parameter | Required | Description |
|---|---|---|
q | Yes | The question text. If empty, the item is skipped. |
a | No | The answer text. Supports basic HTML (paragraphs are auto-formatted). |
Structured data
When the page is rendered, the theme automatically generates a FAQPage JSON-LD script and injects it before the closing </body> tag. This tells Google that the page contains a FAQ, enabling the expanded FAQ rich results in search.
The FAQPage JSON-LD is suppressed when Yoast SEO, Rank Math, SEOPress, or AIOSEO is active. In that case, configure FAQ structured data through your SEO plugin instead.
Each post or page should contain only one [tbl_faqs] block. Using multiple [tbl_faqs] on the same page will merge all questions into a single FAQPage schema, which is valid but can make the structured data harder to manage.