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

Version Description

  • Fixed a PHP Notice on WPML root pages (Thanks @marcobecker)
  • New experimental feature: Added the possibility to set itemscope itemtype to the HTML Tag in order to avoid W3C and Structured Data validation errors
  • Updated settings page informations to include the existent filters for each option
Download this release

Release Info

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

Code changes from version 2.0.1 to 2.0.2

admin/js/webdados-fb-open-graph-admin.js CHANGED
@@ -53,6 +53,7 @@
53
  //Twitter
54
  showPublisherTwitterOptions();
55
  //Schema
 
56
  showPublisherSchemaOptions();
57
  //3rd Party
58
  showSubheadingOptions();
@@ -126,6 +127,17 @@
126
  showTypeOptions();
127
  });
128
 
 
 
 
 
 
 
 
 
 
 
 
129
  function showPublisherOptions() {
130
  if ($('#fb_publisher_show').is(':checked')) {
131
  $('.fb_publisher_options').show();
53
  //Twitter
54
  showPublisherTwitterOptions();
55
  //Schema
56
+ showTypeSchemaOptions();
57
  showPublisherSchemaOptions();
58
  //3rd Party
59
  showSubheadingOptions();
127
  showTypeOptions();
128
  });
129
 
130
+ function showTypeSchemaOptions() {
131
+ if ($('#fb_type_show_schema').is(':checked')) {
132
+ $('.fb_type_schema_options').show();
133
+ } else {
134
+ $('.fb_type_schema_options').hide();
135
+ }
136
+ }
137
+ $('#fb_type_show_schema').on('click', function() {
138
+ showTypeSchemaOptions();
139
+ });
140
+
141
  function showPublisherOptions() {
142
  if ($('#fb_publisher_show').is(':checked')) {
143
  $('.fb_publisher_options').show();
admin/options-page-3rdparty.php CHANGED
@@ -43,7 +43,7 @@ global $webdados_fb;
43
  </tr>
44
  <tr>
45
  <td colspan="2" class="info">
46
- <?php _e( 'Use Title, Canonical URL and Description generated by Yoast SEO', 'wd-fb-og' ); ?>
47
  </td>
48
  </tr>
49
 
@@ -80,7 +80,9 @@ global $webdados_fb;
80
  </tr>
81
  <tr>
82
  <td colspan="2" class="info">
83
- <?php _e('Sets each Product Gallery image as an additional <i>og:image</i> tag so that, when a product is shared on Facebook, the user is given the choice what image to display', 'wd-fb-og'); ?>
 
 
84
  </td>
85
  </tr>
86
 
@@ -92,7 +94,7 @@ global $webdados_fb;
92
  </tr>
93
  <tr class="fb_image_overlay_options">
94
  <td colspan="2" class="info">
95
- <?php _e( 'Also overlay the PNG logo on the Product Gallery images', 'wd-fb-og' ); ?>
96
  </td>
97
  </tr>
98
 
@@ -104,7 +106,7 @@ global $webdados_fb;
104
  </tr>
105
  <tr>
106
  <td colspan="2" class="info">
107
- <?php _e('Recommended if you set large thumbnails for Product Categories and want to use them as Open Graph Images on category listing pages', 'wd-fb-og'); ?>
108
  </td>
109
  </tr>
110
 
@@ -140,7 +142,6 @@ global $webdados_fb;
140
  </tr>
141
  <tr>
142
  <td colspan="2" class="info">
143
-
144
  </td>
145
  </tr>
146
 
@@ -155,7 +156,6 @@ global $webdados_fb;
155
  </tr>
156
  <tr class="fb_subheading_options">
157
  <td colspan="2" class="info">
158
-
159
  </td>
160
  </tr>
161
 
@@ -191,9 +191,9 @@ global $webdados_fb;
191
  </tr>
192
  <tr>
193
  <td colspan="2" class="info">
194
- <?php _e( 'Use Business Directory Plugin listing details (Title, URL, Description and Image) to populate tags', 'wd-fb-og' ); ?>
195
  <br/>
196
- <?php _e( 'Setting "Include URL", "Set Canonical URL", "Include Description" and "Include Image" options is HIGHLY recommended', 'wd-fb-og' ); ?>
197
  </td>
198
  </tr>
199
 
43
  </tr>
44
  <tr>
45
  <td colspan="2" class="info">
46
+ - <?php _e( 'Use Title, Canonical URL and Description generated by Yoast SEO', 'wd-fb-og' ); ?>
47
  </td>
48
  </tr>
49
 
80
  </tr>
81
  <tr>
82
  <td colspan="2" class="info">
83
+ - <?php _e('Sets each Product Gallery image as an additional <i>og:image</i> tag so that, when a product is shared on Facebook, the user is given the choice what image to display', 'wd-fb-og'); ?>
84
+ <br/>
85
+ - <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wd-fb-og' ), 'fb_og_image_additional' ); ?>
86
  </td>
87
  </tr>
88
 
94
  </tr>
95
  <tr class="fb_image_overlay_options">
96
  <td colspan="2" class="info">
97
+ - <?php _e( 'Also overlay the PNG logo on the Product Gallery images', 'wd-fb-og' ); ?>
98
  </td>
99
  </tr>
100
 
106
  </tr>
107
  <tr>
108
  <td colspan="2" class="info">
109
+ - <?php _e('Recommended if you set large thumbnails for Product Categories and want to use them as Open Graph Images on category listing pages', 'wd-fb-og'); ?>
110
  </td>
111
  </tr>
112
 
142
  </tr>
143
  <tr>
144
  <td colspan="2" class="info">
 
145
  </td>
146
  </tr>
147
 
156
  </tr>
157
  <tr class="fb_subheading_options">
158
  <td colspan="2" class="info">
 
159
  </td>
160
  </tr>
161
 
191
  </tr>
192
  <tr>
193
  <td colspan="2" class="info">
194
+ - <?php _e( 'Use Business Directory Plugin listing details (Title, URL, Description and Image) to populate tags', 'wd-fb-og' ); ?>
195
  <br/>
196
+ - <?php _e( 'Setting "Include URL", "Set Canonical URL", "Include Description" and "Include Image" options is HIGHLY recommended', 'wd-fb-og' ); ?>
197
  </td>
198
  </tr>
199
 
admin/options-page-facebook.php CHANGED
@@ -20,6 +20,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
20
  <tr>
21
  <td colspan="2" class="info">
22
  <i>&lt;meta property="og:title" content="..."/&gt;</i>
 
 
23
  </td>
24
  </tr>
25
 
@@ -33,7 +35,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
33
  <td colspan="2" class="info">
34
  <i>&lt;meta property="og:site_name" content="..."/&gt;</i>
35
  <br/>
36
- <?php _e( 'From Settings &gt; General &gt; Site Title', 'wd-fb-og' );?>
37
  </td>
38
  </tr>
39
 
@@ -46,6 +48,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
46
  <tr>
47
  <td colspan="2" class="info">
48
  <i>&lt;meta property="og:url" content="..."/&gt;</i>
 
 
49
  </td>
50
  </tr>
51
 
@@ -58,6 +62,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
58
  <tr>
59
  <td colspan="2" class="info">
60
  <i>&lt;meta property="og:description" content="..."/&gt;</i>
 
 
61
  </td>
62
  </tr>
63
 
@@ -71,7 +77,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
71
  <td colspan="2" class="info">
72
  <i>&lt;meta property="og:image" content="..."/&gt;</i>
73
  <br/>
74
- <?php printf( __('All images must have at least 200px on both dimensions in order to Facebook to load them at all. %dx%dpx for optimal results. Minimum of 600x315px is recommended.', 'wd-fb-og' ), WEBDADOS_FB_W, WEBDADOS_FB_H );?>
 
 
75
  </td>
76
  </tr>
77
 
@@ -85,7 +93,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
85
  <td colspan="2" class="info">
86
  <i>&lt;meta property="og:image:width" content="..."/&gt;</i> <?php _e('and', 'wd-fb-og'); ?> <i>&lt;meta property="og:image:height" content="..."/&gt;</i>
87
  <br/>
88
- <?php _e( 'Recommended only if Facebook is having problems loading the image when the post is shared for the first time, or else it adds extra unnecessary processing time', 'wd-fb-og' );?>
89
  </td>
90
  </tr>
91
 
@@ -99,9 +107,11 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
99
  <td colspan="2" class="info">
100
  <i>&lt;meta property="og:type" content="..."/&gt;</i>
101
  <br/>
102
- <?php printf( __( 'Will be "%1$s" for posts and pages and "%2$s" or "%3$s" for the homepage', 'wd-fb-og' ), 'article', 'website', 'blog' ); ?>
103
  <br/>
104
- <?php _e( 'Additional types may be used depending on 3rd party integrations', 'wd-fb-og' ); ?>
 
 
105
  </td>
106
  </tr>
107
 
@@ -129,7 +139,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
129
  <td colspan="2" class="info">
130
  <i>&lt;meta property="article:author" content="..."/&gt;</i>
131
  <br/>
132
- <?php _e( 'The user\'s Facebook URL must be filled in on his profile', 'wd-fb-og' );?>
133
  </td>
134
  </tr>
135
 
@@ -143,7 +153,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
143
  <td colspan="2" class="info">
144
  <i>&lt;meta property="article:published_time" content="..."/&gt;</i>, <i>&lt;meta property="article:modified_time" content="..."/&gt;</i> <?php _e('and', 'wd-fb-og'); ?> <i>&lt;meta property="og:updated_time" content="..."/&gt;</i>
145
  <br/>
146
- <?php _e( 'For posts only', 'wd-fb-og' );?>
147
  </td>
148
  </tr>
149
 
@@ -157,7 +167,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
157
  <td colspan="2" class="info">
158
  <i>&lt;meta property="article:section" content="..."/&gt;</i>
159
  <br/>
160
- <?php _e( 'For posts only', 'wd-fb-og' );?>, <?php _e('from the categories names', 'wd-fb-og'); ?>
161
  </td>
162
  </tr>
163
 
@@ -171,7 +181,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
171
  <td colspan="2" class="info">
172
  <i>&lt;meta property="article:publisher" content="..."/&gt;</i>
173
  <br/>
174
- <?php _e( 'The website\'s Facebook Page', 'wd-fb-og' );?>
175
  </td>
176
  </tr>
177
 
@@ -183,7 +193,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
183
  </tr>
184
  <tr class="fb_publisher_options">
185
  <td colspan="2" class="info">
186
- <?php _e( 'Facebook Page URL (with https://)', 'wd-fb-og' ); ?>
187
  </td>
188
  </tr>
189
 
@@ -197,7 +207,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
197
  <td colspan="2" class="info">
198
  <i>&lt;meta property="fb:locale" content="..."/&gt;</i>
199
  <br/>
200
- <?php _e( 'The website\'s Facebook Page', 'wd-fb-og' );?>
201
  </td>
202
  </tr>
203
 
@@ -259,7 +269,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
259
  </tr>
260
  <tr class="fb_locale_options">
261
  <td colspan="2" class="info">
262
- <?php
263
  if ($loadedOnline) {
264
  _e('List loaded from Facebook (online)', 'wd-fb-og');
265
  } else {
@@ -270,6 +280,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
270
  }
271
  }
272
  ?>
 
 
273
  </td>
274
  </tr>
275
 
@@ -293,7 +305,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
293
  </tr>
294
  <tr class="fb_admin_id_options">
295
  <td colspan="2" class="info">
296
- <?php _e( 'Comma separated if more than one', 'wd-fb-og' ); ?>
297
  </td>
298
  </tr>
299
 
@@ -317,7 +329,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
317
  </tr>
318
  <tr class="fb_app_id_options">
319
  <td colspan="2" class="info">
320
- <?php _e( 'From your Facebook Developers dashboard', 'wd-fb-og' ); ?>
321
  </td>
322
  </tr>
323
 
@@ -339,7 +351,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
339
  </tr>
340
  <tr>
341
  <td colspan="2" class="info">
342
- <?php _e( 'Try to clear the Facebook Open Graph Tags cache when saving a post or page, so the link preview on Facebook is immediately updated', 'wd-fb-og' );?>
343
  </td>
344
  </tr>
345
 
@@ -351,7 +363,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
351
  </tr>
352
  <tr class="fb_adv_notify_fb_options">
353
  <td colspan="2" class="info">
354
- <?php _e( 'Sometimes we aren\'t able to update the cache and the post author will see a notice if this option is not checked', 'wd-fb-og' ); ?>
355
  </td>
356
  </tr>
357
 
20
  <tr>
21
  <td colspan="2" class="info">
22
  <i>&lt;meta property="og:title" content="..."/&gt;</i>
23
+ <br/>
24
+ - <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wd-fb-og' ), 'fb_og_title' ); ?>
25
  </td>
26
  </tr>
27
 
35
  <td colspan="2" class="info">
36
  <i>&lt;meta property="og:site_name" content="..."/&gt;</i>
37
  <br/>
38
+ - <?php _e( 'From Settings &gt; General &gt; Site Title', 'wd-fb-og' );?>
39
  </td>
40
  </tr>
41
 
48
  <tr>
49
  <td colspan="2" class="info">
50
  <i>&lt;meta property="og:url" content="..."/&gt;</i>
51
+ <br/>
52
+ - <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wd-fb-og' ), 'fb_og_url' ); ?>
53
  </td>
54
  </tr>
55
 
62
  <tr>
63
  <td colspan="2" class="info">
64
  <i>&lt;meta property="og:description" content="..."/&gt;</i>
65
+ <br/>
66
+ - <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wd-fb-og' ), 'fb_og_desc' ); ?>
67
  </td>
68
  </tr>
69
 
77
  <td colspan="2" class="info">
78
  <i>&lt;meta property="og:image" content="..."/&gt;</i>
79
  <br/>
80
+ - <?php printf( __('All images must have at least 200px on both dimensions in order to Facebook to load them at all. %dx%dpx for optimal results. Minimum of 600x315px is recommended.', 'wd-fb-og' ), WEBDADOS_FB_W, WEBDADOS_FB_H );?>
81
+ <br/>
82
+ - <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wd-fb-og' ), 'fb_og_image' ); ?>
83
  </td>
84
  </tr>
85
 
93
  <td colspan="2" class="info">
94
  <i>&lt;meta property="og:image:width" content="..."/&gt;</i> <?php _e('and', 'wd-fb-og'); ?> <i>&lt;meta property="og:image:height" content="..."/&gt;</i>
95
  <br/>
96
+ - <?php _e( 'Recommended only if Facebook is having problems loading the image when the post is shared for the first time, or else it adds extra unnecessary processing time', 'wd-fb-og' );?>
97
  </td>
98
  </tr>
99
 
107
  <td colspan="2" class="info">
108
  <i>&lt;meta property="og:type" content="..."/&gt;</i>
109
  <br/>
110
+ - <?php printf( __( 'Will be "%1$s" for posts and pages and "%2$s" or "%3$s" for the homepage', 'wd-fb-og' ), 'article', 'website', 'blog' ); ?>
111
  <br/>
112
+ - <?php _e( 'Additional types may be used depending on 3rd party integrations', 'wd-fb-og' ); ?>
113
+ <br/>
114
+ - <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wd-fb-og' ), 'fb_og_type' ); ?>
115
  </td>
116
  </tr>
117
 
139
  <td colspan="2" class="info">
140
  <i>&lt;meta property="article:author" content="..."/&gt;</i>
141
  <br/>
142
+ - <?php _e( 'The user\'s Facebook URL must be filled in on his profile', 'wd-fb-og' );?>
143
  </td>
144
  </tr>
145
 
153
  <td colspan="2" class="info">
154
  <i>&lt;meta property="article:published_time" content="..."/&gt;</i>, <i>&lt;meta property="article:modified_time" content="..."/&gt;</i> <?php _e('and', 'wd-fb-og'); ?> <i>&lt;meta property="og:updated_time" content="..."/&gt;</i>
155
  <br/>
156
+ - <?php _e( 'For posts only', 'wd-fb-og' );?>
157
  </td>
158
  </tr>
159
 
167
  <td colspan="2" class="info">
168
  <i>&lt;meta property="article:section" content="..."/&gt;</i>
169
  <br/>
170
+ - <?php _e( 'For posts only', 'wd-fb-og' );?>, <?php _e('from the categories names', 'wd-fb-og'); ?>
171
  </td>
172
  </tr>
173
 
181
  <td colspan="2" class="info">
182
  <i>&lt;meta property="article:publisher" content="..."/&gt;</i>
183
  <br/>
184
+ - <?php _e( 'The website\'s Facebook Page', 'wd-fb-og' );?>
185
  </td>
186
  </tr>
187
 
193
  </tr>
194
  <tr class="fb_publisher_options">
195
  <td colspan="2" class="info">
196
+ - <?php _e( 'Facebook Page URL (with https://)', 'wd-fb-og' ); ?>
197
  </td>
198
  </tr>
199
 
207
  <td colspan="2" class="info">
208
  <i>&lt;meta property="fb:locale" content="..."/&gt;</i>
209
  <br/>
210
+ - <?php _e( 'The website\'s Facebook Page', 'wd-fb-og' );?>
211
  </td>
212
  </tr>
213
 
269
  </tr>
270
  <tr class="fb_locale_options">
271
  <td colspan="2" class="info">
272
+ - <?php
273
  if ($loadedOnline) {
274
  _e('List loaded from Facebook (online)', 'wd-fb-og');
275
  } else {
280
  }
281
  }
282
  ?>
283
+ <br/>
284
+ - <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wd-fb-og' ), 'fb_og_locale' ); ?>
285
  </td>
286
  </tr>
287
 
305
  </tr>
306
  <tr class="fb_admin_id_options">
307
  <td colspan="2" class="info">
308
+ - <?php _e( 'Comma separated if more than one', 'wd-fb-og' ); ?>
309
  </td>
310
  </tr>
311
 
329
  </tr>
330
  <tr class="fb_app_id_options">
331
  <td colspan="2" class="info">
332
+ - <?php _e( 'From your Facebook Developers dashboard', 'wd-fb-og' ); ?>
333
  </td>
334
  </tr>
335
 
351
  </tr>
352
  <tr>
353
  <td colspan="2" class="info">
354
+ - <?php _e( 'Try to clear the Facebook Open Graph Tags cache when saving a post or page, so the link preview on Facebook is immediately updated', 'wd-fb-og' );?>
355
  </td>
356
  </tr>
357
 
363
  </tr>
364
  <tr class="fb_adv_notify_fb_options">
365
  <td colspan="2" class="info">
366
+ - <?php _e( 'Sometimes we aren\'t able to update the cache and the post author will see a notice if this option is not checked', 'wd-fb-og' ); ?>
367
  </td>
368
  </tr>
369
 
admin/options-page-general.php CHANGED
@@ -20,7 +20,7 @@ global $webdados_fb;
20
  </tr>
21
  <tr>
22
  <td colspan="2" class="info">
23
- <?php _e( '0 (zero) or blank for no maximum length', 'wd-fb-og' );?>
24
  </td>
25
  </tr>
26
 
@@ -43,7 +43,7 @@ global $webdados_fb;
43
  <textarea name="wonderm00n_open_graph_settings[fb_desc_homepage_customtext]" id="fb_desc_homepage_customtext" rows="3" cols="50"><?php echo trim(esc_attr($options['fb_desc_homepage_customtext'])); ?></textarea>
44
  <?php
45
  if ( $webdados_fb->is_wpml_active() ) {
46
- echo '<div class="info">';
47
  printf(
48
  __( 'WPML users: Set the default language description here, save changes and then go to <a href="%s" target="_blank">WPML &gt; String translation</a> to set it for other languages.', 'wd-fb-og' ),
49
  'admin.php?page=wpml-string-translation/menu/string-translation.php&amp;context=wd-fb-og'
@@ -78,9 +78,11 @@ global $webdados_fb;
78
  </tr>
79
  <tr>
80
  <td colspan="2" class="info">
81
- <?php _e( 'URL (with http(s)://)', 'wd-fb-og' );?>
82
  <br/>
83
- <?php printf( __( 'Recommended size: %dx%dpx', 'wd-fb-og' ), WEBDADOS_FB_W, WEBDADOS_FB_H); ?>
 
 
84
  </td>
85
  </tr>
86
 
@@ -111,21 +113,25 @@ global $webdados_fb;
111
  </tr>
112
  <tr>
113
  <td colspan="2" class="info">
114
- <?php _e( 'On posts/pages the first image found, using the priority above, will be used. On the homepage, archives and other website sections the default image is always used.', 'wd-fb-og' );?>
115
  </td>
116
  </tr>
117
 
118
  <tr>
119
- <th><?php _e( 'Overlay PNG logo', 'wd-fb-og' ); ?> [BETA]:</th>
120
  <td>
121
  <input type="checkbox" name="wonderm00n_open_graph_settings[fb_image_overlay]" id="fb_image_overlay" value="1" <?php echo (intval($options['fb_image_overlay'])==1 ? ' checked="checked"' : '' ); ?>/>
122
  </td>
123
  </tr>
124
  <tr>
125
  <td colspan="2" class="info">
126
- <?php printf( __( 'The original image will be resized/cropped to %dx%dpx and the chosen PNG (that should also have this size) will be overlaid on it. It will only work for locally hosted images.', 'wd-fb-og' ), WEBDADOS_FB_W, WEBDADOS_FB_H);?>
 
 
 
 
127
  <br/>
128
- <?php printf( __( 'You can see an example of the end result <a href="%s" target="_blank">here</a>', '' ), 'https://www.flickr.com/photos/wonderm00n/29890263040/in/dateposted-public/' ); ?>
129
  </td>
130
  </tr>
131
 
@@ -138,9 +144,9 @@ global $webdados_fb;
138
  </tr>
139
  <tr class="fb_image_overlay_options">
140
  <td colspan="2" class="info">
141
- <?php _e( 'URL (with http(s)://)', 'wd-fb-og' );?>
142
  <br/>
143
- <?php printf( __( 'Size: %dx%dpx', 'wd-fb-og' ), WEBDADOS_FB_W, WEBDADOS_FB_H); ?>
144
  </td>
145
  </tr>
146
 
@@ -152,7 +158,7 @@ global $webdados_fb;
152
  </tr>
153
  <tr>
154
  <td colspan="2" class="info">
155
- <?php _e( 'For auto-posting apps like RSS Graffiti, twitterfeed, ...', 'wd-fb-og' ); ?>
156
  </td>
157
  </tr>
158
 
@@ -164,11 +170,11 @@ global $webdados_fb;
164
  </tr>
165
  <tr>
166
  <td colspan="2" class="info">
167
- <b><?php _e( 'This is an advanced option: Don\'t mess with this unless you know what you\'re doing', 'wd-fb-og' ); ?></b>
168
  <br/>
169
- <?php _e( 'Force getimagesize on local file even if allow_url_fopen=1', 'wd-fb-og' ); ?>
170
  <br/>
171
- <?php _e( 'May cause problems with some multisite configurations but fixes "HTTP request failed" errors', 'wd-fb-og' );?>
172
  </td>
173
  </tr>
174
 
@@ -190,9 +196,9 @@ global $webdados_fb;
190
  </tr>
191
  <tr>
192
  <td colspan="2" class="info">
193
- <?php _e( 'If missing, a trailing slash will be added at the end', 'wd-fb-og' ); ?>
194
  <br/>
195
- <?php _e( 'Homepage example:', 'wd-fb-og' ); ?>: <i><?php echo get_option( 'siteurl' ); ?><span id="fb_url_add_trailing_example">/</span></i>
196
  </td>
197
  </tr>
198
 
@@ -214,7 +220,7 @@ global $webdados_fb;
214
  </tr>
215
  <tr>
216
  <td colspan="2" class="info">
217
- <?php _e( 'Hides all Author tags on Pages', 'wd-fb-og' );?>
218
  </td>
219
  </tr>
220
 
@@ -236,7 +242,7 @@ global $webdados_fb;
236
  </tr>
237
  <tr>
238
  <td colspan="2" class="info">
239
- <?php _e( 'Keep the plugin settings on the database even if the plugin is uninstalled', 'wd-fb-og' );?>
240
  </td>
241
  </tr>
242
 
20
  </tr>
21
  <tr>
22
  <td colspan="2" class="info">
23
+ - <?php _e( '0 (zero) or blank for no maximum length', 'wd-fb-og' );?>
24
  </td>
25
  </tr>
26
 
43
  <textarea name="wonderm00n_open_graph_settings[fb_desc_homepage_customtext]" id="fb_desc_homepage_customtext" rows="3" cols="50"><?php echo trim(esc_attr($options['fb_desc_homepage_customtext'])); ?></textarea>
44
  <?php
45
  if ( $webdados_fb->is_wpml_active() ) {
46
+ echo '<div class="info">- ';
47
  printf(
48
  __( 'WPML users: Set the default language description here, save changes and then go to <a href="%s" target="_blank">WPML &gt; String translation</a> to set it for other languages.', 'wd-fb-og' ),
49
  'admin.php?page=wpml-string-translation/menu/string-translation.php&amp;context=wd-fb-og'
78
  </tr>
79
  <tr>
80
  <td colspan="2" class="info">
81
+ - <?php _e( 'URL (with http(s)://)', 'wd-fb-og' );?>
82
  <br/>
83
+ - <?php printf( __( 'Recommended size: %dx%dpx', 'wd-fb-og' ), WEBDADOS_FB_W, WEBDADOS_FB_H); ?>
84
+ <br/>
85
+ - <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wd-fb-og' ), 'fb_og_image' ); ?>
86
  </td>
87
  </tr>
88
 
113
  </tr>
114
  <tr>
115
  <td colspan="2" class="info">
116
+ - <?php _e( 'On posts/pages the first image found, using the priority above, will be used. On the homepage, archives and other website sections the default image is always used.', 'wd-fb-og' );?>
117
  </td>
118
  </tr>
119
 
120
  <tr>
121
+ <th><?php _e( 'Overlay PNG logo', 'wd-fb-og' ); ?>:</th>
122
  <td>
123
  <input type="checkbox" name="wonderm00n_open_graph_settings[fb_image_overlay]" id="fb_image_overlay" value="1" <?php echo (intval($options['fb_image_overlay'])==1 ? ' checked="checked"' : '' ); ?>/>
124
  </td>
125
  </tr>
126
  <tr>
127
  <td colspan="2" class="info">
128
+ - <?php _e('Experimental', 'wd-fb-og'); ?>
129
+ <br/>
130
+ - <?php printf( __( 'The original image will be resized/cropped to %dx%dpx and the chosen PNG (that should also have this size) will be overlaid on it. It will only work for locally hosted images.', 'wd-fb-og' ), WEBDADOS_FB_W, WEBDADOS_FB_H);?>
131
+ <br/>
132
+ - <?php printf( __( 'You can see an example of the end result <a href="%s" target="_blank">here</a>', '' ), 'https://www.flickr.com/photos/wonderm00n/29890263040/in/dateposted-public/' ); ?>
133
  <br/>
134
+ - <?php printf( __( 'If you activate this option globally, you can disable it based on your conditions using the <i>%1$s</i> filter', 'wd-fb-og' ), 'fb_og_image_overlay' ); ?>
135
  </td>
136
  </tr>
137
 
144
  </tr>
145
  <tr class="fb_image_overlay_options">
146
  <td colspan="2" class="info">
147
+ - <?php _e( 'URL (with http(s)://)', 'wd-fb-og' );?>
148
  <br/>
149
+ - <?php printf( __( 'Size: %dx%dpx', 'wd-fb-og' ), WEBDADOS_FB_W, WEBDADOS_FB_H); ?>
150
  </td>
151
  </tr>
152
 
158
  </tr>
159
  <tr>
160
  <td colspan="2" class="info">
161
+ - <?php _e( 'For auto-posting apps like RSS Graffiti, twitterfeed, ...', 'wd-fb-og' ); ?>
162
  </td>
163
  </tr>
164
 
170
  </tr>
171
  <tr>
172
  <td colspan="2" class="info">
173
+ - <b><?php _e( 'This is an advanced option: Don\'t mess with this unless you know what you\'re doing', 'wd-fb-og' ); ?></b>
174
  <br/>
175
+ - <?php _e( 'Force getimagesize on local file even if allow_url_fopen=1', 'wd-fb-og' ); ?>
176
  <br/>
177
+ - <?php _e( 'May cause problems with some multisite configurations but fixes "HTTP request failed" errors', 'wd-fb-og' );?>
178
  </td>
179
  </tr>
180
 
196
  </tr>
197
  <tr>
198
  <td colspan="2" class="info">
199
+ - <?php _e( 'If missing, a trailing slash will be added at the end', 'wd-fb-og' ); ?>
200
  <br/>
201
+ - <?php _e( 'Homepage example:', 'wd-fb-og' ); ?>: <i><?php echo get_option( 'siteurl' ); ?><span id="fb_url_add_trailing_example">/</span></i>
202
  </td>
203
  </tr>
204
 
220
  </tr>
221
  <tr>
222
  <td colspan="2" class="info">
223
+ - <?php _e( 'Hides all Author tags on Pages', 'wd-fb-og' );?>
224
  </td>
225
  </tr>
226
 
242
  </tr>
243
  <tr>
244
  <td colspan="2" class="info">
245
+ - <?php _e( 'Keep the plugin settings on the database even if the plugin is uninstalled', 'wd-fb-og' );?>
246
  </td>
247
  </tr>
248
 
admin/options-page-schema.php CHANGED
@@ -20,6 +20,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
20
  <tr>
21
  <td colspan="2" class="info">
22
  <i>&lt;meta itemprop="name" content="..."/&gt;</i>
 
 
23
  </td>
24
  </tr>
25
 
@@ -32,6 +34,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
32
  <tr>
33
  <td colspan="2" class="info">
34
  <i>&lt;meta itemprop="description" content="..."/&gt;</i>
 
 
35
  </td>
36
  </tr>
37
 
@@ -44,6 +48,57 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
44
  <tr>
45
  <td colspan="2" class="info">
46
  <i>&lt;meta itemprop="image" content="..."/&gt;</i>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  </td>
48
  </tr>
49
 
@@ -58,20 +113,20 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
58
  <td colspan="2" class="info">
59
  <i>&lt;link rel="author" content="..."/&gt;</i>
60
  <br/>
61
- <?php _e('The user\'s Google+ URL must be filled in on his profile', 'wd-fb-og');?>
62
  </td>
63
  </tr>-->
64
 
65
  <tr>
66
  <th><?php _e( 'Include Post/Page Author', 'wd-fb-og' );?>:</th>
67
  <td>
68
- <?php _e('Google doesn\'t use it anymore', 'wd-fb-og');?>
69
  <input type="hidden" name="wonderm00n_open_graph_settings[fb_author_show_linkrelgp]" id="fb_author_show_linkrelgp" value="0"/>
70
  </td>
71
  </tr>
72
  <tr>
73
  <td colspan="2" class="info">
74
- <a href="https://support.google.com/webmasters/answer/6083347" target="_blank">https://support.google.com/webmasters/answer/6083347</a>
75
  </td>
76
  </tr>
77
 
@@ -85,7 +140,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
85
  <td colspan="2" class="info">
86
  <i>&lt;link rel="publisher" href="..."/&gt;</i>
87
  <br/>
88
- <?php _e( 'The website\'s Google+ Page', 'wd-fb-og' );?>
89
  </td>
90
  </tr>
91
 
@@ -97,7 +152,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
97
  </tr>
98
  <tr class="fb_publisher_schema_options">
99
  <td colspan="2" class="info">
100
- <?php _e( 'Google+ Page URL (with https://)', 'wd-fb-og' ); ?>
101
  </td>
102
  </tr>
103
 
20
  <tr>
21
  <td colspan="2" class="info">
22
  <i>&lt;meta itemprop="name" content="..."/&gt;</i>
23
+ <br/>
24
+ - <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wd-fb-og' ), 'fb_og_title' ); ?>
25
  </td>
26
  </tr>
27
 
34
  <tr>
35
  <td colspan="2" class="info">
36
  <i>&lt;meta itemprop="description" content="..."/&gt;</i>
37
+ <br/>
38
+ - <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wd-fb-og' ), 'fb_og_desc' ); ?>
39
  </td>
40
  </tr>
41
 
48
  <tr>
49
  <td colspan="2" class="info">
50
  <i>&lt;meta itemprop="image" content="..."/&gt;</i>
51
+ <br/>
52
+ - <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wd-fb-og' ), 'fb_og_image' ); ?>
53
+ </td>
54
+ </tr>
55
+
56
+ <tr>
57
+ <th><?php _e( 'Include Type', 'wd-fb-og' );?>:</th>
58
+ <td>
59
+ <input type="checkbox" name="wonderm00n_open_graph_settings[fb_type_show_schema]" id="fb_type_show_schema" value="1" <?php echo (intval($options['fb_type_show_schema'])==1 ? ' checked="checked"' : ''); ?>/>
60
+ </td>
61
+ </tr>
62
+ <tr>
63
+ <td colspan="2" class="info">
64
+ <i>&lt;html ... itemscope itemtype="http://schema.org/..."/&gt;</i>
65
+ <br/>
66
+ - <?php _e('Experimental', 'wd-fb-og'); ?>
67
+ <br/>
68
+ - <?php _e('Added to the HTML tag, if you want to avoid W3C and Structured Data validation errors', 'wd-fb-og'); ?>
69
+ <br/>
70
+ - <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wd-fb-og' ), 'fb_type_schema' ); ?>
71
+ </td>
72
+ </tr>
73
+
74
+ <tr class="fb_type_schema_options">
75
+ <th><?php _e( 'Homepage Type', 'wd-fb-og' );?>:</th>
76
+ <td>
77
+ <select name="wonderm00n_open_graph_settings[fb_type_schema_homepage]" id="fb_type_schema_homepage">
78
+ <option value="WebSite"<?php if (trim($options['fb_type_schema_homepage'])=='' || trim($options['fb_type_schema_homepage'])=='WebSite') echo ' selected="selected"'; ?>>WebSite</option>
79
+ <option value="Blog"<?php if (trim($options['fb_type_schema_homepage'])=='Blog') echo ' selected="selected"'; ?>>Blog</option>
80
+ </select>
81
+ </td>
82
+ </tr>
83
+ <tr class="fb_type_schema_options">
84
+ <td colspan="2" class="info">
85
+ </td>
86
+ </tr>
87
+
88
+ <tr class="fb_type_schema_options">
89
+ <th><?php _e( 'Default (including Post/Page) Type', 'wd-fb-og' );?>:</th>
90
+ <td>
91
+ <select name="wonderm00n_open_graph_settings[fb_type_schema_post]" id="fb_type_schema_post">
92
+ <option value="Article"<?php if (trim($options['fb_type_schema_post'])=='' || trim($options['fb_type_schema_post'])=='Article') echo ' selected="selected"'; ?>>Article</option>
93
+ <option value="NewsArticle"<?php if (trim($options['fb_type_schema_post'])=='NewsArticle') echo ' selected="selected"'; ?>>NewsArticle</option>
94
+ <option value="Report"<?php if (trim($options['fb_type_schema_post'])=='Report') echo ' selected="selected"'; ?>>Report</option>
95
+ <option value="ScholarlyArticle"<?php if (trim($options['fb_type_schema_post'])=='ScholarlyArticle') echo ' selected="selected"'; ?>>ScholarlyArticle</option>
96
+ <option value="TechArticle"<?php if (trim($options['fb_type_schema_post'])=='TechArticle') echo ' selected="selected"'; ?>>TechArticle</option>
97
+ </select>
98
+ </td>
99
+ </tr>
100
+ <tr class="fb_type_schema_options">
101
+ <td colspan="2" class="info">
102
  </td>
103
  </tr>
104
 
113
  <td colspan="2" class="info">
114
  <i>&lt;link rel="author" content="..."/&gt;</i>
115
  <br/>
116
+ - <?php _e('The user\'s Google+ URL must be filled in on his profile', 'wd-fb-og');?>
117
  </td>
118
  </tr>-->
119
 
120
  <tr>
121
  <th><?php _e( 'Include Post/Page Author', 'wd-fb-og' );?>:</th>
122
  <td>
123
+ <small><?php _e('Google doesn\'t use it anymore', 'wd-fb-og');?></small>
124
  <input type="hidden" name="wonderm00n_open_graph_settings[fb_author_show_linkrelgp]" id="fb_author_show_linkrelgp" value="0"/>
125
  </td>
126
  </tr>
127
  <tr>
128
  <td colspan="2" class="info">
129
+ - <a href="https://support.google.com/webmasters/answer/6083347" target="_blank">https://support.google.com/webmasters/answer/6083347</a>
130
  </td>
131
  </tr>
132
 
140
  <td colspan="2" class="info">
141
  <i>&lt;link rel="publisher" href="..."/&gt;</i>
142
  <br/>
143
+ - <?php _e( 'The website\'s Google+ Page', 'wd-fb-og' );?>
144
  </td>
145
  </tr>
146
 
152
  </tr>
153
  <tr class="fb_publisher_schema_options">
154
  <td colspan="2" class="info">
155
+ - <?php _e( 'Google+ Page URL (with https://)', 'wd-fb-og' ); ?>
156
  </td>
157
  </tr>
158
 
admin/options-page-seo.php CHANGED
@@ -24,10 +24,12 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
24
  if ( $webdados_fb->is_yoast_seo_active() ) {
25
  ?>
26
  <br/>
27
- <?php _e( 'Not recommended because you have Yoast SEO active', 'wd-fb-og' );?>
28
  <?php
29
  }
30
  ?>
 
 
31
  </td>
32
  </tr>
33
 
@@ -44,10 +46,12 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
44
  if ( $webdados_fb->is_yoast_seo_active() ) {
45
  ?>
46
  <br/>
47
- <?php _e( 'Not recommended because you have Yoast SEO active', 'wd-fb-og' );?>
48
  <?php
49
  }
50
  ?>
 
 
51
  </td>
52
  </tr>
53
 
@@ -61,7 +65,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
61
  <td colspan="2" class="info">
62
  <i>&lt;meta name="author" content="..."/&gt;</i>
63
  <br/>
64
- <?php _e( 'From the user Display name', 'wd-fb-og' );?>
65
  </td>
66
  </tr>
67
 
@@ -75,7 +79,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
75
  <td colspan="2" class="info">
76
  <i>&lt;meta name="publisher" content="..."/&gt;</i>
77
  <br/>
78
- <?php _e( 'From Settings &gt; General &gt; Site Title', 'wd-fb-og' );?>
79
  </td>
80
  </tr>
81
 
24
  if ( $webdados_fb->is_yoast_seo_active() ) {
25
  ?>
26
  <br/>
27
+ - <?php _e( 'Not recommended because you have Yoast SEO active', 'wd-fb-og' );?>
28
  <?php
29
  }
30
  ?>
31
+ <br/>
32
+ - <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wd-fb-og' ), 'fb_og_url' ); ?>
33
  </td>
34
  </tr>
35
 
46
  if ( $webdados_fb->is_yoast_seo_active() ) {
47
  ?>
48
  <br/>
49
+ - <?php _e( 'Not recommended because you have Yoast SEO active', 'wd-fb-og' );?>
50
  <?php
51
  }
52
  ?>
53
+ <br/>
54
+ - <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wd-fb-og' ), 'fb_og_desc' ); ?>
55
  </td>
56
  </tr>
57
 
65
  <td colspan="2" class="info">
66
  <i>&lt;meta name="author" content="..."/&gt;</i>
67
  <br/>
68
+ - <?php _e( 'From the user Display name', 'wd-fb-og' );?>
69
  </td>
70
  </tr>
71
 
79
  <td colspan="2" class="info">
80
  <i>&lt;meta name="publisher" content="..."/&gt;</i>
81
  <br/>
82
+ - <?php _e( 'From Settings &gt; General &gt; Site Title', 'wd-fb-og' );?>
83
  </td>
84
  </tr>
85
 
admin/options-page-twitter.php CHANGED
@@ -20,6 +20,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
20
  <tr>
21
  <td colspan="2" class="info">
22
  <i>&lt;meta name="twitter:title" content=..."/&gt;</i>
 
 
23
  </td>
24
  </tr>
25
 
@@ -32,6 +34,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
32
  <tr>
33
  <td colspan="2" class="info">
34
  <i>&lt;meta name="twitter:url" content="..."/&gt;</i>
 
 
35
  </td>
36
  </tr>
37
 
@@ -44,6 +48,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
44
  <tr>
45
  <td colspan="2" class="info">
46
  <i>&lt;meta name="twitter:description" content="..."/&gt;</i>
 
 
47
  </td>
48
  </tr>
49
 
@@ -56,6 +62,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
56
  <tr>
57
  <td colspan="2" class="info">
58
  <i>&lt;meta name="twitter:image" content="..."/&gt;</i>
 
 
59
  </td>
60
  </tr>
61
 
@@ -69,7 +77,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
69
  <td colspan="2" class="info">
70
  <i>&lt;meta name="twitter:creator" content="@..."/&gt;</i>
71
  <br/>
72
- <?php _e( 'The user\'s Twitter Username must be filled in on his profile', 'wd-fb-og' );?>
73
  </td>
74
  </tr>
75
 
@@ -83,7 +91,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
83
  <td colspan="2" class="info">
84
  <i>&lt;meta name="twitter:site" content="@..."/&gt;</i>
85
  <br/>
86
- <?php _e( 'The website\'s Twitter Username', 'wd-fb-og' );?>
87
  </td>
88
  </tr>
89
 
@@ -95,7 +103,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
95
  </tr>
96
  <tr class="fb_publisher_twitter_options">
97
  <td colspan="2" class="info">
98
- <?php _e( 'Twitter username (without @)', 'wd-fb-og' );?>
99
  </td>
100
  </tr>
101
 
@@ -112,7 +120,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
112
  <td colspan="2" class="info">
113
  <i>&lt;meta name="twitter:card" content="..."/&gt;</i>
114
  <br/>
115
- <?php _e( 'The type of Twitter Card shown on the timeline', 'wd-fb-og' );?>
116
  </td>
117
  </tr>
118
 
20
  <tr>
21
  <td colspan="2" class="info">
22
  <i>&lt;meta name="twitter:title" content=..."/&gt;</i>
23
+ <br/>
24
+ - <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wd-fb-og' ), 'fb_og_title' ); ?>
25
  </td>
26
  </tr>
27
 
34
  <tr>
35
  <td colspan="2" class="info">
36
  <i>&lt;meta name="twitter:url" content="..."/&gt;</i>
37
+ <br/>
38
+ - <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wd-fb-og' ), 'fb_og_url' ); ?>
39
  </td>
40
  </tr>
41
 
48
  <tr>
49
  <td colspan="2" class="info">
50
  <i>&lt;meta name="twitter:description" content="..."/&gt;</i>
51
+ <br/>
52
+ - <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wd-fb-og' ), 'fb_og_desc' ); ?>
53
  </td>
54
  </tr>
55
 
62
  <tr>
63
  <td colspan="2" class="info">
64
  <i>&lt;meta name="twitter:image" content="..."/&gt;</i>
65
+ <br/>
66
+ - <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wd-fb-og' ), 'fb_og_image' ); ?>
67
  </td>
68
  </tr>
69
 
77
  <td colspan="2" class="info">
78
  <i>&lt;meta name="twitter:creator" content="@..."/&gt;</i>
79
  <br/>
80
+ - <?php _e( 'The user\'s Twitter Username must be filled in on his profile', 'wd-fb-og' );?>
81
  </td>
82
  </tr>
83
 
91
  <td colspan="2" class="info">
92
  <i>&lt;meta name="twitter:site" content="@..."/&gt;</i>
93
  <br/>
94
+ - <?php _e( 'The website\'s Twitter Username', 'wd-fb-og' );?>
95
  </td>
96
  </tr>
97
 
103
  </tr>
104
  <tr class="fb_publisher_twitter_options">
105
  <td colspan="2" class="info">
106
+ - <?php _e( 'Twitter username (without @)', 'wd-fb-og' );?>
107
  </td>
108
  </tr>
109
 
120
  <td colspan="2" class="info">
121
  <i>&lt;meta name="twitter:card" content="..."/&gt;</i>
122
  <br/>
123
+ - <?php _e( 'The type of Twitter Card shown on the timeline', 'wd-fb-og' );?>
124
  </td>
125
  </tr>
126
 
includes/class-webdados-fb-open-graph.php CHANGED
@@ -95,7 +95,10 @@ class Webdados_FB {
95
  'fb_url_canonical' => 'intval',
96
  'fb_url_add_trailing' => 'intval',
97
  'fb_type_show' => 'intval',
 
98
  'fb_type_homepage' => 'trim',
 
 
99
  'fb_article_dates_show' => 'intval',
100
  'fb_article_sections_show' => 'intval',
101
  'fb_publisher_show' => 'intval',
@@ -222,7 +225,7 @@ class Webdados_FB {
222
  add_action( 'admin_notices', array( $plugin_admin, 'admin_notices' ) );
223
  // Session start so we can know if the cache was cleared on Facebook
224
  if(!session_id())
225
- session_start();
226
  }
227
 
228
  /* Public hooks */
@@ -235,6 +238,8 @@ class Webdados_FB {
235
  add_action( 'wp_head', array( $plugin_public, 'insert_meta_tags' ), 99999 );
236
  // hook to add Open Graph Namespace
237
  add_filter( 'language_attributes', array( $plugin_public, 'add_open_graph_namespace' ), 99999 );
 
 
238
  // RSS
239
  add_action( 'rss2_ns', array( $plugin_public, 'images_on_feed_yahoo_media_tag') );
240
  add_action( 'rss_item', array( $plugin_public, 'images_on_feed_image') );
95
  'fb_url_canonical' => 'intval',
96
  'fb_url_add_trailing' => 'intval',
97
  'fb_type_show' => 'intval',
98
+ 'fb_type_show_schema' => 'intval',
99
  'fb_type_homepage' => 'trim',
100
+ 'fb_type_schema_homepage' => 'trim',
101
+ 'fb_type_schema_post' => 'trim',
102
  'fb_article_dates_show' => 'intval',
103
  'fb_article_sections_show' => 'intval',
104
  'fb_publisher_show' => 'intval',
225
  add_action( 'admin_notices', array( $plugin_admin, 'admin_notices' ) );
226
  // Session start so we can know if the cache was cleared on Facebook
227
  if(!session_id())
228
+ @session_start(); //We use @ because some other plugin could previously sent something to the browser
229
  }
230
 
231
  /* Public hooks */
238
  add_action( 'wp_head', array( $plugin_public, 'insert_meta_tags' ), 99999 );
239
  // hook to add Open Graph Namespace
240
  add_filter( 'language_attributes', array( $plugin_public, 'add_open_graph_namespace' ), 99999 );
241
+ // Add Schema.org itemtype
242
+ add_filter( 'language_attributes', array( $plugin_public, 'add_schema_itemtype' ), 99999 );
243
  // RSS
244
  add_action( 'rss2_ns', array( $plugin_public, 'images_on_feed_yahoo_media_tag') );
245
  add_action( 'rss_item', array( $plugin_public, 'images_on_feed_image') );
lang/wd-fb-og-pt_PT.mo CHANGED
Binary file
lang/wd-fb-og-pt_PT.po CHANGED
@@ -3,8 +3,8 @@ msgstr ""
3
  "Project-Id-Version: Facebook Open Graph Meta Tags for WordPress v2.0\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wonderm00ns-simple-"
5
  "facebook-open-graph-tags\n"
6
- "POT-Creation-Date: 2016-10-11 17:23+0100\n"
7
- "PO-Revision-Date: 2016-10-11 17:24+0100\n"
8
  "Last-Translator: Wonderm00n <wonderm00n@gmail.com>\n"
9
  "Language-Team: Webdados <info@webdados.pt>\n"
10
  "Language: pt_PT\n"
@@ -29,7 +29,7 @@ msgid "Google+"
29
  msgstr "Google+"
30
 
31
  #: admin/class-webdados-fb-open-graph-admin.php:54
32
- #: admin/options-page-twitter.php:98
33
  msgid "Twitter username (without @)"
34
  msgstr "Utilizador do Twitter (sem @)"
35
 
@@ -43,7 +43,7 @@ msgid "Use this image:"
43
  msgstr "Utilizar esta imagem:"
44
 
45
  #: admin/class-webdados-fb-open-graph-admin.php:93
46
- #: admin/options-page-general.php:76 admin/options-page-general.php:136
47
  msgid "Upload/Choose"
48
  msgstr "Carregar/Escolher"
49
 
@@ -100,7 +100,7 @@ msgstr "Utilizar Título, URL e Descrição"
100
  msgid "Use Title, Canonical URL and Description generated by Yoast SEO"
101
  msgstr "Utilizar o Título, URL Canónico e a Descrição gerados pelo Yoast SEO"
102
 
103
- #: admin/options-page-3rdparty.php:55 admin/options-page-3rdparty.php:116
104
  #: admin/options-page-3rdparty.php:167 admin/options-page-3rdparty.php:205
105
  #, php-format
106
  msgid "You don't have %s installed or activated."
@@ -128,19 +128,32 @@ msgstr ""
128
  "adicional para que, quando um produto for partilhado no Facebook, seja dada "
129
  "ao utilizador a escolha de qual imagem mostrar"
130
 
131
- #: admin/options-page-3rdparty.php:88 admin/options-page-general.php:119
 
 
 
 
 
 
 
 
 
 
 
 
 
132
  msgid "Overlay PNG logo"
133
  msgstr "Sobrepor logotipo em PNG"
134
 
135
- #: admin/options-page-3rdparty.php:95
136
  msgid "Also overlay the PNG logo on the Product Gallery images"
137
  msgstr "Também sobrepor o logotipo em PNG nas imagens da Galeria de Produto"
138
 
139
- #: admin/options-page-3rdparty.php:100
140
  msgid "Use Category thumbnail as Image"
141
  msgstr "Utilizar miniatura de Categoria como Imagem"
142
 
143
- #: admin/options-page-3rdparty.php:107
144
  msgid ""
145
  "Recommended if you set large thumbnails for Product Categories and want to "
146
  "use them as Open Graph Images on category listing pages"
@@ -149,19 +162,19 @@ msgstr ""
149
  "Produto e deseja usar as mesmas como \"Open Graph Image\" nas listagens de "
150
  "categorias"
151
 
152
- #: admin/options-page-3rdparty.php:136
153
  msgid "Add SubHeading to Post/Page Title"
154
  msgstr "Adicionar \"SubHeading\" ao título do Artigo/Página"
155
 
156
- #: admin/options-page-3rdparty.php:148
157
  msgid "SubHeading position"
158
  msgstr "Posição do \"SubHeading\""
159
 
160
- #: admin/options-page-3rdparty.php:151
161
  msgid "After"
162
  msgstr "Depois"
163
 
164
- #: admin/options-page-3rdparty.php:152
165
  msgid "Before"
166
  msgstr "Antes"
167
 
@@ -201,29 +214,29 @@ msgstr "Tags Facebook Open Graph"
201
  msgid "Include Post/Page Title"
202
  msgstr "Incluir Título do Artigo/Página"
203
 
204
- #: admin/options-page-facebook.php:27
205
  msgid "Include Site Name"
206
  msgstr "Incluir Nome do Site"
207
 
208
- #: admin/options-page-facebook.php:36 admin/options-page-seo.php:78
209
  msgid "From Settings &gt; General &gt; Site Title"
210
  msgstr "De Opções &gt;Geral &gt; Título do site"
211
 
212
- #: admin/options-page-facebook.php:41 admin/options-page-twitter.php:27
213
  msgid "Include URL"
214
  msgstr "Incluir URL"
215
 
216
- #: admin/options-page-facebook.php:53 admin/options-page-schema.php:27
217
- #: admin/options-page-twitter.php:39
218
  msgid "Include Description"
219
  msgstr "Incluir Descrição"
220
 
221
- #: admin/options-page-facebook.php:65 admin/options-page-schema.php:39
222
- #: admin/options-page-twitter.php:51
223
  msgid "Include Image"
224
  msgstr "Incluir Imagem"
225
 
226
- #: admin/options-page-facebook.php:74
227
  #, php-format
228
  msgid ""
229
  "All images must have at least 200px on both dimensions in order to Facebook "
@@ -234,15 +247,15 @@ msgstr ""
234
  "Facebook as carregue. %dx%dpx para resultados optimizados. Um mínimo de "
235
  "600x315px é recomendado."
236
 
237
- #: admin/options-page-facebook.php:79
238
  msgid "Include Image Dimensions"
239
  msgstr "Incluir Dimensão da Imagem"
240
 
241
- #: admin/options-page-facebook.php:86 admin/options-page-facebook.php:144
242
  msgid "and"
243
  msgstr "e"
244
 
245
- #: admin/options-page-facebook.php:88
246
  msgid ""
247
  "Recommended only if Facebook is having problems loading the image when the "
248
  "post is shared for the first time, or else it adds extra unnecessary "
@@ -252,11 +265,11 @@ msgstr ""
252
  "artigo é partilhado pela primeira vez, ou em contrário só adiciona tempo de "
253
  "processamento desnecessário."
254
 
255
- #: admin/options-page-facebook.php:93
256
  msgid "Include Type"
257
  msgstr "Incluir Tipo"
258
 
259
- #: admin/options-page-facebook.php:102
260
  #, php-format
261
  msgid ""
262
  "Will be \"%1$s\" for posts and pages and \"%2$s\" or \"%3$s\" for the "
@@ -265,134 +278,134 @@ msgstr ""
265
  "Será \"%1$s\" para artigos e páginas, e \"%2$s\" ou \"%3$s\" para a página "
266
  "inicial"
267
 
268
- #: admin/options-page-facebook.php:104
269
  msgid "Additional types may be used depending on 3rd party integrations"
270
  msgstr ""
271
  "Tipos adicionais podem ser utilizados dependendo de integrações com outros "
272
  "plugins"
273
 
274
- #: admin/options-page-facebook.php:109
275
  msgid "Homepage Type"
276
  msgstr "Tipo da Página Inicial"
277
 
278
- #: admin/options-page-facebook.php:123 admin/options-page-schema.php:52
279
- #: admin/options-page-schema.php:66 admin/options-page-twitter.php:63
280
  msgid "Include Post/Page Author"
281
  msgstr "Incluir Autor do Artigo/Página"
282
 
283
- #: admin/options-page-facebook.php:132
284
  msgid "The user's Facebook URL must be filled in on his profile"
285
  msgstr "O URL de Facebook do utilizador tem de estar preenchido no seu perfil."
286
 
287
- #: admin/options-page-facebook.php:137
288
  msgid "Include Published/Modified Dates"
289
  msgstr "Incluir Datas de Publicação/Modificação"
290
 
291
- #: admin/options-page-facebook.php:146 admin/options-page-facebook.php:160
292
  msgid "For posts only"
293
  msgstr "Apenas para artigos"
294
 
295
- #: admin/options-page-facebook.php:151
296
  msgid "Include Article Sections"
297
  msgstr "Incluir Secções de Artigos"
298
 
299
- #: admin/options-page-facebook.php:160
300
  msgid "from the categories names"
301
  msgstr "do nome das categorias"
302
 
303
- #: admin/options-page-facebook.php:165 admin/options-page-schema.php:79
304
- #: admin/options-page-seo.php:69 admin/options-page-twitter.php:77
305
  msgid "Include Publisher"
306
  msgstr "Incluir “Publisher”"
307
 
308
- #: admin/options-page-facebook.php:174 admin/options-page-facebook.php:200
309
  msgid "The website's Facebook Page"
310
  msgstr "Página de Facebook do Website"
311
 
312
- #: admin/options-page-facebook.php:179
313
  msgid "Website's Facebook Page"
314
  msgstr "Página de Facebook do Website"
315
 
316
- #: admin/options-page-facebook.php:186
317
  msgid "Facebook Page URL (with https://)"
318
  msgstr "URL da Página de Facebook (with https://)"
319
 
320
- #: admin/options-page-facebook.php:191
321
  msgid "Include Locale"
322
  msgstr "Incluir “Locale”"
323
 
324
  # @ wd-fb-og
325
- #: admin/options-page-facebook.php:205
326
  msgid "Locale"
327
  msgstr "Locale"
328
 
329
  # @ wd-fb-og
330
- #: admin/options-page-facebook.php:243
331
  msgid "WordPress current locale/language"
332
  msgstr "O \"locale\"/idíoma actual do WordPress"
333
 
334
  # @ wd-fb-og
335
- #: admin/options-page-facebook.php:264
336
  msgid "List loaded from Facebook (online)"
337
  msgstr "Lista carregada do Facebook (online)"
338
 
339
  # @ wd-fb-og
340
- #: admin/options-page-facebook.php:267
341
  msgid "List loaded from local cache (offline)"
342
  msgstr "Lista carregada da cache local (offline)"
343
 
344
  # @ wd-fb-og
345
- #: admin/options-page-facebook.php:267
346
  msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
347
  msgstr ""
348
  "Vai perder quaisquer modificações que não tenha gravado. Tem a certeza?"
349
 
350
  # @ wd-fb-og
351
- #: admin/options-page-facebook.php:267
352
  msgid "Reload from Facebook"
353
  msgstr "(Re)carregar a partir do Facebook"
354
 
355
  # @ wd-fb-og
356
- #: admin/options-page-facebook.php:269
357
  msgid "List not loaded"
358
  msgstr "Lista não carregada"
359
 
360
- #: admin/options-page-facebook.php:277
361
  msgid "Include Facebook Admin(s) ID"
362
  msgstr "Incluir ID de Admin(s) do Facebook"
363
 
364
  # @ wd-fb-og
365
- #: admin/options-page-facebook.php:289
366
  msgid "Facebook Admin(s) ID"
367
  msgstr "ID do(s) Admin(s) no Facebook"
368
 
369
  # @ wd-fb-og
370
- #: admin/options-page-facebook.php:296
371
  msgid "Comma separated if more than one"
372
  msgstr "Separados por vírgulas se mais do que um"
373
 
374
- #: admin/options-page-facebook.php:301
375
  msgid "Include Facebook Platform App ID"
376
  msgstr "Incluir \"Facebook Platform App ID\""
377
 
378
  # @ wd-fb-og
379
- #: admin/options-page-facebook.php:313
380
  msgid "Facebook Platform App ID"
381
  msgstr "Facebook Platform App ID"
382
 
383
- #: admin/options-page-facebook.php:320
384
  msgid "From your Facebook Developers dashboard"
385
  msgstr "Do seu “Facebook Developers dashboard”"
386
 
387
- #: admin/options-page-facebook.php:329
388
  msgid "Facebook Open Graph Tags cache"
389
  msgstr "Cache de Tags Facebook Open Graph"
390
 
391
- #: admin/options-page-facebook.php:335
392
  msgid "Clear cache"
393
  msgstr "Limpar cache"
394
 
395
- #: admin/options-page-facebook.php:342
396
  msgid ""
397
  "Try to clear the Facebook Open Graph Tags cache when saving a post or page, "
398
  "so the link preview on Facebook is immediately updated"
@@ -400,11 +413,11 @@ msgstr ""
400
  "Tentar actualizar a cache das Tags Facebook Open Graph ao gravar um post, "
401
  "para que a pré-visualização no Facebook seja imediatamente actualizada"
402
 
403
- #: admin/options-page-facebook.php:347
404
  msgid "Suppress cache notices"
405
  msgstr "Esconder notificações de cache"
406
 
407
- #: admin/options-page-facebook.php:354
408
  msgid ""
409
  "Sometimes we aren't able to update the cache and the post author will see a "
410
  "notice if this option is not checked"
@@ -473,35 +486,35 @@ msgstr "Opções de Imagem"
473
  msgid "Default image"
474
  msgstr "Imagem por omissão"
475
 
476
- #: admin/options-page-general.php:81 admin/options-page-general.php:141
477
  msgid "URL (with http(s)://)"
478
  msgstr "URL (com http(s)://)"
479
 
480
- #: admin/options-page-general.php:88
481
  msgid "On Post/Page, use image from"
482
  msgstr "No Artigo/Página, usar imagem de"
483
 
484
- #: admin/options-page-general.php:92
485
  msgid "\"Open Graph Image\" custom field on the post"
486
  msgstr "Campo específico \"Open Graph Image\" no artigo"
487
 
488
- #: admin/options-page-general.php:96
489
  msgid "Post/page featured image"
490
  msgstr "Imagem de destaque do artigo/página"
491
 
492
- #: admin/options-page-general.php:100
493
  msgid "First image from the post/page content"
494
  msgstr "Primeira imagem no conteúdo do artigo/página"
495
 
496
- #: admin/options-page-general.php:104
497
  msgid "First image from the post/page media gallery"
498
  msgstr "Primeira imagem carregada na galeria multimédia do artigo/página"
499
 
500
- #: admin/options-page-general.php:108
501
  msgid "Default image specified above"
502
  msgstr "Imagem por omissão definida em cima"
503
 
504
- #: admin/options-page-general.php:114
505
  msgid ""
506
  "On posts/pages the first image found, using the priority above, will be "
507
  "used. On the homepage, archives and other website sections the default image "
@@ -511,7 +524,11 @@ msgstr ""
511
  "cima, será utilizada. Na página inicial, arquivos e outras secções do "
512
  "website a imagem utilizada será a por omissão."
513
 
514
- #: admin/options-page-general.php:126
 
 
 
 
515
  #, php-format
516
  msgid ""
517
  "The original image will be resized/cropped to %dx%dpx and the chosen PNG "
@@ -522,7 +539,7 @@ msgstr ""
522
  "(que deve ter exactamente este tamanho) será sobreposto à mesma. Só "
523
  "funcionará para imagem alojadas localmente."
524
 
525
- #: admin/options-page-general.php:128
526
  #, php-format
527
  msgid ""
528
  "You can see an example of the end result <a href=\"%s\" target=\"_blank"
@@ -531,42 +548,51 @@ msgstr ""
531
  "Pode ver um exemplo do resultado final <a href=\"%s\" target=\"_blank"
532
  "\">aqui</a>"
533
 
534
- #: admin/options-page-general.php:133
 
 
 
 
 
 
 
 
 
535
  msgid "PNG logo"
536
  msgstr "Logo PNG"
537
 
538
- #: admin/options-page-general.php:143
539
  #, php-format
540
  msgid "Size: %dx%dpx"
541
  msgstr "Tamanho: %dx%dpx"
542
 
543
  # @ wd-fb-og
544
- #: admin/options-page-general.php:148
545
  msgid "Add image to RSS/RSS2 feeds"
546
  msgstr "Incluir a imagem aos feeds RSS/RSS2"
547
 
548
  # @ wd-fb-og
549
- #: admin/options-page-general.php:155
550
  msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
551
  msgstr ""
552
  "Para aplicação de posts automáticos como o RSS Graffitti, twitterfeed, etc..."
553
 
554
- #: admin/options-page-general.php:160
555
  msgid "Force getimagesize on local file"
556
  msgstr "Forçar “getimagesize” em ficheiro local"
557
 
558
- #: admin/options-page-general.php:167
559
  msgid ""
560
  "This is an advanced option: Don't mess with this unless you know what you're "
561
  "doing"
562
  msgstr "Esta é uma opção avançada: Não a altere se não sabe o que está a fazer"
563
 
564
- #: admin/options-page-general.php:169
565
  msgid "Force getimagesize on local file even if allow_url_fopen=1"
566
  msgstr ""
567
  "Forçar o \"getimagesize\" no ficheiro local mesmo que allow_url_fopen=1"
568
 
569
- #: admin/options-page-general.php:171
570
  msgid ""
571
  "May cause problems with some multisite configurations but fixes \"HTTP "
572
  "request failed\" errors"
@@ -574,44 +600,44 @@ msgstr ""
574
  "Pode causar problemas com algumas configurações “multisite” mas corrige "
575
  "erros \"HTTP request failed\""
576
 
577
- #: admin/options-page-general.php:180
578
  msgid "URL settings"
579
  msgstr "Opções de URL"
580
 
581
  # @ wd-fb-og
582
- #: admin/options-page-general.php:186
583
  msgid "Add trailing slash at the end"
584
  msgstr "Adicionar barra invertida no final"
585
 
586
- #: admin/options-page-general.php:193
587
  msgid "If missing, a trailing slash will be added at the end"
588
  msgstr "Se em falta, será adicionada uma barra invertida no final"
589
 
590
- #: admin/options-page-general.php:195
591
  msgid "Homepage example:"
592
  msgstr "Exemplo da Página Inicial:"
593
 
594
- #: admin/options-page-general.php:204
595
  msgid "Author settings"
596
  msgstr "Opções de Autor"
597
 
598
- #: admin/options-page-general.php:210
599
  msgid "Hide Author on Pages"
600
  msgstr "Esconder Autor nas Páginas"
601
 
602
- #: admin/options-page-general.php:217
603
  msgid "Hides all Author tags on Pages"
604
  msgstr "Esconde todas as tags de Autor nas Páginas"
605
 
606
- #: admin/options-page-general.php:226
607
  msgid "Other settings"
608
  msgstr "Outras opções"
609
 
610
- #: admin/options-page-general.php:232
611
  msgid "Keep data on uninstall"
612
  msgstr "Manter opções ao desinstalar"
613
 
614
- #: admin/options-page-general.php:239
615
  msgid ""
616
  "Keep the plugin settings on the database even if the plugin is uninstalled"
617
  msgstr ""
@@ -715,23 +741,35 @@ msgstr "Tags Google+ / Schema.org"
715
  msgid "Include Title"
716
  msgstr "Incluir Título"
717
 
718
- #: admin/options-page-schema.php:61
 
 
 
 
 
 
 
 
 
 
 
 
719
  msgid "The user's Google+ URL must be filled in on his profile"
720
  msgstr "O URL de Google+ do utilizador tem de estar preenchido no seu perfil."
721
 
722
- #: admin/options-page-schema.php:68
723
  msgid "Google doesn't use it anymore"
724
  msgstr "O Google já não usa"
725
 
726
- #: admin/options-page-schema.php:88
727
  msgid "The website's Google+ Page"
728
  msgstr "Página de Google+ do Website"
729
 
730
- #: admin/options-page-schema.php:93
731
  msgid "Website's Google+ Page"
732
  msgstr "Página Google+ do Website"
733
 
734
- #: admin/options-page-schema.php:100
735
  msgid "Google+ Page URL (with https://)"
736
  msgstr "URL da Página de Google+ (with https://)"
737
 
@@ -752,20 +790,20 @@ msgstr "Meta Tags SEO"
752
  msgid "Set Canonical URL"
753
  msgstr "Incluir URL Canónico"
754
 
755
- #: admin/options-page-seo.php:27 admin/options-page-seo.php:47
756
  msgid "Not recommended because you have Yoast SEO active"
757
  msgstr "Não recomendado porque tem o Yoast SEO activado"
758
 
759
  # @ wd-fb-og
760
- #: admin/options-page-seo.php:35
761
  msgid "Include Meta Description tag"
762
  msgstr "Incluir a tag \"Meta Description\""
763
 
764
- #: admin/options-page-seo.php:55
765
  msgid "Include Post/Page Author name"
766
  msgstr "Incluir nome do Autor do Artigo/Página"
767
 
768
- #: admin/options-page-seo.php:64
769
  msgid "From the user Display name"
770
  msgstr "Do nome público do utilizador"
771
 
@@ -777,31 +815,31 @@ msgstr "Tags utilizadas pelo Twitter para definir os seus cartões."
777
  msgid "Twitter Card Tags"
778
  msgstr "Tags Twitter Card"
779
 
780
- #: admin/options-page-twitter.php:72
781
  msgid "The user's Twitter Username must be filled in on his profile"
782
  msgstr "O Utilizador de Twitter tem de estar preenchido no seu perfil."
783
 
784
- #: admin/options-page-twitter.php:86
785
  msgid "The website's Twitter Username"
786
  msgstr "Utilizador de Twitter do Website"
787
 
788
- #: admin/options-page-twitter.php:91
789
  msgid "Website's Twitter Username"
790
  msgstr "Utilizador Twitter do Website"
791
 
792
- #: admin/options-page-twitter.php:103
793
  msgid "Card Type"
794
  msgstr "Tipo de Cartão"
795
 
796
- #: admin/options-page-twitter.php:106
797
  msgid "Summary Card"
798
  msgstr "Resumo"
799
 
800
- #: admin/options-page-twitter.php:107
801
  msgid "Summary Card with Large Image"
802
  msgstr "Resumo com imagem grande"
803
 
804
- #: admin/options-page-twitter.php:115
805
  msgid "The type of Twitter Card shown on the timeline"
806
  msgstr "O tipo de “Twitter Card” mostrado na timeline"
807
 
@@ -856,17 +894,33 @@ msgstr "Arquivos"
856
 
857
  #. Description of the plugin/theme
858
  msgid ""
859
- "Inserts Facebook Open Graph, Google+ / Schema.org and Twitter Card Tags into "
860
- "your WordPress Blog/Website for more effective and efficient Facebook, Google"
861
- "+ and Twitter sharing results. You can also choose to insert the \"enclosure"
862
- "\" and \"media:content\" tags to the RSS feeds, so that apps like RSS "
863
- "Graffiti and twitterfeed post the image to Facebook correctly."
864
  msgstr ""
865
- "Insere tags Facebook Open Graph, Google+ / Schema.org e Twitter Card ao seu "
866
- "Blog/Site em WordPress para uma mais efectiva e eficiente partilha no "
867
- "Facebook, Google+ e Twitter. Pode também optar por inserir as tags "
868
- "\"enclosure\" e \"media:content\" nos feeds RSS, para que aplicações como o "
869
- "RSS Graffiti and twitterfeed façam partilha para o Facebook correctamente."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
870
 
871
  # @ wd-fb-og
872
  #~ msgid "0 or blank for no maximum length"
@@ -1206,9 +1260,6 @@ msgstr ""
1206
  #~ "Utilizar as imagens da Galeria de Produtos como \"Open Graph Image\" "
1207
  #~ "adicionais"
1208
 
1209
- #~ msgid "Experimental"
1210
- #~ msgstr "Experimental"
1211
-
1212
  #~ msgid ""
1213
  #~ "Uses additional Product Gallery images so, when the product is shared on "
1214
  #~ "Facebook, the user can choose what image to use"
3
  "Project-Id-Version: Facebook Open Graph Meta Tags for WordPress v2.0\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wonderm00ns-simple-"
5
  "facebook-open-graph-tags\n"
6
+ "POT-Creation-Date: 2016-10-12 12:30+0100\n"
7
+ "PO-Revision-Date: 2016-10-12 12:33+0100\n"
8
  "Last-Translator: Wonderm00n <wonderm00n@gmail.com>\n"
9
  "Language-Team: Webdados <info@webdados.pt>\n"
10
  "Language: pt_PT\n"
29
  msgstr "Google+"
30
 
31
  #: admin/class-webdados-fb-open-graph-admin.php:54
32
+ #: admin/options-page-twitter.php:106
33
  msgid "Twitter username (without @)"
34
  msgstr "Utilizador do Twitter (sem @)"
35
 
43
  msgstr "Utilizar esta imagem:"
44
 
45
  #: admin/class-webdados-fb-open-graph-admin.php:93
46
+ #: admin/options-page-general.php:76 admin/options-page-general.php:142
47
  msgid "Upload/Choose"
48
  msgstr "Carregar/Escolher"
49
 
100
  msgid "Use Title, Canonical URL and Description generated by Yoast SEO"
101
  msgstr "Utilizar o Título, URL Canónico e a Descrição gerados pelo Yoast SEO"
102
 
103
+ #: admin/options-page-3rdparty.php:55 admin/options-page-3rdparty.php:118
104
  #: admin/options-page-3rdparty.php:167 admin/options-page-3rdparty.php:205
105
  #, php-format
106
  msgid "You don't have %s installed or activated."
128
  "adicional para que, quando um produto for partilhado no Facebook, seja dada "
129
  "ao utilizador a escolha de qual imagem mostrar"
130
 
131
+ #: admin/options-page-3rdparty.php:85 admin/options-page-facebook.php:24
132
+ #: admin/options-page-facebook.php:52 admin/options-page-facebook.php:66
133
+ #: admin/options-page-facebook.php:82 admin/options-page-facebook.php:114
134
+ #: admin/options-page-facebook.php:284 admin/options-page-general.php:85
135
+ #: admin/options-page-schema.php:24 admin/options-page-schema.php:38
136
+ #: admin/options-page-schema.php:52 admin/options-page-schema.php:70
137
+ #: admin/options-page-seo.php:32 admin/options-page-seo.php:54
138
+ #: admin/options-page-twitter.php:24 admin/options-page-twitter.php:38
139
+ #: admin/options-page-twitter.php:52 admin/options-page-twitter.php:66
140
+ #, php-format
141
+ msgid "You can change this value using the <i>%1$s</i> filter"
142
+ msgstr "Pode alterar este valor utilizando o filtro <i>%1$s</i>"
143
+
144
+ #: admin/options-page-3rdparty.php:90 admin/options-page-general.php:121
145
  msgid "Overlay PNG logo"
146
  msgstr "Sobrepor logotipo em PNG"
147
 
148
+ #: admin/options-page-3rdparty.php:97
149
  msgid "Also overlay the PNG logo on the Product Gallery images"
150
  msgstr "Também sobrepor o logotipo em PNG nas imagens da Galeria de Produto"
151
 
152
+ #: admin/options-page-3rdparty.php:102
153
  msgid "Use Category thumbnail as Image"
154
  msgstr "Utilizar miniatura de Categoria como Imagem"
155
 
156
+ #: admin/options-page-3rdparty.php:109
157
  msgid ""
158
  "Recommended if you set large thumbnails for Product Categories and want to "
159
  "use them as Open Graph Images on category listing pages"
162
  "Produto e deseja usar as mesmas como \"Open Graph Image\" nas listagens de "
163
  "categorias"
164
 
165
+ #: admin/options-page-3rdparty.php:138
166
  msgid "Add SubHeading to Post/Page Title"
167
  msgstr "Adicionar \"SubHeading\" ao título do Artigo/Página"
168
 
169
+ #: admin/options-page-3rdparty.php:149
170
  msgid "SubHeading position"
171
  msgstr "Posição do \"SubHeading\""
172
 
173
+ #: admin/options-page-3rdparty.php:152
174
  msgid "After"
175
  msgstr "Depois"
176
 
177
+ #: admin/options-page-3rdparty.php:153
178
  msgid "Before"
179
  msgstr "Antes"
180
 
214
  msgid "Include Post/Page Title"
215
  msgstr "Incluir Título do Artigo/Página"
216
 
217
+ #: admin/options-page-facebook.php:29
218
  msgid "Include Site Name"
219
  msgstr "Incluir Nome do Site"
220
 
221
+ #: admin/options-page-facebook.php:38 admin/options-page-seo.php:82
222
  msgid "From Settings &gt; General &gt; Site Title"
223
  msgstr "De Opções &gt;Geral &gt; Título do site"
224
 
225
+ #: admin/options-page-facebook.php:43 admin/options-page-twitter.php:29
226
  msgid "Include URL"
227
  msgstr "Incluir URL"
228
 
229
+ #: admin/options-page-facebook.php:57 admin/options-page-schema.php:29
230
+ #: admin/options-page-twitter.php:43
231
  msgid "Include Description"
232
  msgstr "Incluir Descrição"
233
 
234
+ #: admin/options-page-facebook.php:71 admin/options-page-schema.php:43
235
+ #: admin/options-page-twitter.php:57
236
  msgid "Include Image"
237
  msgstr "Incluir Imagem"
238
 
239
+ #: admin/options-page-facebook.php:80
240
  #, php-format
241
  msgid ""
242
  "All images must have at least 200px on both dimensions in order to Facebook "
247
  "Facebook as carregue. %dx%dpx para resultados optimizados. Um mínimo de "
248
  "600x315px é recomendado."
249
 
250
+ #: admin/options-page-facebook.php:87
251
  msgid "Include Image Dimensions"
252
  msgstr "Incluir Dimensão da Imagem"
253
 
254
+ #: admin/options-page-facebook.php:94 admin/options-page-facebook.php:154
255
  msgid "and"
256
  msgstr "e"
257
 
258
+ #: admin/options-page-facebook.php:96
259
  msgid ""
260
  "Recommended only if Facebook is having problems loading the image when the "
261
  "post is shared for the first time, or else it adds extra unnecessary "
265
  "artigo é partilhado pela primeira vez, ou em contrário só adiciona tempo de "
266
  "processamento desnecessário."
267
 
268
+ #: admin/options-page-facebook.php:101 admin/options-page-schema.php:57
269
  msgid "Include Type"
270
  msgstr "Incluir Tipo"
271
 
272
+ #: admin/options-page-facebook.php:110
273
  #, php-format
274
  msgid ""
275
  "Will be \"%1$s\" for posts and pages and \"%2$s\" or \"%3$s\" for the "
278
  "Será \"%1$s\" para artigos e páginas, e \"%2$s\" ou \"%3$s\" para a página "
279
  "inicial"
280
 
281
+ #: admin/options-page-facebook.php:112
282
  msgid "Additional types may be used depending on 3rd party integrations"
283
  msgstr ""
284
  "Tipos adicionais podem ser utilizados dependendo de integrações com outros "
285
  "plugins"
286
 
287
+ #: admin/options-page-facebook.php:119 admin/options-page-schema.php:75
288
  msgid "Homepage Type"
289
  msgstr "Tipo da Página Inicial"
290
 
291
+ #: admin/options-page-facebook.php:133 admin/options-page-schema.php:107
292
+ #: admin/options-page-schema.php:121 admin/options-page-twitter.php:71
293
  msgid "Include Post/Page Author"
294
  msgstr "Incluir Autor do Artigo/Página"
295
 
296
+ #: admin/options-page-facebook.php:142
297
  msgid "The user's Facebook URL must be filled in on his profile"
298
  msgstr "O URL de Facebook do utilizador tem de estar preenchido no seu perfil."
299
 
300
+ #: admin/options-page-facebook.php:147
301
  msgid "Include Published/Modified Dates"
302
  msgstr "Incluir Datas de Publicação/Modificação"
303
 
304
+ #: admin/options-page-facebook.php:156 admin/options-page-facebook.php:170
305
  msgid "For posts only"
306
  msgstr "Apenas para artigos"
307
 
308
+ #: admin/options-page-facebook.php:161
309
  msgid "Include Article Sections"
310
  msgstr "Incluir Secções de Artigos"
311
 
312
+ #: admin/options-page-facebook.php:170
313
  msgid "from the categories names"
314
  msgstr "do nome das categorias"
315
 
316
+ #: admin/options-page-facebook.php:175 admin/options-page-schema.php:134
317
+ #: admin/options-page-seo.php:73 admin/options-page-twitter.php:85
318
  msgid "Include Publisher"
319
  msgstr "Incluir “Publisher”"
320
 
321
+ #: admin/options-page-facebook.php:184 admin/options-page-facebook.php:210
322
  msgid "The website's Facebook Page"
323
  msgstr "Página de Facebook do Website"
324
 
325
+ #: admin/options-page-facebook.php:189
326
  msgid "Website's Facebook Page"
327
  msgstr "Página de Facebook do Website"
328
 
329
+ #: admin/options-page-facebook.php:196
330
  msgid "Facebook Page URL (with https://)"
331
  msgstr "URL da Página de Facebook (with https://)"
332
 
333
+ #: admin/options-page-facebook.php:201
334
  msgid "Include Locale"
335
  msgstr "Incluir “Locale”"
336
 
337
  # @ wd-fb-og
338
+ #: admin/options-page-facebook.php:215
339
  msgid "Locale"
340
  msgstr "Locale"
341
 
342
  # @ wd-fb-og
343
+ #: admin/options-page-facebook.php:253
344
  msgid "WordPress current locale/language"
345
  msgstr "O \"locale\"/idíoma actual do WordPress"
346
 
347
  # @ wd-fb-og
348
+ #: admin/options-page-facebook.php:274
349
  msgid "List loaded from Facebook (online)"
350
  msgstr "Lista carregada do Facebook (online)"
351
 
352
  # @ wd-fb-og
353
+ #: admin/options-page-facebook.php:277
354
  msgid "List loaded from local cache (offline)"
355
  msgstr "Lista carregada da cache local (offline)"
356
 
357
  # @ wd-fb-og
358
+ #: admin/options-page-facebook.php:277
359
  msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
360
  msgstr ""
361
  "Vai perder quaisquer modificações que não tenha gravado. Tem a certeza?"
362
 
363
  # @ wd-fb-og
364
+ #: admin/options-page-facebook.php:277
365
  msgid "Reload from Facebook"
366
  msgstr "(Re)carregar a partir do Facebook"
367
 
368
  # @ wd-fb-og
369
+ #: admin/options-page-facebook.php:279
370
  msgid "List not loaded"
371
  msgstr "Lista não carregada"
372
 
373
+ #: admin/options-page-facebook.php:289
374
  msgid "Include Facebook Admin(s) ID"
375
  msgstr "Incluir ID de Admin(s) do Facebook"
376
 
377
  # @ wd-fb-og
378
+ #: admin/options-page-facebook.php:301
379
  msgid "Facebook Admin(s) ID"
380
  msgstr "ID do(s) Admin(s) no Facebook"
381
 
382
  # @ wd-fb-og
383
+ #: admin/options-page-facebook.php:308
384
  msgid "Comma separated if more than one"
385
  msgstr "Separados por vírgulas se mais do que um"
386
 
387
+ #: admin/options-page-facebook.php:313
388
  msgid "Include Facebook Platform App ID"
389
  msgstr "Incluir \"Facebook Platform App ID\""
390
 
391
  # @ wd-fb-og
392
+ #: admin/options-page-facebook.php:325
393
  msgid "Facebook Platform App ID"
394
  msgstr "Facebook Platform App ID"
395
 
396
+ #: admin/options-page-facebook.php:332
397
  msgid "From your Facebook Developers dashboard"
398
  msgstr "Do seu “Facebook Developers dashboard”"
399
 
400
+ #: admin/options-page-facebook.php:341
401
  msgid "Facebook Open Graph Tags cache"
402
  msgstr "Cache de Tags Facebook Open Graph"
403
 
404
+ #: admin/options-page-facebook.php:347
405
  msgid "Clear cache"
406
  msgstr "Limpar cache"
407
 
408
+ #: admin/options-page-facebook.php:354
409
  msgid ""
410
  "Try to clear the Facebook Open Graph Tags cache when saving a post or page, "
411
  "so the link preview on Facebook is immediately updated"
413
  "Tentar actualizar a cache das Tags Facebook Open Graph ao gravar um post, "
414
  "para que a pré-visualização no Facebook seja imediatamente actualizada"
415
 
416
+ #: admin/options-page-facebook.php:359
417
  msgid "Suppress cache notices"
418
  msgstr "Esconder notificações de cache"
419
 
420
+ #: admin/options-page-facebook.php:366
421
  msgid ""
422
  "Sometimes we aren't able to update the cache and the post author will see a "
423
  "notice if this option is not checked"
486
  msgid "Default image"
487
  msgstr "Imagem por omissão"
488
 
489
+ #: admin/options-page-general.php:81 admin/options-page-general.php:147
490
  msgid "URL (with http(s)://)"
491
  msgstr "URL (com http(s)://)"
492
 
493
+ #: admin/options-page-general.php:90
494
  msgid "On Post/Page, use image from"
495
  msgstr "No Artigo/Página, usar imagem de"
496
 
497
+ #: admin/options-page-general.php:94
498
  msgid "\"Open Graph Image\" custom field on the post"
499
  msgstr "Campo específico \"Open Graph Image\" no artigo"
500
 
501
+ #: admin/options-page-general.php:98
502
  msgid "Post/page featured image"
503
  msgstr "Imagem de destaque do artigo/página"
504
 
505
+ #: admin/options-page-general.php:102
506
  msgid "First image from the post/page content"
507
  msgstr "Primeira imagem no conteúdo do artigo/página"
508
 
509
+ #: admin/options-page-general.php:106
510
  msgid "First image from the post/page media gallery"
511
  msgstr "Primeira imagem carregada na galeria multimédia do artigo/página"
512
 
513
+ #: admin/options-page-general.php:110
514
  msgid "Default image specified above"
515
  msgstr "Imagem por omissão definida em cima"
516
 
517
+ #: admin/options-page-general.php:116
518
  msgid ""
519
  "On posts/pages the first image found, using the priority above, will be "
520
  "used. On the homepage, archives and other website sections the default image "
524
  "cima, será utilizada. Na página inicial, arquivos e outras secções do "
525
  "website a imagem utilizada será a por omissão."
526
 
527
+ #: admin/options-page-general.php:128 admin/options-page-schema.php:66
528
+ msgid "Experimental"
529
+ msgstr "Experimental"
530
+
531
+ #: admin/options-page-general.php:130
532
  #, php-format
533
  msgid ""
534
  "The original image will be resized/cropped to %dx%dpx and the chosen PNG "
539
  "(que deve ter exactamente este tamanho) será sobreposto à mesma. Só "
540
  "funcionará para imagem alojadas localmente."
541
 
542
+ #: admin/options-page-general.php:132
543
  #, php-format
544
  msgid ""
545
  "You can see an example of the end result <a href=\"%s\" target=\"_blank"
548
  "Pode ver um exemplo do resultado final <a href=\"%s\" target=\"_blank"
549
  "\">aqui</a>"
550
 
551
+ #: admin/options-page-general.php:134
552
+ #, php-format
553
+ msgid ""
554
+ "If you activate this option globally, you can disable it based on your "
555
+ "conditions using the <i>%1$s</i> filter"
556
+ msgstr ""
557
+ "Se activar esta opção globalmente, pode desactivá-la com base nas suas "
558
+ "condições utilizando o filtro <i>%1$s</i>"
559
+
560
+ #: admin/options-page-general.php:139
561
  msgid "PNG logo"
562
  msgstr "Logo PNG"
563
 
564
+ #: admin/options-page-general.php:149
565
  #, php-format
566
  msgid "Size: %dx%dpx"
567
  msgstr "Tamanho: %dx%dpx"
568
 
569
  # @ wd-fb-og
570
+ #: admin/options-page-general.php:154
571
  msgid "Add image to RSS/RSS2 feeds"
572
  msgstr "Incluir a imagem aos feeds RSS/RSS2"
573
 
574
  # @ wd-fb-og
575
+ #: admin/options-page-general.php:161
576
  msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
577
  msgstr ""
578
  "Para aplicação de posts automáticos como o RSS Graffitti, twitterfeed, etc..."
579
 
580
+ #: admin/options-page-general.php:166
581
  msgid "Force getimagesize on local file"
582
  msgstr "Forçar “getimagesize” em ficheiro local"
583
 
584
+ #: admin/options-page-general.php:173
585
  msgid ""
586
  "This is an advanced option: Don't mess with this unless you know what you're "
587
  "doing"
588
  msgstr "Esta é uma opção avançada: Não a altere se não sabe o que está a fazer"
589
 
590
+ #: admin/options-page-general.php:175
591
  msgid "Force getimagesize on local file even if allow_url_fopen=1"
592
  msgstr ""
593
  "Forçar o \"getimagesize\" no ficheiro local mesmo que allow_url_fopen=1"
594
 
595
+ #: admin/options-page-general.php:177
596
  msgid ""
597
  "May cause problems with some multisite configurations but fixes \"HTTP "
598
  "request failed\" errors"
600
  "Pode causar problemas com algumas configurações “multisite” mas corrige "
601
  "erros \"HTTP request failed\""
602
 
603
+ #: admin/options-page-general.php:186
604
  msgid "URL settings"
605
  msgstr "Opções de URL"
606
 
607
  # @ wd-fb-og
608
+ #: admin/options-page-general.php:192
609
  msgid "Add trailing slash at the end"
610
  msgstr "Adicionar barra invertida no final"
611
 
612
+ #: admin/options-page-general.php:199
613
  msgid "If missing, a trailing slash will be added at the end"
614
  msgstr "Se em falta, será adicionada uma barra invertida no final"
615
 
616
+ #: admin/options-page-general.php:201
617
  msgid "Homepage example:"
618
  msgstr "Exemplo da Página Inicial:"
619
 
620
+ #: admin/options-page-general.php:210
621
  msgid "Author settings"
622
  msgstr "Opções de Autor"
623
 
624
+ #: admin/options-page-general.php:216
625
  msgid "Hide Author on Pages"
626
  msgstr "Esconder Autor nas Páginas"
627
 
628
+ #: admin/options-page-general.php:223
629
  msgid "Hides all Author tags on Pages"
630
  msgstr "Esconde todas as tags de Autor nas Páginas"
631
 
632
+ #: admin/options-page-general.php:232
633
  msgid "Other settings"
634
  msgstr "Outras opções"
635
 
636
+ #: admin/options-page-general.php:238
637
  msgid "Keep data on uninstall"
638
  msgstr "Manter opções ao desinstalar"
639
 
640
+ #: admin/options-page-general.php:245
641
  msgid ""
642
  "Keep the plugin settings on the database even if the plugin is uninstalled"
643
  msgstr ""
741
  msgid "Include Title"
742
  msgstr "Incluir Título"
743
 
744
+ #: admin/options-page-schema.php:68
745
+ msgid ""
746
+ "Added to the HTML tag, if you want to avoid W3C and Structured Data "
747
+ "validation errors"
748
+ msgstr ""
749
+ "Adicionado à tag HTML, se quiser evitar erros de validação do W3C e "
750
+ "“Structured Data”"
751
+
752
+ #: admin/options-page-schema.php:89
753
+ msgid "Default (including Post/Page) Type"
754
+ msgstr "Tipo por omissão (incluindo Artigo/Página)"
755
+
756
+ #: admin/options-page-schema.php:116
757
  msgid "The user's Google+ URL must be filled in on his profile"
758
  msgstr "O URL de Google+ do utilizador tem de estar preenchido no seu perfil."
759
 
760
+ #: admin/options-page-schema.php:123
761
  msgid "Google doesn't use it anymore"
762
  msgstr "O Google já não usa"
763
 
764
+ #: admin/options-page-schema.php:143
765
  msgid "The website's Google+ Page"
766
  msgstr "Página de Google+ do Website"
767
 
768
+ #: admin/options-page-schema.php:148
769
  msgid "Website's Google+ Page"
770
  msgstr "Página Google+ do Website"
771
 
772
+ #: admin/options-page-schema.php:155
773
  msgid "Google+ Page URL (with https://)"
774
  msgstr "URL da Página de Google+ (with https://)"
775
 
790
  msgid "Set Canonical URL"
791
  msgstr "Incluir URL Canónico"
792
 
793
+ #: admin/options-page-seo.php:27 admin/options-page-seo.php:49
794
  msgid "Not recommended because you have Yoast SEO active"
795
  msgstr "Não recomendado porque tem o Yoast SEO activado"
796
 
797
  # @ wd-fb-og
798
+ #: admin/options-page-seo.php:37
799
  msgid "Include Meta Description tag"
800
  msgstr "Incluir a tag \"Meta Description\""
801
 
802
+ #: admin/options-page-seo.php:59
803
  msgid "Include Post/Page Author name"
804
  msgstr "Incluir nome do Autor do Artigo/Página"
805
 
806
+ #: admin/options-page-seo.php:68
807
  msgid "From the user Display name"
808
  msgstr "Do nome público do utilizador"
809
 
815
  msgid "Twitter Card Tags"
816
  msgstr "Tags Twitter Card"
817
 
818
+ #: admin/options-page-twitter.php:80
819
  msgid "The user's Twitter Username must be filled in on his profile"
820
  msgstr "O Utilizador de Twitter tem de estar preenchido no seu perfil."
821
 
822
+ #: admin/options-page-twitter.php:94
823
  msgid "The website's Twitter Username"
824
  msgstr "Utilizador de Twitter do Website"
825
 
826
+ #: admin/options-page-twitter.php:99
827
  msgid "Website's Twitter Username"
828
  msgstr "Utilizador Twitter do Website"
829
 
830
+ #: admin/options-page-twitter.php:111
831
  msgid "Card Type"
832
  msgstr "Tipo de Cartão"
833
 
834
+ #: admin/options-page-twitter.php:114
835
  msgid "Summary Card"
836
  msgstr "Resumo"
837
 
838
+ #: admin/options-page-twitter.php:115
839
  msgid "Summary Card with Large Image"
840
  msgstr "Resumo com imagem grande"
841
 
842
+ #: admin/options-page-twitter.php:123
843
  msgid "The type of Twitter Card shown on the timeline"
844
  msgstr "O tipo de “Twitter Card” mostrado na timeline"
845
 
894
 
895
  #. Description of the plugin/theme
896
  msgid ""
897
+ "Inserts Facebook Open Graph, Google+/Schema.org, Twitter Card and SEO Meta "
898
+ "Tags into your WordPress Blog/Website for more effective and efficient "
899
+ "Facebook, Google+ and Twitter sharing results. You can also choose to insert "
900
+ "the \"enclosure\" and \"media:content\" tags to the RSS feeds, so that apps "
901
+ "like RSS Graffiti and Twitterfeed post the image to Facebook correctly."
902
  msgstr ""
903
+ "Insere Tags Facebook Open Graph, Google+ / Schema.org, Twitter Card e outras "
904
+ "Meta Tags SEO ao seu Blog/Site em WordPress para uma mais efectiva e "
905
+ "eficiente partilha no Facebook, Google+ e Twitter. Pode também optar por "
906
+ "inserir as tags \"enclosure\" e \"media:content\" nos feeds RSS, para que "
907
+ "aplicações como o RSS Graffiti e o Twitterfeed façam partilha para o "
908
+ "Facebook com a imagem correcta."
909
+
910
+ #~ msgid ""
911
+ #~ "Inserts Facebook Open Graph, Google+ / Schema.org and Twitter Card Tags "
912
+ #~ "into your WordPress Blog/Website for more effective and efficient "
913
+ #~ "Facebook, Google+ and Twitter sharing results. You can also choose to "
914
+ #~ "insert the \"enclosure\" and \"media:content\" tags to the RSS feeds, so "
915
+ #~ "that apps like RSS Graffiti and twitterfeed post the image to Facebook "
916
+ #~ "correctly."
917
+ #~ msgstr ""
918
+ #~ "Insere tags Facebook Open Graph, Google+ / Schema.org e Twitter Card ao "
919
+ #~ "seu Blog/Site em WordPress para uma mais efectiva e eficiente partilha no "
920
+ #~ "Facebook, Google+ e Twitter. Pode também optar por inserir as tags "
921
+ #~ "\"enclosure\" e \"media:content\" nos feeds RSS, para que aplicações como "
922
+ #~ "o RSS Graffiti and twitterfeed façam partilha para o Facebook "
923
+ #~ "correctamente."
924
 
925
  # @ wd-fb-og
926
  #~ msgid "0 or blank for no maximum length"
1260
  #~ "Utilizar as imagens da Galeria de Produtos como \"Open Graph Image\" "
1261
  #~ "adicionais"
1262
 
 
 
 
1263
  #~ msgid ""
1264
  #~ "Uses additional Product Gallery images so, when the product is shared on "
1265
  #~ "Facebook, the user can choose what image to use"
lang/wd-fb-og.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: Facebook Open Graph, Google+ and Twitter Card Tags\n"
6
- "POT-Creation-Date: 2016-10-11 17:22+0100\n"
7
  "PO-Revision-Date: 2016-09-26 14:52+0100\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
@@ -29,7 +29,7 @@ msgid "Google+"
29
  msgstr ""
30
 
31
  #: admin/class-webdados-fb-open-graph-admin.php:54
32
- #: admin/options-page-twitter.php:98
33
  msgid "Twitter username (without @)"
34
  msgstr ""
35
 
@@ -42,7 +42,7 @@ msgid "Use this image:"
42
  msgstr ""
43
 
44
  #: admin/class-webdados-fb-open-graph-admin.php:93
45
- #: admin/options-page-general.php:76 admin/options-page-general.php:136
46
  msgid "Upload/Choose"
47
  msgstr ""
48
 
@@ -98,7 +98,7 @@ msgstr ""
98
  msgid "Use Title, Canonical URL and Description generated by Yoast SEO"
99
  msgstr ""
100
 
101
- #: admin/options-page-3rdparty.php:55 admin/options-page-3rdparty.php:116
102
  #: admin/options-page-3rdparty.php:167 admin/options-page-3rdparty.php:205
103
  #, php-format
104
  msgid "You don't have %s installed or activated."
@@ -121,37 +121,50 @@ msgid ""
121
  "what image to display"
122
  msgstr ""
123
 
124
- #: admin/options-page-3rdparty.php:88 admin/options-page-general.php:119
 
 
 
 
 
 
 
 
 
 
 
 
 
125
  msgid "Overlay PNG logo"
126
  msgstr ""
127
 
128
- #: admin/options-page-3rdparty.php:95
129
  msgid "Also overlay the PNG logo on the Product Gallery images"
130
  msgstr ""
131
 
132
- #: admin/options-page-3rdparty.php:100
133
  msgid "Use Category thumbnail as Image"
134
  msgstr ""
135
 
136
- #: admin/options-page-3rdparty.php:107
137
  msgid ""
138
  "Recommended if you set large thumbnails for Product Categories and want to "
139
  "use them as Open Graph Images on category listing pages"
140
  msgstr ""
141
 
142
- #: admin/options-page-3rdparty.php:136
143
  msgid "Add SubHeading to Post/Page Title"
144
  msgstr ""
145
 
146
- #: admin/options-page-3rdparty.php:148
147
  msgid "SubHeading position"
148
  msgstr ""
149
 
150
- #: admin/options-page-3rdparty.php:151
151
  msgid "After"
152
  msgstr ""
153
 
154
- #: admin/options-page-3rdparty.php:152
155
  msgid "Before"
156
  msgstr ""
157
 
@@ -185,29 +198,29 @@ msgstr ""
185
  msgid "Include Post/Page Title"
186
  msgstr ""
187
 
188
- #: admin/options-page-facebook.php:27
189
  msgid "Include Site Name"
190
  msgstr ""
191
 
192
- #: admin/options-page-facebook.php:36 admin/options-page-seo.php:78
193
  msgid "From Settings &gt; General &gt; Site Title"
194
  msgstr ""
195
 
196
- #: admin/options-page-facebook.php:41 admin/options-page-twitter.php:27
197
  msgid "Include URL"
198
  msgstr ""
199
 
200
- #: admin/options-page-facebook.php:53 admin/options-page-schema.php:27
201
- #: admin/options-page-twitter.php:39
202
  msgid "Include Description"
203
  msgstr ""
204
 
205
- #: admin/options-page-facebook.php:65 admin/options-page-schema.php:39
206
- #: admin/options-page-twitter.php:51
207
  msgid "Include Image"
208
  msgstr ""
209
 
210
- #: admin/options-page-facebook.php:74
211
  #, php-format
212
  msgid ""
213
  "All images must have at least 200px on both dimensions in order to Facebook "
@@ -215,157 +228,157 @@ msgid ""
215
  "recommended."
216
  msgstr ""
217
 
218
- #: admin/options-page-facebook.php:79
219
  msgid "Include Image Dimensions"
220
  msgstr ""
221
 
222
- #: admin/options-page-facebook.php:86 admin/options-page-facebook.php:144
223
  msgid "and"
224
  msgstr ""
225
 
226
- #: admin/options-page-facebook.php:88
227
  msgid ""
228
  "Recommended only if Facebook is having problems loading the image when the "
229
  "post is shared for the first time, or else it adds extra unnecessary "
230
  "processing time"
231
  msgstr ""
232
 
233
- #: admin/options-page-facebook.php:93
234
  msgid "Include Type"
235
  msgstr ""
236
 
237
- #: admin/options-page-facebook.php:102
238
  #, php-format
239
  msgid ""
240
  "Will be \"%1$s\" for posts and pages and \"%2$s\" or \"%3$s\" for the "
241
  "homepage"
242
  msgstr ""
243
 
244
- #: admin/options-page-facebook.php:104
245
  msgid "Additional types may be used depending on 3rd party integrations"
246
  msgstr ""
247
 
248
- #: admin/options-page-facebook.php:109
249
  msgid "Homepage Type"
250
  msgstr ""
251
 
252
- #: admin/options-page-facebook.php:123 admin/options-page-schema.php:52
253
- #: admin/options-page-schema.php:66 admin/options-page-twitter.php:63
254
  msgid "Include Post/Page Author"
255
  msgstr ""
256
 
257
- #: admin/options-page-facebook.php:132
258
  msgid "The user's Facebook URL must be filled in on his profile"
259
  msgstr ""
260
 
261
- #: admin/options-page-facebook.php:137
262
  msgid "Include Published/Modified Dates"
263
  msgstr ""
264
 
265
- #: admin/options-page-facebook.php:146 admin/options-page-facebook.php:160
266
  msgid "For posts only"
267
  msgstr ""
268
 
269
- #: admin/options-page-facebook.php:151
270
  msgid "Include Article Sections"
271
  msgstr ""
272
 
273
- #: admin/options-page-facebook.php:160
274
  msgid "from the categories names"
275
  msgstr ""
276
 
277
- #: admin/options-page-facebook.php:165 admin/options-page-schema.php:79
278
- #: admin/options-page-seo.php:69 admin/options-page-twitter.php:77
279
  msgid "Include Publisher"
280
  msgstr ""
281
 
282
- #: admin/options-page-facebook.php:174 admin/options-page-facebook.php:200
283
  msgid "The website's Facebook Page"
284
  msgstr ""
285
 
286
- #: admin/options-page-facebook.php:179
287
  msgid "Website's Facebook Page"
288
  msgstr ""
289
 
290
- #: admin/options-page-facebook.php:186
291
  msgid "Facebook Page URL (with https://)"
292
  msgstr ""
293
 
294
- #: admin/options-page-facebook.php:191
295
  msgid "Include Locale"
296
  msgstr ""
297
 
298
- #: admin/options-page-facebook.php:205
299
  msgid "Locale"
300
  msgstr ""
301
 
302
- #: admin/options-page-facebook.php:243
303
  msgid "WordPress current locale/language"
304
  msgstr ""
305
 
306
- #: admin/options-page-facebook.php:264
307
  msgid "List loaded from Facebook (online)"
308
  msgstr ""
309
 
310
- #: admin/options-page-facebook.php:267
311
  msgid "List loaded from local cache (offline)"
312
  msgstr ""
313
 
314
- #: admin/options-page-facebook.php:267
315
  msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
316
  msgstr ""
317
 
318
- #: admin/options-page-facebook.php:267
319
  msgid "Reload from Facebook"
320
  msgstr ""
321
 
322
- #: admin/options-page-facebook.php:269
323
  msgid "List not loaded"
324
  msgstr ""
325
 
326
- #: admin/options-page-facebook.php:277
327
  msgid "Include Facebook Admin(s) ID"
328
  msgstr ""
329
 
330
- #: admin/options-page-facebook.php:289
331
  msgid "Facebook Admin(s) ID"
332
  msgstr ""
333
 
334
- #: admin/options-page-facebook.php:296
335
  msgid "Comma separated if more than one"
336
  msgstr ""
337
 
338
- #: admin/options-page-facebook.php:301
339
  msgid "Include Facebook Platform App ID"
340
  msgstr ""
341
 
342
- #: admin/options-page-facebook.php:313
343
  msgid "Facebook Platform App ID"
344
  msgstr ""
345
 
346
- #: admin/options-page-facebook.php:320
347
  msgid "From your Facebook Developers dashboard"
348
  msgstr ""
349
 
350
- #: admin/options-page-facebook.php:329
351
  msgid "Facebook Open Graph Tags cache"
352
  msgstr ""
353
 
354
- #: admin/options-page-facebook.php:335
355
  msgid "Clear cache"
356
  msgstr ""
357
 
358
- #: admin/options-page-facebook.php:342
359
  msgid ""
360
  "Try to clear the Facebook Open Graph Tags cache when saving a post or page, "
361
  "so the link preview on Facebook is immediately updated"
362
  msgstr ""
363
 
364
- #: admin/options-page-facebook.php:347
365
  msgid "Suppress cache notices"
366
  msgstr ""
367
 
368
- #: admin/options-page-facebook.php:354
369
  msgid ""
370
  "Sometimes we aren't able to update the cache and the post author will see a "
371
  "notice if this option is not checked"
@@ -423,42 +436,46 @@ msgstr ""
423
  msgid "Default image"
424
  msgstr ""
425
 
426
- #: admin/options-page-general.php:81 admin/options-page-general.php:141
427
  msgid "URL (with http(s)://)"
428
  msgstr ""
429
 
430
- #: admin/options-page-general.php:88
431
  msgid "On Post/Page, use image from"
432
  msgstr ""
433
 
434
- #: admin/options-page-general.php:92
435
  msgid "\"Open Graph Image\" custom field on the post"
436
  msgstr ""
437
 
438
- #: admin/options-page-general.php:96
439
  msgid "Post/page featured image"
440
  msgstr ""
441
 
442
- #: admin/options-page-general.php:100
443
  msgid "First image from the post/page content"
444
  msgstr ""
445
 
446
- #: admin/options-page-general.php:104
447
  msgid "First image from the post/page media gallery"
448
  msgstr ""
449
 
450
- #: admin/options-page-general.php:108
451
  msgid "Default image specified above"
452
  msgstr ""
453
 
454
- #: admin/options-page-general.php:114
455
  msgid ""
456
  "On posts/pages the first image found, using the priority above, will be "
457
  "used. On the homepage, archives and other website sections the default image "
458
  "is always used."
459
  msgstr ""
460
 
461
- #: admin/options-page-general.php:126
 
 
 
 
462
  #, php-format
463
  msgid ""
464
  "The original image will be resized/cropped to %dx%dpx and the chosen PNG "
@@ -466,87 +483,94 @@ msgid ""
466
  "for locally hosted images."
467
  msgstr ""
468
 
469
- #: admin/options-page-general.php:128
470
  #, php-format
471
  msgid ""
472
  "You can see an example of the end result <a href=\"%s\" target=\"_blank"
473
  "\">here</a>"
474
  msgstr ""
475
 
476
- #: admin/options-page-general.php:133
 
 
 
 
 
 
 
477
  msgid "PNG logo"
478
  msgstr ""
479
 
480
- #: admin/options-page-general.php:143
481
  #, php-format
482
  msgid "Size: %dx%dpx"
483
  msgstr ""
484
 
485
- #: admin/options-page-general.php:148
486
  msgid "Add image to RSS/RSS2 feeds"
487
  msgstr ""
488
 
489
- #: admin/options-page-general.php:155
490
  msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
491
  msgstr ""
492
 
493
- #: admin/options-page-general.php:160
494
  msgid "Force getimagesize on local file"
495
  msgstr ""
496
 
497
- #: admin/options-page-general.php:167
498
  msgid ""
499
  "This is an advanced option: Don't mess with this unless you know what you're "
500
  "doing"
501
  msgstr ""
502
 
503
- #: admin/options-page-general.php:169
504
  msgid "Force getimagesize on local file even if allow_url_fopen=1"
505
  msgstr ""
506
 
507
- #: admin/options-page-general.php:171
508
  msgid ""
509
  "May cause problems with some multisite configurations but fixes \"HTTP "
510
  "request failed\" errors"
511
  msgstr ""
512
 
513
- #: admin/options-page-general.php:180
514
  msgid "URL settings"
515
  msgstr ""
516
 
517
- #: admin/options-page-general.php:186
518
  msgid "Add trailing slash at the end"
519
  msgstr ""
520
 
521
- #: admin/options-page-general.php:193
522
  msgid "If missing, a trailing slash will be added at the end"
523
  msgstr ""
524
 
525
- #: admin/options-page-general.php:195
526
  msgid "Homepage example:"
527
  msgstr ""
528
 
529
- #: admin/options-page-general.php:204
530
  msgid "Author settings"
531
  msgstr ""
532
 
533
- #: admin/options-page-general.php:210
534
  msgid "Hide Author on Pages"
535
  msgstr ""
536
 
537
- #: admin/options-page-general.php:217
538
  msgid "Hides all Author tags on Pages"
539
  msgstr ""
540
 
541
- #: admin/options-page-general.php:226
542
  msgid "Other settings"
543
  msgstr ""
544
 
545
- #: admin/options-page-general.php:232
546
  msgid "Keep data on uninstall"
547
  msgstr ""
548
 
549
- #: admin/options-page-general.php:239
550
  msgid ""
551
  "Keep the plugin settings on the database even if the plugin is uninstalled"
552
  msgstr ""
@@ -634,23 +658,33 @@ msgstr ""
634
  msgid "Include Title"
635
  msgstr ""
636
 
637
- #: admin/options-page-schema.php:61
 
 
 
 
 
 
 
 
 
 
638
  msgid "The user's Google+ URL must be filled in on his profile"
639
  msgstr ""
640
 
641
- #: admin/options-page-schema.php:68
642
  msgid "Google doesn't use it anymore"
643
  msgstr ""
644
 
645
- #: admin/options-page-schema.php:88
646
  msgid "The website's Google+ Page"
647
  msgstr ""
648
 
649
- #: admin/options-page-schema.php:93
650
  msgid "Website's Google+ Page"
651
  msgstr ""
652
 
653
- #: admin/options-page-schema.php:100
654
  msgid "Google+ Page URL (with https://)"
655
  msgstr ""
656
 
@@ -668,19 +702,19 @@ msgstr ""
668
  msgid "Set Canonical URL"
669
  msgstr ""
670
 
671
- #: admin/options-page-seo.php:27 admin/options-page-seo.php:47
672
  msgid "Not recommended because you have Yoast SEO active"
673
  msgstr ""
674
 
675
- #: admin/options-page-seo.php:35
676
  msgid "Include Meta Description tag"
677
  msgstr ""
678
 
679
- #: admin/options-page-seo.php:55
680
  msgid "Include Post/Page Author name"
681
  msgstr ""
682
 
683
- #: admin/options-page-seo.php:64
684
  msgid "From the user Display name"
685
  msgstr ""
686
 
@@ -692,31 +726,31 @@ msgstr ""
692
  msgid "Twitter Card Tags"
693
  msgstr ""
694
 
695
- #: admin/options-page-twitter.php:72
696
  msgid "The user's Twitter Username must be filled in on his profile"
697
  msgstr ""
698
 
699
- #: admin/options-page-twitter.php:86
700
  msgid "The website's Twitter Username"
701
  msgstr ""
702
 
703
- #: admin/options-page-twitter.php:91
704
  msgid "Website's Twitter Username"
705
  msgstr ""
706
 
707
- #: admin/options-page-twitter.php:103
708
  msgid "Card Type"
709
  msgstr ""
710
 
711
- #: admin/options-page-twitter.php:106
712
  msgid "Summary Card"
713
  msgstr ""
714
 
715
- #: admin/options-page-twitter.php:107
716
  msgid "Summary Card with Large Image"
717
  msgstr ""
718
 
719
- #: admin/options-page-twitter.php:115
720
  msgid "The type of Twitter Card shown on the timeline"
721
  msgstr ""
722
 
@@ -767,9 +801,9 @@ msgstr ""
767
 
768
  #. Description of the plugin/theme
769
  msgid ""
770
- "Inserts Facebook Open Graph, Google+ / Schema.org and Twitter Card Tags into "
771
- "your WordPress Blog/Website for more effective and efficient Facebook, Google"
772
- "+ and Twitter sharing results. You can also choose to insert the \"enclosure"
773
- "\" and \"media:content\" tags to the RSS feeds, so that apps like RSS "
774
- "Graffiti and twitterfeed post the image to Facebook correctly."
775
  msgstr ""
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: Facebook Open Graph, Google+ and Twitter Card Tags\n"
6
+ "POT-Creation-Date: 2016-10-12 12:30+0100\n"
7
  "PO-Revision-Date: 2016-09-26 14:52+0100\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
29
  msgstr ""
30
 
31
  #: admin/class-webdados-fb-open-graph-admin.php:54
32
+ #: admin/options-page-twitter.php:106
33
  msgid "Twitter username (without @)"
34
  msgstr ""
35
 
42
  msgstr ""
43
 
44
  #: admin/class-webdados-fb-open-graph-admin.php:93
45
+ #: admin/options-page-general.php:76 admin/options-page-general.php:142
46
  msgid "Upload/Choose"
47
  msgstr ""
48
 
98
  msgid "Use Title, Canonical URL and Description generated by Yoast SEO"
99
  msgstr ""
100
 
101
+ #: admin/options-page-3rdparty.php:55 admin/options-page-3rdparty.php:118
102
  #: admin/options-page-3rdparty.php:167 admin/options-page-3rdparty.php:205
103
  #, php-format
104
  msgid "You don't have %s installed or activated."
121
  "what image to display"
122
  msgstr ""
123
 
124
+ #: admin/options-page-3rdparty.php:85 admin/options-page-facebook.php:24
125
+ #: admin/options-page-facebook.php:52 admin/options-page-facebook.php:66
126
+ #: admin/options-page-facebook.php:82 admin/options-page-facebook.php:114
127
+ #: admin/options-page-facebook.php:284 admin/options-page-general.php:85
128
+ #: admin/options-page-schema.php:24 admin/options-page-schema.php:38
129
+ #: admin/options-page-schema.php:52 admin/options-page-schema.php:70
130
+ #: admin/options-page-seo.php:32 admin/options-page-seo.php:54
131
+ #: admin/options-page-twitter.php:24 admin/options-page-twitter.php:38
132
+ #: admin/options-page-twitter.php:52 admin/options-page-twitter.php:66
133
+ #, php-format
134
+ msgid "You can change this value using the <i>%1$s</i> filter"
135
+ msgstr ""
136
+
137
+ #: admin/options-page-3rdparty.php:90 admin/options-page-general.php:121
138
  msgid "Overlay PNG logo"
139
  msgstr ""
140
 
141
+ #: admin/options-page-3rdparty.php:97
142
  msgid "Also overlay the PNG logo on the Product Gallery images"
143
  msgstr ""
144
 
145
+ #: admin/options-page-3rdparty.php:102
146
  msgid "Use Category thumbnail as Image"
147
  msgstr ""
148
 
149
+ #: admin/options-page-3rdparty.php:109
150
  msgid ""
151
  "Recommended if you set large thumbnails for Product Categories and want to "
152
  "use them as Open Graph Images on category listing pages"
153
  msgstr ""
154
 
155
+ #: admin/options-page-3rdparty.php:138
156
  msgid "Add SubHeading to Post/Page Title"
157
  msgstr ""
158
 
159
+ #: admin/options-page-3rdparty.php:149
160
  msgid "SubHeading position"
161
  msgstr ""
162
 
163
+ #: admin/options-page-3rdparty.php:152
164
  msgid "After"
165
  msgstr ""
166
 
167
+ #: admin/options-page-3rdparty.php:153
168
  msgid "Before"
169
  msgstr ""
170
 
198
  msgid "Include Post/Page Title"
199
  msgstr ""
200
 
201
+ #: admin/options-page-facebook.php:29
202
  msgid "Include Site Name"
203
  msgstr ""
204
 
205
+ #: admin/options-page-facebook.php:38 admin/options-page-seo.php:82
206
  msgid "From Settings &gt; General &gt; Site Title"
207
  msgstr ""
208
 
209
+ #: admin/options-page-facebook.php:43 admin/options-page-twitter.php:29
210
  msgid "Include URL"
211
  msgstr ""
212
 
213
+ #: admin/options-page-facebook.php:57 admin/options-page-schema.php:29
214
+ #: admin/options-page-twitter.php:43
215
  msgid "Include Description"
216
  msgstr ""
217
 
218
+ #: admin/options-page-facebook.php:71 admin/options-page-schema.php:43
219
+ #: admin/options-page-twitter.php:57
220
  msgid "Include Image"
221
  msgstr ""
222
 
223
+ #: admin/options-page-facebook.php:80
224
  #, php-format
225
  msgid ""
226
  "All images must have at least 200px on both dimensions in order to Facebook "
228
  "recommended."
229
  msgstr ""
230
 
231
+ #: admin/options-page-facebook.php:87
232
  msgid "Include Image Dimensions"
233
  msgstr ""
234
 
235
+ #: admin/options-page-facebook.php:94 admin/options-page-facebook.php:154
236
  msgid "and"
237
  msgstr ""
238
 
239
+ #: admin/options-page-facebook.php:96
240
  msgid ""
241
  "Recommended only if Facebook is having problems loading the image when the "
242
  "post is shared for the first time, or else it adds extra unnecessary "
243
  "processing time"
244
  msgstr ""
245
 
246
+ #: admin/options-page-facebook.php:101 admin/options-page-schema.php:57
247
  msgid "Include Type"
248
  msgstr ""
249
 
250
+ #: admin/options-page-facebook.php:110
251
  #, php-format
252
  msgid ""
253
  "Will be \"%1$s\" for posts and pages and \"%2$s\" or \"%3$s\" for the "
254
  "homepage"
255
  msgstr ""
256
 
257
+ #: admin/options-page-facebook.php:112
258
  msgid "Additional types may be used depending on 3rd party integrations"
259
  msgstr ""
260
 
261
+ #: admin/options-page-facebook.php:119 admin/options-page-schema.php:75
262
  msgid "Homepage Type"
263
  msgstr ""
264
 
265
+ #: admin/options-page-facebook.php:133 admin/options-page-schema.php:107
266
+ #: admin/options-page-schema.php:121 admin/options-page-twitter.php:71
267
  msgid "Include Post/Page Author"
268
  msgstr ""
269
 
270
+ #: admin/options-page-facebook.php:142
271
  msgid "The user's Facebook URL must be filled in on his profile"
272
  msgstr ""
273
 
274
+ #: admin/options-page-facebook.php:147
275
  msgid "Include Published/Modified Dates"
276
  msgstr ""
277
 
278
+ #: admin/options-page-facebook.php:156 admin/options-page-facebook.php:170
279
  msgid "For posts only"
280
  msgstr ""
281
 
282
+ #: admin/options-page-facebook.php:161
283
  msgid "Include Article Sections"
284
  msgstr ""
285
 
286
+ #: admin/options-page-facebook.php:170
287
  msgid "from the categories names"
288
  msgstr ""
289
 
290
+ #: admin/options-page-facebook.php:175 admin/options-page-schema.php:134
291
+ #: admin/options-page-seo.php:73 admin/options-page-twitter.php:85
292
  msgid "Include Publisher"
293
  msgstr ""
294
 
295
+ #: admin/options-page-facebook.php:184 admin/options-page-facebook.php:210
296
  msgid "The website's Facebook Page"
297
  msgstr ""
298
 
299
+ #: admin/options-page-facebook.php:189
300
  msgid "Website's Facebook Page"
301
  msgstr ""
302
 
303
+ #: admin/options-page-facebook.php:196
304
  msgid "Facebook Page URL (with https://)"
305
  msgstr ""
306
 
307
+ #: admin/options-page-facebook.php:201
308
  msgid "Include Locale"
309
  msgstr ""
310
 
311
+ #: admin/options-page-facebook.php:215
312
  msgid "Locale"
313
  msgstr ""
314
 
315
+ #: admin/options-page-facebook.php:253
316
  msgid "WordPress current locale/language"
317
  msgstr ""
318
 
319
+ #: admin/options-page-facebook.php:274
320
  msgid "List loaded from Facebook (online)"
321
  msgstr ""
322
 
323
+ #: admin/options-page-facebook.php:277
324
  msgid "List loaded from local cache (offline)"
325
  msgstr ""
326
 
327
+ #: admin/options-page-facebook.php:277
328
  msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
329
  msgstr ""
330
 
331
+ #: admin/options-page-facebook.php:277
332
  msgid "Reload from Facebook"
333
  msgstr ""
334
 
335
+ #: admin/options-page-facebook.php:279
336
  msgid "List not loaded"
337
  msgstr ""
338
 
339
+ #: admin/options-page-facebook.php:289
340
  msgid "Include Facebook Admin(s) ID"
341
  msgstr ""
342
 
343
+ #: admin/options-page-facebook.php:301
344
  msgid "Facebook Admin(s) ID"
345
  msgstr ""
346
 
347
+ #: admin/options-page-facebook.php:308
348
  msgid "Comma separated if more than one"
349
  msgstr ""
350
 
351
+ #: admin/options-page-facebook.php:313
352
  msgid "Include Facebook Platform App ID"
353
  msgstr ""
354
 
355
+ #: admin/options-page-facebook.php:325
356
  msgid "Facebook Platform App ID"
357
  msgstr ""
358
 
359
+ #: admin/options-page-facebook.php:332
360
  msgid "From your Facebook Developers dashboard"
361
  msgstr ""
362
 
363
+ #: admin/options-page-facebook.php:341
364
  msgid "Facebook Open Graph Tags cache"
365
  msgstr ""
366
 
367
+ #: admin/options-page-facebook.php:347
368
  msgid "Clear cache"
369
  msgstr ""
370
 
371
+ #: admin/options-page-facebook.php:354
372
  msgid ""
373
  "Try to clear the Facebook Open Graph Tags cache when saving a post or page, "
374
  "so the link preview on Facebook is immediately updated"
375
  msgstr ""
376
 
377
+ #: admin/options-page-facebook.php:359
378
  msgid "Suppress cache notices"
379
  msgstr ""
380
 
381
+ #: admin/options-page-facebook.php:366
382
  msgid ""
383
  "Sometimes we aren't able to update the cache and the post author will see a "
384
  "notice if this option is not checked"
436
  msgid "Default image"
437
  msgstr ""
438
 
439
+ #: admin/options-page-general.php:81 admin/options-page-general.php:147
440
  msgid "URL (with http(s)://)"
441
  msgstr ""
442
 
443
+ #: admin/options-page-general.php:90
444
  msgid "On Post/Page, use image from"
445
  msgstr ""
446
 
447
+ #: admin/options-page-general.php:94
448
  msgid "\"Open Graph Image\" custom field on the post"
449
  msgstr ""
450
 
451
+ #: admin/options-page-general.php:98
452
  msgid "Post/page featured image"
453
  msgstr ""
454
 
455
+ #: admin/options-page-general.php:102
456
  msgid "First image from the post/page content"
457
  msgstr ""
458
 
459
+ #: admin/options-page-general.php:106
460
  msgid "First image from the post/page media gallery"
461
  msgstr ""
462
 
463
+ #: admin/options-page-general.php:110
464
  msgid "Default image specified above"
465
  msgstr ""
466
 
467
+ #: admin/options-page-general.php:116
468
  msgid ""
469
  "On posts/pages the first image found, using the priority above, will be "
470
  "used. On the homepage, archives and other website sections the default image "
471
  "is always used."
472
  msgstr ""
473
 
474
+ #: admin/options-page-general.php:128 admin/options-page-schema.php:66
475
+ msgid "Experimental"
476
+ msgstr ""
477
+
478
+ #: admin/options-page-general.php:130
479
  #, php-format
480
  msgid ""
481
  "The original image will be resized/cropped to %dx%dpx and the chosen PNG "
483
  "for locally hosted images."
484
  msgstr ""
485
 
486
+ #: admin/options-page-general.php:132
487
  #, php-format
488
  msgid ""
489
  "You can see an example of the end result <a href=\"%s\" target=\"_blank"
490
  "\">here</a>"
491
  msgstr ""
492
 
493
+ #: admin/options-page-general.php:134
494
+ #, php-format
495
+ msgid ""
496
+ "If you activate this option globally, you can disable it based on your "
497
+ "conditions using the <i>%1$s</i> filter"
498
+ msgstr ""
499
+
500
+ #: admin/options-page-general.php:139
501
  msgid "PNG logo"
502
  msgstr ""
503
 
504
+ #: admin/options-page-general.php:149
505
  #, php-format
506
  msgid "Size: %dx%dpx"
507
  msgstr ""
508
 
509
+ #: admin/options-page-general.php:154
510
  msgid "Add image to RSS/RSS2 feeds"
511
  msgstr ""
512
 
513
+ #: admin/options-page-general.php:161
514
  msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
515
  msgstr ""
516
 
517
+ #: admin/options-page-general.php:166
518
  msgid "Force getimagesize on local file"
519
  msgstr ""
520
 
521
+ #: admin/options-page-general.php:173
522
  msgid ""
523
  "This is an advanced option: Don't mess with this unless you know what you're "
524
  "doing"
525
  msgstr ""
526
 
527
+ #: admin/options-page-general.php:175
528
  msgid "Force getimagesize on local file even if allow_url_fopen=1"
529
  msgstr ""
530
 
531
+ #: admin/options-page-general.php:177
532
  msgid ""
533
  "May cause problems with some multisite configurations but fixes \"HTTP "
534
  "request failed\" errors"
535
  msgstr ""
536
 
537
+ #: admin/options-page-general.php:186
538
  msgid "URL settings"
539
  msgstr ""
540
 
541
+ #: admin/options-page-general.php:192
542
  msgid "Add trailing slash at the end"
543
  msgstr ""
544
 
545
+ #: admin/options-page-general.php:199
546
  msgid "If missing, a trailing slash will be added at the end"
547
  msgstr ""
548
 
549
+ #: admin/options-page-general.php:201
550
  msgid "Homepage example:"
551
  msgstr ""
552
 
553
+ #: admin/options-page-general.php:210
554
  msgid "Author settings"
555
  msgstr ""
556
 
557
+ #: admin/options-page-general.php:216
558
  msgid "Hide Author on Pages"
559
  msgstr ""
560
 
561
+ #: admin/options-page-general.php:223
562
  msgid "Hides all Author tags on Pages"
563
  msgstr ""
564
 
565
+ #: admin/options-page-general.php:232
566
  msgid "Other settings"
567
  msgstr ""
568
 
569
+ #: admin/options-page-general.php:238
570
  msgid "Keep data on uninstall"
571
  msgstr ""
572
 
573
+ #: admin/options-page-general.php:245
574
  msgid ""
575
  "Keep the plugin settings on the database even if the plugin is uninstalled"
576
  msgstr ""
658
  msgid "Include Title"
659
  msgstr ""
660
 
661
+ #: admin/options-page-schema.php:68
662
+ msgid ""
663
+ "Added to the HTML tag, if you want to avoid W3C and Structured Data "
664
+ "validation errors"
665
+ msgstr ""
666
+
667
+ #: admin/options-page-schema.php:89
668
+ msgid "Default (including Post/Page) Type"
669
+ msgstr ""
670
+
671
+ #: admin/options-page-schema.php:116
672
  msgid "The user's Google+ URL must be filled in on his profile"
673
  msgstr ""
674
 
675
+ #: admin/options-page-schema.php:123
676
  msgid "Google doesn't use it anymore"
677
  msgstr ""
678
 
679
+ #: admin/options-page-schema.php:143
680
  msgid "The website's Google+ Page"
681
  msgstr ""
682
 
683
+ #: admin/options-page-schema.php:148
684
  msgid "Website's Google+ Page"
685
  msgstr ""
686
 
687
+ #: admin/options-page-schema.php:155
688
  msgid "Google+ Page URL (with https://)"
689
  msgstr ""
690
 
702
  msgid "Set Canonical URL"
703
  msgstr ""
704
 
705
+ #: admin/options-page-seo.php:27 admin/options-page-seo.php:49
706
  msgid "Not recommended because you have Yoast SEO active"
707
  msgstr ""
708
 
709
+ #: admin/options-page-seo.php:37
710
  msgid "Include Meta Description tag"
711
  msgstr ""
712
 
713
+ #: admin/options-page-seo.php:59
714
  msgid "Include Post/Page Author name"
715
  msgstr ""
716
 
717
+ #: admin/options-page-seo.php:68
718
  msgid "From the user Display name"
719
  msgstr ""
720
 
726
  msgid "Twitter Card Tags"
727
  msgstr ""
728
 
729
+ #: admin/options-page-twitter.php:80
730
  msgid "The user's Twitter Username must be filled in on his profile"
731
  msgstr ""
732
 
733
+ #: admin/options-page-twitter.php:94
734
  msgid "The website's Twitter Username"
735
  msgstr ""
736
 
737
+ #: admin/options-page-twitter.php:99
738
  msgid "Website's Twitter Username"
739
  msgstr ""
740
 
741
+ #: admin/options-page-twitter.php:111
742
  msgid "Card Type"
743
  msgstr ""
744
 
745
+ #: admin/options-page-twitter.php:114
746
  msgid "Summary Card"
747
  msgstr ""
748
 
749
+ #: admin/options-page-twitter.php:115
750
  msgid "Summary Card with Large Image"
751
  msgstr ""
752
 
753
+ #: admin/options-page-twitter.php:123
754
  msgid "The type of Twitter Card shown on the timeline"
755
  msgstr ""
756
 
801
 
802
  #. Description of the plugin/theme
803
  msgid ""
804
+ "Inserts Facebook Open Graph, Google+/Schema.org, Twitter Card and SEO Meta "
805
+ "Tags into your WordPress Blog/Website for more effective and efficient "
806
+ "Facebook, Google+ and Twitter sharing results. You can also choose to insert "
807
+ "the \"enclosure\" and \"media:content\" tags to the RSS feeds, so that apps "
808
+ "like RSS Graffiti and Twitterfeed post the image to Facebook correctly."
809
  msgstr ""
public/class-webdados-fb-open-graph-public.php CHANGED
@@ -316,7 +316,7 @@ class Webdados_FB_Public {
316
  if ( $webdados_fb->is_wpml_active() ) {
317
  if ( class_exists('WPML_Root_Page') ) {
318
  if ( WPML_Root_Page::is_current_request_root() ) {
319
- $fb_type = trim( $this->options['fb_type_homepage']=='' ? 'website' : $fb_type_homepage );
320
  }
321
  }
322
  }
@@ -816,6 +816,23 @@ class Webdados_FB_Public {
816
 
817
 
818
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
819
  /* Images on feed */
820
  public function images_on_feed_yahoo_media_tag() {
821
  if ( intval($this->options['fb_image_rss'])==1 ) {
316
  if ( $webdados_fb->is_wpml_active() ) {
317
  if ( class_exists('WPML_Root_Page') ) {
318
  if ( WPML_Root_Page::is_current_request_root() ) {
319
+ $fb_type = trim( $this->options['fb_type_homepage']=='' ? 'website' : $this->options['fb_type_homepage'] );
320
  }
321
  }
322
  }
816
 
817
 
818
 
819
+ /* Add Schema itemtype */
820
+ public function add_schema_itemtype($output) {
821
+ if ( intval($this->options['fb_type_show_schema'])==1 ) {
822
+ $fb_type_schema = '';
823
+ if ( is_front_page() ) {
824
+ $fb_type_schema = trim($this->options['fb_type_schema_homepage'])=='' ? 'WebSite' : trim($this->options['fb_type_schema_homepage']);
825
+ } else {
826
+ $fb_type_schema = trim($this->options['fb_type_schema_post'])=='' ? 'Article' : trim($this->options['fb_type_schema_post']);
827
+ }
828
+ $fb_type_schema = apply_filters('fb_type_schema', $fb_type_schema );
829
+ if ( $fb_type_schema!='' ) $output=$output . ' itemscope itemtype="http://schema.org/'.esc_attr($fb_type_schema).'"';
830
+ }
831
+ return $output;
832
+ }
833
+
834
+
835
+
836
  /* Images on feed */
837
  public function images_on_feed_yahoo_media_tag() {
838
  if ( intval($this->options['fb_image_rss'])==1 ) {
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, 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 ==
@@ -108,7 +108,7 @@ If this is not a new post and it's not the first time you're saving it, and if t
108
  = Can this plugin get content from "random plugin"? =
109
 
110
  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.
111
- 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_type`, `fb_og_image`, `fb_og_image_additional` and `fb_og_locale` to customize the Open Graph (and other) meta tags output.
112
 
113
  = There's a similar plugin on the repository, by Heateor. Is this the same? =
114
  It's similar, yes. They've forked our plugin and gave no credits whatsoever for our original work.
@@ -121,6 +121,11 @@ We DO NOT provide email support for this plugin. If you send us an email asking
121
 
122
  == Changelog ==
123
 
 
 
 
 
 
124
  = 2.0.1 =
125
  * Fixed a PHP Notice on the upgrade routine (Thanks @jluisfreitas)
126
  * Updated FAQs
@@ -154,7 +159,7 @@ We DO NOT provide email support for this plugin. If you send us an email asking
154
  * WooCommerce integration: on product pages sets `og:type` to "product" and adds the price including tax to the `product:price` tags
155
 
156
  = 1.7.4 =
157
- * New beta feature: Add overlay PNG logo to the image
158
  * Minor fixes
159
 
160
  = 1.7.3.1 =
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.2
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 ==
108
  = Can this plugin get content from "random plugin"? =
109
 
110
  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.
111
+ 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_type`, `fb_type_schema`, `fb_og_image`, `fb_og_image_additional`, `fb_og_image_overlay` and `fb_og_locale` to customize the Open Graph (and other) meta tags output.
112
 
113
  = There's a similar plugin on the repository, by Heateor. Is this the same? =
114
  It's similar, yes. They've forked our plugin and gave no credits whatsoever for our original work.
121
 
122
  == Changelog ==
123
 
124
+ = 2.0.2 =
125
+ * Fixed a PHP Notice on WPML root pages (Thanks @marcobecker)
126
+ * New experimental feature: Added the possibility to set `itemscope itemtype` to the HTML Tag in order to avoid W3C and Structured Data validation errors
127
+ * Updated settings page informations to include the existent filters for each option
128
+
129
  = 2.0.1 =
130
  * Fixed a PHP Notice on the upgrade routine (Thanks @jluisfreitas)
131
  * Updated FAQs
159
  * WooCommerce integration: on product pages sets `og:type` to "product" and adds the price including tax to the `product:price` tags
160
 
161
  = 1.7.4 =
162
+ * New experimental feature: Add overlay PNG logo to the image
163
  * Minor fixes
164
 
165
  = 1.7.3.1 =
wonderm00n-open-graph.php CHANGED
@@ -1,14 +1,14 @@
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,7 +17,7 @@ Domain Path: /lang
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 );
1
  <?php
2
  /**
3
  * @package Facebook Open Graph, Google+ and Twitter Card Tags
4
+ * @version 2.0.2
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.2
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.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 );