Single Event Block
The Single Event block (eventonomy/single-event) displays one event in full - a hero image, a meta sidebar (date, venue, organizer), an add-to-calendar link, and a placeholder for the RSVP form.
When to Use It
Add it to your single-event template so every event page renders the same way. This is the main block behind your individual event pages - pair it with the RSVP block below it so visitors can respond right away.
How to Add It
Block Editor:
- Open your single-event template in the Block Editor (or Site Editor, depending on your theme).
- Click + and search for Eventonomy Single Event.
- Insert the block.
On a single-event template, the block automatically detects and displays the current event - you don't need to configure anything.
Shortcode:
[eventonomy_event id="42"]
Use the shortcode form (with a specific event ID) if you want to embed one particular event on a regular page, such as featuring one event on your home page.
Settings
| Setting | Attribute | Type | Default | Description |
|---|---|---|---|---|
| Event ID | eventId |
number | 0 | Which event to show. On a single-event template this is detected automatically - only set an ID if you want to hard-code a specific event on a non-template page. |
What Visitors Can Do
Visitors read the full event details - hero image, date and venue, organizer, description - and can add the event to their own calendar via the add-to-calendar link.
A few parts of the page adapt to the event and your settings:
- Who's going - a small stack of recent attendee avatars with the going count appears near the registration area (setting: Show who's going, on by default). Names appear only as hover/screen-reader labels; emails are never shown, and guests count toward the number but are never pictured.
- Location map - with Show a location map on, events that have coordinates get an embedded OpenStreetMap plus an "Open in Maps" link; an address without coordinates gets just the link.
- Online events - virtual events show an "Online event" badge instead of a venue. The join link is shown only to confirmed registrants: a prominent Join event button from 1 hour before the start until the event ends (developers can shift the lead time with the
evnm_join_button_lead_secondsfilter), and a quiet link before that window. Visitors who haven't registered never see the join URL.