How to Change Text and Meta Titles in The Events Calendar
Content
Many users of The Events Calendar plugin want to customize the text labels, page titles, and meta descriptions that appear on their calendar and event pages. This is a common request for branding, SEO, and improving the user experience. Based on community discussions, here are the most effective methods for making these changes.
Why Customize These Elements?
The plugin uses default text and generates automatic page titles (like "Events from [date] to [date]"). You might want to change these to better match your site's terminology, improve search engine visibility, or provide clearer instructions to your visitors.
Common Solutions for Changing Text and Titles
1. Using Loco Translate for Text Labels
For simple text changes, like altering "View Calendar" to "Details" or "Upcoming" to "Coming Events," the Loco Translate plugin is often the easiest solution. It doesn't require coding knowledge.
- Install and activate the Loco Translate plugin.
- Navigate to Loco Translate → Plugins and select "The Events Calendar."
- Choose a language (e.g., English UK) and click Sync to load all available strings.
- Use the search function to find the text you want to change (e.g., "View Calendar").
- Enter your new translation in the provided field and save your changes.
2. Custom Code Snippets for Specific Labels
For more control, you can add custom PHP code to your theme's functions.php file. This is useful for changing specific labels that might be hard to find in Loco Translate.
Example: Change the "Website" link label
function change_website_label(){
return 'Learn More';
}
add_filter( 'tribe_events_get_event_website_title', 'change_website_label');
Example: Change the "Events" label to "Agenda"
add_filter( 'tribe_event_label_singular', function() { return 'Agenda'; } );
add_filter( 'tribe_event_label_plural', function() { return 'Agendas'; } );
Important: Always test code on a staging site before using it on a live site.
3. Using an SEO Plugin for Meta Titles and Descriptions
To control the page title and meta description that appear in browser tabs and when sharing your main calendar page on social media, an SEO plugin is the recommended solution. The Events Calendar itself does not set these meta descriptions.
- Install a plugin like Yoast SEO or Rank Math.
- Navigate to the SEO plugin's settings. In Yoast SEO, go to Yoast SEO → Settings → Content Types → Events → Events Archive.
- Here, you can set a custom SEO title and meta description specifically for your calendar archive page.
4. Customizing the "No Events" Message
To change the default "There are no upcoming events" message, you can use a filter. The following example changes the message across all calendar views:
add_filter( 'tribe_events_views_v2_view_messages', function ( $messages ) {
if (isset($messages['notice'])) {
$index = array_search ( 'There are no upcoming events.', $messages['notice'], true );
}
if (isset($index) && $index !== false) {
$messages['notice'][$index] = 'Your custom message here.';
}
return $messages;
});
Important Considerations
- Theme and Builder Conflicts: If you are using a page builder (like Avada) or a custom theme, the method for changing text or layouts might be different. In these cases, you may need to consult your theme's documentation or support.
- Plugin Updates: Custom code added to your
functions.phpfile will persist through plugin updates. However, using a child theme is highly recommended to prevent your changes from being overwritten by theme updates. - Testing: After making any changes, clear your site's cache and test the results on the front end of your site to ensure everything works as expected.
By using these methods, you can effectively customize the text, titles, and descriptions throughout your Events Calendar to better fit your website's needs.
Related Support Threads Support
-
Change “Upcoming” to “Coming”https://wordpress.org/support/topic/change-upcoming-to-coming/
-
Remove Header Banner from Calendar viewhttps://wordpress.org/support/topic/remove-header-banner-from-calendar-view/
-
I can’t change the text in one calendar messagehttps://wordpress.org/support/topic/i-cant-change-the-text-in-one-calendar-message/
-
Change community/add login designhttps://wordpress.org/support/topic/change-community-add-login-design/
-
make a separation line for comments?https://wordpress.org/support/topic/make-a-separation-line-for-comments/
-
Setting a meta description for the Calendar pagehttps://wordpress.org/support/topic/setting-a-meta-description-for-the-calendar-page/
-
Edit text: Post “Type Archives”https://wordpress.org/support/topic/edit-text-post-type-archives/
-
line break/return in Organizer fieldhttps://wordpress.org/support/topic/line-break-return-in-organizer-field/
-
changing Breadcrumb Texthttps://wordpress.org/support/topic/changing-breadcrumb-text-2/
-
remove the end time in widgethttps://wordpress.org/support/topic/remove-the-end-time-in-widget/
-
Need class name for calender view popup aka tool tiphttps://wordpress.org/support/topic/need-class-name-for-calender-view-popup-aka-tool-tip/
-
Link preview says page not foundhttps://wordpress.org/support/topic/link-preview-says-page-not-found/
-
Add Text at the Top of the Events Pagehttps://wordpress.org/support/topic/add-text-at-the-top-of-the-events-page/
-
Edit title events page to recent events or customhttps://wordpress.org/support/topic/edit-title-events-page-to-recent-events-or-custom/
-
custom text only on main calendar page?https://wordpress.org/support/topic/custom-text-only-on-main-calendar-page/
-
Finding Events page titlehttps://wordpress.org/support/topic/finding-events-page-title/
-
Change button titlehttps://wordpress.org/support/topic/change-button-title-2/
-
Permalink to Page Titlehttps://wordpress.org/support/topic/permalink-to-page-title/
-
How to change events page titlehttps://wordpress.org/support/topic/how-to-change-events-page-title/
-
Delete Event Title on Pagehttps://wordpress.org/support/topic/delete-event-title-on-page/
-
can i change the name of the subscribed calendarhttps://wordpress.org/support/topic/can-i-change-the-name-of-the-subscribed-calendar/
-
Remove default message – “Calendar powered by”https://wordpress.org/support/topic/remove-default-message-calendar-powered-by/
-
I need to change the title “Events”https://wordpress.org/support/topic/i-need-to-change-the-title-events/
-
URL descriptionhttps://wordpress.org/support/topic/url-description/
-
Changing fields under detailshttps://wordpress.org/support/topic/changing-fields-under-details/
-
Adding Field to Calendar Itemhttps://wordpress.org/support/topic/adding-field-to-calendar-item/
-
Default the State and Remove the Drop Down?https://wordpress.org/support/topic/default-the-state-and-remove-the-drop-down/
-
Enter text above the main calendarhttps://wordpress.org/support/topic/enter-text-above-the-main-calendar/
-
Position Event title and date above featured imagehttps://wordpress.org/support/topic/position-event-title-and-date-above-featured-image/
-
Agenda page title – French tarslationhttps://wordpress.org/support/topic/agenda-page-title-french-tarslation/
-
Change “View Calendar” texthttps://wordpress.org/support/topic/change-view-calendar-text/
-
Change in the display of the organiser’s website addresshttps://wordpress.org/support/topic/change-in-the-display-of-the-organisers-website-address/
-
Adding venue to frontendhttps://wordpress.org/support/topic/adding-venue-to-frontend/
-
How do I change the “Events” page titlehttps://wordpress.org/support/topic/how-do-i-change-the-events-page-title/
-
Modify Default Calendar Page Titlehttps://wordpress.org/support/topic/modify-default-calendar-page-title/
-
How do I change the default text – Please add events for them to display here.https://wordpress.org/support/topic/how-do-i-change-the-default-text-please-add-events-for-them-to-display-here/
-
Disable comments and change wordhttps://wordpress.org/support/topic/disable-comments-and-change-word/
-
custom text only on main calendar page? v2https://wordpress.org/support/topic/custom-text-only-on-main-calendar-page-v2/
-
Customize no upcoming events messagehttps://wordpress.org/support/topic/customize-no-upcoming-events-message/
-
Event title placeholder?https://wordpress.org/support/topic/event-title-placeholder/
-
How do you put text above the calendar on the page?https://wordpress.org/support/topic/how-do-you-put-text-above-the-calendar-on-the-page/
-
How to Change “Venue” and “Organizer”https://wordpress.org/support/topic/how-to-change-venue-and-organizer/
-
Header change / customizehttps://wordpress.org/support/topic/header-change-customize/