Support

Home Forums Event Espresso Premium EE4 Table View template toggle version: message if no events available

EE4 Table View template toggle version: message if no events available

Posted: December 3, 2016 at 4:25 pm

Viewing 1 reply thread


Gilda Taffet

December 3, 2016 at 4:25 pm

Hi,

I am trying to find info on how to customize the message that displays if the table view template (toggle version) does not find any upcoming events to display. (We have categories separated out and sometimes there are no current events to display in a particular category.) Thanks for your help. Gilda


Tony

  • Support Staff

December 5, 2016 at 4:24 am

Hi Gilda,

The table view templates will load the content-none.php template file from your theme if no events are found, to change that you would need to either edit the table view template and add your own content or setup a specific template and call that.

If you take a loo within the espresso-events-table-template-toggle.template.php template file at the bottom you will see this:

// If no content, include the "No posts found" template.
espresso_get_template_part( 'content', 'none' );

That is what loads the content-none.php template file.

If you edit the espresso-events-table-template-toggle.template.php template to include your own custom details you can place the edited file within your themes root directly (preferably a child theme) to replace the original file.

Viewing 1 reply thread

The support post ‘EE4 Table View template toggle version: message if no events available’ 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.

Event Espresso