| 开发者 | maheshpatel |
|---|---|
| 更新时间 | 2026年7月6日 00:53 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Built for speed and SEO. Assets load only on pages that actually contain an FAQ, structured data is generated server-side for Google rich results, and every FAQ is fully keyboard accessible out of the box.Why choose Accordion FAQ?
[accordion_faq] (or the classic [quick_faq]) into any page, post, or widget.<button> triggers with aria-expanded and aria-controls.prefers-reduced-motion setting.<details>/<summary> engine for maximum compatibility.accordion-faq/v1 (analytics, server-side search, submissions, AI).[accordion_faq] — the canonical shortcode with full options:
category, term, ids, style, mode, engine, heading, icon, orderby, order, limit, open_first, search, filter, expand_all, toc, per_page, schema, class.
Examples:
[accordion_faq] — show all FAQs with your global defaults.[accordion_faq category="billing" mode="toggle" search="1"] — a searchable “Billing” FAQ where multiple answers can stay open.[accordion_faq ids="12,15,18" style="card" icon="plus"] — show three specific FAQs in the Card style.[quick_faq id="12"] — classic shortcode: show FAQs in category (term) 12 (fully backward compatible).[accordion_faq_submit] — render the front-end “ask a question” submission form.quick_faq post type with a quick_faq_tax category taxonomy. Add your question as the post title and the answer in the editor, assign a category, and you’re done. Manual ordering lets you control exactly which question appears first.
/wp-content/plugins/.[accordion_faq] into any page, post, or widget.Add your questions under FAQs → Add New (title = question, editor = answer), then create a page and insert the Accordion FAQ block or the [accordion_faq] shortcode. Your questions render as an accessible accordion instantly.
FAQ schema is on by default. Accordion FAQ prints a single, deduplicated FAQPage JSON-LD block server-side so Google can read your questions and answers. You can disable it globally or per instance under FAQs → Settings.
No. If your SEO plugin already outputs FAQ schema for a page, simply toggle Accordion FAQ’s schema off (globally or on that instance) so you never ship duplicate structured data.
Yes. There is a dedicated Accordion FAQ block with a live preview, and it supports full-site editing (FSE) themes.
Yes. Accordion FAQ registers native elements for Elementor, WPBakery, Divi, Bricks, and Beaver Builder, so you can drop an FAQ into any builder layout with a visual control panel.
Yes. You can automatically add an FAQ tab to WooCommerce product pages — perfect for shipping, returns, and pre-sales questions. A per-product FAQ picker lets you choose exactly which FAQs (or category) show on each product, with a global fallback.
Yes. Accordion FAQ works with virtually any theme. It styles itself with CSS variables, is light/dark aware, and its templates are fully overridable from your theme.
No. CSS and JavaScript load only on pages that actually contain an FAQ. There is no jQuery dependency, and the icons are scalable CSS (no image requests).
Yes. It implements the WAI-ARIA Accordion pattern with real button triggers, aria-expanded/aria-controls, arrow-key navigation, visible focus, and prefers-reduced-motion support. A zero-JavaScript native <details> engine is also available.
Yes. Switch the engine to the native <details>/<summary> mode for a fully functional, expandable FAQ that needs no JavaScript at all.
Yes. Add the [accordion_faq_submit] form so visitors can ask questions. Submissions are held for moderation (pending review) and protected by layered anti-spam (honeypot + timing + rate limiting).
Yes. Built-in analytics track FAQ views and “Was this helpful?” votes, with a dashboard showing 30-day trends and your top-performing questions.
Yes. Describe a topic and Accordion FAQ generates ready-to-edit questions and answers using the WordPress core AI client — no third-party API key required. You review and publish before anything goes live.
Yes. Import and export your entire FAQ library as CSV or JSON from the admin tools screen.
Yes. FAQs use the quick_faq_tax taxonomy, so you can group questions by category and show category filter tabs or target a single category in a shortcode/block.
Yes. Choose from six styles (Minimal, Bordered, Filled, Separated, Card, Modern), pick an icon (chevron, plus, arrow), set its position, and fine-tune the accent color — or override the CSS variables in your theme.
Yes. Accordion FAQ is fully internationalized and ready for translation into any language.
[quick_faq] shortcodes keep working?Yes. The quick_faq post type, quick_faq_tax taxonomy, and [quick_faq id="…"] shortcode from earlier versions continue to work unchanged.
status column (publish/draft/pending/private).[accordion_faq] shortcode.