
內容簡介
4WP FAQ 是一款智慧型外掛,專為 WordPress 核心的手風琴區塊設計。它提供 FAQPage JSON-LD 支援、可選的 FAQ 註冊庫及使用情境,同時保持前端設計的完整性,提升網站的 SEO 效果。
【主要功能】
• 支援手風琴/手風琴項目包裝
• 提供 FAQPage JSON-LD 支援
• 可選的 FAQ 註冊庫與內容掃描
• FAQ 類別管理與自動創建
• 支援 Polylang 語言管理
• 設定精靈輔助註冊類型與分類
外掛標籤
開發者團隊
原文外掛簡介
4WP FAQ is a smart wrapper around WordPress core Accordion blocks. It adds FAQPage JSON-LD, an optional aggregated FAQ registry, and usage context while keeping your front-end design intact.
A plugin by 4wp.dev. 4WP is our project brand; this plugin is not affiliated with, endorsed, or sponsored by WordPress.
Source code and releases: github.com/4wpdev/4wp-faq
Development
JavaScript and CSS are built with @wordpress/scripts. Human-readable source (src/, webpack.config.js, package.json) is in the public GitHub repository above — not in the distributed plugin ZIP.
From a clone of the repository:
cd into the plugin directory
npm install
npm run build — compiles block, admin, and setup apps into build/
Key features
Wrap Accordion / Accordion Item (legacy Details supported)
FAQPage JSON-LD — site-wide toggle plus per-block override
Optional FAQ registry CPT with content scan and usage stats
FAQ categories — create in admin, pick per block, or auto-create on scan from the page
Polylang — registry categories respect the language of the page where the FAQ block lives
Setup wizard for registry post type and taxonomy slugs
Convert to FAQ toolbar action on Accordion blocks
Default Accordion template when inserting the FAQ block; Add FAQ item in the editor
How it works
Build FAQs with core Accordion blocks (or convert existing Accordion).
Click Convert to FAQ to wrap content in forwp/faq.
Enable JSON-LD in FAQ → Settings (recommended for SEO) or per block.
Optionally complete setup to aggregate questions into a registry list.
JSON-LD on the front end does not require the registry. The registry is for browsing, reuse tracking, and future features.
