Events Manager Modules for Divi
The Divi modules need Events Manager 7.6 or later.
Events Manager adds its own modules to the Divi Visual Builder: Events List, Events Calendar, Event Locations and, with Events Manager Pro, Event Bookings Cart. You add one to a page from Divi's module picker, set what it shows in the module's settings, and the builder shows your real events as you change each setting.
The modules 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.
This page shows Divi 5. The same modules work in Divi 4, which is covered in Divi 4.
The modules were tested with the Divi theme 5.19.1 and 4.27.9. They load when the Divi or Extra theme is active, or the Divi Builder plugin; on a site without Divi, Events Manager loads nothing for it.
Add a module to a page
-
Open the page in the Visual Builder: view the page and click Edit With Divi in the admin bar.
-
Click the dark + in an empty column, or below an existing module, to open Insert Module Or Row.
-
Type
Eventin the search box. The four modules appear.Search the module picker to find the modules.
-
Click a module. It shows your events straight away, and its settings open on the right.
-
Change the settings. The builder redraws the module after each change.
-
Click Save.
Each module's settings are on the Content tab, in two groups: Content for what it shows, and Formatting for the HTML of the list. Divi's own settings for the module's box work the same as for any other module, such as Background on the Content tab and spacing, borders and animation on the Design tab. Font and text settings aren't offered, because the text is styled by Events Manager's own stylesheet.
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 group:
| Setting | Default | What it does |
|---|---|---|
| Title | empty | A heading above the list. Left empty, the module 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 | off | 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 group:
| Setting | What it does |
|---|---|
| No Events Message | Shown when no events match. Left empty, the module 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.
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 group (the calendar has no Formatting group):
| Setting | Default | What it does |
|---|---|---|
| Title | empty | A heading above the calendar. Left empty, the module prints Calendar. |
| Events Shown | All events | All events, or Future events only to leave out past events. |
| Show Long Events? | off | 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 builder preview works like the published page
The calendar in the Visual Builder is the real calendar, and changing a setting redraws it in place. Its arrows move between months in the builder too, so you can check next month's events before you save. In Divi 5, click the module first so its settings are open; while a module isn't selected, Divi takes the click to select it.
After clicking the next arrow in the builder.
Event Locations
A compact list of locations, with the name as a link and the address. This module 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 group:
| Setting | Default | What it does |
|---|---|---|
| Title | empty | A heading above the list. Left empty, the module 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 group has No Locations Message (left empty, the module 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 module 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 builder, the cart shows what you have booked yourself, which is usually nothing.
Settings in the Content group:
| Setting | Default | What it does |
|---|---|---|
| Title | empty | A heading above the cart. Left empty, the module 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 group 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 builder. 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 Calendar on the published page.
Events Manager's styles and scripts load on any page that uses one of the modules, even when you have limited them to certain pages in the Events Manager settings.
Divi 4
The same four modules, with the same settings, are available in the Divi 4 Visual Builder. They were tested with the Divi theme 4.27.9.
- Open Insert Module, the same way as in Divi 5, and search for
Event. - The settings are on the Content tab, in the Content and Formatting groups, with the labels in sentence case (Number of events, Show all events link).
- The calendar arrows work in the builder without selecting the module first.
Pages built in Divi 4, after you upgrade to Divi 5
Nothing needs redoing. A page built with these modules in Divi 4 keeps showing them after you switch to Divi 5:
- Until the page is converted, Divi 5 shows it through its backward compatibility mode, with every module and setting as it was.
- Opening the page in the Divi 5 Visual Builder converts the modules to their Divi 5 versions, keeping every setting, including the formats. Click Save to keep the converted page.
- The Divi 5 Migrator (Divi then Divi 5 Migrator) converts every page at once. The Events Manager modules are listed as compatible and convert like Divi's own modules.
What the modules can't do
The modules 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 Divi's Code or Text module and use an Events Manager shortcode.
Troubleshooting
The Events Manager modules are not in the module picker
Check that the Divi or Extra theme, or the Divi Builder plugin, is active and that your Events Manager version includes the Divi modules. Search the picker for Event.
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 module 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.
Modules look unstyled with the Divi Builder plugin
On themes other than Divi and Extra, the Divi Builder plugin resets the styling of everything inside its sections, which in Events Manager 7.6 overrides the Events Manager styles: the calendar collapses into one column, and lists lose their icons and spacing. The next Events Manager update fixes this. The Divi and Extra themes aren't affected.
List items appear outside the list, or the layout breaks after the module
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>.
The calendar arrows don't change the month in the Visual Builder
In Divi 5, click the calendar module so its settings open, then click the arrow. Before the module is selected, Divi uses the click to select it.
Changes don't show on the published page
Click Save in the Visual Builder, then reload the page. If it still shows the old version, clear your page caching plugin or host cache.