Title: Accordly – Smart FAQ Schema
Author: syedmaasif
Published: <strong>2026 年 6 月 3 日</strong>
Last modified: 2026 年 6 月 3 日

---

搜索插件

![](https://ps.w.org/accordly-smart-faq-schema/assets/icon-256x256.png?rev=3560002)

# Accordly – Smart FAQ Schema

 作者：[syedmaasif](https://profiles.wordpress.org/syedmaasif/)

[下载](https://downloads.wordpress.org/plugin/accordly-smart-faq-schema.1.1.5.zip)

 * [详情](https://cn.wordpress.org/plugins/accordly-smart-faq-schema/#description)
 * [评价](https://cn.wordpress.org/plugins/accordly-smart-faq-schema/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/accordly-smart-faq-schema/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/accordly-smart-faq-schema/#developers)

 [支持](https://wordpress.org/support/plugin/accordly-smart-faq-schema/)

## 描述

**Smart FAQ Schema** lets you add beautiful, accessible FAQ accordions to any WordPress
post or page, with automatic FAQPage JSON-LD schema markup output in the `<head>`
for Google rich results.

No coding required. Works with the Classic Editor, Block Editor (Gutenberg), and
Elementor out of the box.

**Key Features**

 * ✅ FAQPage JSON-LD schema — Google-recommended format, injected automatically
 * ✅ 5 accordion UI styles: Classic, Minimal Line, Card / Shadow, Left Accent Border,
   Modern Pill
 * ✅ Shortcode `[sfaq]` + optional auto-inject after post content
 * ✅ Elementor compatible — use the shortcode in any Text or Shortcode widget
 * ✅ Elementor-style live preview panel in the Styling settings tab
 * ✅ Full colour, font, padding and border-radius controls
 * ✅ Per-post overrides — schema on/off, accordion visible/hidden, custom title
 * ✅ Bulk FAQ checker — see every post’s FAQ status at a glance with ✔ / ✘ status
 * ✅ Collapsible FAQ rows in the editor for a clutter-free experience with many
   FAQs
 * ✅ 100% safe for existing posts — FAQ section only renders when at least one 
   FAQ is filled in

**Why Schema Matters**

Google can display FAQ rich results directly in search — showing your questions 
and answers below your page listing. This increases click-through rate and takes
up more SERP real estate. Smart FAQ Schema outputs the exact JSON-LD structure Google
recommends.

**Display Options**

 * **Auto-inject** — FAQs automatically appear after post content on every post/
   page with FAQs added
 * **Shortcode** — Place `[sfaq]` anywhere in your content or page builder
 * **Both** — Auto-inject is active and the shortcode also works independently

**Per-Post Controls**

Each post/page can override the global settings:

 * Show or hide the FAQ accordion independently of the schema output
 * Enable or disable schema just for that post
 * Set a custom section title per post

**Bulk FAQ Checker**

Go to Smart FAQ  Bulk Checker to see all your posts, pages, and products with a 
✔ / ✘ FAQ status column. Filter by post type or status and jump straight to editing.

## 屏幕截图

[⌊Styling tab — choose from 5 UI styles with a real-time live preview panel on the
right⌉⌊Styling tab — choose from 5 UI styles with a real-time live preview panel
on the right⌉[

Styling tab — choose from 5 UI styles with a real-time live preview panel on the
right

[⌊Frontend — FAQ accordion displayed on a live blog post (Classic Accordion style)⌉⌊
Frontend — FAQ accordion displayed on a live blog post (Classic Accordion style)⌉[

Frontend — FAQ accordion displayed on a live blog post (Classic Accordion style)

[⌊Post editor — Smart FAQ Schema meta box with collapsible FAQ rows, drag-to-reorder,
and per-post options⌉⌊Post editor — Smart FAQ Schema meta box with collapsible FAQ
rows, drag-to-reorder, and per-post options⌉[

Post editor — Smart FAQ Schema meta box with collapsible FAQ rows, drag-to-reorder,
and per-post options

[⌊Bulk FAQ Checker — 258 posts listed with ✔ FAQ Added / ✘ No FAQ status, count,
schema and visibility columns⌉⌊Bulk FAQ Checker — 258 posts listed with ✔ FAQ Added/
✘ No FAQ status, count, schema and visibility columns⌉[

Bulk FAQ Checker — 258 posts listed with ✔ FAQ Added / ✘ No FAQ status, count, schema
and visibility columns

[⌊General settings tab — configure post types, display method (Auto-inject / Shortcode/
Both), and section title⌉⌊General settings tab — configure post types, display method(
Auto-inject / Shortcode / Both), and section title⌉[

General settings tab — configure post types, display method (Auto-inject / Shortcode/
Both), and section title

[⌊Advanced tab — CSS cache clear button and shortcode reference guide⌉⌊Advanced 
tab — CSS cache clear button and shortcode reference guide⌉[

Advanced tab — CSS cache clear button and shortcode reference guide

## 安装

 1. Upload the `smart-faq-schema` folder to `/wp-content/plugins/`.
 2. Activate the plugin through **Plugins > Installed Plugins**.
 3. Go to **Smart FAQ > Settings** to configure colours, style and display method.
 4. Open any post or page and fill in FAQs in the **Smart FAQ Schema** meta box below
    the editor.
 5. Save/Update the post — the accordion and schema are live immediately.

**Elementor Users**

Use `[sfaq]` inside a Shortcode or Text widget in your Elementor template, placed
after your main content area. Or switch the display method to “Auto-inject” in Settings
and the FAQ is added automatically.

## 常见问题

### Will it break my existing posts?

No. The plugin checks whether a post has at least one filled FAQ before rendering
anything. Posts and pages with no FAQs added are completely untouched — even if 
the plugin is active.

### Does it work with Elementor?

Yes. Use `[sfaq]` in a Shortcode or Text widget. You can also enable **Auto-inject**
in Settings  General to have it appended automatically after the content area on
all posts/pages with FAQs.

### Can I hide the accordion from visitors but still get the schema?

Yes. Set “Show FAQ Accordion” to Off (per-post or globally) while leaving “Generate
FAQ Schema” On. The JSON-LD will still be injected in the `<head>` for Google to
read, but visitors won’t see the accordion.

### How do I clear cached CSS?

Go to **Smart FAQ  Settings  Advanced** and click **Clear CSS Cache**. This is useful
after changing colours or styles if the frontend doesn’t update immediately.

### Can I use a custom JSON-LD schema template?

Yes. Go to **Settings  Schema** and enable “Use custom schema template”. You can
paste any valid JSON-LD and use placeholders like `{{question}}`, `{{answer}}`, `{{
page_url}}`, `{{page_title}}`, and `{{faq_block}}`.

### What post types are supported?

By default, Posts and Pages. Go to **Settings  General  Post Types** to enable it
for WooCommerce Products, custom post types, or any other public post type.

### Does it slow down my site?

No. The dynamic CSS is cached with a WordPress transient (24 hours) and the frontend
JavaScript is tiny with no jQuery dependency. Assets are only loaded on pages that
have FAQs.

### Is it compatible with caching plugins?

Yes. If you change colours/styles, click **Clear CSS Cache** in Settings  Advanced
to bust the cached CSS and see the changes on the frontend.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Accordly – Smart FAQ Schema」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Accordly – Smart FAQ Schema」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/accordly-smart-faq-schema)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/accordly-smart-faq-schema/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/accordly-smart-faq-schema/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/accordly-smart-faq-schema/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/accordly-smart-faq-schema/)。

## 更新日志

#### 1.1.5

 * Dynamic CSS now output via wp_add_inline_style() instead of a raw tag
 * Admin live-preview style uses a registered wp_enqueue handle
 * Custom schema placeholders JSON-escaped via wp_json_encode() to prevent broken
   JSON-LD
 * Main plugin class renamed to SFAQ_Plugin for uniqueness
 * Shortcode renamed from [smart_faq] to [sfaq] for uniqueness

#### 1.1.4

 * Renamed plugin folder to all-lowercase `smart-faq-schema` to satisfy WordPress.
   org text domain rules
 * Fixed `textdomain_mismatch` and `textdomain_invalid_format` checker errors

#### 1.1.3

 * Fixed text domain to match plugin slug throughout all files
 * Fixed unescaped output variables (phpcs compliance)
 * Added `wp_unslash()` to all `$_GET` / `$_POST` reads
 * Added translators comments for pluralised strings
 * Created readme.txt

#### 1.1.2

 * Added `!important` to closed-panel `max-height` rules to defeat theme overrides
   of the phantom space bug

#### 1.1.1

 * Fixed Live Preview page reload — preview accordion buttons now carry `type="button"`
   so clicking them does not submit the settings form

#### 1.1.0

 * Added collapsible FAQ rows in the meta box with Collapse All / Expand All
 * Added Elementor-style live preview panel in the Styling tab
 * Added padding and gap controls for questions, answers, and item spacing
 * Definitive fix for phantom empty space below closed FAQ questions

#### 1.0.0

 * Initial release

## 额外信息

 *  版本 **1.1.5**
 *  最后更新：**5 月前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 5.9 或更高版本 **
 *  已测试的最高版本为 **7.0.7**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/accordly-smart-faq-schema/)
 * 标签
 * [Accordion](https://cn.wordpress.org/plugins/tags/accordion/)[faq](https://cn.wordpress.org/plugins/tags/faq/)
   [rich snippets](https://cn.wordpress.org/plugins/tags/rich-snippets/)[schema](https://cn.wordpress.org/plugins/tags/schema/)
   [structured data](https://cn.wordpress.org/plugins/tags/structured-data/)
 *  [高级视图](https://cn.wordpress.org/plugins/accordly-smart-faq-schema/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/accordly-smart-faq-schema/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/accordly-smart-faq-schema/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/accordly-smart-faq-schema/)