• I have unchecked the radio button for “Use Open Graph protocol:” but even so the homepage gets three Facebook-specific metatags added to it because of this parameter in add-link-to-facebook-class.php:

    else if (is_home())
    {$charset = get_bloginfo(‘charset’);$title = html_entity_decode(get_bloginfo(‘title’), ENT_QUOTES, get_bloginfo(‘charset’));
    echo ‘<meta property=”og:title” content=”‘ . htmlspecialchars($title, ENT_QUOTES, $charset) . ‘” />’ . PHP_EOL;
    echo ‘<meta property=”og:type” content=”blog” />’ . PHP_EOL;
    echo ‘<meta property=”og:url” content=”‘ . get_home_url() . ‘” />’ . PHP_EOL;}}

    Is there any way to have this if clause affected by the “Use Open Graph protocol:” radio button? I already have OGP taken care of on my site and do not need it on the homepage.

    http://wordpress.org/extend/plugins/add-link-to-facebook/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I see your problem. The just released version 1.44 of the plugin will not add the Open Graph protocol meta tags on the home page if every user has disabled the protocol.

    Thread Starter edwardnh

    (@edwardnh)

    I see the change. Many thanks for that and the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Add Link to Facebook] Redundant metatags on homepage’ is closed to new replies.