FAQ Schema Shortcode
Quickly add FAQ sections compatible with structured data to your site using simple shortcodes, improving your SEO.
Install in
FAQ Schema Shortcode is a WordPress plugin that allows you to easily add FAQ sections to your site using simple shortcodes. It automatically generates structured data (JSON-LD schema) for each FAQ, helping search engines better understand your content and improving your site’s SEO with rich results. Use the _dbm shortcodes below unless you enable Shortcode Alias in the plugin settings. The shorter tags, such as [faqs], [question], and [answer], only work after that option is turned on.
Example:
[faqs_dbm]
[question_dbm]
What color is the sky?
[/question_dbm]
[answer_dbm]
Blue
[/answer_dbm]
[/faqs_dbm]
The original attribute shortcode still works:
[faqs_dbm]
[faq_dbm q=”What color is grass?” a=”Green”]
[/faqs_dbm]
After Shortcode Alias is enabled, drop _dbm from every tag:
[faqs]
[question]
What color is the sky?
[/question]
[answer]
Blue
[/answer]
[/faqs]
Want to help? Submit a PR on Github.
Features
- [NEW] Content FAQs section within backend editor to add FAQs using HTML across all post types and also article categories and product categories. (posts, pages, products, product_cat, ect)
- [NEW] Question and answer shortcodes for longer FAQ text. Use
[question_dbm]and[answer_dbm]inside[faqs_dbm]unless Shortcode Alias is enabled. - Shortcode alias for when you do not have any other shortcodes using
[faqs],[faq],[question], and[answer]. Enable this in the settings before using tags without_dbm. - Customizable Question and Answer labels
- Accordion option to let users toggle FAQs open and closed
- Accordion background color, background hover color, and text color options
- Add additional CSS
GDPR
We are not lawyers and always recommend doing your own compliance research into third party plugins, libraries, ect, as we’ve seen other plugins not be in compliance with these regulations.
This plugin does not track visitors, set its own cookies, or send form submissions to an outside service.
General
- Storing plugin settings
- Remembering that the admin notice was dismissed
WordPress plugin (stored on your server)
- FAQ question and answer text saved as post meta and printed on the page, including in the public JSON-LD schema
- Plugin settings such as the shortcode alias, content FAQs, labels, accordion options, colors, and additional CSS
- A site option recording that the admin notice was dismissed
- The installed plugin version
External links
- The plugin settings may contain links to external websites for support, recommendations, and additional resources. Visiting these websites is optional and may be subject to their own privacy policies, cookies, and tracking practices.
Written by Joobi from the project's own listing. See the source page
1.3.0
- Added: Improved shortcode structure. Your existing shortcodes will continue to work without any changes.
- Added: The new Content FAQs feature to add FAQs using HTML across all post types and also article categories and product categories.
1.2.0
- Added: Content FAQs to give all post types an editor in the backend where you can add FAQs using HTML.
- Added: Handling for updates
- Updated: Translations
1.1.1
- Bugfix: FAQ showing at top of content
1.1.0
- Added: Setting to customize the question label
- Added: Setting to customize the answer label
- Added: Setting to add additional CSS
- Added: Translation support
1.0.2
- Updated: FAQs to allow a, em, strong, ol, ul, li
1.0.1
- Added: Accordion option
- Added: Accordion text color option
- Added: Accordion background color option
- Added: Accordion background hover color option
- Bugfix: Extra line breaks
1.0.0
- Initial Release
Follow this listing's changes (Atom feed)