Title: Customize messages.php file
Last modified: April 27, 2023

---

# Customize messages.php file

 *  Resolved [michaelmiller645](https://wordpress.org/support/users/michaelmiller645/)
 * (@michaelmiller645)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/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.php
 * At this point I’m hoping anything will stick and it’s not.
 * What am I doing wrong?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [tristan083](https://wordpress.org/support/users/tristan083/)
 * (@tristan083)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/customize-messages-php-file/#post-16700038)
 * Hi [@michaelmiller645](https://wordpress.org/support/users/michaelmiller645/),
 * Thank you for reaching out, and I’m sorry to learn of the difficulties.
 * Regrettably, the `\wp-content\plugins\the-events-calendar\src\Tribe\Views\V2\
   messages.php` is not a customizable file.
 * I would rather suggest you hook into the [tribe_events_views_v2_view_messages](https://docs.theeventscalendar.com/reference/hooks/tribe_events_views_v2_view_messages/)
   filter. I want to note here that as per our[ Support Policy](https://theeventscalendar.com/knowledgebase/k/what-support-is-provided-for-license-holders/),
   we cannot provide full support for customization or third-party integrations,
   even if we have a guide on our Knowledge base. It is still up to you as the end-
   user to implement this.
 *  Thread Starter [michaelmiller645](https://wordpress.org/support/users/michaelmiller645/)
 * (@michaelmiller645)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/customize-messages-php-file/#post-16701695)
 * Well crud. Not the answer I was hoping for – but not as bad as it could’ve been.
   Thank you.
 *  Plugin Support [tristan083](https://wordpress.org/support/users/tristan083/)
 * (@tristan083)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/customize-messages-php-file/#post-16704631)
 * You’re welcome, [@michaelmiller645](https://wordpress.org/support/users/michaelmiller645/)!
 * If you have some time to review, that would be amazing!
   [https://wordpress.org/support/plugin/the-events-calendar/reviews/](https://wordpress.org/support/plugin/the-events-calendar/reviews/)
 * I’d be closing this thread, and please do not hesitate to bump a new thread on
   our way. This is for us to track down topics/issues efficiently and for us to
   follow the[ WordPress Forum Guidelines](https://wordpress.org/support/guidelines/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Customize messages.php file’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [tristan083](https://wordpress.org/support/users/tristan083/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/customize-messages-php-file/#post-16704631)
 * Status: resolved