• Resolved Hannes

    (@funkpunk)


    Hi

    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,
    Hannes

    https://www.ads-software.com/extend/plugins/jetpack/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Hannes

    (@funkpunk)

    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?

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    You can check this post to find out how to remove Jetpack Open Graph meta tags:
    https://kovshenin.com/2012/double-titles-when-sharing-on-google/

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

    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: https://www.ads-software.com/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: https://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 );

    Easy disable jetpack opengraph with little plugin. Download:
    https://github.com/sgthemes/Remove-Jetpack-Open-Graph-Tags

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to I disable the Open Graph meta data’ is closed to new replies.