Hi @nimmerdk ,
Thank you for your inquiry. May I interest you with the below knowledgebase article for changing the calendar page title.
Change the Meta Title for Calendar Views
I will take a look at that page, thank you.
But where does it gets this title from? We’re not in November, so it makes no sense??
Best regards
Kim
Hi @nimmerdk ,
Thank you for your message. In a lot of cases, I’ve seen this happen with websites running SEO plugins (i.e., Yoast SEO, Rank Math).
Anyway, please feel free to let me know how the Change the Meta Title for Calendar Views went for you.
Hi,
With apologies for hijacking the thread, I am having the same issue. I have added the suggested code to my site’s child theme, but it doesn’t seem to have made any difference. I am using Yoast SEO and this seems to be an unnecessary and fairly recent change (not sure if EC or Yoast).
The affected page is: https://yorkshire.beer/events/
Any help would be very much appreciated, as it’s a small thing which shouldn’t be this frustrating.
Thanks,
Jonny
Plugin Support
Darian
(@d0153)
Hi @tuffmunky
I just tried the following snippet codes on my test site, and it’s working as expected.
function filter_events_title( $title ) {
if( tribe_context()->get( 'view_request' ) === 'default' ) {
$title = 'Default event page';
} elseif( tribe_context()->get( 'view_request' ) === 'list' ) {
$title = 'Single event page';
} elseif( tribe_context()->get( 'view_request' ) === 'month') {
$title = 'Month event page';
} elseif( tribe_context()->get( 'view_request' ) === 'day' ) {
$title = 'Day event page';
} elseif( tribe_context()->get( 'view_request' ) === 'summary' ) {
$title = 'Summary event page';
} elseif( tribe_context()->get( 'view_request' ) === 'photo' ) {
$title = 'Photo event page';
} elseif( tribe_context()->get( 'view_request' ) === 'map' ) {
$title = 'Map event page';
}
return $title;
}
add_filter( 'tribe_events_title_tag', 'filter_events_title' );
Could you try adding the snippet code through the Code Snippets plugin and see if that resolves the issue?
Let me know how it goes.
Hi Darian,
Thanks for coming back to me. It seems that the issue was being caused by me having misunderstood the two approaches on the “Change the Meta Title for Calendar Views” article and I thought I needed to change “tribe_events_title_tag” to “wpseo_title” per the second example.
Apparently that wasn’t the case! Apologies for my confusion there.
Is it possible to include the site tagline after the site name?
Thanks,
Jonny
Plugin Support
Darian
(@d0153)
Hi @tuffmunky
Yes, you can use this snippet to show the tagline.
get_bloginfo ( 'description' )
E.g.
$title = 'Default event page' . get_bloginfo ( 'description' ) ;
I hope this helps, and please let me know if you have further questions or concerns.
Plugin Support
Darian
(@d0153)
Hi @tuffmunky
I hope everything is going smoothly for you. I just wanted to touch base and inquire if you had the opportunity to review my previous response as it has been some time since we last heard from you.
Plugin Support
Darian
(@d0153)
Hi @nimmerdk
We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions.