Posted: October 13, 2019 at 10:58 am
Hello! I have followed the documentation and cannot get a custom template for the events table to load. Here is one thread that I used (there are several all giving the same instructions): 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: 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? Thanks! |
|
Hi there, Looking at your site you don’t appear to be using a child-theme, it looks like you have a custom theme so you would add the template directly to that. What is the full path for the template file you added? |
|
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! |
|
Sometimes it just takes fresh eyes 🙂 I’m glad you found the problem anyway, any further questions just let us know. |
|
Agreed. Cheers! |
|
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.