Customize messages.php file
-
I’m looking to replace the “There were no results found.” message when there are no upcoming events.
I know where to change the message in the messages.php file in The Events Calendar plugin itself (\wp-content\plugins\the-events-calendar\src\Tribe\Views\V2\messages.php), However, I know that’ll be overwritten on the next plugin update.
I’ve tried editing functions.php using a script/function online called tribe_replace_string which didn’t work.
What, exact, subfolder do I create in my THEME to allow me to overwrite the messages.php file in the /plugins/ folder? I’ve tried:
– /Tribe/Views/V2/components/messages.php
– /Tribe/Views/V2/messages.php
– /Tribe/events/V2/messages.php
– /tribe-events/messages.php
– /tribe-events/events/messages.phpAt this point I’m hoping anything will stick and it’s not.
What am I doing wrong?
The topic ‘Customize messages.php file’ is closed to new replies.