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

Version Description

  • NEW WooCommerce Brands integration: Uses the Brand thumbnail image if the "Use Category thumbnail as Image" option is enabled
Download this release

Release Info

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

Code changes from version 2.2.1 to 2.2.2

admin/options-page-3rdparty.php CHANGED
@@ -189,6 +189,8 @@ global $webdados_fb;
189
  <tr>
190
  <td colspan="2" class="info">
191
  - <?php _e('Recommended if you set large thumbnails for Product Categories and want to use them as Open Graph Images on category listing pages', 'wonderm00ns-simple-facebook-open-graph-tags'); ?>
 
 
192
  </td>
193
  </tr>
194
 
189
  <tr>
190
  <td colspan="2" class="info">
191
  - <?php _e('Recommended if you set large thumbnails for Product Categories and want to use them as Open Graph Images on category listing pages', 'wonderm00ns-simple-facebook-open-graph-tags'); ?>
192
+ <br/>
193
+ - <?php _e('This setting also applies to brand pages if WooCommerce Brands is installed', 'wonderm00ns-simple-facebook-open-graph-tags'); ?>
194
  </td>
195
  </tr>
196
 
admin/options-page-right.php CHANGED
@@ -54,7 +54,7 @@
54
  <h4><?php _e('Support forum', 'wonderm00ns-simple-facebook-open-graph-tags'); ?>:</h4>
55
  <p><a href="https://wordpress.org/support/plugin/wonderm00ns-simple-facebook-open-graph-tags" target="_blank">WordPress.org</a></p>
56
  <h4><?php _e('Premium technical support or custom WordPress development', 'wonderm00ns-simple-facebook-open-graph-tags'); ?>:</h4>
57
- <p id="webdadoslink"><a href="https://www.webdados.pt/contactos/<?php echo esc_attr($out_link_utm); ?>" title="<?php echo esc_attr(sprintf(__('Please contact %s', 'wonderm00ns-simple-facebook-open-graph-tags'), 'Webdados')); ?>" target="_blank"><img src="<?php echo plugins_url('webdados.png', __FILE__); ?>"/></a></p>
58
  <h4><?php _e('Please rate our plugin at WordPress.org', 'wonderm00ns-simple-facebook-open-graph-tags'); ?>:</h4>
59
  <a href="https://wordpress.org/support/view/plugin-reviews/wonderm00ns-simple-facebook-open-graph-tags?filter=5#postform" target="_blank" style="text-align: center; display: block;">
60
  <div class="star-rating"><div class="star star-full"></div><div class="star star-full"></div><div class="star star-full"></div><div class="star star-full"></div><div class="star star-full"></div></div>
54
  <h4><?php _e('Support forum', 'wonderm00ns-simple-facebook-open-graph-tags'); ?>:</h4>
55
  <p><a href="https://wordpress.org/support/plugin/wonderm00ns-simple-facebook-open-graph-tags" target="_blank">WordPress.org</a></p>
56
  <h4><?php _e('Premium technical support or custom WordPress development', 'wonderm00ns-simple-facebook-open-graph-tags'); ?>:</h4>
57
+ <p id="webdadoslink"><a href="https://www.webdados.pt/contactos/<?php echo esc_attr($out_link_utm); ?>" title="<?php echo esc_attr( sprintf( __( 'Please contact %s', 'wonderm00ns-simple-facebook-open-graph-tags' ), 'Webdados' ) ); ?>" target="_blank"><img src="<?php echo plugins_url( 'webdados.svg', __FILE__ ); ?>" width="200"/></a></p>
58
  <h4><?php _e('Please rate our plugin at WordPress.org', 'wonderm00ns-simple-facebook-open-graph-tags'); ?>:</h4>
59
  <a href="https://wordpress.org/support/view/plugin-reviews/wonderm00ns-simple-facebook-open-graph-tags?filter=5#postform" target="_blank" style="text-align: center; display: block;">
60
  <div class="star-rating"><div class="star star-full"></div><div class="star star-full"></div><div class="star star-full"></div><div class="star star-full"></div><div class="star star-full"></div></div>
admin/webdados.png DELETED
Binary file
admin/webdados.svg ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 351.2 121.5">
2
+ <defs>
3
+ <!-- SVG Gradients -->
4
+
5
+ <linearGradient x1="-1.2" y1="36.1" x2="72.8" y2="84.1" id="bg-gradient-flame" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#8700B7"/><stop offset="1" stop-color="#0064B4"/></linearGradient>
6
+ </defs>
7
+ <style>
8
+ .svg-bg-gradient-flame {
9
+ fill-rule:evenodd;
10
+ clip-rule:evenodd;
11
+ fill:url(#bg-gradient-flame);
12
+ }
13
+ .svg-bg-blue {
14
+ fill: #0064B4;
15
+ }
16
+ </style>
17
+ <path class="svg-bg-gradient-flame" d="M28.6 63.2c-4 10.8-1.1 35.9 13.6 42 10.6-2.8 15.2-15.4 10.8-29 -5-15.8-14.9-33-15.1-48.7C37.7 16.9 43.2 6.5 52.4 0c0.2 0.3 0.4 0.6 0.4 0.6C33.9 16.3 41.3 33.8 50.9 52c2.4 4.5 4.9 9.1 7.2 13.7 2.3 4.6 4.3 9.2 5.7 13.7 2.7 9.2 2.9 19.5-2.7 28.4 -4.3 6.8-12.1 11.3-19.6 13.7 -20.2-10-22.6-38.7-18.6-49.6 -7.4 8.8-8.9 31.9 0.9 49.6 -35.3-10.1-29-67.8 3.3-91.8 0.2 0.3 0.3 0.6 0.3 0.6C9.9 43.7-0.6 73.1 9.1 99.2 7.4 84.2 16.5 69.7 28.6 63.2z"/><path class="svg-bg-blue" d="M121.7 75.1h2.8l-12.8 29.5h-2.4L102.7 89l-6.6 15.6h-2.4L81 75.1h2.8L95 101.5l6.2-14.5 -5-11.8h2.4l4.1 9.8 4-9.8h2.5l-5 11.8 6.2 14.5L121.7 75.1z"/><path class="svg-bg-blue" d="M141.5 105.1c-2.1 0-4-0.4-5.8-1.2 -1.8-0.8-3.3-1.9-4.6-3.3 -1.3-1.4-2.3-3.1-3.1-4.9 -0.7-1.9-1.1-3.8-1.1-6 0-2.1 0.4-4 1.1-5.9 0.7-1.8 1.7-3.4 3-4.8 1.3-1.4 2.8-2.5 4.6-3.3 1.8-0.8 3.7-1.2 5.7-1.2 2.1 0 4 0.4 5.8 1.2 1.8 0.8 3.3 1.9 4.6 3.3 1.3 1.4 2.3 3 3 4.8 0.7 1.8 1.1 3.8 1.1 5.8 0 0.2 0 0.4 0 0.7 0 0.3 0 0.5-0.1 0.5h-25.9c0.1 1.7 0.5 3.3 1.2 4.7 0.7 1.5 1.5 2.7 2.6 3.8 1 1.1 2.2 1.9 3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0.3 0.5 0.7 1 1.4 1.4 0.6 0.4 1.4 0.7 2.4 1 1 0.3 2.2 0.6 3.5 0.9 1.9 0.5 3.5 0.9 4.9 1.3 1.4 0.4 2.6 0.9 3.6 1.5 1 0.6 1.7 1.3 2.2 2.2 0.5 0.8 0.8 1.9 0.8 3.2 0 2.6-1 4.8-3.1 6.3C346 104.4 343.3 105.1 339.8 105.1z"/></svg>
lang/wonderm00ns-simple-facebook-open-graph-tags.pot CHANGED
@@ -4,7 +4,7 @@ msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: Facebook Open Graph, Google+ and Twitter Card Tags "
6
  "2.0.3\n"
7
- "POT-Creation-Date: 2017-12-29 13:59+0000\n"
8
  "PO-Revision-Date: 2016-09-26 14:52+0100\n"
9
  "Last-Translator: \n"
10
  "Language-Team: \n"
@@ -180,8 +180,8 @@ msgid ""
180
  msgstr ""
181
 
182
  #: admin/options-page-3rdparty.php:85 admin/options-page-3rdparty.php:137
183
- #: admin/options-page-3rdparty.php:200 admin/options-page-3rdparty.php:249
184
- #: admin/options-page-3rdparty.php:287
185
  #, php-format
186
  msgid "You don't have %s installed or activated."
187
  msgstr ""
@@ -250,33 +250,38 @@ msgid ""
250
  "use them as Open Graph Images on category listing pages"
251
  msgstr ""
252
 
253
- #: admin/options-page-3rdparty.php:220
 
 
 
 
 
254
  msgid "Add SubHeading to Post/Page Title"
255
  msgstr ""
256
 
257
- #: admin/options-page-3rdparty.php:231
258
  msgid "SubHeading position"
259
  msgstr ""
260
 
261
- #: admin/options-page-3rdparty.php:234
262
  msgid "After"
263
  msgstr ""
264
 
265
- #: admin/options-page-3rdparty.php:235
266
  msgid "Before"
267
  msgstr ""
268
 
269
- #: admin/options-page-3rdparty.php:269
270
  msgid "Use listing details"
271
  msgstr ""
272
 
273
- #: admin/options-page-3rdparty.php:276
274
  msgid ""
275
  "Use Business Directory Plugin listing details (Title, URL, Description and "
276
  "Image) to populate tags"
277
  msgstr ""
278
 
279
- #: admin/options-page-3rdparty.php:278
280
  msgid ""
281
  "Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and "
282
  "\"Include Image\" options is HIGHLY recommended"
@@ -331,6 +336,7 @@ msgid "Include Image Dimensions"
331
  msgstr ""
332
 
333
  #: admin/options-page-facebook.php:98 admin/options-page-facebook.php:161
 
334
  msgid "and"
335
  msgstr ""
336
 
@@ -375,11 +381,12 @@ msgstr ""
375
  msgid "The user's Facebook URL must be filled in on his profile"
376
  msgstr ""
377
 
378
- #: admin/options-page-facebook.php:154
379
  msgid "Include Published/Modified Dates"
380
  msgstr ""
381
 
382
  #: admin/options-page-facebook.php:163 admin/options-page-facebook.php:177
 
383
  msgid "For posts only"
384
  msgstr ""
385
 
@@ -391,7 +398,7 @@ msgstr ""
391
  msgid "from the categories names"
392
  msgstr ""
393
 
394
- #: admin/options-page-facebook.php:182 admin/options-page-schema.php:138
395
  #: admin/options-page-seo.php:77 admin/options-page-twitter.php:89
396
  msgid "Include Publisher"
397
  msgstr ""
@@ -882,19 +889,19 @@ msgstr ""
882
  msgid "The user's Google+ URL must be filled in on his profile"
883
  msgstr ""
884
 
885
- #: admin/options-page-schema.php:127
886
- msgid "Google doesn't use it anymore"
887
  msgstr ""
888
 
889
- #: admin/options-page-schema.php:147
890
  msgid "The website's Google+ Page"
891
  msgstr ""
892
 
893
- #: admin/options-page-schema.php:152
894
  msgid "Website's Google+ Page"
895
  msgstr ""
896
 
897
- #: admin/options-page-schema.php:159
898
  msgid "Google+ Page URL (with https://)"
899
  msgstr ""
900
 
@@ -924,10 +931,6 @@ msgstr ""
924
  msgid "Include Post/Page Author name"
925
  msgstr ""
926
 
927
- #: admin/options-page-seo.php:72
928
- msgid "From the user Display name"
929
- msgstr ""
930
-
931
  #: admin/options-page-tools.php:11
932
  msgid "Just some random tools"
933
  msgstr ""
@@ -1031,17 +1034,17 @@ msgstr ""
1031
  msgid "Tools"
1032
  msgstr ""
1033
 
1034
- #: public/class-webdados-fb-open-graph-public.php:231
1035
  msgid "Price"
1036
  msgstr ""
1037
 
1038
- #: public/class-webdados-fb-open-graph-public.php:311
1039
  msgid "Search for"
1040
  msgstr ""
1041
 
1042
- #: public/class-webdados-fb-open-graph-public.php:320
1043
- #: public/class-webdados-fb-open-graph-public.php:324
1044
- #: public/class-webdados-fb-open-graph-public.php:328
1045
  msgid "Archives"
1046
  msgstr ""
1047
 
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: Facebook Open Graph, Google+ and Twitter Card Tags "
6
  "2.0.3\n"
7
+ "POT-Creation-Date: 2018-01-05 19:15+0000\n"
8
  "PO-Revision-Date: 2016-09-26 14:52+0100\n"
9
  "Last-Translator: \n"
10
  "Language-Team: \n"
180
  msgstr ""
181
 
182
  #: admin/options-page-3rdparty.php:85 admin/options-page-3rdparty.php:137
183
+ #: admin/options-page-3rdparty.php:202 admin/options-page-3rdparty.php:251
184
+ #: admin/options-page-3rdparty.php:289
185
  #, php-format
186
  msgid "You don't have %s installed or activated."
187
  msgstr ""
250
  "use them as Open Graph Images on category listing pages"
251
  msgstr ""
252
 
253
+ #: admin/options-page-3rdparty.php:193
254
+ msgid ""
255
+ "This setting also applies to brand pages if WooCommerce Brands is installed"
256
+ msgstr ""
257
+
258
+ #: admin/options-page-3rdparty.php:222
259
  msgid "Add SubHeading to Post/Page Title"
260
  msgstr ""
261
 
262
+ #: admin/options-page-3rdparty.php:233
263
  msgid "SubHeading position"
264
  msgstr ""
265
 
266
+ #: admin/options-page-3rdparty.php:236
267
  msgid "After"
268
  msgstr ""
269
 
270
+ #: admin/options-page-3rdparty.php:237
271
  msgid "Before"
272
  msgstr ""
273
 
274
+ #: admin/options-page-3rdparty.php:271
275
  msgid "Use listing details"
276
  msgstr ""
277
 
278
+ #: admin/options-page-3rdparty.php:278
279
  msgid ""
280
  "Use Business Directory Plugin listing details (Title, URL, Description and "
281
  "Image) to populate tags"
282
  msgstr ""
283
 
284
+ #: admin/options-page-3rdparty.php:280
285
  msgid ""
286
  "Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and "
287
  "\"Include Image\" options is HIGHLY recommended"
336
  msgstr ""
337
 
338
  #: admin/options-page-facebook.php:98 admin/options-page-facebook.php:161
339
+ #: admin/options-page-schema.php:26 admin/options-page-schema.php:146
340
  msgid "and"
341
  msgstr ""
342
 
381
  msgid "The user's Facebook URL must be filled in on his profile"
382
  msgstr ""
383
 
384
+ #: admin/options-page-facebook.php:154 admin/options-page-schema.php:139
385
  msgid "Include Published/Modified Dates"
386
  msgstr ""
387
 
388
  #: admin/options-page-facebook.php:163 admin/options-page-facebook.php:177
389
+ #: admin/options-page-schema.php:148
390
  msgid "For posts only"
391
  msgstr ""
392
 
398
  msgid "from the categories names"
399
  msgstr ""
400
 
401
+ #: admin/options-page-facebook.php:182 admin/options-page-schema.php:153
402
  #: admin/options-page-seo.php:77 admin/options-page-twitter.php:89
403
  msgid "Include Publisher"
404
  msgstr ""
889
  msgid "The user's Google+ URL must be filled in on his profile"
890
  msgstr ""
891
 
892
+ #: admin/options-page-schema.php:134 admin/options-page-seo.php:72
893
+ msgid "From the user Display name"
894
  msgstr ""
895
 
896
+ #: admin/options-page-schema.php:162
897
  msgid "The website's Google+ Page"
898
  msgstr ""
899
 
900
+ #: admin/options-page-schema.php:167
901
  msgid "Website's Google+ Page"
902
  msgstr ""
903
 
904
+ #: admin/options-page-schema.php:174
905
  msgid "Google+ Page URL (with https://)"
906
  msgstr ""
907
 
931
  msgid "Include Post/Page Author name"
932
  msgstr ""
933
 
 
 
 
 
934
  #: admin/options-page-tools.php:11
935
  msgid "Just some random tools"
936
  msgstr ""
1034
  msgid "Tools"
1035
  msgstr ""
1036
 
1037
+ #: public/class-webdados-fb-open-graph-public.php:230
1038
  msgid "Price"
1039
  msgstr ""
1040
 
1041
+ #: public/class-webdados-fb-open-graph-public.php:310
1042
  msgid "Search for"
1043
  msgstr ""
1044
 
1045
+ #: public/class-webdados-fb-open-graph-public.php:319
1046
+ #: public/class-webdados-fb-open-graph-public.php:323
1047
+ #: public/class-webdados-fb-open-graph-public.php:327
1048
  msgid "Archives"
1049
  msgstr ""
1050
 
public/class-webdados-fb-open-graph-public.php CHANGED
@@ -1,7 +1,6 @@
1
  <?php
2
  /**
3
  * @package Facebook Open Graph, Google+ and Twitter Card Tags
4
- * @version 2.2.1
5
  */
6
 
7
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -297,7 +296,7 @@ class Webdados_FB_Public {
297
  $tax_desc = trim( wp_strip_all_tags( stripslashes( term_description() ), true ) );
298
  if ( trim($tax_desc)!='' ) $fb_desc = $tax_desc;
299
  //WooCommerce
300
- if ( $webdados_fb->is_woocommerce_active() && intval($this->options['fb_wc_usecategthumb'])==1 && is_product_category() ) {
301
  if ( intval($this->options['fb_image_show'])==1 || intval($this->options['fb_image_show_schema'])==1 || intval($this->options['fb_image_show_twitter'])==1 ) {
302
  if ( $thumbnail_id = get_woocommerce_term_meta( $term->term_id, 'thumbnail_id', true ) ) {
303
  if ( $image = wp_get_attachment_url( $thumbnail_id ) ) {
1
  <?php
2
  /**
3
  * @package Facebook Open Graph, Google+ and Twitter Card Tags
 
4
  */
5
 
6
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
296
  $tax_desc = trim( wp_strip_all_tags( stripslashes( term_description() ), true ) );
297
  if ( trim($tax_desc)!='' ) $fb_desc = $tax_desc;
298
  //WooCommerce
299
+ if ( $webdados_fb->is_woocommerce_active() && intval($this->options['fb_wc_usecategthumb'])==1 && ( is_product_category() || is_tax('product_brand') ) ) {
300
  if ( intval($this->options['fb_image_show'])==1 || intval($this->options['fb_image_show_schema'])==1 || intval($this->options['fb_image_show_twitter'])==1 ) {
301
  if ( $thumbnail_id = get_woocommerce_term_meta( $term->term_id, 'thumbnail_id', true ) ) {
302
  if ( $image = wp_get_attachment_url( $thumbnail_id ) ) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://bit.ly/donate_fb_opengraph
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.5
6
  Tested up to: 4.9.1
7
- Stable tag: 2.2.1
8
 
9
  Inserts Facebook Open Graph, Google+/Schema.org, Twitter and SEO Meta Tags into your WordPress Website for more efficient sharing results.
10
 
@@ -150,6 +150,9 @@ We DO NOT provide email support for this plugin. If you send us an email asking
150
 
151
  == Changelog ==
152
 
 
 
 
153
  = 2.2.1 =
154
  * Added the Schema.org headline, author, datePublished and dateModified tags
155
  * Removed some unnecessary / duplicated `esc_attr` calls
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.5
6
  Tested up to: 4.9.1
7
+ Stable tag: 2.2.2
8
 
9
  Inserts Facebook Open Graph, Google+/Schema.org, Twitter and SEO Meta Tags into your WordPress Website for more efficient sharing results.
10
 
150
 
151
  == Changelog ==
152
 
153
+ = 2.2.2 =
154
+ * NEW WooCommerce Brands integration: Uses the Brand thumbnail image if the "Use Category thumbnail as Image" option is enabled
155
+
156
  = 2.2.1 =
157
  * Added the Schema.org headline, author, datePublished and dateModified tags
158
  * Removed some unnecessary / duplicated `esc_attr` calls
wonderm00n-open-graph.php CHANGED
@@ -1,14 +1,13 @@
1
  <?php
2
  /**
3
  * @package Facebook Open Graph, Google+ and Twitter Card Tags
4
- * @version 2.2.1
5
  */
6
  /*
7
  Plugin Name: Facebook Open Graph, Google+ and Twitter Card Tags
8
  Plugin URI: https://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.2.1
12
  Author: Webdados
13
  Author URI: https://www.webdados.pt
14
  Text Domain: wonderm00ns-simple-facebook-open-graph-tags
@@ -18,7 +17,7 @@ WC tested up to: 3.2.6
18
 
19
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
20
 
21
- define( 'WEBDADOS_FB_VERSION', '2.2.1' );
22
  define( 'WEBDADOS_FB_PLUGIN_NAME', 'Facebook Open Graph, Google+ and Twitter Card Tags' );
23
  define( 'WEBDADOS_FB_W', 1200 );
24
  define( 'WEBDADOS_FB_H', 630 );
1
  <?php
2
  /**
3
  * @package Facebook Open Graph, Google+ and Twitter Card Tags
 
4
  */
5
  /*
6
  Plugin Name: Facebook Open Graph, Google+ and Twitter Card Tags
7
  Plugin URI: https://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/
8
  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.
9
 
10
+ Version: 2.2.2
11
  Author: Webdados
12
  Author URI: https://www.webdados.pt
13
  Text Domain: wonderm00ns-simple-facebook-open-graph-tags
17
 
18
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
19
 
20
+ define( 'WEBDADOS_FB_VERSION', '2.2.2' );
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 );