Blog · Gutenberg

Interview Q&A block for WordPress

Magazine-style interview Q&A with styled questions and answers, speaker info, and multiple visual styles.

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

Magazine-style interview Q&A with styled questions and answers, speaker info, and multiple visual styles.

Inspector panels on this block: Speaker Info, Q&A Style, Layout. Those titles come from index.js, not from a shared template.

Behavior controls: “Layout Style” options: Classic (prefix badge), Magazine (large Q), Card (each item in card), Minimal (subtle divider).

Where to find it

Gutenberg inserter → Blog → search “Interview Q&A” (block name `blockenberg/interview-block` in block.json). Style it in the sidebar after insert.

How to use Interview Q&A block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Interview Q&A”, insert it. Category: Blog.
  3. Configure inspector controls that exist on this block. Open Speaker Info. Set “Show Speaker Header”, “Interviewee Name”, “Interviewee Role / Title”, “Interviewer Name (optional)”.
  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
Show Speaker HeaderOn/off toggle in the inspector. On by default. Saved as `showSpeakerHeader`.
Interviewee NameText field in the inspector. block.json default: Jane Smith. Saved as `intervieweeName`.
Interviewee Role / TitleText field in the inspector. block.json default: CEO & Co-Founder. Saved as `intervieweeRole`.
Interviewer Name (optional)Text field in the inspector. Saved as `interviewerName`.
Layout StyleSelect control; the chosen value is saved on the block. Options: Classic (prefix badge); Magazine (large Q); Card (each item in card); Minimal (subtle divider). block.json default: classic. Saved as `layout`.
Question Prefix LabelText field in the inspector. block.json default: Q. Saved as `questionPrefix`.
Answer Prefix LabelText field in the inspector. block.json default: A. Saved as `answerPrefix`.
Show Prefix Labels (Q / A)On/off toggle in the inspector. On by default. Saved as `showPrefixLabel`.
Show Dividers Between ItemsOn/off toggle in the inspector. On by default. Saved as `showDivider`.
Border Radius (px)Numeric range control in the inspector. Range 0–32. block.json default: 12. Saved as `borderRadius`.
Name Size (px)Numeric range control in the inspector. Range 12–32. block.json default: 18. Saved as `nameSize`.
Prefix Size (px)Numeric range control in the inspector. Range 10–24. block.json default: 13. Saved as `prefixSize`.
Question ColorColor control in the inspector. block.json default: #111827. Saved as `questionColor`.
Answer ColorColor control in the inspector. block.json default: #374151. Saved as `answerColor`.
Prefix Badge BGColor control in the inspector. block.json default: #7c3aed. Saved as `prefixBg`.
Prefix Badge TextColor control in the inspector. block.json default: #ffffff. Saved as `prefixColor`.
Accent ColorColor control in the inspector. block.json default: #7c3aed. Saved as `accentColor`.
Card BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `cardBg`.
Header BackgroundColor control in the inspector. block.json default: #f9fafb. Saved as `headerBg`.
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 Interview Q&A block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Interview Q&A”. It sits under Blog. After insert, open Speaker Info and set “Show Speaker Header”, “Interviewee Name”, “Interviewee Role / Title”, “Interviewer Name (optional)”.

What makes Interview Q&A different from other Blockenberg blocks?

Magazine-style interview Q&A with styled questions and answers, speaker info, and multiple visual styles. Inspector labels on this block include “Show Speaker Header”, “Interviewee Name”, “Interviewee Role / Title”, “Interviewer Name (optional)”.

Is the Interview Q&A Gutenberg block free?

Yes. Interview Q&A ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Interview Q&A 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: Speaker Info, Q&A Style, Layout).

Related blog blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Interview Q&A from the Gutenberg inserter.

Get Blockenberg