WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Open Graph

Adds Open Graph metadata to your posts and pages so that they look great when shared on sites like Facebook and Google+.

Project maintained on github at willnorris/wordpress-opengraph.

version 1.8.1 (Nov 19, 2016)

  • change og:image to use the full size of image (props @torenord)

version 1.8.0 (Jan 29, 2016)

  • fixed article:author property
  • added article:modified_time
  • added first category as article:section

version 1.7.0 (Jan 18, 2016)

  • added "strict mode" setting
  • better twitter:card handling
  • basic twitter:creator support
  • WordPress coding standard

version 1.6 (Dec 30, 2014)

  • implemented get_the_archive_title and get_the_archive_description (new in WordPress 4.1)
  • basic twitter cards support (thanks to elroyjetson)
  • replace $post->post_title with get_the_title() (see #17 for details)

version 1.5.1 (Nov 13, 2012)

  • fix duplicate opengraph markup when used with jetpack plugin (for real)

version 1.5 (Nov 13, 2012)

  • include descriptions on tag and category pages
  • include profile metadata on author pages
  • fix bug with 404 pages include extra og:image values
  • general code cleanup (including removal of dependency on global vars)
  • fix duplicate opengraph markup when used with jetpack plugin

version 1.4 (Aug 24, 2012)

  • better default description
  • include all images that are attached to a post, so that users can choose which to use when sharing the page. If the post has a post thumbnail, that is still used as the primary image.

version 1.3 (May 21, 2012)

  • add 'opengraph_prefixes' filter for defining additional prefixes
  • add new basic properties, and remove some old ones. This is a breaking change for anyone that was using the old properties, but they can always be added using the 'opengraph_metadata' filter. (see f476552 for details)
  • updates to many default values, particularly for individual posts and pages (thanks pfefferle)
  • add basic support for array values (see d987eb7)

version 1.2 (Feb 21, 2012)

  • switch to newer RDFa prefix syntax rather than XML namespaces (props pfefferle)

version 1.1 (Nov 7, 2011)

  • fix function undefined error when theme doesn't support post thumbnails

version 1.0 (Apr 24, 2010)

  • initial public release

Requires: 2.3 or higher
Compatible up to: 4.6.2
Last Updated: 2 months ago
Active Installs: 10,000+

Ratings

3.4 out of 5 stars

Support

0 of 1 support threads in the last two months have been marked resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

67,3,2
0,1,0
50,6,3
100,1,1
100,1,1
0,1,0
100,1,1
0,1,0
100,1,1
100,1,1 100,1,1
100,1,1
100,1,1