Jetpack by WordPress.com
[resolved] How to I disable the Open Graph meta data (7 posts)

  1. Hannes
    Posted 3 years ago #


    I'm using another plugin to generate Open Graph meta data and with the latest update Jetpack also adds OG data. But that creates a conflict - duplicate OG data is not good.

    I can't find a way to disable the Open Graph meta data in Jetpack.

    Best regards,


  2. Hannes
    Posted 3 years ago #

    Any news on if/when this is going to be fixed?

    Or do I need to revert to Jetpack 1.9 on a few blogs?

  3. Jeremy Herve
    Jetpack Mechanic
    Plugin Contributor

    Posted 3 years ago #

    You can check this post to find out how to remove Jetpack Open Graph meta tags:

  4. palPalani
    Posted 3 years ago #

    add_filter( 'jetpack_enable_opengraph', '__return_false', 99 );

    The "jetpack_enable_opengraph" filter controls whether the Open Graph functionality loads.

    For me "jetpack_enable_opengraph" is not working, I am using the "jetpack_enable_open_graph" filter and it works well.

    add_filter('jetpack_enable_open_graph', '__return_false', 99);

  5. thomasconnery
    Posted 3 years ago #

    Jeremy and palPalani, THANK YOU! This solved my Google+ sharing problem. Simply added the line specified just before the first 'defined' statement within the jetpack.php file.

    * Plugin Name: Jetpack by WordPress.com
    * Plugin URI: http://wordpress.org/extend/plugins/jetpack/
    * Description: Bring the power of the WordPress.com cloud to your self-hosted WordPress. Jetpack enables you to connect your blog to a WordPress.com account to use the powerful features normally only available to WordPress.com users.
    * Author: Automattic
    * Version: 2.0.2
    * Author URI: http://jetpack.me
    * License: GPL2+
    * Text Domain: jetpack
    * Domain Path: /languages/
    add_filter('jetpack_enable_open_graph', '__return_false', 99);

    defined( 'JETPACK__API_BASE' ) or define( 'JETPACK__API_BASE', 'https://jetpack.wordpress.com/jetpack.' );
    define( 'JETPACK__API_VERSION', 1 );

  6. KenRocker
    Posted 3 years ago #

    Easy disable jetpack opengraph with little plugin. Download:

  7. DrLightman
    Posted 2 years ago #

    This is just crazy, how is it possibile that after an update a so popular plugin decides to print out those meta tags so risking to break the functinality for sites that already implemented the protocol, and most likely they are not so few since Facebook integration it's so common nowadays?

    And no, Facebook doesn't like duplicate tags.

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