Title: Kabook Auto Schema &amp; Accordion for Rank Math
Author: Afshari
Published: <strong>6 Tháng 12, 2025</strong>
Last modified: 14 Tháng 7, 2026

---

Tìm kiếm plugin

![](https://ps.w.org/kabook-auto-rank-math-snippet/assets/banner-772x250.jpg?rev
=3413121)

![](https://ps.w.org/kabook-auto-rank-math-snippet/assets/icon-256x256.png?rev=3414326)

# Kabook Auto Schema & Accordion for Rank Math

 Bởi [Afshari](https://profiles.wordpress.org/saeidafshari/)

[Tải về](https://downloads.wordpress.org/plugin/kabook-auto-rank-math-snippet.1.5.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/kabook-auto-rank-math-snippet/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/kabook-auto-rank-math-snippet/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/kabook-auto-rank-math-snippet/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/kabook-auto-rank-math-snippet/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/kabook-auto-rank-math-snippet/)

## Mô tả

This plugin is a power-up for **Rank Math SEO PRO** users.
 It 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—
without requiring manual shortcode insertion.

**Key Features:**

 * **Auto Injection:** Automatically adds the `[rank_math_rich_snippet]` shortcode
   to your single posts if you have defined an FAQ schema but forgot to insert the
   block.
 * **New: Animation Effects:** Choose between Slide, Fade, or Zoom effects for your
   accordion opening.
 * **New: Speed Control:** Fully customize the animation duration (ms) to match 
   your site’s feel.
 * **Per-Post Control:** Manually enable or disable schema injection for specific
   posts via a simple checkbox in the editor.
 * **Smart Detection:** Checks the raw database content to ensure the shortcode 
   is never duplicated.
 * **Stylish Accordion:** Converts the boring list format into a beautiful, interactive
   accordion.
 * **Fully Customizable:** Change colors, fonts, borders, and alignment via a modern“
   Blue Harmony” settings panel.
 * **Ultra Lightweight:** Rebuilt with Vanilla JS (No jQuery) for maximum performance.
 * **Perfect RTL Support:** Deep integration for Right-to-Left languages like Persian
   and Arabic.

**Note:** This plugin relies on the schema data generated by the **Rank Math SEO
PRO** plugin. Please ensure it is installed and active.

**Live Demo:**

You can see a live demo of the FAQ accordion and schema integration in action here:

[Kabook Live Demo: FAQ Accordion](https://www.kabook.ir/teach-hypnosis-to-me/)

## Ảnh màn hình

[⌊General Settings: The new "Blue Harmony" UI for managing global plugin options
and auto-injection.⌉⌊General Settings: The new "Blue Harmony" UI for managing global
plugin options and auto-injection.⌉[

**General Settings:** The new “Blue Harmony” UI for managing global plugin options
and auto-injection.

[⌊Animation Controls: Choose your desired opening effect (Slide, Fade, Zoom) and
set the animation speed.⌉⌊Animation Controls: Choose your desired opening effect(
Slide, Fade, Zoom) and set the animation speed.⌉[

**Animation Controls:** Choose your desired opening effect (Slide, Fade, Zoom) and
set the animation speed.

[⌊Style Customization: Full control over colors, typography, borders, and corner
radius to match your theme.⌉⌊Style Customization: Full control over colors, typography,
borders, and corner radius to match your theme.⌉[

**Style Customization:** Full control over colors, typography, borders, and corner
radius to match your theme.

[⌊Frontend Example (LTR): A beautiful, animated FAQ accordion as seen on an English
site.⌉⌊Frontend Example (LTR): A beautiful, animated FAQ accordion as seen on an
English site.⌉[

**Frontend Example (LTR):** A beautiful, animated FAQ accordion as seen on an English
site.

[⌊RTL Support (Persian): Perfect alignment and styling for Right-to-Left languages.⌉⌊
RTL Support (Persian): Perfect alignment and styling for Right-to-Left languages
.⌉[

**RTL Support (Persian):** Perfect alignment and styling for Right-to-Left languages.

## Cài đặt

 1. Upload the plugin files to the `/wp-content/plugins/kabook-auto-rank-math-snippet`
    directory.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Go to **Settings > Kabook RM Snippet** to configure the styling and animation options.

## Hỏi đáp

### Can I use the accordion styling without enabling automatic schema injection?

Yes! The plugin gives you full control over its features:
 * To use only the accordion
styling (without auto-injecting schema): Disable “Auto Inject Schema” and keep “
Enable Accordion” checked. * To inject schema automatically but use your own accordion(
e.g., from theme or another plugin): Enable “Auto Inject Schema” and uncheck “Enable
Accordion”. Both features work independently — you can mix and match based on your
needs.

### Does this plugin work without Rank Math PRO?

No. This plugin acts as an add-on and depends on the schema data generated by the
Rank Math SEO PRO plugin.

### Can I change the opening speed of the accordion?

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).

### Does it load scripts on every page?

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.

### Will it slow down my site?

Absolutely not. The plugin uses Vanilla JS instead of jQuery, making it extremely
fast and lightweight.

## Đánh giá

![](https://secure.gravatar.com/avatar/69547d82bfd02af50a099bc100c9e2f5b0cbbe6e0173adfc9ce653b020440b2b?
s=60&d=retro&r=g)

### 󠀁[Your Plugin Saved Me Days of Work — Thank You!](https://wordpress.org/support/topic/your-plugin-saved-me-days-of-work-thank-you/)󠁿

 [iranyoga](https://profiles.wordpress.org/iranyoga/) 7 Tháng 12, 2025 1 trả lời

Hello,I just wanted to sincerely thank you for the amazing Kabook Auto Schema & 
Accordion for Rank Math plugin.This plugin was truly missing from the WordPress 
repository, and it saved me several days of work. I have over 1,200 articles on 
my website, and I had manually added my customized shortcode to almost half of them.
My biggest concern was potential conflicts with the previous shortcode styling or
the articles I had already customized. But your plugin handled everything perfectly.
Now, all the remaining articles were equipped with beautiful, fully theme-compatible
FAQ schema styling in less than a minute — with absolutely no conflicts with my 
earlier manual shortcodes. You have no idea how much easier you made my workflow.
Thank you so much for this excellent and truly valuable plugin.

 [ Đọc tất cả 1 đánh giá ](https://wordpress.org/support/plugin/kabook-auto-rank-math-snippet/reviews/)

## Người đóng góp & Lập trình viên

“Kabook Auto Schema & Accordion for Rank Math” là mã nguồn mở. Những người sau đã
đóng góp vào plugin này.

Những người đóng góp

 *   [ Afshari ](https://profiles.wordpress.org/saeidafshari/)

“Kabook Auto Schema & Accordion for Rank Math” đã được dịch qua 1 ngôn ngữ. Cảm 
ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/kabook-auto-rank-math-snippet/contributors)
vì đóng góp của họ.

[Dịch “Kabook Auto Schema & Accordion for Rank Math” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/kabook-auto-rank-math-snippet)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/kabook-auto-rank-math-snippet/),
check out [SVN repository](https://plugins.svn.wordpress.org/kabook-auto-rank-math-snippet/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/kabook-auto-rank-math-snippet/)
qua [RSS](https://plugins.trac.wordpress.org/log/kabook-auto-rank-math-snippet/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.5.0

 * **New:** Added “Item Spacing (px)” setting under the “Border & Spacing” tab to
   allow customization of the vertical gap between individual FAQ items.
 * **Fix:** Resolved a critical visibility issue where the generated schema was 
   hidden from guest users if the post meta ID was empty. The plugin now smartly
   evaluates the shortcode output to ensure proper schema rendering for all visitors
   while still hiding raw error messages.

#### 1.4.0

 * **Enhancement:** Seamless Admin UX – The settings page now features instant tab
   switching without page reloads (SPA-like experience).
 * **Improvement:** Unified Settings Saving – Saving changes now updates all configurations
   across all tabs simultaneously.
 * **Improvement:** Integrated Browser History API so the active tab state is preserved
   even if the page is manually refreshed.

#### 1.3.0

 * **New:** Smart Error Visibility – The “Schema not found” error message is now
   hidden for regular users and guests. It remains visible only to Administrators
   to assist with debugging.
 * **Improvement:** Enhanced conditional logic to check for Schema ID existence 
   before injection.
 * **Fix:** Prevented potential layout issues on posts where schema data is missing.

#### 1.2.0

 * **New:** Added Opening Animations (Slide, Fade, Zoom).
 * **New:** Added Animation Speed control setting.
 * **New:** Brand new “Blue Harmony” Admin UI for better user experience.
 * **Improvement:** Optimized Asset Loading (scripts only load when needed).
 * **Improvement:** Enhanced RTL support for both Admin and Frontend.
 * **Security:** Implemented Nonce verification and better output escaping for WP.
   org standards.
 * **Compatibility:** PHP requirement lowered to 7.4 for better compatibility.

#### 1.1.0

 * **New:** Added “Injection Control Meta Box” per post.
 * **Improvement:** Rewrote frontend logic in Vanilla JS (removed jQuery).
 * **Security:** Fixed non-sanitized input variable warnings.

#### 1.0.0

 * Initial release.

## Meta

 *  Phiên bản **1.5.0**
 *  Cập nhật lần cuối **4 tháng trước**
 *  Số lượt cài đặt **20+**
 *  Phiên bản WordPress ** 5.6 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.0.8**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/kabook-auto-rank-math-snippet/) 
   và [Persian](https://fa.wordpress.org/plugins/kabook-auto-rank-math-snippet/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/kabook-auto-rank-math-snippet)
 * Thẻ
 * [Accordion](https://vi.wordpress.org/plugins/tags/accordion/)[faq](https://vi.wordpress.org/plugins/tags/faq/)
   [rank math](https://vi.wordpress.org/plugins/tags/rank-math/)[schema](https://vi.wordpress.org/plugins/tags/schema/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/kabook-auto-rank-math-snippet/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/kabook-auto-rank-math-snippet/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/kabook-auto-rank-math-snippet/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/kabook-auto-rank-math-snippet/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/kabook-auto-rank-math-snippet/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/kabook-auto-rank-math-snippet/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/kabook-auto-rank-math-snippet/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/kabook-auto-rank-math-snippet/reviews/)

## Những người đóng góp

 *   [ Afshari ](https://profiles.wordpress.org/saeidafshari/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/kabook-auto-rank-math-snippet/)