{"id":249400,"date":"2025-09-16T08:33:10","date_gmt":"2025-09-16T08:33:10","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/faq-accordion-schema\/"},"modified":"2026-03-26T18:11:00","modified_gmt":"2026-03-26T18:11:00","slug":"faq-accordion-schema","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/faq-accordion-schema\/","author":23194161,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.0","stable_tag":"1.2.0","tested":"6.8.5","requires":"5.8","requires_php":"7.2","requires_plugins":null,"header_name":"FAQ Accordion & Schema","header_author":"Ryan Howard","header_description":"Adds an accordion block with FAQ schema markup for SEO.","assets_banners_color":"cccccc","last_updated":"2026-03-26 18:11:00","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.ryanhoward.dev","rating":0,"author_block_rating":0,"active_installs":20,"downloads":794,"num_ratings":0,"support_threads":1,"support_threads_resolved":1,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.3":{"tag":"1.0.3","author":"ryhowa","date":"2025-09-16 08:33:42"},"1.0.4":{"tag":"1.0.4","author":"ryhowa","date":"2025-09-16 16:26:02"},"1.0.5":{"tag":"1.0.5","author":"ryhowa","date":"2025-09-16 16:29:57"},"1.0.6":{"tag":"1.0.6","author":"ryhowa","date":"2025-09-17 16:01:49"},"1.0.7":{"tag":"1.0.7","author":"ryhowa","date":"2025-09-17 16:04:20"},"1.0.8":{"tag":"1.0.8","author":"ryhowa","date":"2025-09-17 16:07:22"},"1.0.9":{"tag":"1.0.9","author":"ryhowa","date":"2025-09-18 10:11:02"},"1.1.1":{"tag":"1.1.1","author":"ryhowa","date":"2025-09-18 13:28:46"},"1.1.2":{"tag":"1.1.2","author":"ryhowa","date":"2025-09-18 15:01:21"},"1.1.3":{"tag":"1.1.3","author":"samsonovteamwork","date":"2025-11-17 17:44:18"},"1.2.0":{"tag":"1.2.0","author":"ryhowa","date":"2026-03-26 18:11:00"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3362299,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3362299,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3362299,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3362299,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.1","1.1.2","1.1.3","1.2.0"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Example of an FAQ accordion on a page","2":"Plugin settings page","3":"Rich results in Google SERP with FAQ schema"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1741,1643,1117,186,1121],"plugin_category":[43,55],"plugin_contributors":[236404,240081],"plugin_business_model":[],"class_list":["post-249400","plugin","type-plugin","status-publish","hentry","plugin_tags-accordion","plugin_tags-faq","plugin_tags-schema","plugin_tags-seo","plugin_tags-structured-data","plugin_category-customization","plugin_category-seo-and-marketing","plugin_contributors-ryhowa","plugin_contributors-samsonovteamwork","plugin_committers-ryhowa","plugin_committers-samsonovteamwork","plugin_support_reps-ryhowa","plugin_support_reps-samsonovteamwork"],"banners":{"banner":"https:\/\/ps.w.org\/faq-accordion-schema\/assets\/banner-772x250.png?rev=3362299","banner_2x":"https:\/\/ps.w.org\/faq-accordion-schema\/assets\/banner-1544x500.png?rev=3362299","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/faq-accordion-schema\/assets\/icon-128x128.png?rev=3362299","icon_2x":"https:\/\/ps.w.org\/faq-accordion-schema\/assets\/icon-256x256.png?rev=3362299","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>FAQ Accordion lets you easily add interactive FAQ sections to your WordPress site, while automatically generating FAQ schema markup for better SEO visibility in Google and other search engines.<\/p>\n\n<p>The plugin provides an accordion-style FAQ block via shortcode and includes options to enable or disable schema markup, add custom CSS styles, and choose whether to override or respect your theme\u2019s default styles.<\/p>\n\n<p>By default, the plugin uses the <code>[faq_accordion]<\/code> shortcode.\nAnd there is a settings toggle for the option to use the <code>[faq]<\/code> shortcode. Both work the same way.<\/p>\n\n<p>\u2705 SEO-friendly FAQ schema markup\n\u2705 Lightweight accordion display\n\u2705 Works with any theme\n\u2705 Backup shortcode included\n\u2705 Configurable style options\n\u2705 Automatically builds the accordion<\/p>\n\n<h3>How to Use<\/h3>\n\n<p>The plugin automatically creates an accordion from your content. Just wrap your FAQ content in the shortcode \u2014 use <code>&lt;h2&gt;<\/code> or <code>&lt;h3&gt;<\/code> tags for questions and <code>&lt;p&gt;<\/code> tags for answers. The plugin handles the rest.<\/p>\n\n<pre><code>[faq_accordion]\n&lt;h3&gt;Question here&lt;\/h3&gt;\n&lt;p&gt;Answer here&lt;\/p&gt;\n\n&lt;h3&gt;Another question&lt;\/h3&gt;\n&lt;p&gt;Another answer&lt;\/p&gt;\n[\/faq_accordion]\n<\/code><\/pre>\n\n<p>Each heading becomes a collapsible accordion item and the text below it becomes the answer. FAQ schema markup is added automatically.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/faq-accordion-schema<\/code><\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Add an FAQ accordion to your page or post using the <code>[faq]<\/code> shortcode (or <code>[faq_accordion]<\/code> if needed)<\/li>\n<li>Configure settings in <strong>Settings \u2192 FAQ Accordion<\/strong><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20support%20faq%20schema%20markup%3F\"><h3>Does this plugin support FAQ schema markup?<\/h3><\/dt>\n<dd><p>Yes. By default, schema markup is enabled and helps your FAQs appear in Google\u2019s FAQ rich results.<\/p><\/dd>\n<dt id=\"can%20i%20disable%20schema%20markup%3F\"><h3>Can I disable schema markup?<\/h3><\/dt>\n<dd><p>Yes. There is a settings option to enable or disable schema markup.<\/p><\/dd>\n<dt id=\"what%20if%20my%20theme%20already%20has%20accordion%20styles%3F\"><h3>What if my theme already has accordion styles?<\/h3><\/dt>\n<dd><p>You can choose whether to override theme styles (default) or allow your theme\u2019s styles to apply.<\/p><\/dd>\n<dt id=\"what%20shortcodes%20are%20available%3F\"><h3>What shortcodes are available?<\/h3><\/dt>\n<dd><ul>\n<li><code>[faq_accordion]<\/code> \u2014 default FAQ accordion with schema markup<\/li>\n<li><code>[faq]<\/code> \u2014 optional shortcode, works the same way<\/li>\n<\/ul><\/dd>\n<dt id=\"does%20the%20faq%20accordion%20%26%20schema%20plugin%20automatically%20add%20faq%20schema%3F\"><h3>Does the FAQ Accordion &amp; Schema plugin automatically add FAQ schema?<\/h3><\/dt>\n<dd><p>Yes. Every accordion you create with the plugin includes valid FAQPage JSON-LD markup by default. This helps Google and AI systems understand your questions and answers without requiring manual coding.<\/p><\/dd>\n<dt id=\"how%20does%20this%20plugin%20help%20with%20ai%20and%20llm%20visibility%3F\"><h3>How does this plugin help with AI and LLM visibility?<\/h3><\/dt>\n<dd><p>Large language models look for clearly labeled question-and-answer pairs when assembling responses. The plugin outputs structured data that makes it easier for LLMs to interpret your content and include it in generated answers.<\/p><\/dd>\n<dt id=\"can%20i%20use%20this%20plugin%20to%20add%20more%20content%20without%20cluttering%20the%20page%3F\"><h3>Can I use this plugin to add more content without cluttering the page?<\/h3><\/dt>\n<dd><p>Absolutely. The accordion format lets you publish additional questions and answers in a compact way. This gives you more coverage for SEO and answer engines while keeping your pages clean and readable for visitors.<\/p><\/dd>\n<dt id=\"why%20should%20i%20use%20this%20plugin%20instead%20of%20coding%20schema%20manually%3F\"><h3>Why should I use this plugin instead of coding schema manually?<\/h3><\/dt>\n<dd><p>Manually writing JSON-LD is error-prone and time-consuming. The plugin handles schema automatically and ensures it stays valid as you edit or expand your FAQs. You focus on writing good content, and the markup is handled for you.<\/p><\/dd>\n<dt id=\"where%20can%20i%20validate%20my%20structured%20data%3F\"><h3>Where can I validate my structured data?<\/h3><\/dt>\n<dd><p>You can test any page that includes FAQ schema using Google\u2019s Schema Markup Validator. Enter your URL to confirm if your structured data is valid.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Replaced jQuery-based accordion with vanilla JavaScript for faster page loads<\/li>\n<li>Removed jQuery as a dependency \u2014 the plugin no longer requires or enqueues jQuery<\/li>\n<li>Added usage instructions to the plugin description<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Added js changes<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Improved accordion behavior: now opens with <code>display:flex<\/code> instead of <code>block<\/code> for better layout handling.<\/li>\n<li>Adjusted padding inside <code>.accordion-content-inner<\/code> to <code>20px 30px 34px 6px<\/code>.<\/li>\n<li>Removed divider line when the accordion item is open.<\/li>\n<\/ul>\n\n<h4>1.0.9<\/h4>\n\n<ul>\n<li>Adjusted padding \u2014 added consistent 6px left padding to elements.<\/li>\n<li>Fixed issue where some elements were not respecting padding values.<\/li>\n<li>Removed the divider line between heading and text when the section is open.<\/li>\n<li>General UI refinements for better layout consistency.<\/li>\n<\/ul>\n\n<h4>1.0.8<\/h4>\n\n<ul>\n<li>Updated README.txt<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Updated README.txt<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Updated readme.txt<\/li>\n<li>Extended shortcode support \u2013 now the following shortcodes work correctly:\n\n<ul>\n<li>[fqaas_faq_accordion]<\/li>\n<li>[fqaas-faq-accordion]<\/li>\n<li>[fqaas_faq]<\/li>\n<li>[fqaas-faq]<\/li>\n<li>[faq] (if alias option is enabled)<\/li>\n<li>[faq_accordion]<\/li>\n<li>[faq-accordion]<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Updated README.txt<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Updated README.txt<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Security Hardening: Added ABSPATH checks to all executable PHP files to block direct file access.<\/li>\n<li>Escaping Improvements: Implemented late escaping (esc_*, wp_kses_*) for all outputs, including inline CSS, ensuring XSS protection.<\/li>\n<li>Unique Prefixes &amp; Namespace: Refactored all functions, classes, options, and shortcodes to use the new fqaas_ prefix and FQAAS\\ namespace, reducing the risk of conflicts with other plugins.<\/li>\n<li>Settings Refactor: Updated option names to use fqaas_* prefix; added migration from legacy faq_accordion_* options.<\/li>\n<li>Schema &amp; Output: Improved sanitization of FAQ schema and ensured safe handling of custom CSS and HTML fields.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Added FAQ accordion shortcode <code>[faq-accordion]<\/code><\/li>\n<li>Added alternative shortcode <code>[faq]<\/code><\/li>\n<li>Built-in FAQ schema markup for SEO<\/li>\n<li>Settings for enabling\/disabling schema and customizing styles<\/li>\n<\/ul>","raw_excerpt":"Create FAQ accordions with built-in FAQ schema markup for SEO. Includes shortcode support and styling options.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/249400","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=249400"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ryhowa"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=249400"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=249400"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=249400"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=249400"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=249400"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=249400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}