Hi,
I was wondering if there is anyway of displaying default text on Event Category pages if there are no events currently live in that category?
Thank you
The default text is “No events available”. This text string can be changed by making an English to English translation using the poEdit application, then uploading the .po and .mo files that poEdit generates when you save the language file. The language files in Event Espresso are in the /language folder of the plugin.
If you’d like to change this in the template, it is in event_list.php:
Templates can be copied over to /wp-content/uploads/espresso/templates. There is more information in this guide: https://eventespresso.com/wiki/put-custom-templates/
Note that some templates need to be copied over in pairs. For example, if you make a change to event_list.php, you’ll need to copy over it’s counterpart event_list_display.php. Also please note that if we need to make a change to a template in version of Event Espresso, you’ll need to copy this change into your custom template to stay current with the plugin.
We recommend using Diffmerge to help merge changes into custom templates.
The support post ‘Default text for categories with no live event’ 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.