Is there a way to edit the “Nothing Found” message that appears when their are no events in a category for the “Events Table View – Add On?” I’d like the message to say something like “There are currently no listings for this course..”
Yes, you open up the template from the table view add-on, then near the bottom of the template you’ll find this code:
else :
// If no content, include the "No posts found" template.
espresso_get_template_part( 'content', 'none' );
You can change the line of code where it says espresso_get_template_part( 'content', 'none' );
to be something like: echo '<p>There are currently no listings for this course..</p>';
Along with that, you can copy the template over to your WordPress child theme to keep your changes safe from future updates.
EE checks the root directory of your child theme so the ‘main’ folder.
For example /wp-content/themes/my-theme/espresso-events-table-template.template.php
Viewing 4 reply threads
The support post ‘Events Table View Add On – Editing "Nothing Found" Message’ 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.