Business · Gutenberg

FAQ with Search block for WordPress

Accordion FAQ with a live client-side search filter above the items.

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.

Get Blockenberg

What it actually does

Accordion FAQ with a live client-side search filter above the items.

Inspector panels on this block: FAQ Items, Search Settings, Accordion Behaviour, Layout. Those titles come from index.js, not from a shared template.

Behavior controls: “Item Style” options: Bordered, Boxed, Plain (dividers).

Where to find it

Gutenberg inserter → Business → search “FAQ with Search” (block name `blockenberg/faq-search` in block.json). Style it in the sidebar after insert.

How to use FAQ with Search block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “FAQ with Search”, insert it. Category: Business.
  3. Configure inspector controls that exist on this block. Open FAQ Items. Set “Question”, “Answer”, “Show Search Bar”, “Search Placeholder”.
  4. Check the published page. The view script reads HTML data attributes: data-opts. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
QuestionText field in the inspector.
AnswerMultiline text field in the inspector.
Show Search BarOn/off toggle in the inspector. On by default. Saved as `showSearch`.
Search PlaceholderText field in the inspector. block.json default: Search FAQs…. Saved as `searchPlaceholder`.
No Results TextText field in the inspector. block.json default: No FAQs match your search.. Saved as `noResultsText`.
Open First Item by DefaultOn/off toggle in the inspector. Off by default. Saved as `openFirst`.
Allow Multiple OpenOn/off toggle in the inspector. Off by default. Saved as `allowMultiple`.
Item StyleSelect control; the chosen value is saved on the block. Options: Bordered; Boxed; Plain (dividers). block.json default: bordered. Saved as `itemStyle`.
Border Radius (px)Numeric range control in the inspector. Range 0–30. block.json default: 10. Saved as `borderRadius`.
Question (Typo Question)Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoQuestion`.
Answer (Typo Answer)Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoAnswer`.
Question TextColor control in the inspector. block.json default: #111827. Saved as `questionColor`.
Answer TextColor control in the inspector. block.json default: #4b5563. Saved as `answerColor`.
Accent / IconColor control in the inspector. block.json default: #7c3aed. Saved as `accentColor`.
Colors — BorderColor control in the inspector. block.json default: #e5e7eb. Saved as `borderColor`.
Item BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `itemBg`.
Section BackgroundColor control in the inspector. Saved as `bgColor`.
Max Width (px)Numeric range control in the inspector. Range 400–1200. block.json default: 800. Saved as `maxWidth`.
Padding Top (px)Numeric range control in the inspector. Range 0–200. block.json default: 48. Saved as `paddingTop`.
Padding Bottom (px)Numeric range control in the inspector. Range 0–200. block.json default: 48. Saved as `paddingBottom`.

What the front-end script actually does

When this is the right block

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 with Search block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “FAQ with Search”. It sits under Business. After insert, open FAQ Items and set “Question”, “Answer”, “Show Search Bar”, “Search Placeholder”.

What makes FAQ with Search different from other Blockenberg blocks?

Accordion FAQ with a live client-side search filter above the items. Inspector labels on this block include “Question”, “Answer”, “Show Search Bar”, “Search Placeholder”.

Is the FAQ with Search Gutenberg block free?

Yes. FAQ with Search ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style FAQ with Search 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: FAQ Items, Search Settings, Accordion Behaviour, Layout).

Related business blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert FAQ with Search from the Gutenberg inserter.

Get Blockenberg