Àpèjúwe
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:
cdinto the plugin directorynpm installnpm run build— compiles block, admin, and setup apps intobuild/
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
- Setup wizard for registry post type and taxonomy slugs
- Convert to FAQ toolbar action on Accordion blocks
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.
Àwọn ìdí
Plugin yìí pèsè 1 ìdí.
- 4WP FAQ FAQ wrapper for accordion items.
Ìgbéwọlẹ̀
- Upload the plugin to
/wp-content/plugins/4wp-faq/or install from the Plugins screen. - Activate 4WP FAQ.
- Add or convert Accordion blocks, then open FAQ Settings for JSON-LD and registry options.
FAQ
-
Does this replace the Accordion block?
-
No. 4WP FAQ is a thin wrapper. Your theme and block styles stay the same.
-
Is JSON-LD enabled by default?
-
No. Turn it on under FAQ Settings (site-wide) or enable it for individual blocks in the block sidebar.
-
What happens if I reset setup?
-
You can change registry slugs in the wizard again, but FAQ categories are removed. Existing registry posts remain on the previous post type until you complete setup and run a new scan.
Àwọn àgbéyẹ̀wò
Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.
Àwọn Olùkópa & Olùgbéejáde
“4WP FAQ” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.
Àwọn OlùkópaṢe o nífẹ̀ẹ́ sí ìdàgbàsókè?
Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.
Àkọsílẹ̀ àwọn àyípadà
1.0.0
- Initial release:
forwp/faqwrapper, setup wizard, registry scan, JSON-LD, admin settings UI.
