{"id":212760,"date":"2024-12-02T21:34:27","date_gmt":"2024-12-02T21:34:27","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/faq-schema-shortcode\/"},"modified":"2026-03-04T07:00:16","modified_gmt":"2026-03-04T07:00:16","slug":"faq-schema-shortcode","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/faq-schema-shortcode\/","author":21181338,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.0","stable_tag":"1.2.0","tested":"6.9.4","requires":"6.5","requires_php":"7.4","requires_plugins":null,"header_name":"FAQ Schema Shortcode","header_author":"Dog Byte Marketing","header_description":"Quickly add FAQ sections compatible with structured data to your site using simple shortcodes, improving your SEO.","assets_banners_color":"a0a9b3","last_updated":"2026-03-04 07:00:16","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.dogbytemarketing.com\/contact\/","header_author_uri":"https:\/\/www.dogbytemarketing.com","rating":5,"author_block_rating":0,"active_installs":90,"downloads":1180,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"dogbytemarketing","date":"2024-12-02 21:34:02"},"1.0.1":{"tag":"1.0.1","author":"dogbytemarketing","date":"2025-04-18 19:42:46"},"1.0.2":{"tag":"1.0.2","author":"dogbytemarketing","date":"2025-04-18 20:37:16"},"1.1.0":{"tag":"1.1.0","author":"dogbytemarketing","date":"2025-07-25 17:26:38"},"1.1.1":{"tag":"1.1.1","author":"dogbytemarketing","date":"2025-07-31 20:31:53"},"1.2.0":{"tag":"1.2.0","author":"dogbytemarketing","date":"2026-03-04 07:00:16"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3276903,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3276903,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3276903,"resolution":"1544x500","location":"assets","locale":""},"banner-1880x609.png":{"filename":"banner-1880x609.png","revision":3276903,"resolution":"1880x609","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3276903,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.1.0","1.1.1","1.2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3276903,"resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":3276903,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Demo","2":"Plugin Settings"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1643,1117,186,80,1121],"plugin_category":[43,55],"plugin_contributors":[233910],"plugin_business_model":[],"class_list":["post-212760","plugin","type-plugin","status-publish","hentry","plugin_tags-faq","plugin_tags-schema","plugin_tags-seo","plugin_tags-shortcode","plugin_tags-structured-data","plugin_category-customization","plugin_category-seo-and-marketing","plugin_contributors-dogbytemarketing","plugin_committers-dogbytemarketing","plugin_support_reps-dogbytemarketingjohnny"],"banners":{"banner":"https:\/\/ps.w.org\/faq-schema-shortcode\/assets\/banner-772x250.png?rev=3276903","banner_2x":"https:\/\/ps.w.org\/faq-schema-shortcode\/assets\/banner-1544x500.png?rev=3276903","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/faq-schema-shortcode\/assets\/icon-128x128.png?rev=3276903","icon_2x":"https:\/\/ps.w.org\/faq-schema-shortcode\/assets\/icon-256x256.png?rev=3276903","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/faq-schema-shortcode\/assets\/screenshot-1.jpg?rev=3276903","caption":"Demo"},{"src":"https:\/\/ps.w.org\/faq-schema-shortcode\/assets\/screenshot-2.jpg?rev=3276903","caption":"Plugin Settings"}],"raw_content":"<!--section=description-->\n<p>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. By using the [faqs_dbm] and [faq_dbm] shortcodes, you can quickly create FAQs that are both user-friendly and SEO-friendly, enhancing your site's visibility in search engines.<\/p>\n\n<p>Example:\n[faqs_dbm]\n[faq_dbm q=\"What color is the sky?\" a=\"Blue\"]\n[faq_dbm q=\"What color is grass?\" a=\"Green\"]\n[\/faqs_dbm]<\/p>\n\n<p>Want to help? Submit a PR on <a href=\"https:\/\/github.com\/DogByteMarketing\/faq-schema-shortcode\/\">Github<\/a>.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>[NEW] Content FAQs section within backend editor to add FAQs using HTML across all post types. (posts, pages, products, ect)<\/li>\n<li>Shortcode alias for when you do not have any other shortcodes using <code>[faqs]<\/code> and <code>[faq]<\/code> then you can enable this feature in the settings.<\/li>\n<li>Customizable Question and Answer labels<\/li>\n<li>Accordion option to let users toggle FAQs open and closed<\/li>\n<li>Accordion background color, background hover color, and text color options<\/li>\n<li>Add additional CSS<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Backup WordPress<\/li>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"what%20is%20the%20shortcode%20for%20displaying%20faqs%3F\"><h3>What is the shortcode for displaying FAQs?<\/h3><\/dt>\n<dd><p>Use <code>[faqs_dbm]<\/code> as the container shortcode and <code>[faq_dbm q=\"Your question?\" a=\"Your answer.\"]<\/code> for each individual FAQ item. Wrap the individual items inside the container like this:<\/p>\n\n<p>[faqs_dbm]<br \/>\n[faq_dbm q=\"What is this plugin for?\" a=\"It helps you display FAQs with JSON-LD schema for SEO.\"]<br \/>\n[\/faqs_dbm]<\/p><\/dd>\n<dt id=\"can%20i%20use%20a%20simpler%20shortcode%20like%20%5Bfaqs%5D%20and%20%5Bfaq%5D%3F\"><h3>Can I use a simpler shortcode like [faqs] and [faq]?<\/h3><\/dt>\n<dd><p>Yes, enable the \"Shortcode Alias\" option in the plugin settings. This will allow you to use <code>[faqs]<\/code> and <code>[faq]<\/code> instead of the default <code>[faqs_dbm]<\/code> and <code>[faq_dbm]<\/code>.<\/p><\/dd>\n<dt id=\"how%20do%20i%20enable%20accordion%20functionality%3F\"><h3>How do I enable accordion functionality?<\/h3><\/dt>\n<dd><p>Go to <strong>Settings &gt; FAQ Shortcode<\/strong>, and check the box labeled <strong>Accordion<\/strong>. This makes the FAQ entries collapsible and expandable.<\/p><\/dd>\n<dt id=\"how%20can%20i%20change%20the%20accordion%20colors%3F\"><h3>How can I change the accordion colors?<\/h3><\/dt>\n<dd><p>In the settings page, you can set:\n- Text color\n- Background color\n- Background hover color<br \/>\nJust enter valid HEX values (like <code>#ff0000<\/code>) for each.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20add%20faq%20schema%20for%20seo%3F\"><h3>Does this plugin add FAQ schema for SEO?<\/h3><\/dt>\n<dd><p>Yes! It automatically generates <a href=\"https:\/\/developers.google.com\/search\/docs\/appearance\/structured-data\/faqpage\">JSON-LD structured data<\/a> so search engines like Google can understand and feature your FAQs.<\/p><\/dd>\n<dt id=\"can%20i%20use%20html%20in%20the%20question%20or%20answer%3F\"><h3>Can I use HTML in the question or answer?<\/h3><\/dt>\n<dd><p>Yes, but it's sanitized. Only the following tags are allowed in the answers:\n- <code>&lt;a&gt;<\/code> with <code>href<\/code>, <code>title<\/code>, and <code>target<\/code>\n- <code>&lt;strong&gt;<\/code>\n- <code>&lt;em&gt;<\/code>\n- <code>&lt;ol&gt;<\/code>\n- <code>&lt;ul&gt;<\/code>\n- <code>&lt;li&gt;<\/code><\/p><\/dd>\n<dt id=\"how%20do%20i%20include%20a%20link%3F\"><h3>How do I include a link?<\/h3><\/dt>\n<dd><p>You would simply replace the \" with '\n[faqs]\n[faq q=\"How to include a link\" a=\"<a href=\"#\">Just like this<\/a>\"]\n[\/faqs]<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added: Content FAQs to give all post types an editor in the backend where you can add FAQs using HTML.<\/li>\n<li>Added: Handling for updates<\/li>\n<li>Updated: Translations<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Bugfix: FAQ showing at top of content<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added: Setting to customize the question label<\/li>\n<li>Added: Setting to customize the answer label<\/li>\n<li>Added: Setting to add additional CSS<\/li>\n<li>Added: Translation support<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Updated: FAQs to allow a, em, strong, ol, ul, li<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added: Accordion option<\/li>\n<li>Added: Accordion text color option<\/li>\n<li>Added: Accordion background color option<\/li>\n<li>Added: Accordion background hover color option<\/li>\n<li>Bugfix: Extra line breaks<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"Quickly add FAQ sections compatible with structured data to your site using simple shortcodes, improving your SEO.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/212760","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=212760"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dogbytemarketing"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=212760"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=212760"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=212760"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=212760"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=212760"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=212760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}