I copied the EE table template (espresso-events-table-template.template.php) from the table addon location to my child theme root directory.
Then, I used the shortcode to show the table in a page. I am able to see the table rendering just fine, but the customized file does not get used. Instead, I can confirm that the original EE template file is still used (I modified it temporarily to check).
I am also unable to get any override by creating a newly-named template file, putting it in the child theme root, and then using the template_file shortcode switch to tell the shortcode to use the new file. eg:
[ESPRESSO_EVENTS_TABLE_TEMPLATE template_file=espresso-events-table-template-custom.template.php]
Can you give me some tips for debugging this situation? It seems pretty straightforward – the instructions all say the same thing and other developers are able to do this.
Where should I look to figure out where it’s going wrong? Is it possible there is another setting that I need to make (or unmake) that will allow this table template addon override?
Hello! Yes, you are correct, I am using a custom “parent” theme without a child (I am creating my own theme). I now :blushes: realize that I was modifying files on my local server and testing the remote server – basically, forgot my workflow so the theme files I was “modifying” weren’t modified at all on the remote server. It’s working as advertised now. Thank you!
The support post ‘Custom template for Events Table not working’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.