WordPress.org

Forums

The Events Calendar
Jetpack Open Graph Tags Incorrect (4 posts)

  1. fathomfrontiers
    Member
    Posted 2 years ago #

    The Jetpack Open Graph Tags on my main events page http://www.fathomfrontiers.com/blog/events/ are incorrect. Its pulling information from the second event listed on that page. Any thoughts on how to correct or specify the correct tags for this main events page?

    Thanks
    Alan

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. jonahcoyote
    Member
    Posted 2 years ago #

    Hi Alan,

    Before proceeding with anything on this, can you please verify this same thing occurs with all other plugins deactivated and/or using the default WordPress theme (Twenty Eleven / Twelve). I just want to make sure it is not a conflict with either one of these things first.

    Thanks,
    Jonah

  3. fathomfrontiers
    Member
    Posted 2 years ago #

    It's only happening when jetPack is activated. The function is_page returns true so it parses the page as if it were an article/post, It needs to parse it like a front page. The function is grabbing entry-title instead of title, and so on. I'm using the setting one column, no side bar. Default page templae does the same thing however Default Events Template works correctly, it just doesn't allow for the correct alignment of my site.

    Thanks for any help
    Alan

  4. jonahcoyote
    Member
    Posted 2 years ago #

    Hi Alan, you'll need to somehow filter the open graph tags and manually set the titles. You can do this with these conditional wrappers: https://gist.github.com/jo-snips/2415009 - you'll just need to figure out how to filter the tags. Good luck!

    - Jonah

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