How can we help?
-
Getting Started
-
Shortcodes
-
Settings
-
Event Dashboard
-
Custom Fields
-
Categories & Types
-
Widgets
-
Troubleshooting
- Dealing with problematic themes
- Enable Trace and Debug Javascript file logs
- Event listing styling and fonts problem
- Event listings not showing up in the [events] page
- Event listings throw 404 page error
- Events don’t display until RESET is pressed
- How to add my registrations on my account page
- Woocommerce cart fragment-jquery cookie problem
-
Advanced / Customisation
-
WP Event Manager Tutorials
- Add a custom field in the search form on the event dashboard
- Add custom field in Search filter
- Adding a country field for events
- Change Default Events Listing View
- Changing Login Redirects
- Changing the event slug/permalink
- Changing the priority of field for event submission form
- Create Child Theme
- Create default image path filter
- Create or pick categories from Free/ Core WP Event manager
- Create single event template with Elementor Pro
- Creating a custom event search form
- Cron Job
- Disable Any theme timepicker
- Editing Event Submission Form Fields
- Event Detail Page
- Event List with Elementor plugin
- Hide Additional Information Section from Single Event Page
- Hide and Add column from the Event Dashboard
- Hide Comment on Single Event Listing Page
- How To Add My Registrations on My Account Page
- How to allow comment forms on each event?
- How to allow organizers to add images in the description box
- How to delete an expired event by time
- How to Disable Social Media share links?
- How to display additional custom fields on a single event page?
- How to override archive template
- How To Remove Duplicate Event Type Meta Box While Using Gutenberg Editor
- How to replace default event banner placeholder image
- Importing Event Listings With WP All Import Pro
- Limit the banner Size
- List of all the default template and fields given in core and Premium Add-ons
- Multilingual Website Using WPML
- Ordering Events By Event Start Date / meta key
- Remove existing field from event submission form
- Remove the Preview Step
- Translating WP Event Manager
- Validate submit event field Snippets
- Visual Composer
- How to Download and Edit the Prebuilt Theme by WP Event Manager
- Show all articles ( 25 ) Collapse Articles
-
Add-ons
- Attendee Information
- Bookmarks
- Colors
- Contact Organizer
- Emails
- Embeddable Event Widget
- Event Alerts
- Event Calendar
- Event iCal
- Event Slider
- Event Tags
- Export Events
- Google Analytics
- Google Maps
- Google reCAPTCHA
- Mailchimp
- Organizers
- Recurring Events
- Registrations
- Sell Tickets
- Sendinblue
- Stripe Split Payment
- Woocommerce Paid Listings
- Zoom
- Mobile App
- Divi Elements
- Guest List
- Constant Contact
- Active Campaign
- HubSpot CRM Integration
- Salesforce CRM Integration
- Zoho CRM Integration
- Name Badges
- Show all articles ( 18 ) Collapse Articles
-
Add ons Tutorials
- Attendee limit on registration addon
- Change the domain of license key (license key migration )
- Editing registration form fields
- Event tag snippets
- Existing Licence Key Activation
- Exporting Registrations
- Facebook Preview
- Field restriction on the registration form without sell ticket and attendee information
- Hide/Show registration button on specific events
- How To Install WP Event Manager Add ons
- How to show Ticket Price
- Send an email notification to the organizer when a event is approved
-
Virtual Addons
-
Themes
Template Files Override
Created On
Last Updated On
Print
13
57
- Main
- Advanced / Customisation
- Template Files Override
WP Event Manager Plugin has “templates” directory which contains all the templates files for rendering views at frontend side. This “templates” folder also includes “form-fields” directory which contains all the form control template files.
Overriding template files via a theme
You can customize the template file by overriding it via your theme.
- Create new folder “wp-event-manager” inside your theme folder. e.g yourtheme/wp-event-manager.
- Update the custom version in the future to maintain compatibility if the files are updated in the core plugin. Hence the template file which needs to be customized should only be overwritten.
For example, you want to override plugins/wp-event-manager/content-summary-event_listing.php, then you can copy this file into yourtheme/wp-event-manager. Here we have shown example with Twenty Twelve theme.
Overriding template file through code
WordPress Plugin developers can also override template file by applying the “event_manager_locate_template” filter.
return apply_filters( 'event_manager_locate_template', $template, $template_name, $template_path );
This will return the template path which was going to be overriden.
Was this article helpful?
Quick Links