Faq Lite Block
A React simple FAQ block for Gutenberg with accordion and list display modes, including Schema.org markup.
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/hlibpanchenko/faq-lite-block/archive/refs/heads/main.zipReadme
FAQ Lite Block
A lightweight FAQ block for the WordPress block editor with accordion/list display modes and built-in Schema.org (FAQPage) markup.
Features
- Two display modes — Accordion (collapsible, one item open at a time) or plain List (all answers visible)
- Schema.org FAQPage JSON-LD — automatically generated and embedded in the page source for rich search results
- Accessible —
aria-expanded,aria-controls,role="region", keyboard-navigable buttons - Reorder, add, delete — manage FAQ items with up/down/delete buttons in the editor
- Rich text answers — bold, italic, and links
- Optional "first open" — expand the first accordion item by default
- Color, spacing, typography — standard block editor controls
- No dependencies — vanilla JS on the frontend, no jQuery
Requirements
- WordPress 6.8+
- PHP 7.4+
Installation
- Upload the
faq-lite-blockfolder to/wp-content/plugins/ - Activate the plugin in Plugins → Installed Plugins
- In the block editor, search for FAQ and insert the block
Usage
- Add the FAQ block in the editor
- Type your questions and answers
- Use the up/down/delete buttons on each item to reorder or remove
- Click Add FAQ Item to add more entries
- In the block settings sidebar, choose Accordion or List display mode
Schema.org
Both modes output a `