Skip to main content

WordPress Event Widgets

Widgets put content into the widget areas your theme provides, usually a sidebar or a footer. Events Manager has three:

WidgetShows
EventsA compact list of events, by default the next five.
Events CalendarA month calendar with the days that have events marked.
Event LocationsA compact list of your locations.
Before you start

Widget areas exist only in classic themes. A block theme, such as Twenty Twenty-Five, has no Appearance then Widgets screen. There you add the Events Manager blocks to a template or template part in Appearance then Editor. The blocks show the same three things with the same settings.

Add a widget​

How you add a widget depends on which widget screen your site has.

This is the screen WordPress has used since version 5.8. Each widget area is a small block editor.

  1. Go to Appearance then Widgets and open the widget area you want, such as Sidebar or Footer.

  2. Click the + inserter and type events.

  3. Pick one of the Events Manager blocks: Events List, Events Calendar or Event Locations. Its settings appear in the sidebar on the right, and are described on the blocks page.

  4. Click Update.

On the block-based widget screen, add the Events Manager blocks straight into a widget area.

The three classic widgets are also available here: add a Legacy Widget block and choose Events, Events Calendar or Event Locations from its list. Use them if you want an option the block doesn't have, such as the longer list of scopes in the Events widget.

You can also add and edit widgets with a live preview in Appearance then Customize then Widgets.

Events widget options​

The Events widget's options.

OptionDefaultWhat it does
TitleEventsThe heading above the list.
Number of events5How many events to show.
ScopeFuture eventsThe date range. The list has every scope Events Manager knows, including Today's events, Events this month and Events within 3 months.
ArchetypeDefaultAppears only when your site has custom event types. Chooses which type to list.
Order Bystart date, start time, event nameThe fields the list is sorted by.
OrderAscendingAscending or Descending.
Category IDs0One category ID, or several separated by commas. 0 shows every category.
Show all events link at bottom?offAdds a link to your events page under the list.
All events link text?all eventsThe text of that link.
List item header formatemptyHTML printed once before the events.
List item formata compact itemHTML and placeholders printed for each event. The default shows a thumbnail or date badge, the linked name, the date and the town.
List item footer formatemptyHTML printed once after the events.
No events messageNo eventsShown when nothing matches.

For a plain bulleted list, set the header format to <ul>, the item format to <li>#_EVENTLINK, #_EVENTDATES</li> and the footer format to </ul>.

Events Calendar widget options​

OptionDefaultWhat it does
TitleCalendarThe heading above the calendar.
Show Long Events?offMeant to mark an event that lasts several days on every day it covers. See the note below.
Future Events Only?offLeaves out past events and stops visitors going back before the current month.
Category IDs0Limits the calendar to one or more categories.
ArchetypeDefaultAppears only when your site has custom event types.
Calendar SizeResponsiveResponsive, Large, Medium or Small. In a narrow sidebar a Responsive calendar shows at its small size. See calendar sizes.
Event Styleyour Default event style settingPills, Single dot, Multiple dots or Rings. See event styles.
Events per dayyour Calendar events/day limit settingThe most events shown on one day. 0 means no limit.
Show Long Events? in the classic widget

In Events Manager 7.5 the Show Long Events? box in this widget does not stay ticked after you save. If you need long events marked on every day, use the Events Calendar block and its Show long events switch, or the shortcode [events_calendar long_events="1"] in a text widget.

The calendar itself, including what happens when a visitor clicks a day, is described in Using event calendars.

Event Locations widget options​

OptionDefaultWhat it does
TitleEvent LocationsThe heading above the list.
Show number of locations5How many locations to show.
Scope of the locationsFuture eventsIn Events Manager 7.5 this does not change which locations are listed: every published location is included.
Order ByEvent start date/time, location nameSort by when each location's events take place, or by Location name.
Order of the locationsAscendingAscending or Descending.
List item header format, List item format, List item footer formata compact itemAs for the Events widget, with location placeholders such as #_LOCATIONLINK.
No Locations messageNo locationsShown when there are no locations.

This widget is available while Enable locations? is Yes in Events then Settings then General then General Options.

Use a shortcode in a widget​

When a widget doesn't have the filter you need (a tag, a country, a search form, a grid), put a shortcode in a widget area instead. On the block-based screen use the Shortcode block, on the classic screen the Text widget.

[events_list tag="live-music" limit="3"]

Troubleshooting​

There is no Widgets item in the Appearance menu

Your theme is a block theme. Add the Events Manager blocks in Appearance then Editor instead.

The widget shows "No events"

The widget lists published events inside its Scope, in the categories given in Category IDs. Set Category IDs to 0 and Scope to All events to check that events are found at all, then narrow it again.