V1 Calendar Template Files

đŸ‘‹ This article only applies to legacy calendar views.

The Events Calendar and its add-ons come 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.

The plugin has its own unique set of templates and each template can be copied and customized in your theme folder.

We’ve put together an outline all of the available templates that come included with The Events Calendar.


The Events Calendar

Parent folder:
/wp-content/plugins/the-events-calendar/src/views/v2/

Single event templates

TemplateWhat it does
single-event.phpDisplays individual events
single-event-blocks.phpDisplays individual events created with blocks
modules/address.phpDisplays the venue address on an event single
widgets/calendar-widget.phpDisplays the calendar widget.
modules/meta.phpDisplays the Details, Venue and Organizer under the event description on an event single which, in turn, are their own templates.
modules/meta/details.phpDisplays the event’s details in the meta section of the event single.
modules/meta/map.phpDisplays the embedded map in the meta section of the event single.
modules/meta/organizer.phpDisplays the event’s organizer information in the meta section of the event single.
modules/meta/venue.phpDisplays the event’s venue information in the meta section of the event single.

Day view templates

TemplateWhat it does
day.phpThe wrapper for the calendar’s day view template, including the tribe (search) bar
day/content.phpThe main content template for the calendar’s day view, containing the page title, nav template, events loop, and footer. This is the template that’s used to return ajax requests navigating and filtering results on the calendar’s list view
day/nav.phpContains the pagination app (i.e. the next and previous links) in the calendar’s day view.
day/loop.phpContains the structure for the loop of events, including the single event template
day/single-event.phpThe template for a single event that is displayed in the calendar’s day view

List View

TemplateWhat it does
list.phpThe wrapper for the calendar’s list view template, which includes the tribe (search) bar and the content template for the view
list/content.phpThe main content template for the calendar’s list view, containing the title, nav template, events loop, and footer. This is the template that’s used to return ajax requests navigating and filtering results on the calendar’s list view.
list/nav.phpContains the list view pagination (i.e. the next and previous links)
list/loop.phpContains the structure for the loop of events. This includes the single event template.
list/single-event.phpTemplate for a single event in the calendat’s list view

Month View

TemplateWhat it does
month.phpThe wrapper for the entire view. It includes the templates for the tribe (search) bar and the content for the month view layout.
month/content.phpThe main content template for month view, containing the title and including the nav template, the grid loop, and the footer. This is the template that’s used to return ajax requests navigating and filtering results on month view.
month/mobile.phpThe template used to display the mobile version of month view
month/nav.phpContains the pagination (i.e. the next and previous links) for the view.
month/loop-grid.phpThe structure that loops through all the days (grid cells) in the month, which includes the template for displaying an event in a grid cell.
month/single-day.phpThe template that displays the events for contained in a month view grid cells.
month/single-event.phpThe template that contains the content for a single event that displays in a month view grid cell.
month/tooltip.phpThe template that displays the event information when hovering on a month view grid cell.

Modules

TemplateWhat it does
modules/bar.phpmodules/bar.phpThe main navigation for the calendar
modules/map.phpDisplays the embedded Google Map on a single event or venue page

Embedded events

TemplateWhat it does
embed.phpContains the post embed base template
embed/content.phpThe template that displays the content for the embed view
embed/cost.phpShows the cost in an embedded event
embed/footer.phpThe footer template for the embed view
embed/image.phpDisplays the featured image of an embedded event
embed/meta.phpThe wrapper for displaying content, such as date and time for an embedded event
embed/schedule.phpDisplays the schedule information for an embedded event
embed/venue.phpDisplays information about the venue for an embedded event

Widgets

TemplateWhat it does
widgets/list-widget.phpDisplays the calendar list widget.

Blocks

This is a list of templates for events that are created using the WordPress block editor. 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.

TemplateWhat it Does
single-event-blocks.phpThe main wrapper for individual events created with blocks. Note that this file goes directly in the tribe/events folder instead of in the `tribe/events/blocks` folder.
/blocks/classic-event-details.phpThe wrapper for the event’s details, including meta information, venue, and organizer.
/blocks/event-category.phpDisplays the event category
/blocks/event-datetime.phpDisplays the date and time of the event
/blocks/event-links.phpDisplays the event export options
/blocks/event-organizer.phpDisplays the event organizer
/blocks/event-price.phpDisplays the cost of the event
/blocks/event-tags.phpDisplays the event’s tags
/blocks/event-venue.phpDisplays the venue where the event takes place
/blocks/event-website.phpDisplays the website link for the event
/blocks/featured-image.phpDisplays the event’s featured image
/blocks/parts/details.phpDisplays event details in the classic event details block, including date, time, categories, tags, price and website
/blocks/parts/map.phpDisplays the embedded Google Map in the event venue block
/blocks/parts/organizer.phpDisplays organizer information in the classic event details block
/blocks/parts/venue.phpDisplays the venue information in the classic event details block

Events Calendar Pro

Parent folder:
/wp-content/plugins/events-calendar-pro/src/views/

Single Event View

TemplateWhat it does
modules/meta/additional-fields.phpDisplays additional (custom) fields to the single event meta section
related-events.phpDisplays related events in the event single.

Map View

TemplateWhat it does
map.phpContains the markup for the calendar’s map view, which includes the template for the Google Map container
map/gmap-container.phpContains the empty HTML element that gets populated with the Google Map via JavaScript
map/content.phpThe main content template for the calendar’s map view, containing the title, nav template, events loop, and footer. This is the template that’s used to return ajax requests when navigating and filtering results on map view
map/nav.phpDisplays the links to navigate to the next and previous events.
map/loop.phpContains the structure for the loop of events. Includes the single event template
map/single-event.phpThe code for a single event contained in the calendar’s map view

Photo View

  • photo.php: Wrapper for the photo view template, includes the tribe bar and then the photo content template
  • photo/content.php: Main content template, contains the title, includes the nav template, the events loop, and the footer. This is the template that’s used to return ajax requests navigating and filtering results on photo view.
  • photo/nav.php: Contains the next and previous links
  • photo/loop.php: Contains the structure for the loop of events. Includes the single event template
  • photo/single-event.php: Template for a single event in the calendar’s photo view

Week View

  • week.php: Wrapper for the week view template, includes the tribe bar and week content template
  • week/content.php: Main content template, contains the title, includes the nav template, the events loop, and the footer. This is the template that’s used to return ajax requests navigating and filtering results on the week grid loop views
  • week/loop-grid.php: Wrapper for the grid loop, contains the week grid day headers
  • week/loop-grid-allday.php: Contains the column structure for the loop of all day events. Includes the single event all day template
  • week/loop-grid-hourly.php: Contains the column structure for the loop of hourly events. Includes the single event hourly template
  • week/nav.php: Contains the next and previous links for navigating between weeks
  • week/tooltip.php: Template for the hover tooltip for expanded event information

Venues and Organizers

  • single-organizer.php: Used to list upcoming events related to an individual organizer. This utilizes the list templates for the display of any related upcoming events
  • single-venue.php: Equivalent to the single-organizer.php template but targeting venues, again this utilizes list templates to display any related events

Widgets

  • widgets/countdown-widget.php: Contains the countdown widget
  • widgets/list-widget.php: Contains the list widget included with the premium Events Pro plugin: this overrides any existing template at widgets/list-widget.php (outside of the pro subdirectory). Note that the template will still be respected up until it is removed or a new one is created within the pro subdirectory
  • widgets/mini-calendar-widget.php: Wrapper for the mini calendar widget. Includes the mini calendar grid template and the mini calendar list template
  • widgets/mini-calendar/grid.php: Contains the grid (calendar month) portion of the mini calendar widget. Includes the single day template.
  • widgets/mini-calendar/list.php: This file sets up the structure for the list loop
  • widgets/mini-calendar/single-day.php: Contains a single day in the mini calendar widget. Includes the single event template
  • widgets/this-week-widget.php: Contains the This Week widget
  • widgets/venue-widget.php: Contains the venue widget

Events Tickets

Parent folder located at: /wp-content/plugins/event-tickets/src/views/.

  • shortcodes/my-attendance-list-logged-out.php: Renders the logged out message for the My Attendance list
  • shortcodes/my-attendance-list.php: Renders the My Attendance list
  • tickets/attendees-email.php: The template for the email with the attendee list when integrating with e-commerce plugins (like WooCommerce)
  • tickets/email.php: Template for the email the customers get when they purchase tickets for an event. This email is the actual ticket people will use at the door of your event.
  • tickets/orders.php: The template for displaying a customer’s purchased orders
  • tickets/orders-link.php: The link generated for a user to see all purchased orders
  • tickets/orders-rsvp: This template renders the RSVP ticket form
  • tickets/rsvp.php: The RSVP form for users on the front-end to RSVP for an event. It shows on the event single if an event has enabled RSVP options.
  • /blocks/tickets.php: Used to display individual tickets created with blocks (note the different file structure in your child theme)

Main Blocks

This is a list of templates for tickets that are created using the WordPress block editor. Note that these templates go into a different folder in your theme if you plan on overriding them. Instead of creating a tribe-events/tickets folder in your theme, these blocks will go into a /tribe/tickets/blocks folder.

TemplateWhat it Does
/blocks/attendees.phpThe wrapper for displaying event attendees registered for the event
/blocks/rsvp.phpThe wrapper for showing the RSVP form
tickets.phpThe wrapper for displaying the ticket form

Attendee Blocks

This is a list of templates for ticket attendees that are created using the WordPress block editor. Note that these templates go into a different folder in your theme if you plan on overriding them. Instead of creating a tribe-events/tickets folder in your theme, these blocks will go into a /tribe/tickets/blocks/attendees folder.

TemplateWhat it Does
/blocks/attendees/description.phpDisplays the number of attendees registered for the event in the attendees block
/blocks/attendees/gravatar.phpDisplays the Gravatar photo of a registered attendee in the attendees block
/blocks/attendees/title.phpDisplays the attendee title in the attendees block
/blocks/attendees/view-link.phpDisplays a link to tickets in the attendees block

RSVP Blocks

This is a list of templates for RSVPs that are created using the WordPress block editor. Note that these templates go into a different folder in your theme if you plan on overriding them. Instead of creating a tribe-events/tickets folder in your theme, these blocks will go into a /tribe/tickets/blocks/rsvp folder.

TemplateWhat it Does
/blocks/rsvp/content-inactive.phpDisplays information when tickets are not yet available
/blocks/rsvp/content.phpDisplays the RSVP going or not going status of a user who has replied to the RSVP
/blocks/rsvp/details.phpThe wrapper that includes the RSVP availability, description, and title
/blocks/rsvp/.php 
/blocks/rsvp/form.phpDisplays the RSVP form
/blocks/rsvp/icon-svg.phpThe RSVP icon in SVG
/blocks/rsvp/icon.phpThe wrapper for displaying the SVG icon block
/blocks/rsvp/loader-svg.phpThe loading icon that displays when the ticket form is processing
/blocks/rsvp/loader.phpThe wrapper for displaying the SVG loader image
/blocks/rsvp/status.phpThe wrapper for displaying the going and not going status of attendees
/blocks/rsvp/details/availability.phpDisplays the RSVP quantity remaining in the details block
/blocks/rsvp/details/description.phpDisplays the RSVP description in the details block
/blocks/rsvp/details/title.phpDisplays the RSVP title in the details block
/blocks/rsvp/form/attendee-meta.phpAllows an injection of HTML after an RSVP ticket table row
/blocks/rsvp/form/details.phpThe wrapper for fields in the RSVP form
/blocks/rsvp/form/email.phpDisplays the input for an attendees email address
/blocks/rsvp/form/error.phpDisplays error messages when required form fields are incorrect
/blocks/rsvp/form/form.phpThe wrapper for the RSVP form
/blocks/rsvp/form/name.phpDisplays the form input for entering the attendee name
/blocks/rsvp/form/opt-out.phpDisplays the option to opt out of being displayed in the attendees block
/blocks/rsvp/form/quantity-input.phpDisplays the form input for how many RSVPs are being made
/blocks/rsvp/form/quantity-minus.phpDisplays the icon for subtracting RSVPs from an order
/blocks/rsvp/form/quantity-plus.phpDisplays the icon for adding RSVPs to an order
/blocks/rsvp/form/quantity.phpThe wrapper for the RSVP quantity input
/blocks/rsvp/form/submit-button.phpDisplays the RSVP form submission button
/blocks/rsvp/form/submit-login.phpDisplays the login form if login is required to RSVP for an event
/blocks/rsvp/messages/success.phpDisplays the confirmation message once an RSVP has successfully processed
/blocks/rsvp/status/full.phpDisplays when the RSVP quantity limit has been reached
/blocks/rsvp/status/going-icon.phpThe icon for the going status block
/blocks/rsvp/status/going.phpDisplays a “going” status if the user is going to the event
/blocks/rsvp/status/not-going-icon.phpThe icon for the not going status block
/blocks/rsvp/status/not-going.phpDisplays a “not going” status if the user is going to the event

Ticket Blocks

This is a list of templates for tickets that are created using the WordPress block editor. Note that these templates go into a different folder in your theme if you plan on overriding them. Instead of creating a tribe-events/tickets folder in your theme, these blocks will go into a /tribe/tickets/blocks/tickets folder.

TemplateWhat it Does
/blocks/tickets/content-description.phpDisplays the ticket description in the content block
/blocks/tickets/content-inactive.phpDisplays an inactive message in the content block if the ticket is not yet available
/blocks/tickets/content-title.phpDisplays the ticket title in the content block
/blocks/tickets/content.phpThe wrapper for the ticket form content
/blocks/tickets/extra-available-quantity.phpDisplays the number of available tickets in the extra column block
/blocks/tickets/extra-available-unlimited.phpDisplays ticket quantity in the extra column block when the quantity is set to unlimited capacity
/blocks/tickets/extra-available.phpDisplays the number of available tickets in the extra column block
/blocks/tickets/extra-price.phpDisplays the ticket price in the extra column block
/blocks/tickets/extra.phpThe wrapper for an extra column in the ticket form
/blocks/tickets/footer-quantity.phpDisplays the total ticket quantity in the ticket footer
/blocks/tickets/footer-total.phpDisplays the order total in the ticket footer
/blocks/tickets/footer.phpThe wrapper for the ticket form footer
/blocks/tickets/icon-svg.phpDisplays an icon for tickets in SVG format
/blocks/tickets/icon.phpThe wrapper for displaying the ticket SVG icon
/blocks/tickets/item-inactive.phpIndicates when a ticket is not on sale
/blocks/tickets/item.phpDisplays a ticket single
/blocks/tickets/opt-out-hidden.phpHides the attendee list if the option is disabled in settings
/blocks/tickets/quantity-add.phpDisplays the button for adding tickets to an order
/blocks/tickets/quantity-number.phpDisplays the number of tickets
/blocks/tickets/quantity-remove.phpDisplays the button for removing tickets from an order
/blocks/tickets/quantity-unavailable.phpDisplays a message when there are no more available tickets
/blocks/tickets/quantity.phpThe wrapper for displaying ticket quantity in the form
/blocks/tickets/submit-button-modal.phpDisplays a modal during form submission
/blocks/tickets/submit-button.phpDisplays the form submission button
/blocks/tickets/submit.phpThe wrapper for the form submission
/blocks/tickets/commerce/fields-edd.phpDisplays ticket purchase fields when Easy Digital Downloads is the e-commerce provider
/blocks/tickets/commerce/fields-tpp.phpDisplays PayPal ticket purchase fields when Tribe Commerce is the e-commerce provider
/blocks/tickets/commerce/fields-woo.phpDisplays ticket purchase fields when WooCommerce is the e-commerce provider
/blocks/tickets/commerce/fields.phpThe wrapper for purchase fields
/blocks/tickets/registration/content.phpThe wrapper for the registration form content
/blocks/tickets/registration/attendee/content.phpDisplays attendee registration content
/blocks/tickets/registration/attendee/fields.phpThe wrapper for attendee registration form fields
/blocks/tickets/registration/attendee/submit.phpDisplays the attendee registration form submission button
/blocks/tickets/registration/attendee/fields/checkbox.phpDisplays the attendee registration checkbox inputs
/blocks/tickets/registration/attendee/fields/radio.phpDisplays the attendee registration radio button inputs
/blocks/tickets/registration/attendee/fields/select.phpDisplays the attendee registration select inputs
/blocks/tickets/registration/attendee/fields/.phpDisplays the attendee registration text inputs
/blocks/tickets/registration/summary/content.phpThe content wrapper for the registration confirmation summary
/blocks/tickets/registration/summary/description.phpDisplays the registration description in the confirmation summary
/blocks/tickets/registration/summary/ticket-icon.phpDisplays the ticket icon in the registration confirmation
/blocks/tickets/registration/summary/ticket-price.phpDisplays the ticket price in the registration confirmation summary
/blocks/tickets/registration/summary/ticket-quantity.phpDisplays the purchase quantity in the registration summary
/blocks/tickets/registration/summary/ticket-title.phpDisplays the ticket of a ticket in the registration summary
/blocks/tickets/registration/summary/ticket.phpThe wrapper for displaying individual ticket information in the registration summary
/blocks/tickets/registration/summary/tickets.phpThe wrapper for displaying all tickets in the registration summary
/blocks/tickets/registration/summary/title.phpThe registration summary title

Events Tickets Plus

Parent folder located at: /wp-content/plugins/event-tickets-plus/src/views/.

  • attendees-list.php: The template for the public list of attendees. Note that there is no subdirectory needed for this template and it can go straight into the tribe-events folder when theming.
  • login-to-purchase.php: Renders a link displayed to customers when they must first login before being able to purchase tickets
  • meta.php: The template that displays custom fields that have been created for a ticket to fill in during registration. Note that there is no subdirectory needed for this template and it can go straight into the tribe-events folder when theming.
  • meta/checkbox.php: The template used for displaying checkbox options for custom ticket fields that get imported by meta.php
  • meta/number.php: The template used for displaying numeric custom ticket fields that get imported by meta.php
  • meta/radio: The template used for displaying radio button options for custom ticket fields that get imported by meta.php
  • meta/select: The template used for displaying selectable options for custom ticket fields that get imported by meta.php
  • meta/text: The template used for displaying custom ticket text fields that get imported by meta.php
  • tickets-plus/orders-edit-meta.php: Renders the meta fields for order editing
  • tickets-plus/orders-tickets.php: The list of ticket orders
  • eddtickets/tickets.php: Easy Digital Downloads table of tickets with the button to purchase in the front end. It shows in the event single, if the event has Easy Digital Downloads tickets to sell
  • wootickets/tickets.php: WooCommerce table of tickets with the button to purchase in the front end. It shows in the event single, if the event has WooCommerce tickets to sell

Community Events

Parent folder located at: /wp-content/plugins/the-events-calendar-community-events/src/views/.

  • community/blank-comments-template.php
  • community/default-placeholder.php
  • community/edit-event.php: The template for event submission for community events
  • community/edit-organizer.php: The template for editing Organizers for community events
  • community/edit-venue.php: The template for editing Venues for community events
  • community/email-template.php: The template used for Community Email alerts
  • community/event-list.php – The template to list logged in user’s events on the front end
  • community/modules/captcha.php: Renders the captcha field in the submission form
  • community/modules/cost.php: Renders the pricing fields in the submission form
  • community/modules/custom.php: This is used to add a meta box to the event submission form to allow for custom field input for user submitted events
  • community/modules/datepickers.php: This is used to add a meta box to the event submission form to allow for choosing the event time and day.
  • community/modules/delete.php: This is used to delete a user submitted event
  • community/modules/header-links.php: The links in the header of the edit form
  • community/modules/image.php: Renders the image upload field in the submission form
  • community/modules/organizer-fields.php: This is used to edit the details of individual organizers (phone, email, etc)
  • community/modules/organizer-multiple.php: The template for constructing multiple organizers in a single event. To avoid code duplication this template lies on The Events Calendar located at the-events-calendar/src/admin-views/linked-post-section.php.
  • community/modules/organizer.php: This is used to add a meta box to the event submission form to allow for choosing or creating an organizer for user submitted events
  • community/modules/recurrence.php: This is used to add a meta box to the event submission form to allow for choosing or creating recurrences of user submitted events.
  • community/modules/taxonomy.php: Renders the taxonomy field in the submission form
  • community/modules/venue.php: This is used to add a meta box to the event submission form to allow for choosing or creating a venue for user submitted events. This is also used in the Venue edit view, so be careful to test changes in both places.
  • community/modules/website.php: Renders the website fields in the submission form

Community Tickets

Parent folder located at: /wp-content/plugins/the-events-calendar-community-events-tickets/src/views/.

  • community-tickets/modules/email-item-event-details.php: The link to the event from the order details page
  • community-tickets/modules/orders-report-after-organizer.php: Renders the PayPal organizer and a link to the email on record in reports
  • community-tickets/modules/payment-options.php: The template that displays the plugin’s payment options
  • community-tickets/modules/tickets.php: Renders the ticket settings in the submission form

Eventbrite Tickets

Parent folder located at: /wp-content/plugins/the-events-calendar-eventbrite-tickets/src/views/.

  • eventbrite/add-existing-event.php – This file displays the existing Eventbrite event (admin fields).
  • eventbrite/eb-admin-notices.php – This file renders Eventbrite notices on the WordPress Post Edit screen.
  • eventbrite/eventbrite-events-table.php : This file displays the existing Eventbrite event in the event meta box.
  • eventbrite/eventbrite-meta-box-extension.php : This file displays the existing Eventbrite event meta box in the editor.
  • eventbrite/import-eventbrite-events.php : This file imports events from Eventbrite events in the admin form.
  • eventbrite/hooks/ticket-form.php : This file contains the hook logic required to create an effective address module view.
  • eventbrite/modules/ticket-form.php : This view contains the filters required to create an effective ticket form module view.

Filter Bar

Parent folder located at: /wp-content/plugins/the-events-calendar-filterbar/src/views/.

  • filter-bar/filter-view-horizontal.php – This contains the hooks to generate a filter sidebar in a horizontal layout
  • filter-bar/filter-view-vertical.php – This contains the hooks to generate a filter sidebar in a vertical layout

Table of Contents

Details

Report an issue