Events Manager Widgets for Elementor
The Elementor widgets need Events Manager 7.6 or later.
Events Manager adds its own widgets to the Elementor panel: Events List, Events Calendar, Event Locations and, with Events Manager Pro, Event Bookings Cart. You drag one onto a page, set what it shows in the panel on the left, and the preview shows your real events as you change each setting.
The widgets are part of the free Events Manager plugin. They have the same settings as the Events Manager blocks and print the same HTML, so a list styled for one looks the same in the other. The Page Builders page compares the builders Events Manager supports.
The widgets were tested with Elementor 4.4.1, in its default editor and with the Atomic Elements feature switched off, on the Hello Elementor theme. Elementor has to be active; Events Manager adds the widgets when it detects it and loads nothing for Elementor otherwise.
Add a widget to a page
-
Open the page with Elementor (Edit with Elementor in the page list or the page editor).
-
In the panel on the left, type
events managerin the Search Widget box. The four widgets appear.Search the panel to find the widgets.
They also have their own Events Manager category, at the end of the widget list.
The Events Manager category.
-
Drag a widget onto the page. It shows your events straight away, and its settings open in the panel.
-
Change the settings. The preview updates after each change.
-
Click Publish, or Update on a page that is already published.
Each widget's settings are on the Content tab, in two sections: Content for what it shows, and Formatting for the HTML of the list. Elementor's own Advanced tab (margins, padding, background, visibility and so on) works the same as for any other widget.
Elementor also lists Events Manager's classic sidebar widgets in its WordPress category, with similar names (Events, Events Calendar, Event Locations and Event Bookings Cart). Use the widgets in the Events Manager category for new pages. The WordPress ones keep working on pages that already use them.
Events List
A compact list of events: a date badge, the event name as a link, the date and the town.
An Events List titled Coming up, showing four events and a link to the full program.
Settings in the Content section:
| Setting | Default | What it does |
|---|---|---|
| Title | empty | A heading above the list. Left empty, the widget prints Events. |
| Number of events | 5 | How many events to show, from 1 to 100. |
| Scope | Future events | Which dates to include, such as Future events, Today's events, Events this month or Events within 3 months. |
| Archetype | Default | Appears only when your site has custom event types. Chooses which type the list shows. |
| Order By | start date, start time, event name | The fields the list is sorted by. |
| Order | Ascending | Ascending or Descending. |
| Category IDs | empty | Limits the list to one or more categories: an ID, a name or a slug, or several separated by commas, such as 3, Concerts or 3,5. 0 or empty shows every category. See Category IDs. |
| Show all events link | No | Adds a link to your events page under the list. |
| All events link text | all events | The text of that link. This field appears only while Show all events link is on. |
Settings in the Formatting section:
| Setting | What it does |
|---|---|
| No events message | Shown when no events match. Left empty, the widget prints No events. |
| List header format | HTML printed once, before the events. |
| List item format | HTML printed for each event, with placeholders. Leave it empty to keep the built-in layout. |
| List footer format | HTML printed once, after the events. |
A format example
To show each event on one line, with its name as a link and its date, fill in the three format boxes:
| Box | Value |
|---|---|
| List header format | <ul class="whats-on"> |
| List item format | <li>#_EVENTLINK, #_EVENTDATES</li> |
| List footer format | </ul> |
With these formats the list becomes a plain bulleted list of names and dates.
The header and footer are printed once around all the items, so a wrapper opened in the header (<ul>) is closed by the footer (</ul>). They are left exactly as you type them. The item format is different: it is printed once per event, and any tag it opens and doesn't close is closed at the end of each item, so one unfinished item can't swallow the rest of the page. The same applies to the no events message.
Every format and text setting is filtered the way WordPress filters post content, so <script> tags and attributes such as onclick are removed, whoever edits the page.
Category IDs
Category IDs accepts a category's ID number, its name or its slug, or several separated by commas, the same as the Events List block. 0 or an empty field shows every category. Each one has to match a category exactly.
With Concerts typed in, the list shows only concerts.
A name that doesn't match any category, such as Concert instead of Concerts, matches no events, and the list shows its no events message.
A misspelled category name matches nothing.
To check a category's name, slug and ID, go to Events then Event Categories.
The ID column is on the right. Concerts is 3.
Events Calendar
A month calendar with arrows to move between months. Days with events are marked, and clicking an event or a date shows what's on. How calendars behave is explained in Using event calendars.
A large calendar with pills shows each event's start time and name.
Settings in the Content section (the calendar has no Formatting section):
| Setting | Default | What it does |
|---|---|---|
| Title | empty | A heading above the calendar. Left empty, the widget prints Calendar. |
| Events shown | All events | All events, or Future events only to leave out past events. |
| Show Long Events? | No | When on, an event that lasts several days is marked on every day it covers. When off, only on its first day. |
| Calendar Size | your site's default | Responsive changes size to fit the space. Large, Medium and Small fix it. See calendar sizes. |
| Event Style | your site's default | How events are marked on a day: Pills, Single dot, Multiple dots or Rings. Names show on a large calendar. See event styles. |
| Events per day | your site's default (3) | The most events shown on one day, from 0 to 50. 0 means no limit. |
| Category IDs | empty | Limits the calendar to one or more categories, the same way as the Events List. |
| Archetype | Default | Appears only when your site has custom event types. |
The site defaults come from Events then Settings then Formatting then Calendar.
The preview works like the published page
The calendar in the editor is the real calendar. Its arrows move between months in the preview, so you can check next month's events before you publish, and changing a setting redraws the calendar in place.
After clicking the next arrow in the preview.
Event Locations
A compact list of locations, with the name as a link and the address. This widget is offered only while Enable locations? is Yes in Events then Settings then General then General Options.
Event Locations ordered by name.
Settings in the Content section:
| Setting | Default | What it does |
|---|---|---|
| Title | empty | A heading above the list. Left empty, the widget prints Event Locations. |
| Show how many locations? | 5 | How many locations to show, from 1 to 100. |
| Scope of the locations? | Future events | The same choices as the Events List Scope. |
| Order By | Event start date/time, location name | Sort by when each location's events take place, or by Location name. |
| Order | Ascending | Ascending or Descending. |
The Formatting section has No locations message (left empty, the widget prints No locations) and the same three format boxes as the Events List. The item format takes location placeholders, such as #_LOCATIONLINK and #_LOCATIONTOWN.
Event Bookings Cart
ProRequires Events Manager Pro with Multiple Bookings Mode switched on. Without it, the widget is not offered.
The events a visitor has added to their cart so far, with the spaces and price of each, a total, and links to the cart and checkout pages. A visitor with nothing in the cart sees the no bookings text.
In the editor, the cart shows what you have booked yourself, which is usually nothing.
Settings in the Content section:
| Setting | Default | What it does |
|---|---|---|
| Title | empty | A heading above the cart. Left empty, the widget prints Event Bookings Cart. |
| Loading text | Loading... | Shown while the cart is fetched. |
| Checkout link text | Checkout | The link to your checkout page. |
| Cart link text | View Cart | The link to your cart page. |
| No bookings text | No events booked yet | Shown when the cart is empty. |
The Formatting section has List item format, printed for each booked event. Left empty, it shows the event as a link with its dates, and the spaces and price under it. It takes event placeholders and booking placeholders such as #_BOOKINGSPACES and #_BOOKINGPRICE.
The cart on the published page after a visitor books a concert.
On the published page
Visitors see the same output as the preview. The list and locations link to their pages, the calendar's arrows change month without reloading the page, and the cart updates when a visitor books.
The Events List with its built-in layout.
The Events Calendar on the published page.
The widgets are not stored in Elementor's element cache, so each visitor sees current events and their own cart. Events Manager's styles and scripts load on any page that uses one of the widgets, even when you have limited them to certain pages in the Events Manager settings.
What the widgets can't do
The widgets offer the same choices as the blocks. For anything else, such as filtering by tag or location, a search form, grid or map views, or pagination, add Elementor's Shortcode widget and use an Events Manager shortcode.
Troubleshooting
The Events Manager widgets are not in the panel
Check that Elementor is active and that your Events Manager version includes the Elementor widgets. Search the panel for events manager rather than events, which also finds the classic widgets in the WordPress category.
Event Locations or Event Bookings Cart is missing
Event Locations needs Enable locations? set to Yes in Events then Settings then General then General Options. Event Bookings Cart needs Events Manager Pro with Multiple Bookings Mode switched on.
The list says No events
The widget shows published events that match all of its settings. Check Scope, which is future events by default, and Category IDs: a name, slug or ID that doesn't match a category exactly matches nothing. See Category IDs.
List items appear outside the list, or the layout breaks after the widget
Check that whatever the List header format opens, the List footer format closes, such as <ul> and </ul>. The item format should hold one complete item, such as <li>...</li>.
Changes don't show on the published page
Click Update in Elementor, then reload the page. If it still shows the old version, clear your page caching plugin or host cache: Elementor itself never caches these widgets.