• Resolved justinchildress

    (@justinchildress)


    Hi, love the plugin. I’m curious if there’s a way to change the word “Events” in the title of the main calendar view. For example, right now my calendar title says “Events for August 2013”. However, for the particular site I’m doing, we’re using the calendar for something that can be more specifically referred to by a different word (it’s a food truck park, and it would make more sense for the title to be “Trucks for August 2013” or something like that.) Is this possible?

    Thanks.

    http://wordpress.org/plugins/the-events-calendar/

Viewing 1 replies (of 1 total)
  • There’s a few ways you might approach this. A simple if in some ways slightly crude method would be a simple string replacement:

    add_filter('tribe_get_events_title', 'swap_events_for_trucks');
    
    function swap_events_for_trucks($title) {
    	return str_replace('Events', 'Trucks', $title);
    }

    Which you could for instance add to your theme’s functions.php file, or some other suitable place. Does that help at all?

Viewing 1 replies (of 1 total)
  • The topic ‘Changing word "Events" in calendar title’ is closed to new replies.