Content · Gutenberg

Debate Block block for WordPress

Two-column argument block for presenting Pro vs Con, Side A vs Side B, or any two-position debate.

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

Two-column argument block for presenting Pro vs Con, Side A vs Side B, or any two-position debate.

Inspector panels on this block: Title, Side Labels & Icons, Verdict, Display, Spacing & Shape, Side Colors, General. Those titles come from index.js, not from a shared template.

Behavior controls: “Layout” options: Two columns, Stacked; “Display — Style” options: Card (shadow), Bordered, Minimal.

Where to find it

Gutenberg inserter → Content → search “Debate Block” (block name `blockenberg/debate-block` in block.json). Style it in the sidebar after insert.

How to use Debate Block block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Debate Block”, insert it. Category: Content.
  3. Configure inspector controls that exist on this block. Open Title. Set “Show title”, “Title — Title”, “Show subtitle”, “Subtitle”.
  4. Check the published page. The view script reads HTML data attributes: data-opts, data-rendered. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Show titleOn/off toggle in the inspector. On by default. Saved as `showTitle`.
Title — TitleText field in the inspector. block.json default: The Great Debate. Saved as `blockTitle`.
Show subtitleOn/off toggle in the inspector. On by default. Saved as `showSubtitle`.
SubtitleText field in the inspector. block.json default: Explore both sides of the argument. Saved as `blockSubtitle`.
Left side iconText field in the inspector. block.json default: 👍. Saved as `leftIcon`.
Left side labelText field in the inspector. block.json default: For. Saved as `leftLabel`.
Right side iconText field in the inspector. block.json default: 👎. Saved as `rightIcon`.
Right side labelText field in the inspector. block.json default: Against. Saved as `rightLabel`.
Show verdictOn/off toggle in the inspector. On by default. Saved as `showVerdict`.
Verdict labelText field in the inspector. block.json default: 💡 Verdict. Saved as `verdictLabel`.
Verdict textMultiline text field in the inspector. block.json default: The answer depends on your specific context. For most growing businesses, the long-term productivity gains outweigh the initial investment — but careful change management is essential.. Saved as `verdict`.
LayoutSelect control; the chosen value is saved on the block. Options: Two columns; Stacked. block.json default: columns. Saved as `layout`.
Display — StyleSelect control; the chosen value is saved on the block. Options: Card (shadow); Bordered; Minimal. block.json default: card. Saved as `style`.
Show iconsOn/off toggle in the inspector. On by default. Saved as `showIcons`.
Show ✓/✗ bulletsOn/off toggle in the inspector. On by default. Saved as `showBullets`.
Border radiusNumeric range control in the inspector. Range 0–32. block.json default: 12. Saved as `borderRadius`.
Gap / paddingNumeric range control in the inspector. Range 8–48. block.json default: 20. Saved as `gap`.
Left headerColor control in the inspector. block.json default: #22c55e. Saved as `leftColor`.
Left body bgColor control in the inspector. block.json default: #f0fdf4. Saved as `leftBg`.
Right headerColor control in the inspector. block.json default: #ef4444. Saved as `rightColor`.
Right body bgColor control in the inspector. block.json default: #fef2f2. Saved as `rightBg`.
Block backgroundColor control in the inspector. block.json default: #f8fafc. Saved as `bgColor`.
General — TextColor control in the inspector. block.json default: #374151. Saved as `textColor`.
Header textColor control in the inspector. block.json default: #ffffff. Saved as `headerTextColor`.
General — TitleColor control in the inspector. block.json default: #0f172a. Saved as `titleColor`.
SubtitleColor control in the inspector. block.json default: #64748b. Saved as `subtitleColor`.
Verdict backgroundColor control in the inspector. block.json default: #fffbeb. Saved as `verdictBg`.
Verdict textColor control in the inspector. block.json default: #92400e. Saved as `verdictColor`.
Verdict borderColor control in the inspector. block.json default: #fcd34d. Saved as `verdictBorderColor`.

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 Debate Block block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Debate Block”. It sits under Content. After insert, open Title and set “Show title”, “Title — Title”, “Show subtitle”, “Subtitle”.

What makes Debate Block different from other Blockenberg blocks?

Two-column argument block for presenting Pro vs Con, Side A vs Side B, or any two-position debate. Inspector labels on this block include “Show title”, “Title — Title”, “Show subtitle”, “Subtitle”.

Is the Debate Block Gutenberg block free?

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

Can I style Debate Block 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: Title, Side Labels & Icons, Verdict, Display).

Related content blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Debate Block from the Gutenberg inserter.

Get Blockenberg