Version Description
- Fixed a PHP Notice on the upgrade routine (Thanks @jluisfreitas)
- Updated FAQs
Download this release
Release Info
Developer | webdados |
Plugin | Open Graph for Facebook, Google+ and Twitter Card Tags |
Version | 2.0.1 |
Comparing to | |
See all releases |
Code changes from version 2.0 to 2.0.1
- includes/class-webdados-fb-open-graph.php +2 -2
- readme.txt +12 -4
- wonderm00n-open-graph.php +5 -4
includes/class-webdados-fb-open-graph.php
CHANGED
@@ -245,7 +245,7 @@ class Webdados_FB {
|
|
245 |
public function update_db_check() {
|
246 |
$upgrade = false;
|
247 |
//Upgrade from 0.5.4 - Last version with individual settings
|
248 |
-
if ( !$v=get_option('wonderm00n_open_graph_version') ) {
|
249 |
//No version because it's a new install or because it's 0.5.4 or less?
|
250 |
if ( $this->version <= '0.5.4' ) {
|
251 |
|
@@ -255,7 +255,7 @@ class Webdados_FB {
|
|
255 |
update_option( 'wonderm00n_open_graph_settings', $this->options );
|
256 |
}
|
257 |
} else {
|
258 |
-
if ( $v
|
259 |
//Any version upgrade
|
260 |
$upgrade=true;
|
261 |
//We should do any upgrade we need, right here
|
245 |
public function update_db_check() {
|
246 |
$upgrade = false;
|
247 |
//Upgrade from 0.5.4 - Last version with individual settings
|
248 |
+
if ( !$v = get_option('wonderm00n_open_graph_version') ) {
|
249 |
//No version because it's a new install or because it's 0.5.4 or less?
|
250 |
if ( $this->version <= '0.5.4' ) {
|
251 |
|
255 |
update_option( 'wonderm00n_open_graph_settings', $this->options );
|
256 |
}
|
257 |
} else {
|
258 |
+
if ( $v < get_option('wonderm00n_open_graph_version')) {
|
259 |
//Any version upgrade
|
260 |
$upgrade=true;
|
261 |
//We should do any upgrade we need, right here
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Facebook Open Graph, Google+ and Twitter Card Tags ===
|
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.6.1
|
7 |
-
Stable tag: 2.0
|
8 |
Inserts Facebook Open Graph, Google+/Schema.org, Twitter and SEO Meta Tags into your WordPress Website for more efficient sharing results.
|
9 |
|
10 |
== Description ==
|
@@ -21,6 +21,8 @@ It allows the user to choose which tags are, or not, included and also the defau
|
|
21 |
|
22 |
BETA: It's also possible to add a overlay logo to the image. The plugin will resize and crop the original image to 1200x630 and then overlay the chosen 1200x630 PNG file over it. Can be usefull to add your brand to the image that shows up on Facebook shared links.
|
23 |
|
|
|
|
|
24 |
= The (Facebook) Open Graph Tags that this plugin inserts are: =
|
25 |
|
26 |
* **og:title**: From post/page/archive/tag/... title.
|
@@ -86,8 +88,10 @@ BETA: It's also possible to add a overlay logo to the image. The plugin will res
|
|
86 |
= Yoast SEO shows up a big nasty warning if both plugins are active. Is the world in danger if I keep both plugins active? =
|
87 |
|
88 |
No it isn't.
|
89 |
-
You can (and, in our opinion, you should) use both plugins. If you want to use Yoast SEO for your SEO needs and our plugin for social media meta tags you just have to go to
|
90 |
-
|
|
|
|
|
91 |
|
92 |
= Facebook is not showing up the correct image when I share a post. What can I do? =
|
93 |
|
@@ -117,6 +121,10 @@ We DO NOT provide email support for this plugin. If you send us an email asking
|
|
117 |
|
118 |
== Changelog ==
|
119 |
|
|
|
|
|
|
|
|
|
120 |
= 2.0 =
|
121 |
* We would like to thank Heateor, "a creative team with unique ideas in mind" (their words), for forking our plugin (although no credits whatsoever were made regarding our original work), and thus trully inspiring us to make this new version, using also their "unique" ideas, in the spirit of GPL, but giving them the deserved credit in the spirit of civism, integrity and the WordPress way of doing things
|
122 |
* Revised and optimized code with better WordPress standards and best practices
|
1 |
=== Facebook Open Graph, Google+ and Twitter Card Tags ===
|
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, wordpress seo, woocommerce, subheading, php7
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.6.1
|
7 |
+
Stable tag: 2.0.1
|
8 |
Inserts Facebook Open Graph, Google+/Schema.org, Twitter and SEO Meta Tags into your WordPress Website for more efficient sharing results.
|
9 |
|
10 |
== Description ==
|
21 |
|
22 |
BETA: It's also possible to add a overlay logo to the image. The plugin will resize and crop the original image to 1200x630 and then overlay the chosen 1200x630 PNG file over it. Can be usefull to add your brand to the image that shows up on Facebook shared links.
|
23 |
|
24 |
+
Our settings page is discreetly kept under "Options", as it should, instead of taking up premium sapce on the main menu bar with colored, non WordPress styled, icons.
|
25 |
+
|
26 |
= The (Facebook) Open Graph Tags that this plugin inserts are: =
|
27 |
|
28 |
* **og:title**: From post/page/archive/tag/... title.
|
88 |
= Yoast SEO shows up a big nasty warning if both plugins are active. Is the world in danger if I keep both plugins active? =
|
89 |
|
90 |
No it isn't.
|
91 |
+
You can (and, in our opinion, you should) use both plugins. If you want to use Yoast SEO for your SEO needs and our plugin for social media meta tags you just have to go to "SEO > Social" and disable settings for Facebook, Twitter and Google+.
|
92 |
+
If you don't find that option, because they've now made it harder to reach, you have to go to "SEO > Dashboard > Features > Advanced settings pages > choose Enabled and Save changes". Then you can reach "SEO > Social".
|
93 |
+
Then set up our plugin as you wish and you're ready to go.
|
94 |
+
We like to work with everybody, so (if you want to) our plugin can even integrate with Yoast SEO and use it's title, description and canonical URL on the Facebook, Google+ and Twitter tags.
|
95 |
|
96 |
= Facebook is not showing up the correct image when I share a post. What can I do? =
|
97 |
|
121 |
|
122 |
== Changelog ==
|
123 |
|
124 |
+
= 2.0.1 =
|
125 |
+
* Fixed a PHP Notice on the upgrade routine (Thanks @jluisfreitas)
|
126 |
+
* Updated FAQs
|
127 |
+
|
128 |
= 2.0 =
|
129 |
* We would like to thank Heateor, "a creative team with unique ideas in mind" (their words), for forking our plugin (although no credits whatsoever were made regarding our original work), and thus trully inspiring us to make this new version, using also their "unique" ideas, in the spirit of GPL, but giving them the deserved credit in the spirit of civism, integrity and the WordPress way of doing things
|
130 |
* Revised and optimized code with better WordPress standards and best practices
|
wonderm00n-open-graph.php
CHANGED
@@ -1,13 +1,14 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Facebook Open Graph, Google+ and Twitter Card Tags
|
4 |
-
* @version 2.0
|
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
|
10 |
-
|
|
|
11 |
Author: Webdados
|
12 |
Author URI: http://www.webdados.pt
|
13 |
Text Domain: wd-fb-og
|
@@ -16,7 +17,7 @@ Domain Path: /lang
|
|
16 |
|
17 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
18 |
|
19 |
-
define( 'WEBDADOS_FB_VERSION', '2.0' );
|
20 |
define( 'WEBDADOS_FB_PLUGIN_NAME', 'Facebook Open Graph, Google+ and Twitter Card Tags' );
|
21 |
define( 'WEBDADOS_FB_W', 1200 );
|
22 |
define( 'WEBDADOS_FB_H', 630 );
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Facebook Open Graph, Google+ and Twitter Card Tags
|
4 |
+
* @version 2.0.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, Twitter Card and SEO Meta 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 |
+
|
11 |
+
Version: 2.0.1
|
12 |
Author: Webdados
|
13 |
Author URI: http://www.webdados.pt
|
14 |
Text Domain: wd-fb-og
|
17 |
|
18 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
19 |
|
20 |
+
define( 'WEBDADOS_FB_VERSION', '2.0.1' );
|
21 |
define( 'WEBDADOS_FB_PLUGIN_NAME', 'Facebook Open Graph, Google+ and Twitter Card Tags' );
|
22 |
define( 'WEBDADOS_FB_W', 1200 );
|
23 |
define( 'WEBDADOS_FB_H', 630 );
|