Forum Replies Created
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
momondaysParticipant
Thanks Barry – I will see what I can do! If/when I manage to accomplish this, I’ll update this thread so other people can find it.
momondaysParticipantThanks! 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;
} -
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)