Business · Gutenberg

Contact Info block for WordPress

Display business contact information with icons, labels, and optional Schema.org markup.

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

Display business contact information with icons, labels, and optional Schema.org markup.

Inspector panels on this block: Layout, Icon Style, Icon Colors, Text Colors, Contact Items. Those titles come from index.js, not from a shared template.

Behavior controls: “Layout” options: Stacked (vertical), Inline (horizontal), Grid; “Icon Style” options: Filled box, Outline box, No box.

Where to find it

Gutenberg inserter → Business → search “Contact Info” (block name `blockenberg/contact-info` in block.json). Style it in the sidebar after insert.

How to use Contact Info block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Contact Info”, insert it. Category: Business.
  3. Configure inspector controls that exist on this block. Open Layout. Set “Columns”, “Item Spacing (px)”, “Show Labels”, “Inject Schema.org markup”.
  4. Check the published page. The view script reads HTML data attributes: data-items. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
LayoutSelect control; the chosen value is saved on the block. Options: Stacked (vertical); Inline (horizontal); Grid. block.json default: stacked. Saved as `layout`.
ColumnsNumeric range control in the inspector. Range 2–4. block.json default: 2. Saved as `columns`.
Item Spacing (px)Numeric range control in the inspector. Range 8–60. block.json default: 20. Saved as `itemSpacing`.
Show LabelsOn/off toggle in the inspector. On by default. Saved as `showLabel`.
Inject Schema.org markupOn/off toggle in the inspector. On by default. Saved as `schemaEnabled`.
Icon StyleSelect control; the chosen value is saved on the block. Options: Filled box; Outline box; No box. block.json default: filled. Saved as `iconStyle`.
Icon SizeNumeric range control in the inspector. Range 12–36. block.json default: 18. Saved as `iconSize`.
Box SizeNumeric range control in the inspector. Range 24–80. block.json default: 40. Saved as `iconBoxSize`.
Box RadiusNumeric range control in the inspector. Range 0–40. block.json default: 8. Saved as `iconRadius`.
Icon ColorColor control in the inspector. block.json default: #2563eb. Saved as `iconColor`.
Box BGColor control in the inspector. block.json default: #eff6ff. Saved as `iconBg`.
LabelShared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoLabel`.
ValueShared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoValue`.
Label ColorColor control in the inspector. block.json default: #6b7280. Saved as `labelColor`.
Value ColorColor control in the inspector. block.json default: #111827. Saved as `valueColor`.
Link ColorColor control in the inspector. block.json default: #2563eb. Saved as `linkColor`.
TypeSelect control; the chosen value is saved on the block.
LabelText field in the inspector.
ValueText field in the inspector.
Make value a linkOn/off toggle in the inspector.

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

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Contact Info”. It sits under Business. After insert, open Layout and set “Columns”, “Item Spacing (px)”, “Show Labels”, “Inject Schema.org markup”.

Does Contact Info output FAQ schema?

Yes, when the schema toggle on this block is on. The front-end script injects FAQPage JSON-LD. That is not the same as Yoast/Rank Math site-wide schema.

Is the Contact Info Gutenberg block free?

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

Can I style Contact Info 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: Layout, Icon Style, Icon Colors, Text Colors).

Related business blocks

Get Blockenberg

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

Get Blockenberg