Business · Gutenberg

Contact Section block for WordPress

All-in-one contact page section: info cards (address, phone, email, hours) + a contact form + optional embedded map — all in a polished configurable layout.

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

All-in-one contact page section: info cards (address, phone, email, hours) + a contact form + optional embedded map — all in a polished configurable layout.

Inspector panels on this block: Layout, Form Fields, Radii, Info Cards. Those titles come from index.js, not from a shared template.

Behavior controls: “Layout” options: Info left, form right, Info right, form left, Stacked (info top); “Map embed URL” (Google Maps embed URL (share → embed)).

Where to find it

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

How to use Contact Section 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 Section”, insert it. Category: Business.
  3. Configure inspector controls that exist on this block. Open Layout. Set “Show title & subtitle”, “Show info cards”, “Show contact form”, “Show embedded map”.
  4. Check the published page. The view script reads HTML data attributes: data-recipient, data-success. 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: Info left, form right; Info right, form left; Stacked (info top). block.json default: info-left. Saved as `layout`.
Show title & subtitleOn/off toggle in the inspector. On by default. Saved as `showTitle`.
Show info cardsOn/off toggle in the inspector. On by default. Saved as `showInfoCards`.
Show contact formOn/off toggle in the inspector. On by default. Saved as `showForm`.
Show embedded mapOn/off toggle in the inspector. Off by default. Saved as `showMap`.
Map embed URLText field in the inspector. Google Maps embed URL (share → embed). Saved as `mapEmbedUrl`.
Map height (px)Numeric range control in the inspector. Range 160–480. block.json default: 280. Saved as `mapHeight`.
Name fieldOn/off toggle in the inspector. On by default. Saved as `showName`.
Phone fieldOn/off toggle in the inspector. Off by default. Saved as `showPhone`.
Subject fieldOn/off toggle in the inspector. On by default. Saved as `showSubject`.
Submit button labelText field in the inspector. block.json default: Send Message. Saved as `submitLabel`.
Recipient emailText field in the inspector. Saved as `recipientEmail`.
Success messageText field in the inspector. block.json default: Thank you! We'll be in touch shortly.. Saved as `successMessage`.
Typography — TitleShared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoTitle`.
SubtitleShared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoSubtitle`.
Icon size (px)Numeric range control in the inspector. Range 28–64. block.json default: 32. Saved as `iconSize`.
Field size (px)Numeric range control in the inspector. Range 12–18. block.json default: 14. Saved as `fieldSize`.
Label size (px)Numeric range control in the inspector. Range 10–16. block.json default: 13. Saved as `labelSize`.
Card radius (px)Numeric range control in the inspector. Range 0–32. block.json default: 12. Saved as `cardRadius`.
Card gap (px)Numeric range control in the inspector. Range 8–32. block.json default: 16. Saved as `cardGap`.
Form radius (px)Numeric range control in the inspector. Range 0–32. block.json default: 14. Saved as `formRadius`.
Field radius (px)Numeric range control in the inspector. Range 0–20. block.json default: 8. Saved as `fieldRadius`.
Button radius (px)Numeric range control in the inspector. Range 0–99. block.json default: 8. Saved as `btnRadius`.
Padding top (px)Numeric range control in the inspector. Range 0–200. block.json default: 60. Saved as `paddingTop`.
Padding bottom (px)Numeric range control in the inspector. Range 0–200. block.json default: 60. Saved as `paddingBottom`.
LabelText field in the inspector.
ValueText field 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 Section block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Contact Section”. It sits under Business. After insert, open Layout and set “Show title & subtitle”, “Show info cards”, “Show contact form”, “Show embedded map”.

What makes Contact Section different from other Blockenberg blocks?

All-in-one contact page section: info cards (address, phone, email, hours) + a contact form + optional embedded map — all in a polished configurable layout. Inspector labels on this block include “Show title & subtitle”, “Show info cards”, “Show contact form”, “Show embedded map”.

Is the Contact Section Gutenberg block free?

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

Can I style Contact Section 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, Form Fields, Radii, Info Cards).

Related business blocks

Get Blockenberg

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

Get Blockenberg