WordPress.org

Forums

Jetpack by WordPress.com
[resolved] How to disable jetpack's open graph tags? (9 posts)

  1. rick4him
    Member
    Posted 2 years ago #

    I'm using Yoast's seo plug in which sets up facebook open graph tags. I would like to disable jetpack's open graph tags..How do I go about doing that?

    Thanks so much.

    http://wordpress.org/plugins/jetpack/

  2. Hrishikesh
    Member
    Posted 2 years ago #

    Add this line to your functions.php file (preferably at the very bottom)
    add_filter( 'jetpack_enable_opengraph', '__return_false', 99 );

  3. rick4him
    Member
    Posted 2 years ago #

    Hmm..that didn't work. WHen I added it, it caused my site to crash, are you sure that's the exact code?

  4. rick4him
    Member
    Posted 2 years ago #

    Nevermind, it looks like that worked.

  5. Hrishikesh
    Member
    Posted 2 years ago #

    Cheers!
    You can use the Facebook Debugger to verify if there is only one set of og tags.

  6. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 2 years ago #

    I'm using Yoast's seo plug in which sets up facebook open graph tags. I would like to disable jetpack's open graph tags..How do I go about doing that?

    You do not actually need to disable Jetpack's Open Graph meta tags. Jetpack automatically removes its meta tags if WordPress SEO is active on your site.

  7. louie171
    Member
    Posted 1 year ago #

    im having the same issue.

    cant seem to disable open graph tags. tried all the above, will install the latest version of the plugins hopefully that will fix it.

  8. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    @louie171 If you still experience issues, could you please start your own thread as per the Forum Welcome?
    http://wordpress.org/support/plugin/jetpack#postform

    It would also be useful if you could let us know your site URL so we can take a look at the problem. If you want it to remain private, you can also contact us via this contact form:
    http://jetpack.me/contact-support/

    Thank you!

  9. louie171
    Member
    Posted 1 year ago #

    hi Jeremy

    I fixed it turned out to be yoast SEO plugin was giving me the issue !

    Sorry :)

    regards

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.