Hi there, so we’re trying to integrate the shortcode and it’s working fine. We know that we need to modify the template file(content-espresso_my_events-event_section.template.php) found in /wp-content/plugins/eea-wp-user-integration/templates/ in order to achieve the customization that we want. But we’re directly editing it, and it’s not recommended.
Where should we put that file so that it wont get affected on the next update? We tried putting in our theme directory and wp-uploads/espresso/templates but it’s not reading the file.
Currently the [ESPRESSO_MY_EVENTS] doesn’t have the capability to load its templates from another location, but this is something we can add in an upcoming release. In the meantime, do the filter hooks within the template allow for the customizations you need to do?
Update: The WP User Integration add-on has an update and one of the changes included in this update is a change to the way the templates are located. Starting with the 2.0.4 release, the following templates can now be loaded from a WordPress theme (or a WordPress child theme) :
loop-espresso_my_events-simple_list_table.template.php,
loop-espresso_my_events-event_section.template.php,
and content-espresso_my_events-event_section.template.php
Viewing 2 reply threads
The support post ‘custom page template for [ESPRESSO_MY_EVENTS]’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.