Support » Plugin: Jetpack by » Disable Open Graph – not possible!

  • Resolved i2c2k



    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)…


Viewing 3 replies - 1 through 3 (of 3 total)
  • 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!!!

    Plugin Contributor Richard Archambault


    Happiness Engineer


    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.

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable Open Graph – not possible!’ is closed to new replies.