Change 'events' to 'shows' globally

Home Forums Calendar Products Events Calendar PRO Change 'events' to 'shows' globally

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #120819
    momondays
    Participant

    Is there a simple way to change ‘events’ to ‘shows’ globally? ie: so ‘Past Events’, ‘Upcoming Events’ etc display as ‘Past Shows’, ‘Upcoming Shows’, etc.

    #121012
    Kelly
    Participant

    Hi, momondays. Great question! 🙂

    We actually have a tutorial detailing just that: Altering or Removing Headings on Calendar Views. Please give it a whirl and let us know how it goes!

    #121130
    momondays
    Participant

    Thanks! I looked, but couldn’t find anything – solved my issue perfectly.

    Going to add, in case there are others who want to do the same thing

    The code I used is as follows, so it would handle list views as well as past events queries (hope the code shows up):

    function change_the_events_title($title) {
    //We’ll change the title on past views
    if (tribe_is_past()) return ‘Past Shows’;
    if (tribe_is_upcoming() or tribe_is_map() or tribe_is_photo() or tribe_is_list()) return ‘Upcoming Shows’;
    //In all other circumstances, leave the original title in place
    return $title;
    }

    #127549
    Kelly
    Participant

    Thanks so much, momondays. We really appreciate the follow-up! 🙂

     

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Change 'events' to 'shows' globally’ is closed to new replies.