Community Events & Tickets Template Files

Community Events and Community Tickets come with a number of template files that determine how the add-on looks and behaves. We call these templates views because they create the pages and elements that you see on your site.

Each template can be copied and customized in your theme folder.

Community Events

All of the following templates are located at: /wp-content/plugins/the-events-calendar-community-events/src/views/.

TemplateWhat it Does
community/blank-comments-template.php
community/default-placeholder.php
community/edit-event.phpThe template for event submission for community events
community/edit-organizer.phpThe template for editing organizers for community events
community/edit-venue.phpThe template for editing venues for community events
community/email-template.phpThe template used for Community email notifications
community/event-list.phpThe template to list logged in user’s events on the front end
community/modules/captcha.phpRenders the CAPTCHA field in the submission form
community/modules/cost.phpRenders the pricing fields in the submission form
community/modules/custom.phpAdds a meta box to the event submission form to allow for custom field input for user submitted events
community/modules/datepickers.phpAdds a meta box to the event submission form to allow for choosing the event time and day.
community/modules/delete.phpUsed to delete a user submitted event
community/modules/header-links.phpThe links in the header of the edit form
community/modules/image.phpRenders the image upload field in the submission form
community/modules/organizer-fields.phpUsed to edit the details of individual organizers (phone, email, etc)
community/modules/organizer-multiple.phpThe 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.phpAdds a meta box to the event submission form to allow for choosing or creating an organizer for user submitted events
community/modules/recurrence.phpAdds a meta box to the event submission form to allow for choosing or creating recurrences of user submitted events
community/modules/taxonomy.phpRenders the taxonomy field in the submission form
community/modules/venue.phpAdds 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.phpRenders the website fields in the submission form

Community Tickets

All of the following templates are located at: /wp-content/plugins/the-events-calendar-community-events-tickets/src/views/.

TemplateWhat it Does
community-tickets/modules/email-item-event-details.phpThe link to the event from the order details page
community-tickets/modules/orders-report-after-organizer.phpRenders the PayPal organizer and a link to the email on record in reports
community-tickets/modules/payment-options.phpDisplays the plugin’s payment options
community-tickets/modules/tickets.phpRenders the ticket settings in the submission form

Details

Report an issue