Jetpack by WordPress.com
[resolved] Disable Open Graph - not possible! (4 posts)

  1. i2c2k
    Posted 1 year ago #


    somehow I can't disable Jetpack's open graph tags (version 2.9.3 is installed). I tried it by all means. I added this code both in the theme's function.php as well as in a MU plugin file:

    add_filter( 'jetpack_enable_opengraph', '__return_false' );
    add_filter( 'jetpack_enable_open_graph', '__return_false' );
    remove_action( 'wp_head', 'jetpack_og_tags' );

    I guess the code that executes the tag generation might be executed before this code, which takes the possibility to inhibit the tags. What else can I do? It's all I found on the web...

    By the way: I have Ultimate SEO installed, Jetpack somehow ignores that although it should take that into account (as i read)...



  2. i2c2k
    Posted 1 year ago #

    Well please disable this feature or offer a module which can be turned on and off. I tried everything to disable these stupid tags, nothing works!!!

  3. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #


    The correct code is:

    add_filter( 'jetpack_enable_open_graph', '__return_false' );

    As for SEO Ultimate, that's right, we do detect it and deactivate Jetpack's OG tags here:


    So I suspect something is different about your site? Could you post your site URL here, so I can have a look?

    If you want it to remain private, you can also contact us via this contact form:

    If you contact us through our form, please make sure to include a link to this thread in your message.

  4. i2c2k
    Posted 1 year ago #

    Hello Richard,

    thank you very much for your reply and your effort!
    To be honest it was a stupid mistake of mine. The detection of other SEO tools works good, I'm very sorry!
    But manual control over the generation of the tags would be fine anyway.

    All the best

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