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

Version Description

  • Fix: a debug var_dump was left uncommented
  • readme.txt adjustments
Download this release

Release Info

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

Code changes from version 1.1 to 1.1.1

Files changed (2) hide show
  1. readme.txt +29 -19
  2. wonderm00n-open-graph.php +3 -4
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://blog.wonderm00n.com/2011/10/14/wordpress-plugin-simple-faceb
4
  Tags: facebook, open graph, open graph protocol, seo, share, social, meta, schema, google+, g+, google, google plus, image, like, meta, search engine optimization
5
  Requires at least: 3.5
6
  Tested up to: 3.7.1
7
- Stable tag: 1.1
8
 
9
  This plugin inserts Facebook Open Graph, Google+/Schema.org and other Meta Tags into your WordPress Website for more efficient sharing results.
10
 
@@ -18,29 +18,35 @@ You can also choose to insert the "enclosure" and "media:content" tags to the RS
18
 
19
  It allows the user to choose which tags are, or not, included and also the default image if the post/page doesn't have one.
20
 
21
- The Facebook Open Graph Tags that this plugin inserts are:
22
 
23
- * **fb:app_id** : From settings on the options screen.
24
- * **fb:admins** : From settings on the options screen.
25
- * **og:locale** : From Wordpress locale or chosen by the user.
26
- * **og:site_name** : From blog title.
27
- * **og:title** : From post/page/archive/tag/... title.
28
- * **og:url** : From the post/page permalink.
29
- * **og:type** : "website" or "blog" for the homepage and "article" for all the others.
30
- * **og:description** : From post/page excerpt if it exist, or from post/page content. From category/tag description on it's pages, if it exist. From tagline, or custom text, on all the others.
31
- * **og:image** : From a specific custom field of the post/page, or if not set from the post/page featured/thumbnail image, or if it doesn't exist from the first image in the post content, or if it doesn't exist from the first image on the post media gallery, or if it doesn't exist from the default image defined on the options menu. The same image chosen here will be used and enclosure/media:content on the RSS feed.
32
 
33
- The Schema.org Tags that this plugin inserts are:
34
 
35
- * **name** : Same as "og:title".
36
- * **description** : Same as "og:description".
37
- * **image** : Same as "og:image".
38
 
39
- Other Tags:
40
 
41
- * **meta description** : Same as "og:description".
42
- * **enclosure** : On RSS feeds, same as "og:image".
43
- * **media:content** : On RSS feeds, same as "og:image".
 
 
 
 
 
 
44
 
45
 
46
  == Installation ==
@@ -51,6 +57,10 @@ Other Tags:
51
 
52
  == Changelog ==
53
 
 
 
 
 
54
  = 1.1 =
55
 
56
  * WordPress SEO by Yoast integration: title, url (canonical) and description can now be fetched from this very popular SEO plugin
4
  Tags: facebook, open graph, open graph protocol, seo, share, social, meta, schema, google+, g+, google, google plus, image, like, meta, search engine optimization
5
  Requires at least: 3.5
6
  Tested up to: 3.7.1
7
+ Stable tag: 1.1.1
8
 
9
  This plugin inserts Facebook Open Graph, Google+/Schema.org and other Meta Tags into your WordPress Website for more efficient sharing results.
10
 
18
 
19
  It allows the user to choose which tags are, or not, included and also the default image if the post/page doesn't have one.
20
 
21
+ = The Facebook Open Graph Tags that this plugin inserts are: =
22
 
23
+ * **fb:app_id**: From settings on the options screen.
24
+ * **fb:admins**: From settings on the options screen.
25
+ * **og:locale**: From Wordpress locale or chosen by the user.
26
+ * **og:site_name**: From blog title.
27
+ * **og:title**: From post/page/archive/tag/... title.
28
+ * **og:url**: From the post/page permalink.
29
+ * **og:type**: "website" or "blog" for the homepage and "article" for all the others.
30
+ * **og:description**: From post/page excerpt if it exist, or from post/page content. From category/tag description on it's pages, if it exist. From tagline, or custom text, on all the others.
31
+ * **og:image**: From a specific custom field of the post/page, or if not set from the post/page featured/thumbnail image, or if it doesn't exist from the first image in the post content, or if it doesn't exist from the first image on the post media gallery, or if it doesn't exist from the default image defined on the options menu. The same image chosen here will be used and enclosure/media:content on the RSS feed.
32
 
33
+ = The Schema.org Tags that this plugin inserts are: =
34
 
35
+ * **name**: Same as "og:title".
36
+ * **description**: Same as "og:description".
37
+ * **image**: Same as "og:image".
38
 
39
+ = Other Tags: =
40
 
41
+ * **meta description**: Same as "og:description".
42
+ * **enclosure**: On RSS feeds, same as "og:image".
43
+ * **media:content**: On RSS feeds, same as "og:image".
44
+
45
+ = 3rd Party Integration: =
46
+
47
+ * **[WordPress SEO by Yoast](http://wordpress.org/plugins/wordpress-seo/)**: Allows you to use title, url (canonical) and description from WPSEO plugin.
48
+ * **[SubHeading](http://wordpress.org/extend/plugins/subheading/)**: Add the SubHeading to the post/page title.
49
+ * **[Business Directory Plugin](http://wordpress.org/extend/plugins/business-directory-plugin/)**: Allows you to use BDP listing contents as Open Graph Tags.
50
 
51
 
52
  == Installation ==
57
 
58
  == Changelog ==
59
 
60
+ = 1.1.1 =
61
+ * Fix: a debug var_dump was left uncommented
62
+ * readme.txt adjustments
63
+
64
  = 1.1 =
65
 
66
  * WordPress SEO by Yoast integration: title, url (canonical) and description can now be fetched from this very popular SEO plugin
wonderm00n-open-graph.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /**
3
  * @package Facebook Open Graph Meta Tags for WordPress
4
- * @version 1.1
5
  */
6
  /*
7
  Plugin Name: Facebook Open Graph Meta Tags for WordPress
8
  Plugin URI: http://blog.wonderm00n.com/2011/10/14/wordpress-plugin-simple-facebook-open-graph-tags/
9
  Description: This plugin (formerly known as "Wonderm00n's Simple Facebook Open Graph Meta Tags") inserts Facebook Open Graph Tags into your WordPress Blog/Website for more effective and efficient Facebook sharing results. It also allows you to add the Meta Description tag and Schema.org Name, Description and Image tags for more effective and efficient Google+ 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.1
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
- $wonderm00n_open_graph_plugin_version='1.1';
20
  $wonderm00n_open_graph_plugin_settings=array(
21
  'fb_app_id_show',
22
  'fb_app_id',
@@ -250,7 +250,6 @@ function wonderm00n_open_graph() {
250
  if (trim($fb_desc)=='') $fb_desc=$fb_title;
251
 
252
  //YOAST?
253
- var_dump($fb_show_wpseoyoast);
254
  if ($fb_show_wpseoyoast==1) {
255
  if ( defined('WPSEO_VERSION') ) {
256
  $wpseo = new WPSEO_Frontend();
1
  <?php
2
  /**
3
  * @package Facebook Open Graph Meta Tags for WordPress
4
+ * @version 1.1.1
5
  */
6
  /*
7
  Plugin Name: Facebook Open Graph Meta Tags for WordPress
8
  Plugin URI: http://blog.wonderm00n.com/2011/10/14/wordpress-plugin-simple-facebook-open-graph-tags/
9
  Description: This plugin (formerly known as "Wonderm00n's Simple Facebook Open Graph Meta Tags") inserts Facebook Open Graph Tags into your WordPress Blog/Website for more effective and efficient Facebook sharing results. It also allows you to add the Meta Description tag and Schema.org Name, Description and Image tags for more effective and efficient Google+ 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.1.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
+ $wonderm00n_open_graph_plugin_version='1.1.1';
20
  $wonderm00n_open_graph_plugin_settings=array(
21
  'fb_app_id_show',
22
  'fb_app_id',
250
  if (trim($fb_desc)=='') $fb_desc=$fb_title;
251
 
252
  //YOAST?
 
253
  if ($fb_show_wpseoyoast==1) {
254
  if ( defined('WPSEO_VERSION') ) {
255
  $wpseo = new WPSEO_Frontend();