Business · Gutenberg
FAQ Categories block for WordPress
Categorized FAQ with a sidebar (or top tab bar) category navigator and an accordion for each category. Ideal for comprehensive help centers and support pages.
Get Blockenberg
Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.
What it actually does
Categorized FAQ with a sidebar (or top tab bar) category navigator and an accordion for each category. Ideal for comprehensive help centers and support pages.
Inspector panels on this block: Settings, Sizing, Categories. Those titles come from index.js, not from a shared template.
Behavior controls: “Navigation style” options: Sidebar nav, Tabs; “Sidebar position” options: Left, Right; “Accordion icon” options: Plus / Minus, Chevron, Arrow.
Where to find it
Gutenberg inserter → Business → search “FAQ Categories” (block name `blockenberg/faq-categories` in block.json). Style it in the sidebar after insert.
How to use FAQ Categories block for WordPress
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “FAQ Categories”, insert it. Category: Business.
- Configure inspector controls that exist on this block. Open Settings. Set “Navigation style”, “Sidebar position”, “Sidebar width (px)”, “Accordion icon”.
- Check the published page. The view script reads HTML data attributes: data-allow-multiple, data-cat, data-icon-type, data-open. The block editor preview may not run the same view script.
Inspector controls from this block’s code
| Control | What the code does |
|---|---|
| Navigation style | Select control; the chosen value is saved on the block. Options: Sidebar nav; Tabs. block.json default: sidebar. Saved as `navStyle`. |
| Sidebar position | Select control; the chosen value is saved on the block. Options: Left; Right. block.json default: left. Saved as `navPosition`. |
| Sidebar width (px) | Numeric range control in the inspector. Range 160–360. block.json default: 240. Saved as `navWidth`. |
| Accordion icon | Select control; the chosen value is saved on the block. Options: Plus / Minus; Chevron; Arrow. block.json default: plus. Saved as `iconType`. |
| Show category icon | On/off toggle in the inspector. On by default. Saved as `showCatIcon`. |
| Show item count | On/off toggle in the inspector. On by default. Saved as `showCatCount`. |
| Expand first item | On/off toggle in the inspector. On by default. Saved as `expandFirst`. |
| Allow multiple open | On/off toggle in the inspector. Off by default. Saved as `allowMultiple`. |
| Show search field | On/off toggle in the inspector. Off by default. Saved as `showSearch`. |
| Search placeholder | Text field in the inspector. block.json default: Search questions…. Saved as `searchPlaceholder`. |
| Question padding (px) | Numeric range control in the inspector. Range 10–36. block.json default: 18. Saved as `questionPadding`. |
| Answer padding (px) | Numeric range control in the inspector. Range 10–36. block.json default: 18. Saved as `answerPadding`. |
| Item radius (px) | Numeric range control in the inspector. Range 0–24. block.json default: 10. Saved as `itemRadius`. |
| Item gap (px) | Numeric range control in the inspector. Range 0–24. block.json default: 10. Saved as `itemGap`. |
| Nav radius (px) | Numeric range control in the inspector. Range 0–24. block.json default: 10. Saved as `navRadius`. |
| Padding top (px) | Numeric range control in the inspector. Range 0–200. block.json default: 60. Saved as `paddingTop`. |
| Padding bottom (px) | Numeric range control in the inspector. Range 0–200. block.json default: 60. Saved as `paddingBottom`. |
| Label | Text field in the inspector. |
| Question | Text field in the inspector. |
| Answer | Multiline text field in the inspector. |
What the front-end script actually does
- The view script reads HTML data attributes: data-allow-multiple, data-cat, data-icon-type, data-open.
- Headers keep aria-expanded in sync so screen readers hear open vs closed.
- A multiple-open flag on the wrapper decides whether several panels can stay open.
When this is the right block
- Categorized FAQ with a sidebar (or top tab bar) category navigator and an accordion for each category. Ideal for comprehensive help centers and support pages — that is the job of FAQ Categories, not a generic content block.
- Use it when you need the editor control labeled “Navigation style”, which exists on this block’s inspector.
- It matches pages about faq, accordion, categories.
- Inserter grouping: company, service, and operations pages.
Notes from the implementation
viewScript: this folder’s frontend.js is enqueued on the front end for this block.
FAQ
How do I add the FAQ Categories block in WordPress?
Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “FAQ Categories”. It sits under Business. After insert, open Settings and set “Navigation style”, “Sidebar position”, “Sidebar width (px)”, “Accordion icon”.
What makes FAQ Categories different from other Blockenberg blocks?
Categorized FAQ with a sidebar (or top tab bar) category navigator and an accordion for each category. Ideal for comprehensive help centers and support pages. Inspector labels on this block include “Navigation style”, “Sidebar position”, “Sidebar width (px)”, “Accordion icon”.
Is the FAQ Categories Gutenberg block free?
Yes. FAQ Categories ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.
Can I style FAQ Categories to match my theme?
Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Settings, Sizing, Categories).
Related business blocks
FAQ Section
Complete FAQ landing-page section with styled section header, inline accordion items, multiple layout variants, and a bottom contact CTA. Different from FAQ Schema (SEO) and FAQ Categories (search UI).
FAQ Accordion
FAQ section with smooth accordion expand/collapse, rich typography, and schema.org markup support.
FAQ Chat
Chat-bubble style FAQ. Visitors click questions to reveal bot-style answers with a typing indicator — a conversational alternative to accordion FAQ.
FAQ Grid
Display frequently asked questions as a scannable card grid — ideal for pricing pages and knowledge bases.
FAQ Schema
FAQ block with automatic FAQPage JSON-LD structured data for SEO rich snippets.
Portfolio Grid
Project showcase cards with category filter, hover overlay, tech tags and CTA links. Perfect for portfolio, case studies, and work samples.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert FAQ Categories from the Gutenberg inserter.