Open Graph for Facebook, Google+ and Twitter Card Tags - Version 1.7.1

Version Description

  • Added the fb_og_url filter so that plugins or themes can override the Open Graph URL
Download this release

Release Info

Developer webdados
Plugin Icon Open Graph for Facebook, Google+ and Twitter Card Tags
Version 1.7.1
Comparing to
See all releases

Code changes from version 1.7 to 1.7.1

Files changed (2) hide show
  1. readme.txt +7 -4
  2. wonderm00n-open-graph.php +4 -3
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: webdados, wonderm00n
3
  Donate link: http://blog.wonderm00n.com/2011/10/14/wordpress-plugin-simple-facebook-open-graph-tags/
4
  Tags: facebook, open graph, open graph protocol, share, social, meta, rss, twitter card, twitter, schema, google+, g+, google, google plus, image, like, seo, search engine optimization, woocommerce, yoast seo, subheading, php7
5
- Requires at least: 3.5
6
- Tested up to: 4.4
7
- Stable tag: 1.7
8
  Inserts Facebook Open Graph, Google+/Schema.org, Twitter and other Meta Tags into your WordPress Website for more efficient sharing results.
9
 
10
  == Description ==
@@ -99,7 +99,7 @@ If this is not a new post and it's not the first time you're saving it, and if t
99
  = Can this plugin get content from "random plugin"? =
100
 
101
  If there's a popular plugin you think we could get content from to use on the meta tags, use the support forum to tell us that.
102
- If you are a plugin or theme author you can always use our filters `fb_og_title`, `fb_og_desc`, `fb_og_image`, `fb_og_image_additional` and `fb_og_locale` to customize the Open Graph (and other) meta tags output.
103
 
104
  = Do you provide email support? =
105
 
@@ -109,6 +109,9 @@ We DO NOT provide email support for this plugin. If you send us an email asking
109
 
110
  == Changelog ==
111
 
 
 
 
112
  = 1.7 =
113
  * WordPress 4.4, WooCommerce 2.4.12 and PHP 7 compatibility check - All good!
114
  * NEW WooCommerce integration: Category thumbnail images and additional product images as Open Graph Images
2
  Contributors: webdados, wonderm00n
3
  Donate link: http://blog.wonderm00n.com/2011/10/14/wordpress-plugin-simple-facebook-open-graph-tags/
4
  Tags: facebook, open graph, open graph protocol, share, social, meta, rss, twitter card, twitter, schema, google+, g+, google, google plus, image, like, seo, search engine optimization, woocommerce, yoast seo, subheading, php7
5
+ Requires at least: 4.0
6
+ Tested up to: 4.4.2
7
+ Stable tag: 1.7.1
8
  Inserts Facebook Open Graph, Google+/Schema.org, Twitter and other Meta Tags into your WordPress Website for more efficient sharing results.
9
 
10
  == Description ==
99
  = Can this plugin get content from "random plugin"? =
100
 
101
  If there's a popular plugin you think we could get content from to use on the meta tags, use the support forum to tell us that.
102
+ If you are a plugin or theme author you can always use our filters `fb_og_title`, `fb_og_desc`, `fb_og_url`, `fb_og_image`, `fb_og_image_additional` and `fb_og_locale` to customize the Open Graph (and other) meta tags output.
103
 
104
  = Do you provide email support? =
105
 
109
 
110
  == Changelog ==
111
 
112
+ = 1.7.1 =
113
+ - Added the fb_og_url filter so that plugins or themes can override the Open Graph URL
114
+
115
  = 1.7 =
116
  * WordPress 4.4, WooCommerce 2.4.12 and PHP 7 compatibility check - All good!
117
  * NEW WooCommerce integration: Category thumbnail images and additional product images as Open Graph Images
wonderm00n-open-graph.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /**
3
  * @package Facebook Open Graph, Google+ and Twitter Card Tags
4
- * @version 1.7
5
  */
6
  /*
7
  Plugin Name: Facebook Open Graph, Google+ and Twitter Card Tags
8
  Plugin URI: http://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/
9
  Description: Inserts Facebook Open Graph, Google+ / Schema.org and Twitter Card Tags into your WordPress Blog/Website for more effective and efficient Facebook, Google+ and Twitter sharing results. You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and twitterfeed post the image to Facebook correctly.
10
- Version: 1.7
11
  Author: Webdados
12
  Author URI: http://www.webdados.pt
13
  Text Domain: wd-fb-og
@@ -16,7 +16,7 @@ Domain Path: /lang
16
 
17
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
18
 
19
- $webdados_fb_open_graph_plugin_version='1.7';
20
  $webdados_fb_open_graph_plugin_name='Facebook Open Graph, Google+ and Twitter Card Tags';
21
  $webdados_fb_open_graph_plugin_settings=array(
22
  'fb_app_id_show',
@@ -387,6 +387,7 @@ function webdados_fb_open_graph() {
387
  $fb_title = apply_filters('fb_og_title', $fb_title);
388
  $fb_desc = apply_filters('fb_og_desc', $fb_desc);
389
  $fb_image = apply_filters('fb_og_image', $fb_image);
 
390
  $fb_image_additional = apply_filters('fb_og_image_additional', $fb_image_additional);
391
  $fb_locale = apply_filters('fb_og_locale', $fb_locale);
392
  $fb_image_size = false;
1
  <?php
2
  /**
3
  * @package Facebook Open Graph, Google+ and Twitter Card Tags
4
+ * @version 1.7.1
5
  */
6
  /*
7
  Plugin Name: Facebook Open Graph, Google+ and Twitter Card Tags
8
  Plugin URI: http://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/
9
  Description: Inserts Facebook Open Graph, Google+ / Schema.org and Twitter Card Tags into your WordPress Blog/Website for more effective and efficient Facebook, Google+ and Twitter sharing results. You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and twitterfeed post the image to Facebook correctly.
10
+ Version: 1.7.1
11
  Author: Webdados
12
  Author URI: http://www.webdados.pt
13
  Text Domain: wd-fb-og
16
 
17
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
18
 
19
+ $webdados_fb_open_graph_plugin_version='1.7.1';
20
  $webdados_fb_open_graph_plugin_name='Facebook Open Graph, Google+ and Twitter Card Tags';
21
  $webdados_fb_open_graph_plugin_settings=array(
22
  'fb_app_id_show',
387
  $fb_title = apply_filters('fb_og_title', $fb_title);
388
  $fb_desc = apply_filters('fb_og_desc', $fb_desc);
389
  $fb_image = apply_filters('fb_og_image', $fb_image);
390
+ $fb_url = apply_filters('fb_og_url', $fb_url);
391
  $fb_image_additional = apply_filters('fb_og_image_additional', $fb_image_additional);
392
  $fb_locale = apply_filters('fb_og_locale', $fb_locale);
393
  $fb_image_size = false;