• Resolved Thildir

    (@thildir)


    Hi,

    I’m setting up a new web page and using Facebook for WordPress to integrate social media.
    However, I’m using a different plugin to manage my metadata throughout the site.

    Since the Facebook plugin by default adds metadata tags these conflict with the plugin. The Facebook plugin generates metadata based on the WordPress settings while my metadata plugin generates the metadata I specifically tell it to.

    How can the default generated metadata by Facebook for WordPress be disabled?

    http://ww.wp.xz.cn/plugins/facebook/

Viewing 1 replies (of 1 total)
  • I would like this function too… In my case, I simply ditched the plugin and used the direct FB SDK approach for total control. Longer, but works.

    However, presumably this would work in your functions file, then you can declare your own in the header (untested)

    add_action('wp_head', 'remove_fb_og_stuff', 0);
    function remove_fb_og_stuff() {
    remove_action( 'wp_head', 'Facebook_Open_Graph_Protocol::add_og_protocol' );
    }

Viewing 1 replies (of 1 total)

The topic ‘Disable Facebook for WordPress generated metadata’ is closed to new replies.