The Events Calendar Template Files
Looking for Events Calendar Pro template files? You can find them here!
The Events Calendar comes with a number of template files that determine how the plugin looks and behaves. We call these templates views because they create the pages that you see on your site.
Each template can be copied and customized in your theme folder. The following is an outline of all of the available templates that come included with The Events Calendar.
Core view templates
The following templates are containers for other templates. They are located at /wp-content/plugins/the-events-calendar/src/views/v2
.
Template | What it does |
---|---|
day.php | Wrapper for the day view template, including the events bar, top bar, and the events in the day view. |
default-template.php | The basic wrapper template for all the views when the “Default Events Template” is used in the plugin’s Display settings. |
embed.php | The post embed base template. |
list.php | Wrapper for the list view template, includes the events bar, top bar, and the events in the list view. |
month.php | Wrapper for the month view template, includes the events bar, top bar, and the events in the month view. |
silence.php | A blank template. |
single-event-blocks.php * | Wrapper for individual events created with blocks. |
single-event.php * | Wrapper for individual events. |
* This file is located at: /wp-content/plugins/the-events-calendar/src/views/
Day view
The following templates are located at: /wp-content/plugins/the-events-calendar/src/views/v2/day/
except for the main day.php
template, which is one level up.
Template | What it Does |
---|---|
day/event.php | Template for a single event in day view. |
day/nav.php | Template for the day view navigation, with the next and previous links. |
day/time-separator.php | Template for the time separator in day view. |
day/top-bar.php | Template for the day view top bar. |
day/type-separator.php | Template for all day and multiday separators. |
day/event/cost.php | Template for the event cost. |
day/event/date.php | Template for the event date. |
day/event/description.php | Template for the event description. |
day/event/featured-image.php | Template for the event featured image. |
day/event/title.php | Template for the event title. |
day/event/venue.php | Template for the event venue. |
day/event/date/meta.php | Template for the event date meta. |
day/nav/next-disabled.php | Template for the disabled Next button in the day view navigation. |
day/nav/next.php | Template for the Next button in the day view navigation. |
day/nav/prev-disabled.php | Template for the disabled Previous button in the day view navigation. |
day/nav/prev.php | Template for the Previous button in the day view navigation. |
day/top-bar/datepicker.php | Template for the day view top bar datepicker field. |
List view
The following templates are located at: /wp-content/plugins/the-events-calendar/src/views/v2/list/
.
Template | What it Does |
---|---|
list/event.php | Template for a single event in list view. |
list/month-separator.php | Template for the month separator. |
list/nav.php | Template for the list view navigation, with the next, previous, and today links. |
list/top-bar.php | Template for the list view top bar. |
list/event/cost.php | Template for the event cost. |
list/event/date-tag.php | Template for the event date tag with weekday and day number. |
list/event/date.php | Template for the event date. |
list/event/description.php | Template for the event description. |
list/event/featured-image.php | Template for the event featured image. |
list/event/title.php | Template for the event title. |
list/event/venue.php | Template for the event venue. |
list/event/date/meta.php | Template for the event date meta. |
list/nav/next-disabled.php | Template for the navigation disabled next button. |
list/nav/next.php | Template for the navigation next button. |
list/nav/prev-disabled.php | Template for the navigation disabled previous button. |
list/nav/prev.php | Template for the navigation previous button. |
list/nav/today.php | Template for the navigation today button. |
list/top-bar/datepicker.php | Template for the list view top bar datepicker. |
Month view
The following templates are located at: /wp-content/plugins/the-events-calendar/src/views/v2/month/
.
Template | What it Does |
---|---|
month/calendar-body.php | Template for the month view calendar body. |
month/calendar-header.php | Template for the month view calendar header. |
month/mobile-events.php | Template for the wrapper for mobile events. |
month/top-bar.php | Template for the month view top bar. |
month/calendar-body/day.php | Template for a day in the calendar grid. |
month/calendar-body/day/calendar-events.php | Template for the wrapper for calendar events in a day. |
month/calendar-body/day/more-events.php | Template for the more events link in a day. |
month/calendar-body/day/multiday-events.php | Template for the multiday events wrapper in a day. |
month/calendar-body/day/calendar-events/calendar-event.php | Template for a calendar event. |
month/calendar-body/day/calendar-events/calendar-event/date.php | Template for the calendar event date. |
month/calendar-body/day/calendar-events/calendar-event/featured-image.php | Template for the calendar event featured image. |
month/calendar-body/day/calendar-events/calendar-event/title.php | Template for the calendar event title. |
month/calendar-body/day/calendar-events/calendar-event/tooltip.php | Template for the calendar event tooltip. |
month/calendar-body/day/calendar-events/calendar-event/date/meta.php | Template for the calendar event date meta. |
month/calendar-body/day/calendar-events/calendar-event/tooltip/cost.php | Template for the calendar event tooltip cost. |
month/calendar-body/day/calendar-events/calendar-event/tooltip/date.php | Template for the calendar event tooltip date. |
month/calendar-body/day/calendar-events/calendar-event/tooltip/description.php | Template for the calendar event tooltip description. |
month/calendar-body/day/calendar-events/calendar-event/tooltip/featured-image.php | Template for the calendar event tooltip featured image. |
month/calendar-body/day/calendar-events/calendar-event/title.php | Template for the calendar event tooltip title. |
month/calendar-body/day/calendar-events/calendar-event/tooltip/date/meta.php | Template for the calendar event tooltip date meta. |
month/calendar-body/day/multiday-event-spacer.php | Template for a multiday event spacer. |
month/calendar-body/day/multiday-events.php | Template for a multiday event. |
month/mobile-events/mobile-day.php | Template for a day in the mobile events wrapper. |
month/mobile-events/nav.php | Template for the mobile events navigation, with the next, previous, and today links. |
month/mobile-events/mobile-day/day-marker.php | Template for the mobile events day marker. |
month/mobile-events/mobile-day/mobile-event.php | Template for a mobile event in a day. |
month/mobile-events/mobile-day/more-events.php | Template for the mobile events more events link for a day. |
month/mobile-events/mobile-day/mobile-event/cost.php | Template for the mobile event cost. |
month/mobile-events/mobile-day/mobile-event/date.php | Template for the mobile event date. |
month/mobile-events/mobile-day/mobile-event/featured-image.php | Template for the mobile event featured image. |
month/mobile-events/mobile-day/mobile-event/title.php | Template for the mobile event title. |
month/mobile-events/mobile-day/mobile-event/date/meta.php | Template for the mobile event date meta. |
month/mobile-events/nav/next-disabled.php | Template for the mobile events navigation disabled next button. |
month/mobile-events/nav/next.php | Template for the mobile events navigation next button. |
month/mobile-events/nav/prev-disabled.php | Template for the mobile events navigation disabled previous button. |
month/mobile-events/nav/prev.php | Template for the mobile events navigation previous button. |
month/mobile-events/nav/today.php | Template for the mobile events navigation today button. |
month/top-bar/datepicker.php | Template for the month view top bar datepicker. |
Modules
The following templates are located at wp-content/plugins/the-events-calendar/src/views/modules
.
Template | What it does |
---|---|
modules/address.php | Displays the venue address on an event single. |
modules/bar.php | Renders the events navigation bar used across views. |
modules/map-basic.php | Used for maps embedded in single events and venues when the site is using The Events Calendar’s default Google Maps API key. |
modules/map.php | Used for maps embedded within single events and venues. |
modules/meta.php | The container for meta information about the event. |
modules/meta/details.php | Displays the event’s details in the meta section of the event single. |
modules/meta/map.php | Displays the embedded map in the meta section of the event single. |
modules/meta/organizer.php | Displays the event’s organizer information in the meta section of the event single. |
modules/meta/venue.php | Displays the event’s venue information in the meta section of the event single. |
Embedded events
The following templates are located at: /wp-content/plugins/the-events-calendar/src/views/embed/
.
Template | What it does |
---|---|
embed/content.php | The template that displays the content for the embed view |
embed/cost.php | Shows the cost in an embedded event |
embed/footer.php | The footer template for the embed view |
embed/image.php | Displays the featured image of an embedded event |
embed/meta.php | The wrapper for displaying content, such as date and time for an embedded event |
embed/schedule.php | Displays the schedule information for an embedded event |
embed/venue.php | Displays information about the venue for an embedded event |
Widgets
The following templates are located at: /wp-content/plugins/the-events-calendar/src/views/widgets/
.
Template | What it Does |
---|---|
widgets/calendar-widget.php | Deprecated |
widgets/list-widget.php | Displays the list widget. |
Components
The following templates are located at: /wp-content/plugins/the-events-calendar/src/views/v2/components/
.
Template | What it Does |
---|---|
components/after.php | Template for custom HTML after the view. This is applied to all views. |
components/before.php | Template for custom HTML before the view. This is applied to all views. |
components/breadcrumbs.php | Template for breadcrumbs in the view header. This is applied to category archive, featured archive, all view, organizer view, and venue view. |
components/breakpoints.php | Holds the script tag containing the calendar’s various breakpoints for responsive layouts. |
components/data.php | Template for the view data. This is applied to all views. It is highly recommended to not make any changes to this template. |
components/events-bar.php | Template for the events bar. This is applied to all views. |
components/filter-bar.php | Template placeholder for the Filter Bar. This is applied to all views. The Filter Bar is injected after this via template hooks, so removing calls to this will prevent the Filter Bar from showing up. Any custom content added to this template will show up immediately above the Filter Bar. |
components/ical-link.php | Template for iCal link. This is applied to all views. |
components/loader.php | Template for the loader overlay during ajax requests. This is applied to all views. |
components/json-ld-data.php | Template that injects structured data in JSON-LD format for enhanced SEO. |
components/messages.php | Template for messages. This is applied to all views. |
components/read-more.php | Template for the “Read More” link. This is only applied to events on the Twenty Seventeen theme. |
components/breadcrumbs/breadcrumb.php | Template for a non-linked breadcrumb. |
components/breadcrumbs/linked-breadcrumb.php | Template for a linked breadcrumb. |
components/events-bar/search.php | Template for the events bar search form. |
components/events-bar/search-button.php | Template for the events bar mobile search button. |
components/events-bar/views.php | Template for the events bar views selector. |
components/events-bar/search/keyword.php | Template for the events bar search form keyword input. |
components/events-bar/search/submit.php | Template for the events bar search form submit button. |
components/events-bar/search-button/icon.php | Template for the events bar search button icon. |
components/events-bar/views/list.php | Template for the events bar views selector list. |
components/events-bar/views/list/item.php | Template for the events bar views selector list item. |
components/top-bar/actions.php | Template for the top bar actions. |
components/top-bar/today.php | Template for the top bar “Today” link. |
components/top-bar/actions/content.php | Template for the top bar actions content. |
Blocks
This is a list of templates for events that are created using the WordPress block editor. The templates are located at: /wp-content/plugins/the-events-calendar/src/views/blocks/
.
Note that these templates go into a different folder in your theme if you plan on overriding them. Instead of creating a tribe-events
folder in your theme, these blocks will go into a /tribe/events/
folder.
Template | What it Does |
---|---|
/blocks/classic-event-details.php | The wrapper for the event’s details, including meta information, venue, and organizer. |
/blocks/event-category.php | Displays the event category |
/blocks/event-datetime.php | Displays the date and time of the event |
/blocks/event-links.php | Displays the event export options |
/blocks/event-organizer.php | Displays the event organizer |
/blocks/event-price.php | Displays the cost of the event |
/blocks/event-tags.php | Displays the event’s tags |
/blocks/event-venue.php | Displays the venue where the event takes place |
/blocks/event-website.php | Displays the website link for the event |
/blocks/featured-image.php | Displays the event’s featured image |
/blocks/parts/details.php | Displays event details in the classic event details block, including date, time, categories, tags, price and website |
/blocks/parts/map.php | Displays the embedded Google Map in the event venue block |
/blocks/parts/organizer.php | Displays organizer information in the classic event details block |
/blocks/parts/venue.php | Displays the venue information in the classic event details block |