Content · Gutenberg

Callout block for WordPress

Highlighted panel for tips, warnings or success messages with icon, title and dismissible option.

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

Highlighted panel for tips, warnings or success messages with icon, title and dismissible option.

Inspector panels on this block: Type & Style, Custom Colors. Those titles come from index.js, not from a shared template.

Behavior controls: “Callout Type” options: Info, Success, Warning, Danger, Custom; “Border Style” options: Left accent, Top ribbon, All sides, No border.

Where to find it

Gutenberg inserter → Content → search “Callout” (block name `blockenberg/callout` in block.json). Style it in the sidebar after insert.

How to use Callout block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Callout”, insert it. Category: Content.
  3. Configure inspector controls that exist on this block. Open Type & Style. Set “Callout Type”, “Border Style”, “Show Icon”, “Dismissible”.
  4. Check the published page. The view script reads HTML data attributes: data-dismissible. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Callout TypeSelect control; the chosen value is saved on the block. Options: Info; Success; Warning; Danger; Custom. block.json default: info. Saved as `calloutType`.
Border StyleSelect control; the chosen value is saved on the block. Options: Left accent; Top ribbon; All sides; No border. block.json default: left. Saved as `borderStyle`.
Show IconOn/off toggle in the inspector. On by default. Saved as `showIcon`.
DismissibleOn/off toggle in the inspector. Off by default. Saved as `dismissible`.
Vertical PaddingNumeric range control in the inspector. Range 8–48. block.json default: 16. Saved as `paddingV`.
Horizontal PaddingNumeric range control in the inspector. Range 8–64. block.json default: 20. Saved as `paddingH`.
Border RadiusNumeric range control in the inspector. Range 0–24. block.json default: 6. Saved as `borderRadius`.
Colors — BackgroundColor control in the inspector. Saved as `bgColor`.
Border / AccentColor control in the inspector. Saved as `borderColor`.
Colors — TextColor control in the inspector. Saved as `textColor`.

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

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Callout”. It sits under Content. After insert, open Type & Style and set “Callout Type”, “Border Style”, “Show Icon”, “Dismissible”.

What makes Callout different from other Blockenberg blocks?

Highlighted panel for tips, warnings or success messages with icon, title and dismissible option. Inspector labels on this block include “Callout Type”, “Border Style”, “Show Icon”, “Dismissible”.

Is the Callout Gutenberg block free?

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

Can I style Callout 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: Type & Style, Custom Colors).

Related content blocks

Get Blockenberg

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

Get Blockenberg