NGFB Open Graph+ adds HTML tags (Open Graph, Pinterest Rich Pins, Twitter Cards) to the head section of WordPress webpages for improved Google Search results and sharing on Facebook, Google+, Twitter, LinkedIn, Pinterest, StumbleUpon, Tumblr and many more - An essential plugin for every WordPress website!
NGFB Open Graph+ adds Open Graph, Pinterest Rich Pins, Twitter Cards, and Search Engine Optimization HTML tags to the head section of webpages. These HTML tags are used by Google Search and most social websites to describe and display your content correctly (title, description, keyword tags, images, videos, product, author profile / authorship, publisher, etc.). See examples from Google Search, Facebook, Twitter, Pinterest, StumbleUpon, Tumblr, and others.
Watch more videos about NGFB Open Graph+ on Surnia Ulula's YouTube Channel.
NGFB Open Graph+ is a complete social sharing solution that uses the existing content of your webpages to build HTML meta tags - There's no need to manually enter / configure any additional values or settings (although many settings and options are available).
3rd Party Integration
Note that supporting code for 3rd party integration is only loaded if / when individual 3rd party plugins are detected - which keeps NGFB Open Graph+ much smaller than its feature set would suggest. ;-)
Images and Videos
NGFB Open Graph+ detects and uses all images, associated or included in your Post / Page content, embedded videos from YouTube, Vimeo, and Wistia (including preview images). NGFB Open Graph+ was specifically written to support albums, galleries and images from NextGEN Gallery v1.x and v2.x (shortcodes, image tags, album/gallery preview images, etc.), but also works just as well with the built-in WordPress Media Library (including WordPress galleries). NextGEN Gallery and Media Library images are resized appropriately for the Open Graph meta tags, the various Twitter Card formats, and sharing on Pinterest.
NGFB Open Graph+ (Pro version) integrates with WordPress SEO by Yoast and All in One SEO Pack, making sure your custom SEO settings are reflected in the Open Graph, Rich Pin, and Twitter Card meta tags.
NGFB Open Graph+ (Pro version) also supports WooCommerce v1.x and v2.x, MarketPress WordPress eCommerce and WP e-Commerce product pages, creating appropriate meta tags for Facebook Products, Twitter Product Cards and Pinterest Rich Pins, including variations and additional / custom images.
Forums and Social
NGFB Open Graph+ (Pro version) supports bbPress and BuddyPress (see the BuddyPress Integration Notes), making sure your meta tags reflect the page content, including appropriate titles, descriptions, images, etc. Social sharing buttons can also be added to bbPress single template pages and BuddyPress activities.
NGFB Open Graph+ comes with several social sharing buttons, that you can optionally include on Post / Page editing pages, above / below your content or excerpt, bbPress single pages, BuddyPress activity entries, as a widget, shortcode, or even a function call from your theme template(s). Each of the following social buttons can be enabled, configured, and styled individually:
- Tumblr (Links, Quotes, Images, Videos)
- Twitter (Summary, Large Image Summary, Photo, Gallery, Player and Product Cards)
The Facebook, Google+ and Twitter social buttons support multiple languages. A default language can be chosen in the NGFB Open Graph+ settings, and the Pro version switches the social button language with the webpage language (WordPress locale). NGFB Open Graph+ can also include hashtags, from WordPress and NextGEN Gallery tag names, in the Open Graph / Rich Pin description, tweet text, and social captions.
NGFB Open Graph+ (Pro version) allows you to customize the field names, label, and show / remove the following Contact Methods from the user profile page:
- Jabber / Google Talk
- Yahoo IM
NGFB Open Graph+ is fast and tuned for performance, and unlike most plugins, makes full use of all available caching techniques as well (persistent / non-persistent object and disk caching).
NGFB Open Graph+ only loads the libraries and object classes it needs, which keeps it much smaller and faster than most plugins.
Try the NGFB Open Graph+ plugin with complete confidence -- when uninstalled, NGFB Open Graph+ removes all traces of itself from the database (options, site options, user and post meta, transients, etc.).
NGFB Open Graph+ is actively being developed and supported. You can review the FAQ and Other Notes pages for additional setup information. If you have any suggestions or comments, post them to the WordPress support forum or the Pro version support website.
Upgrading to the Pro version is simple and easy -- click on the "Purchase the Pro Version" button located on any NGFB Open Graph+ settings page, purchase the plugin through Paypal, then receive an email with your Authentication ID and update the plugin from within WordPress (like a regular plugin update).
The Pro version license(s) can be assigned to the whole multisite network and/or to specific sites within the multisite network. Note that the default site / blog must be licensed to allow Pro version updates from the Network Admin interface.
Screenshot 1 : General Settings Page
Screenshot 2 : Advanced Settings Page
Screenshot 3 : Social Sharing Settings Page
Screenshot 4 : Social Styles Settings Page
Screenshot 5 : An Example Facebook Link Share
Screenshot 6 : An Example Facebook Video Share
Screenshot 7 : An Example Google+ Link Share
Screenshot 8 : An Example Google+ Video Share
Screenshot 9 : An Example Google Search Result showing Author Profile Info
Screenshot 10 : An Example LinkedIn Share
Screenshot 11 : An Example Pinterest Image Pin
Screenshot 12 : An Example StumbleUpon Share
Screenshot 13 : An Example Tumblr 'Link' Share
Screenshot 14 : An Example Tumblr 'Photo' Share
Screenshot 15 : An Example Tumblr 'Video' Share
Screenshot 16 : An Example Twitter 'Summary' Card
Screenshot 17 : An Example Twitter 'Large Image Summary' Card
Screenshot 18 : An Example Twitter 'Photo' Card
Screenshot 19 : An Example Twitter 'Gallery' Card
Screenshot 20 : An Example Twitter 'Product' Card from a WooCommerce Product Page
Version 6.17.0 adds support for BuddyPress (Pro version). Like all other 3rd party integration addons, the supporting code is only loaded if / when 3rd party plugins are detected, which keeps NGFB Open Graph+ much smaller than its feature set would suggest. ;-) Support for BuddyPress includes meta tags for member, group, and forum pages, along with optional social sharing buttons for activity entries. BuddyPress is not very well integrated with the WordPress core functions - please see the BuddyPress Integration notes for details on optimizing its configuration for NGFB Open Graph+.
- Added support for BuddyPress member, group and forum webpages, including social sharing buttons on individual activity entries (Pro version).
- Added support for social sharing buttons on bbPress single page templates (Pro version).
- Added a check for known SEO plugins, and if found, the "description" meta tag option will be disabled.
- Added a check for known eCommerce plugins, plus the default 'Product Card Default 2nd Attribute' option values, and if both are found, issue an informational message on the admin pages to change the default values.
- Modified the 'File Cache Expiry' option available values from 0-24 hours, to a selection of 0, 1, 3, 6, 9, 12, 24, 36, 48, 72, 168 hours.
- Renamed the 'ngfb_attached_images' filter to 'ngfb_attached_image_ids' (which is more accurate, and allows for additional filters with similar names).
- Fixed duplicate image detection in the content for gravatar images.
Version 6.16.2 has a few internal code improvements - specifically, standardizing the handling of HTML encoded and non-encoded strings. The detection of 3rd party plugins, and support for Wistia videos, has also been improved.
- Improved the management of html encoded and non-encoded strings internally. The
get_description()methods now return encoded strings. The
limit_text_length()method decodes and re-encodes the text after shortening. The 'ngfb_title', 'ngfb_description', and 'ngfb_caption' filters will now receive encoded strings.
- Improved the detection of 3rd party plugins for conflict and addon support checks by verifying loaded class/function names, plus the active plugins array from WordPress.
- Changed the Wistia v1 API call for the new oembed SEO API call (which doesn't need a password).
- Removed the 'Wistia API Password' option, which is no longer required for the API call.
NGFB Open Graph+ version 6.16.1 completes support for all Wistia video formats by adding recognition for the inline embed API / SEO and popover embed video formats. A new Sharing URL option has also been added to the Open Graph+ Custom Settings metabox on the Edit Post/Page admin pages. This option will reflect any changes made by WordPress SEO by Yoast, and allows you to customize the URL for tracking purposes – just make sure your modified custom URL functions correctly before publishing your Post / Page. ;-)
This release also includes two minor fixes – the onFocus and onBlur events in the Open Graph+ Custom Settings metabox was not working properly, and during an earlier code optimization / re-organization, two Pro addon classes – WordPress SEO and All-In-One SEO Pack - were left with incorrect class names.
Please note: If you use the ‘ngfb_sharing_url’ filter, the argument list for that filter has changed.
- Added support for Wistia inline embed API / SEO and popover embed video formats. (Pro version)
- Added a Sharing URL option to the Open Graph+ Custom Settings metabox. (Pro version)
- Added a fallback to using the custom Video URL as-is if the URL is not recognized / supported. (Pro Version)
- Added a check for enabled 'Preserve Settings on Uninstall' option, and if enabled, disable the 'Reset Settings on Activate' option.
- Removed the
NGFB_MIN_IMG_SIZE_DISABLEconstant (since an option exists for the same feature).
- Renamed the <img/> 'share' attribute to 'data-share-src'.
- Moved the options upgrade properies / methods to lib/upgrade.php (saving a few Kb of memory).
- Improved / optimized the loading of plugin and form settings when in the admin interface.
- Added error suppression when parsing HTML from Youtube.
- Fixed the Custom Settings onFocus / onBlur events character encoding for input fields (so the events work correctly with hastags).
- Fixed the All-In-One SEO Pack and WordPress SEO class names, which didn't match the plugin's configured class names (Pro version).
- Changed the 'ngfb_sharing_url' filter arguments from
( $url, $source_id )to
( $url, $use_post, $add_page, $source_id ).
- Fixed a small typo in the WordPress SEO addon (Pro version).
NGFB Open Graph+ (Pro version) now supports bbPress forums. Since bbPress content - as retrieved from WordPress - contains the whole page, including breadcrumbs, replies, etc., a specific addon was necessary to provide accurate descriptions. Support includes the main Forum index page, individual Forum pages, topics, topic tags, replies, and profile pages. This version also includes many changes to the code in order to accomodate the WordPress
get_queried_object() function. This was necessary to support broken themes that do not provide a
$post object for their custom post types.
- Added support for bbPress forums, topics, tags and profiles (Pro version).
- Fixed the Auto-Resize feature by adding the missing call to
wp_update_attachment_metadata()in order to save the new size information.
- Added a 'Site Description' option to customize the WordPress Tagline value (used as the description on the home index page).
- Renamed the 'URL Shortening' tab, on the Advanced settings page, to 'API Keys'.
- Added a 'Google URL Shortener API is On' option to validate that the service has been enabled in the Google Cloud Console.
- Added detection of Gravatar image URLs in the content text.
- Improved the
flush_post_cache()method to include wp_cache objects (which may be persistant).
- Improved the
get_sharing_url()method to provide more accurate canonical URLs.
- Improved the
reset_metabox_prefs()method reset only individual metaboxes, not the whole settings page.
- Added a new
ngfb_get_term_urlfilter for better WordPress SEO support (Pro version).
- Added new
ngfb_get_meta_defaultsfilters for the post meta options array (Pro version).
- Added a call to
wp_cache_add_non_persistent_groups()for the content object cache group (the content cache object does not need to be persistent).
- Modified several methods to try and use
get_queried_object()first, instead of the global $post object. This should circumvent broken themes that do not setup/create the global $post object properly.
- Moved the 'Add Page Title in Tags' and 'Add Page Ancestor Tags' options to the Title and Description tab.
- Replaced the
NGFB_WISTIA_API_PWDconstant with a 'Wistia API Password' option on the Advanced settings page.
- Added a fallback HTTP request for Youtube videos without a width and height (which is missing from their API).
- Renamed the
- Renamed the 'ngfb_short_url' filter to 'ngfb_shorten_url'.
- Added lib/pro/shorten.php which provides the
short()method and creates the NgfbGoogl and NgfbBitly class objects (Pro version).
Frequently Asked Questions
- Can I Share a Single Image on a Webpage?
- Can I use other social sharing buttons?
- Can I use the Pro version on multiple websites?
- Does LinkedIn read the Open Graph meta tags?
- Doesn’t an SEO plugin cover that?
- How can I exclude certain parts of the content text?
- How can I see what Facebook sees?
- How can I share a single NextGEN Gallery image?
- How do I attach an image without showing it on the webpage?
- How do I install the Pro version?
- How does NGFB Open Graph+ find images?
- W3C says “there is no attribute ‘property’”
- What about Google Search and Google Plus?
- What features of NextGEN Gallery v1.x and v2.x are supported?
- What is the difference between the GPL and Pro versions?
- Where do I start?
- Why aren’t Pins from my website posting Rich?
- Why do my Facebook shares have small images?
- Why does Facebook play videos instead of linking them?
- Why does the Facebook “Like” button flyout get clipped?
- Why does the plugin ignore the <img/> HTML tags?
- Why doesn’t Facebook show the correct image?
- Why doesn’t the Twitter count increase?
- Why don’t my Twitter Cards show on Twitter?
- Why is the Open Graph title the same for every webpage?