Support » Plugin: Jetpack by » Open graph description shows SimpleReach Slide code after Jetpack update

  • Resolved MainThink


    After updating to the latest version, the open graph description meta tag is broken when The Slide by SimpleReach is active.

    This is nicely verified thanks to the Facebook Object Debugger for example.

    The remove_action('wp_head', 'jetpack_og_tags'); trick didn’t help, of course it removed all og tags from the page but the problem persists.
    As confirmed again by the Facebook Debugger.

    Any idea why that happens? I have no clue.

    “Disable the Slide plugin” is not really an answer, is it? 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Jeremy Herve


    Jetpack Mechanic 🚀

    When checking your site’s Open Graph meta tags, do you see any duplicates?

    Does SimpleReach Slide add some Open Graph tags that might be broken by a conflict with Jetpack maybe?

    Could you post your site URL here, so I can try to understand the issue?


    Hello Jeremy, no duplicates.

    In fact, I was actually happy to see Jetpack add some nice og: tags in the code, because I don’t use any SEO plugins and there were no open graph tags at all.
    I have google analytics for wordpress by yoast, however.

    Slide adds a <script> portion of code and I have no clue as to why that code ends up in the ‘description’ tag.

    At the moment the slide plugin is disabled, jetpack of course is enabled.
    Here’s a random article from the website:

    I’ll enable slide right now for a couple of hours so you can have a look in the source code and see the <script> code ending up in the og:description tag somehow.

    Thanks, at this point I’m more curious to understand than anything else eheheh

    Plugin Contributor Jeremy Herve


    Jetpack Mechanic 🚀

    Thanks! That seems to be a conflict between the 2 plugins. We’ll investigate further and I’ll keep you posted!

    In the meantime, could you try to fill in the “Excerpt” module that appears right under the Post editor in your dashboard, and let me know if that helps?

    Your hunch was right 🙂

    If an excerpt is manually specified, the og:description field shows that.
    Is that behaviour default for my theme or is it a wordpress thing?
    I was under the impression that an automatic excerpt was created.

    I can use that as a workaround, maybe copy/paste the subtitle for every new article…

    thank you very much for the time you dedicated to me, Jeremy!

    Plugin Contributor Jeremy Herve


    Jetpack Mechanic 🚀

    It’s a default WordPress behaviour.

    Jetpack creates the og:description tag from your post’s excerpt.

    WordPress gets the excerpt from the module in your post editor. However, if you didn’t fill in that field, WordPress will build its own excerpt from the first few words from your post.
    That’s where the problem happens: the SimpleReach Slide plugin adds some Javascript code right before your post content, and it seems that this code is grabbed by WordPress and added to the excerpt.

    Gosh I didn’t notice that it was right before the post content!

    Is the position where a plugin puts its code something I can have a say on?

    Moving it after the post content would be a simple and definitive fix.

    Plugin Contributor Jeremy Herve


    Jetpack Mechanic 🚀

    There are different ways to solve this issue:

    • The plugin author could make changes to include the Javascript code somewhere else on the page, if that can be done without breaking the plugin’s behaviour.
    • WordPress might be improved to do a better job at filtering out all Javascript code from the excerpt.
    • Jetpack might be improved to filter out this code.

    Could you try to contact the SimpleReach Slide plugin author here, and warn them about the issue?

    Honestly, point number two is the most sensible one, I think.

    I will undoubtedly explain the issue to the SimpleReach people, thanks again for all the effort Jeremy I really appreciate it!

    This definitely gets a ‘mark as resolved’ clic 🙂

    I am having an issue here with simplereach. it just popup at the start of the post.. Guys please help me out… my weblink

    kindly open any post you will see that slider comes very early or at the start of the post.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Open graph description shows SimpleReach Slide code after Jetpack update’ is closed to new replies.