WordPress.org

Plugin Directory

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

NextGEN Facebook - Social Meta Tags for Facebook, Google, Pinterest, Twitter & More

Complete meta tags for the best looking shares on Facebook, Google, Pinterest, Twitter, etc - no matter how your webpage is shared!

New versions of the plugin are released approximately every week (more or less). New features are added, tested, and released incrementally, instead of grouping them together in a major version release. When minor bugs fixes and/or code improvements are applied, new versions are also released. This release schedule keeps the code stable and reliable, at the cost of more frequent updates.

See release early, release often (RERO) software development philosophy on Wikipedia for more information on the benefits of smaller / more frequent releases.

Free / Basic Version Repository

Version Numbering Scheme

Version components: {major}.{minor}.{bugfix}-{stage}{level}

  • {major} = Major code changes / re-writes or significant feature changes.
  • {minor} = New features / options were added or improved.
  • {bugfix} = Bugfixes or minor improvements.
  • {stage}{level} = dev < a (alpha) < b (beta) < rc (release candidate) < # (production).

Note that the production stage level can be incremented on occasion for simple text revisions and/or translation updates. See PHP's version_compare() documentation for additional information on "PHP-standardized" version numbering.

Changelog / Release Notes

Version 8.39.1-rc1 (2017/01/20)

  • New Features
    • None
  • Improvements
    • Improved the loading speed of editing table column content (NGFB Schema, NGFB Img, and NGFB Desc columns).
    • Refactored the set_force_regen() and is_force_regen() methods to use a single transient array (to reduce the number of transient queries).
  • Bugfixes
    • Added a missing user ID argument when getting the user object in the SucomWebpage get_description() method.
    • Updated delete_expired_db_transients() to remove transients without expiration times.
    • Fixed use of a thumbnail image in the NGFB Img column instead of the original Open Graph og:image.
  • Developer Notes
    • Added a new is_force_regen() method in the NgfbUtil class to check if the forced regen transient is set, along with a set_force_regen() method to set the transient, and get_force_regen_key() to determine the array key ID.
    • Added a new is_post_exists() static method in the SucomUtil class to check if a post ID exists or not.
    • Added support for post ID checking in the is_post_page() method in the SucomUtil class.
    • Renamed the 'schema_id' sortable column and meta name to 'schema_type' (including related filter hooks).
    • Replaced column content creation filters / methods by 'get_{post|term|user}_metadata' filter hooks to return pre-generated custom meta values instead.
    • Removed the 'ngfb_cache_expire_column_content' filter (a transient is no longer required for column content).

Version 8.39.0-1 (2017/01/13)

  • New Features
    • Added a new "Add NGFB Schema Column in" option (for posts / pages, terms, and users) in the NGFB Advanced settings page (enabled by default).
  • Improvements
    • None
  • Bugfixes
    • None
  • Developer Notes
    • Added a new SucomUtil get_dashicons() static method to retrieve a sorted/unsorted dashicons array.
    • Re-added code to support the Yoast_Notification_Center class from older Yoast SEO versions.

Version 8.38.3-1 (2017/01/08)

  • New Features
    • None
  • Improvements
    • Added both parent and child theme header template files to the head HTML element attributes check.
    • The extensions listed on the "Extension Plugins and Pro Licenses" settings page are now sorted by name.
  • Bugfixes
    • None
  • Developer Notes
    • Refactored the SucomUtil is_https() method and added a check for proxy / load-balancing 'HTTP_X_FORWARDED_PROTO' and 'HTTP_X_FORWARDED_SSL' web server variables.
    • Refactored the SucomUtil get_prot() method to support the FORCE_SSL and FORCE_SSL_ADMIN constants.

Version 8.38.2-1 (2017/01/02)

  • New Features
    • None
  • Improvements
    • Added a new "Honor the FORCE_SSL Constant" option on the Advanced settings page.
  • Bugfixes
    • None
  • Developer Notes
    • Added a check and action hook to honor the FORCE_SSL constant on the front-end.

Version 8.38.1-1 (2016/12/28)

  • New Features
    • None
  • Improvements
    • The "Read Yoast SEO Custom Meta" option is now enabled by default, if the Yoast SEO plugin is active or its settings are found in the database, otherwise it is disabled by default (Pro version).
  • Bugfixes
    • None
  • Developer Notes
    • Added a new NgfbFilters class to centralize 3rd party plugin filter hooks.
    • Added a new NgfbUtil get_canonical_url() method specifically for the canonical meta tag.
    • Added a new 'ngfb_canonical_url' filter to allow filtering of canonical and sharing URLs separately.

Version 8.38.0-1 (2016/12/24)

  • New Features
    • Added a new "Read Yoast SEO Social Meta" option for Yoast SEO users under the NGFB > Advanced > Social / Custom Meta tab (Pro version).
    • Added a new "Custom Facebook Locale" option in the NGFB > General settings page to customize the WordPress locale value for Facebook.
  • Improvements
    • Removed the "Verify Peer SSL Certificate" option as this feature should always be enabled anyway.
  • Bugfixes
    • Fixed fetching of image size for a custom Schema image URL.
  • Developer Notes
    • Removed the share/curl/ca-bundle.crt file to use the wordpress/wp-includes/certificates/ca-bundle.crt file instead.
    • Added a check for positive numbers when adding Schema image size properties.

Version 8.37.8-1 (2016/12/12)

  • New Features
    • None
  • Improvements
    • None
  • Bugfixes
    • Fixed the Reddit button title by adding the title non-encoded.
  • Developer Notes
    • Renamed the NGFB_OPTIONS_#_* multisite single-option constants to NGFB_ID_#_OPT_* and optimized their checks.
    • Added a new SucomUtil explode_csv() static method to explode and trim CSV strings.

Version 8.37.7-1 (2016/12/08)

  • New Features
    • None
  • Improvements
    • Added support for the new get_user_locale() function in WordPress v4.7.
    • Updated the Facebook share button with latest Facebook options (see https://developers.facebook.com/docs/plugins/share-button for details).
      • Markup Language
      • Button Layout
      • Button Size
      • Mobile iFrame
    • Removed the Facebook "Default Content Language" option from the Essential and General settings pages (not required for the og:locale value).
  • Bugfixes
    • Fixed the "Click here update header templates automatically" URL in the notice message.
  • Developer Notes
    • None

Version 8.37.6-3 (2016/12/05)

  • New Features
    • None
  • Improvements
    • Optimized wp_cache and transient caching for multilingual sites.
    • Added new Schema meta tags:
      • alternatename
      • email
      • telephone
      • currenciesaccepted
      • paymentaccepted
      • pricerange
      • preptime
      • cooktime
  • Bugfixes
    • Fixed the sharing URL value for BuddyPress users (Pro version).
  • Developer Notes
    • Added an SucomUtil update_transient_array() method to update transient arrays and keep the original transient expiration time.
    • Added a new 'ngfb_json_prop_https_schema_org_potentialaction' filter.
    • Removed $locale argument from SucomUtil get_mod_salt() calls.

Version 8.37.5-1 (2016/11/28)

  • New Features
    • None
  • Improvements
    • None
  • Bugfixes
    • Fixed BuddyPress user page detection when current object is a post (Pro version).
  • Developer Notes
    • Added extra debugging messages in the BuddyPress user class methods (Pro version).

Version 8.37.4-1 (2016/11/25)

  • New Features
    • None
  • Improvements
    • None
  • Bugfixes
    • Fixed an incorrect variable name in the WhatsApp class which prevented the button HTML from being added.
    • Fixed the Tumblr caption, title, and description attribute values that were being added without being properly encoded.
  • Developer Notes
    • Added a check for 'manage_options' permission before checking for outdated WP / PHP versions and duplicate post meta tags.
    • Removed a call to stripslashes() when saving HTML / CSS / JS code.
    • Refactored the Twitter button class to use the $mod variable instead of the global $post.
    • Renamed the 'buttons_use_social_css' option key to 'buttons_use_social_style'.
    • Renamed the 'buttons_enqueue_social_css' option key to 'buttons_enqueue_social_style'.

Version 8.37.3-1 (2016/11/17)

  • New Features
    • None
  • Improvements
    • Updated the "Plugin Setup Guide and Notes".
    • Updated hard minimum and recommended minimum WordPress and PHP versions.
    • Added a "Reference URL" link to notice messages when generating the head meta tag array.
  • Bugfixes
    • None
  • Developer Notes
    • Added a sharing URL argument to the SucomUtil get_mod_salt() method for cases where the $mod id is false.
    • Renamed the 'ngfb_json_array_schema_type_ids' filter to 'ngfb_json_array_schema_page_type_ids' to emulate the $page_type_id variable name.
    • Removed the deprecated $use_post argument from the get_array() methods for the Open Graph, Twitter Card, and Weibo classes.

Version 8.37.2-1 (2016/11/12)

  • New Features
    • None
  • Improvements
    • Added an "Item Type for Blog Home Page" option for non-static home pages.
    • Simplified the Schema mainEntityOfPage markup property by using a URL instead of an @id.
  • Bugfixes
    • None
  • Developer Notes
    • Refactored the NgfbSchema class to provide a public get_json_data() method for other classes.
    • Added NgfbPost get_posts(), NgfbTerm get_posts(), and NgfbUser get_posts() methods.
    • Added a NgfbMeta get_posts_mods() method to return $mod arrays for all posts in the current archive page.
    • Added a NgfbSchema get_json_data() method used by get_json_array() in the same class.
    • Renamed the NgfbSchema get_head_item_type() method to get_mod_schema_type().
    • Renamed the NgfbSchema get_item_type_context() method to get_schema_type_context().

Version 8.37.0-1 (2016/11/04)

  • New Features
    • Replaced the Object Cache Expiry option with new options for finer control of caching features.
      • Head Markup Array Cache Expiry (default 3 days).
      • Shortened URL Cache Expiry (default 1 week).
      • List Column Content Cache Expiry (default 1 week).
      • Filtered Content Text Cache Expiry (default 1 hour).
      • Get Image (URL) Size Cache Expiry (default 1 day).
      • Article Topics Array Cache Expiry (default 4 weeks).
      • Schema Types Array Cache Expiry (default 4 weeks).
      • Sharing Buttons Cache Expiry (default 1 week).
  • Improvements
    • Replaced the "Social File Cache Expiry" drop-down (in hours) with an input field (in seconds).
  • Bugfixes
    • Fixed the SucomUtil get_first_last_next_nums() method, which was not returning a correct 'next' number for single element arrays.
  • Developer Notes
    • Refactored the NgfbShortcodeSharing and NgfbWidgetSharing classes to optimize caching performance.
    • Refactored the ngfb_get_sharing_buttons() function to optimize caching performance.
    • Added a new NgfbSharing get_buttons_cache_index() method to cache social sharing buttons HTML as array elements. This optimizes the cache by storing one transient instead of one transient per social sharing buttons location within the same webpage.
    • Refactored the NgfbSchema get_json_array() method for a slight performance improvement.
    • Added https://schema.org/Thing to the Schema Types array (as top-level parent for all other Schema types).
    • Replaced the $user_id argument in all JSON data and property filters by the Schema $type_id.
    • Renamed the 'ngfb_json_data_https_schema_org' filter to 'ngfb_json_data_https_schema_org_thing'.
    • Renamed the 'ngfb_json_array_type_ids' filter to 'ngfb_json_array_schema_type_ids'.
    • Removed the 'ngfb_add_json_https_schema_org' filter.
    • Renamed the 'ngfb_shortcode_ngfb' filter to 'ngfb_sharing_shortcode_ngfb'.
    • Renamed the NGFB_META_TAGS_DISABLE contant to NGFB_HEAD_HTML_DISABLE.
    • Renamed the NGFB_SHARING_SHORTCODE contant to NGFB_SHARING_SHORTCODE_NAME.
    • Removed the NGFB_TRANSIENT_CACHE_DISABLE, NGFB_OBJECT_CACHE_DISABLE and NGFB_FILE_CACHE_DISABLE constants.
    • Added several new filters to adjust transient / object cache expiration:
      • 'ngfb_cache_expire_article_topics' ( $secs );
      • 'ngfb_cache_expire_column_content' ( $secs );
      • 'ngfb_cache_expire_content_text' ( $secs );
      • 'ngfb_cache_expire_head_array' ( $secs );
      • 'ngfb_cache_expire_image_url_size' ( $secs );
      • 'ngfb_cache_expire_schema_types' ( $secs );
      • 'ngfb_cache_expire_sharing_buttons' ( $secs );
      • 'ngfb_cache_expire_shorten_url' ( $secs ); // Pro version
      • 'ngfb_cache_expire_social_file' ( $secs );

Version 8.36.3-2 (2016/10/23)

  • New Features
    • None
  • Improvements
    • None
  • Bugfixes
    • Fixed HTML table syntax in the Tumblr settings metabox.
  • Developer Notes
    • Minimum requirements updated to WP v3.5 and PHP v5.4.
    • Renamed the Social Settings 'header' index name to 'text'.
    • Renamed the 'wpsso_admin_post_header' filter to 'wpsso_admin_post_head'.
    • Renamed the NgfbHead get_header_array() method to get_head_array().
    • Added a new NgfbHead get_head_index() method to cache meta tags as array elements. This optimizes the head meta transient cache for Pinterest by storing 1 transient instead of 2.

Version 8.36.2-1 (2016/10/17)

  • New Features
    • None
  • Improvements
    • Changed all http://surniaulula.com/ URLs to https.
    • Added transient caching of results when fetching size information for image URLs.
  • Bugfixes
    • None
  • Developer Notes
    • None

Version 8.36.0-1 (2016/10/15)

  • New Features
    • Added new Item Type options under the Google / Schema tab in the General settings page:
    • Added a "Validate AMP Markup" button under the Social Settings metabox Validate tab for the AMP Validator.
    • Added a "Validate HTML Markup" button under the Social Settings metabox Validate tab for the W3C Markup Validation service.
    • Added a configurable length warning for the Open Graph description textarea (defaults is 300 characters hard limit, and 200 characters soft limit).
  • Improvements
    • Added the https://schema.org/WebPage sub-types in the plugin config schema_type array (AboutPage, CheckoutPage, CollectionPage, ContactPage, ItemPage, ProfilePage, QAPage, and SearchResultsPage).
  • Bugfixes
    • Fixed getting the term object (category and tags) when no term ID is provided to the SucomUtil get_term_object() method.
    • Removed the Open Graph namespace from the HTML tag attributes when using the AMP plugin.
  • Developer Notes
    • Removed the NGFB_DEFAULT_AUTHOR_OPTIONS constant, and all associated default author options.
    • Renamed all http://schema.org URLs to https://schema.org and all http_schema_org filters to https_schema_org.

Requires: 3.7 or higher
Compatible up to: 4.7.1
Last Updated: 10 hours ago
Active Installs: 10,000+

Ratings

4.3 out of 5 stars

Support

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

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 100,2,2 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,2,2 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 50,2,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1 100,3,3 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,2,2
100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 50,2,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 50,2,1 100,1,1 50,2,1 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 50,2,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,2,2 100,1,1 100,1,1 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,2,2 100,1,1 100,1,1 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 75,4,3 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 50,2,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 50,2,1 50,2,1 100,1,1 50,2,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 50,2,1
50,2,1 100,1,1
0,1,0 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
50,2,1 100,1,1 100,1,1 100,1,1 50,2,1 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 50,2,1 100,1,1 33,3,1 33,3,1 50,2,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1
100,1,1 100,1,1 100,1,1 50,2,1 100,1,1 100,2,2 100,2,2 100,1,1 100,1,1
100,1,1 100,1,1 100,2,2 100,1,1 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,3,3 100,1,1 67,3,2 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 50,2,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,2,2 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1