Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

LH OGP Meta

Adds OGP and Facebook meta to your website

This plugin adds accurate Open Graph Meta tags and the facebook specific meta tags to your site. The idea is to keep minimal settings and options as to remain out of your way and in the background while still proving the options you need to share content flexibly. Without the bloat of some other plugins.

Image Handling

if the post page or CPT is singular it firstly look for the OGP image specified on the post edit screen image. It will then look for the featured image. If that isn't there either, then it will default to using the site icon image (usually set under Appearanace->Customiser. If THAT isn't there then... well you fail and you won't have an image.

Description Handling

The plugin looks in three places for an Open Graph description.

  1. The OGP description in the sidebar
  2. if the above is not specified it will try to use the post excerpt.
  3. If the abaove arent specified it will use the post content (stripped of invalid tags).

Testing Your Site

Once you've enabled the plugin head over to Facebook's testing tool and paste in one of your post/page url's or your home page to see what info Facebook is pulling in. This tool is located here: https://developers.facebook.com/tools/debug

Check out our documentation for more information.

All tickets for the project are being tracked on GitHub.

Features:

  • Select a post image specifically for sharing
  • Handles Facebook specific meta like fb:admins and fb:app_id
  • maps different users to different article:author properties
  • Automatic generation of the description or add a custom description
Author Peter Shaw
Profile
Contributors shawfactor
Tags Facebook, facebook like, facebook meta, Facebook Open Graph, facebook share, ogp, open graph, open graph meta
  1. Upload the entire lh-ogp-meta-tags folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Optionally navigate to Settings->LH OGP Meta and set the image and optionally, the facebook meta
  4. Optionally navigate to the User profile page and add the users facebook url.

1.0 September 08, 2015
Initial release.

1.1 September 17, 2015
Add settings link

1.2 November 7, 2015
Fixed JS

1.32 March 7, 2016
Added custom description

1.40 March 10, 2016
Use Site Icon

1.50 March 28, 2016
Major bug fix

1.51 April 02, 2016
Documentation

1.60 April 18, 2016 complete OOP rewrite

1.62 April 19, 2016
Bug Fix

1.63 May 12, 2016
Escape Attribute and sanitize

1.64 October 10, 2016
Added AMP check for xmlns output

1.66 October 12, 2016
Bugfix for amp check

Share  
Download
Version 1.66

Requires WordPress version: 3.0. or higher

Compatible up to: 4.5.6

Last Updated 14 Oct 2016

Date Added: 17 Sep 2015

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

4.5 stars
2 ratings
1,119 downloads

Compatibility

Not Enough Data

Reports:
Works: 0
Broken: 0