Title for Single Events/Venues/Organizers
-
Hello…I previously had some issues with my theme and page titles for The Events Calendar. I have successfully been able to modify my theme’s page titles using the examples here: https://theeventscalendar.com/knowledgebase/changing-the-browser-title-for-calendar-views/
This works for a lot of the views, however, I’m finding that the logic for Single Events/Venues/Organizers does not seem to work and I’m getting an empty page title still. Can you let me know if the logic to identify these pages has changed?
// Single events if ( tribe_is_event() && is_single() ) { $title = 'Single event page'; } // Single venues elseif ( tribe_is_venue() ) { $title = 'Single venue page'; } // Single organizers elseif ( tribe_is_organizer() && is_single() ) { $title = 'Single organizer page'; }
Thank you!
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Title for Single Events/Venues/Organizers’ is closed to new replies.