The Events Calendar
The Events Calendar and Yoast WordPress SEO (4 posts)

  1. GATEKeeper
    Posted 4 years ago #

    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.


  2. jonahcoyote
    Posted 4 years ago #

    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.

  3. GATEKeeper
    Posted 4 years ago #

    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.

  4. Rob La Gatta
    Modern Tribe Support
    Plugin Author

    Posted 4 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • The Events Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic