Plugin Directory

Open Graph Protocol Tools

Adds Open Graph Protocol meta to the individual pages and posts of your WordPress Install. This code acts in concert with "Like" buttons to

  1. Upload open-graph-protocol-tools/ to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. To add the "Like" module, use this code:
<?php
/**
 * Include this code on your theme for single blog posts (for example, in your single.php file)
 * or on your blogs main page to include a Facebook "Like" iframe
 */
if (function_exists('the_opengraphprotocoltools_like_code')):
   the_opengraphprotocoltools_like_code();
else:
    echo "<!-- opengraphprotocoltools is not activated -->";
endif;
?>

It would be best if in your theme you also added an attribute in the <html> tag, like this: <html prefix="og: http://ogp.me/ns#">

Requires: 2.9 or higher
Compatible up to: 3.3.2
Last Updated: 2012-1-28
Downloads: 3,036

Average Rating

5 stars
(3 ratings)

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2
100,2,2
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1