Support » Plugin: The Events Calendar » The Events Calendar and Yoast WordPress SEO

  • I love The Events Calendar. For the most part it’s working great and I’m thinking of buying the pro version soon, but I want to raise an issue that I’m not sure who to .

    Using WordPress SEO by Yoast, I’ve set “Tribe_events” to be “%%sitename%% | %%title%%”.

    On the single event page for events, that works fine, but on the events home page, it’s using the title of the first event listing coming up.

    What can I do to fix this? Removing the custom title info from the SEO section reverts the title back to a title that is correct, but formatted improperly, and I can’t find where it’s pulling that from.

Viewing 3 replies - 1 through 3 (of 3 total)
  • It’s actually kind of tricky GATEKeeper… The plugin create a behind the scenes page for the main calendar/list page so it becomes a matter of filtering the title tags in your theme when in those views. You can conditionally check for the grid view with: tribe_is_month() and the list view by using this combination: tribe_is_event() && !tribe_is_day() && !is_single()

    What I would do is dig into some of the documentation for your theme and/or the SEO plugin and find out how to filter the title tag and then use those functions above to conditionally set your title tags on those views.

    Kind of convoluted we know and we’re considering some changes to the template system sometime this year which will make stuff like this much easier.

    Hopefully this get’s you going in the right direction.

    Okay, I’ll take a look and see what I can do. I think it may be a case of the SEO plugin just not being compatible with the Events Calendar main page.

    Plugin Author Rob La Gatta


    Modern Tribe Support

    Sounds good, GATEkeeper. Let us know if we can do anything else or if you have any other questions here.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘The Events Calendar and Yoast WordPress SEO’ is closed to new replies.