Forum Replies Created
-
AuthorPosts
-
Earthtribe
ParticipantGeoff,
Here is the function I modified to change the calendar title:
<?php
/**
* Change the title of Events Calendar
*/
function change_upcoming_events_title($title) {
//We’ll change the title on upcoming and map views
if (tribe_is_month()) return ‘Supportive Prayers’;
//In all other circumstances, leave the original title in place
return $title;
}
add_filter(‘tribe_get_events_title’, ‘change_upcoming_events_title’);?>
Earthtribe
ParticipantMany thanks, Geoff, for your quick and helpful response.
Here are my actions and observations based on your guidance:
- Checked versions and both Events Calendar and Events Calendar PRO were and are v3.9
- Events template: was and is “Default Events Template”
- Disable the Event Tool Bar: now deselected–previously selected. Deselecting this option did not make the current month header appear and it introduced a search bar at the top of the calendar that I don’t want (the search bar displaying is a low-priority issue that we can address later)
- Other modifications: I did not intentionally make any modifications other than changing the default page title to “Supportive prayers.” And, I don’t remember how I made that modification. Now that you ask, it seems possible that when I changed the default page title, I also removed the current month title–just say’n.
I will continue to research what I did to change the default page title and get back to you. In the meantime, I still not able to access previous month calendars–spinning idle circle, and the current month title is still missing.
Cheers,
Dan -
AuthorPosts
