Business · Gutenberg

Event Card block for WordPress

Event display card with date, time, venue, description, speakers, call-to-action button, and Event JSON-LD structured data.

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

Event display card with date, time, venue, description, speakers, call-to-action button, and Event JSON-LD structured data.

Inspector panels on this block: Event Info, Date & Time, Venue, Photo, CTA Button. Those titles come from index.js, not from a shared template.

Behavior controls: “Badges (comma-separated)” (e.g.: Free,Workshops,Networking); “Layout” options: Horizontal, Card.

Where to find it

Gutenberg inserter → Business → search “Event Card” (block name `blockenberg/event-card` in block.json). Style it in the sidebar after insert.

How to use Event Card block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Event Card”, insert it. Category: Business.
  3. Configure inspector controls that exist on this block. Open Event Info. Set “Event Name”, “Description”, “Event Type”, “Badges (comma-separated)”.
  4. Check the published page. The view script reads HTML data attributes: data-event, data-schema. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Event NameText field in the inspector. block.json default: Annual Design Summit 2026. Saved as `eventName`.
DescriptionMultiline text field in the inspector. block.json default: Join designers, developers, and product leaders for a day of inspiring talks, hands-on workshops, and networking.. Saved as `description`.
Event TypeSelect control; the chosen value is saved on the block. block.json default: In-Person. Saved as `eventType`.
Badges (comma-separated)Text field in the inspector. e.g.: Free,Workshops,Networking. block.json default: Free,Workshops,Networking. Saved as `badges`.
OrganizerText field in the inspector. Saved as `organizer`.
Start Date (YYYY-MM-DD)Text field in the inspector. block.json default: 2026-06-15. Saved as `startDate`.
Start Time (HH:MM)Text field in the inspector. block.json default: 09:00. Saved as `startTime`.
End Date (YYYY-MM-DD)Text field in the inspector. block.json default: 2026-06-15. Saved as `endDate`.
End Time (HH:MM)Text field in the inspector. block.json default: 18:00. Saved as `endTime`.
TimezoneText field in the inspector. block.json default: America/New_York. Saved as `timezone`.
Venue NameText field in the inspector. block.json default: Javits Center. Saved as `venueName`.
AddressText field in the inspector. block.json default: 429 11th Ave, New York, NY 10001. Saved as `venueAddress`.
Ticket / RSVP URLText field in the inspector. block.json default: #. Saved as `ticketUrl`.
Button LabelText field in the inspector. block.json default: Get Tickets. Saved as `ticketLabel`.
Button Radius (px)Numeric range control in the inspector. Range 0–50. block.json default: 8. Saved as `btnRadius`.
LayoutSelect control; the chosen value is saved on the block. Options: Horizontal; Card. block.json default: horizontal. Saved as `layoutStyle`.
Card Radius (px)Numeric range control in the inspector. Range 0–32. block.json default: 16. Saved as `cardRadius`.
Card ShadowOn/off toggle in the inspector. On by default. Saved as `cardShadow`.
Schema.org MarkupOn/off toggle in the inspector. On by default. Saved as `schemaEnabled`.
Event Name (Typo Name)Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoName`.
Description (Typo Desc)Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoDesc`.
BadgesShared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoBadge`.
Meta / InfoShared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoMeta`.
Typography — ButtonShared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoBtn`.
Accent / Date BGColor control in the inspector. block.json default: #6c3fb5. Saved as `accentColor`.
Card BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `cardBg`.
Card BorderColor control in the inspector. block.json default: #e5e7eb. Saved as `cardBorder`.
Button BGColor control in the inspector. block.json default: #6c3fb5. Saved as `btnBg`.
Button TextColor control in the inspector. block.json default: #ffffff. Saved as `btnColor`.

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

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Event Card”. It sits under Business. After insert, open Event Info and set “Event Name”, “Description”, “Event Type”, “Badges (comma-separated)”.

Does Event Card 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 Event Card Gutenberg block free?

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

Can I style Event Card 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: Event Info, Date & Time, Venue, Photo).

Related business blocks

Get Blockenberg

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

Get Blockenberg