{"id":263852,"date":"2025-12-06T16:48:58","date_gmt":"2025-12-06T16:48:58","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/auto-schema-accordion-for-rank-math-by-kabook\/"},"modified":"2026-02-08T11:24:36","modified_gmt":"2026-02-08T11:24:36","slug":"kabook-auto-rank-math-snippet","status":"publish","type":"plugin","link":"https:\/\/fr.wordpress.org\/plugins\/kabook-auto-rank-math-snippet\/","author":23394557,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3.0","stable_tag":"1.3.0","tested":"6.9.4","requires":"5.6","requires_php":"7.4","requires_plugins":null,"header_name":"Kabook Auto Schema & Accordion for Rank Math","header_author":"Kabook (Saeid Afshari)","header_description":"Automatically injects Rank Math FAQ schema and converts it to a stylish accordion.","assets_banners_color":"6e8ab4","last_updated":"2026-02-08 11:24:36","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.kabook.ir\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":454,"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":"saeidafshari","date":"2025-12-06 16:48:40"},"1.1.0":{"tag":"1.1.0","author":"saeidafshari","date":"2025-12-08 13:20:51"},"1.2.0":{"tag":"1.2.0","author":"saeidafshari","date":"2026-01-03 06:49:47"},"1.3.0":{"tag":"1.3.0","author":"saeidafshari","date":"2026-02-08 11:24:36"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3414326,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon-512x512.png":{"filename":"icon-512x512.png","revision":3414326,"resolution":"512x512","location":"assets","locale":"","width":512,"height":512}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3413121,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3413121,"resolution":"772x250","location":"assets","locale":"","width":722,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.2.0","1.3.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3431483,"resolution":"1","location":"assets","locale":"","width":1280,"height":960},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3431483,"resolution":"2","location":"assets","locale":"","width":1280,"height":960},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3431483,"resolution":"3","location":"assets","locale":"","width":1280,"height":960},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3431166,"resolution":"4","location":"assets","locale":"","width":1280,"height":960},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3431166,"resolution":"5","location":"assets","locale":"","width":1280,"height":960}},"screenshots":{"1":"<strong>General Settings:<\/strong> The new \"Blue Harmony\" UI for managing global plugin options and auto-injection.","2":"<strong>Animation Controls:<\/strong> Choose your desired opening effect (Slide, Fade, Zoom) and set the animation speed.","3":"<strong>Style Customization:<\/strong> Full control over colors, typography, borders, and corner radius to match your theme.","4":"<strong>Frontend Example (LTR):<\/strong> A beautiful, animated FAQ accordion as seen on an English site.","5":"<strong>RTL Support (Persian):<\/strong> Perfect alignment and styling for Right-to-Left languages."}},"plugin_section":[],"plugin_tags":[1741,1643,174175,1117,253182],"plugin_category":[43,55],"plugin_contributors":[251792],"plugin_business_model":[],"class_list":["post-263852","plugin","type-plugin","status-publish","hentry","plugin_tags-accordion","plugin_tags-faq","plugin_tags-rank-math","plugin_tags-schema","plugin_tags-schema-injection","plugin_category-customization","plugin_category-seo-and-marketing","plugin_contributors-saeidafshari","plugin_committers-saeidafshari"],"banners":{"banner":"https:\/\/ps.w.org\/kabook-auto-rank-math-snippet\/assets\/banner-772x250.jpg?rev=3413121","banner_2x":"https:\/\/ps.w.org\/kabook-auto-rank-math-snippet\/assets\/banner-1544x500.jpg?rev=3413121","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/kabook-auto-rank-math-snippet\/assets\/icon-256x256.png?rev=3414326","icon_2x":"https:\/\/ps.w.org\/kabook-auto-rank-math-snippet\/assets\/icon-256x256.png?rev=3414326","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/kabook-auto-rank-math-snippet\/assets\/screenshot-1.png?rev=3431483","caption":"<strong>General Settings:<\/strong> The new \"Blue Harmony\" UI for managing global plugin options and auto-injection."},{"src":"https:\/\/ps.w.org\/kabook-auto-rank-math-snippet\/assets\/screenshot-2.png?rev=3431483","caption":"<strong>Animation Controls:<\/strong> Choose your desired opening effect (Slide, Fade, Zoom) and set the animation speed."},{"src":"https:\/\/ps.w.org\/kabook-auto-rank-math-snippet\/assets\/screenshot-3.png?rev=3431483","caption":"<strong>Style Customization:<\/strong> Full control over colors, typography, borders, and corner radius to match your theme."},{"src":"https:\/\/ps.w.org\/kabook-auto-rank-math-snippet\/assets\/screenshot-4.png?rev=3431166","caption":"<strong>Frontend Example (LTR):<\/strong> A beautiful, animated FAQ accordion as seen on an English site."},{"src":"https:\/\/ps.w.org\/kabook-auto-rank-math-snippet\/assets\/screenshot-5.png?rev=3431166","caption":"<strong>RTL Support (Persian):<\/strong> Perfect alignment and styling for Right-to-Left languages."}],"raw_content":"<!--section=description-->\n<p>This plugin is a power-up for <strong>Rank Math SEO PRO<\/strong> users.\nIt solves common SEO and UX issues by automatically ensuring FAQ schema markup is present on your posts, and by transforming its default output into a visually appealing, interactive accordion \u2014 without requiring manual shortcode insertion.\n<strong>Key Features:<\/strong><\/p>\n\n<ul>\n<li><strong>Auto Injection:<\/strong> Automatically adds the <code>[rank_math_rich_snippet]<\/code> shortcode to your single posts if you have defined an FAQ schema but forgot to insert the block.<\/li>\n<li><strong>New: Animation Effects:<\/strong> Choose between Slide, Fade, or Zoom effects for your accordion opening.<\/li>\n<li><strong>New: Speed Control:<\/strong> Fully customize the animation duration (ms) to match your site's feel.<\/li>\n<li><strong>Per-Post Control:<\/strong> Manually enable or disable schema injection for specific posts via a simple checkbox in the editor.<\/li>\n<li><strong>Smart Detection:<\/strong> Checks the raw database content to ensure the shortcode is never duplicated.<\/li>\n<li><strong>Stylish Accordion:<\/strong> Converts the boring list format into a beautiful, interactive accordion.<\/li>\n<li><strong>Fully Customizable:<\/strong> Change colors, fonts, borders, and alignment via a modern \"Blue Harmony\" settings panel.<\/li>\n<li><strong>Ultra Lightweight:<\/strong> Rebuilt with Vanilla JS (No jQuery) for maximum performance.<\/li>\n<li><strong>Perfect RTL Support:<\/strong> Deep integration for Right-to-Left languages like Persian and Arabic.<\/li>\n<\/ul>\n\n<p><strong>Note:<\/strong> This plugin relies on the schema data generated by the <strong>Rank Math SEO PRO<\/strong> plugin.\nPlease ensure it is installed and active.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/kabook-auto-rank-math-snippet<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Go to <strong>Settings &gt; Kabook RM Snippet<\/strong> to configure the styling and animation options.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20i%20use%20the%20accordion%20styling%20without%20enabling%20automatic%20schema%20injection%3F\"><h3>Can I use the accordion styling without enabling automatic schema injection?<\/h3><\/dt>\n<dd><p>Yes! The plugin gives you full control over its features:\n\u2022 To use only the accordion styling (without auto-injecting schema): Disable \"Auto Inject Schema\" and keep \"Enable Accordion\" checked.\n\u2022 To inject schema automatically but use your own accordion (e.g., from theme or another plugin): Enable \"Auto Inject Schema\" and uncheck \"Enable Accordion\".\nBoth features work independently \u2014 you can mix and match based on your needs.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20work%20without%20rank%20math%20pro%3F\"><h3>Does this plugin work without Rank Math PRO?<\/h3><\/dt>\n<dd><p>No. This plugin acts as an add-on and depends on the schema data generated by the Rank Math SEO PRO plugin.<\/p><\/dd>\n<dt id=\"can%20i%20change%20the%20opening%20speed%20of%20the%20accordion%3F\"><h3>Can I change the opening speed of the accordion?<\/h3><\/dt>\n<dd><p>Yes! In version 1.2.0, we added an \"Animation Speed\" setting where you can define the speed in milliseconds (e.g., 300ms for fast or 1200ms for slow).<\/p><\/dd>\n<dt id=\"does%20it%20load%20scripts%20on%20every%20page%3F\"><h3>Does it load scripts on every page?<\/h3><\/dt>\n<dd><p>No. To ensure maximum performance, the plugin only loads its CSS and JS files on pages where an FAQ schema or shortcode is actually detected.<\/p><\/dd>\n<dt id=\"will%20it%20slow%20down%20my%20site%3F\"><h3>Will it slow down my site?<\/h3><\/dt>\n<dd><p>Absolutely not. The plugin uses Vanilla JS instead of jQuery, making it extremely fast and lightweight.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.0<\/h4>\n\n<ul>\n<li><strong>New:<\/strong> Smart Error Visibility \u2013 The \"Schema not found\" error message is now hidden for regular users and guests. It remains visible only to Administrators to assist with debugging.<\/li>\n<li><strong>Improvement:<\/strong> Enhanced conditional logic to check for Schema ID existence before injection.<\/li>\n<li><strong>Fix:<\/strong> Prevented potential layout issues on posts where schema data is missing.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>New: Added Opening Animations (Slide, Fade, Zoom).<\/li>\n<li>New: Added Animation Speed control setting.<\/li>\n<li>New: Brand new \"Blue Harmony\" Admin UI for better user experience.<\/li>\n<li>Improvement: Optimized Asset Loading (scripts only load when needed).<\/li>\n<li>Improvement: Enhanced RTL support for both Admin and Frontend.<\/li>\n<li>Security: Implemented Nonce verification and better output escaping for WP.org standards.<\/li>\n<li>Compatibility: PHP requirement lowered to 7.4 for better compatibility.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>New: Added \"Injection Control Meta Box\" per post.<\/li>\n<li>Improvement: Rewrote frontend logic in Vanilla JS (removed jQuery).<\/li>\n<li>Security: Fixed non-sanitized input variable warnings.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Automatically injects Rank Math FAQ schema and converts it to a stylish, customizable accordion with smooth animations.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/263852","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=263852"}],"author":[{"embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/saeidafshari"}],"wp:attachment":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=263852"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=263852"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=263852"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=263852"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=263852"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=263852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}