Not another FAQ block. A smart wrapper around core Accordion that adds FAQPage JSON-LD, an optional question registry, and usage stats—without changing your front-end design or duplicating content.
A plugin by 4WP · Source: github.com/4wpdev/4wp-faq
forwp/faqwrapper — keeps your Accordion layout and theme styles- FAQPage JSON-LD — site-wide toggle in Settings; per-block override in the sidebar
- Convert to FAQ — toolbar action on
core/accordion/core/accordion-item - Optional registry — aggregated CPT + taxonomy (setup wizard), content scan, reuse stats
- Admin settings — overview metrics, rescan, SEO toggle, reset setup (with safeguards)
Legacy core/details inside the wrapper is still supported for schema and scan.
forwp/faq ← 4WP FAQ wrapper
└── core/accordion
└── core/accordion-item ← one Q&A (JSON-LD + registry)
├── heading
└── panel content
Details: docs/BLOCKS.md.
- Build or select a core Accordion (or item) in the editor.
- Click Convert to FAQ in the block toolbar.
- Under FAQ → Settings, turn on JSON-LD when you want structured data (off by default).
- Optionally run setup to enable the registry CPT (
faqby default) and Rescan after content changes.
JSON-LD on the front end does not require the registry. The registry is for listing, reuse tracking, and future features.
| Source | Notes |
|---|---|
| From GitHub | Clone, build, activate (see below). |
| WordPress.org | Coming with v1.0.0 review — listing copy in readme.txt. |
git clone https://github.com/4wpdev/4wp-faq.git
cd 4wp-faq
npm install && npm run build
# Copy or symlink into wp-content/plugins/4wp-faq and activate in wp-admin.- WordPress 6.0+ (Accordion blocks; tested up to 6.9)
- PHP 7.4+
| Repository | github.com/4wpdev/4wp-faq |
| Releases | GitHub Releases |
| Block reference | docs/BLOCKS.md |
| WordPress.org readme | readme.txt (Plugin Check / directory listing) |
- Namespace:
ForWP\FAQ - Block:
forwp/faq· Text domain:4wp-faq - REST:
forwp-faq/v1(settings, registry scan, setup) - Build:
npm run build→build/(block editor + admin React screens)
npm install
npm run build # production
npm run start # watchRelease ZIPs should include build/ and PHP only—see .distignore (excludes src/, node_modules/, etc.).
GPL v2 or later. See readme.txt and the plugin header in 4wp-faq.php.