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

Version Description

  • WordPress 4.4, WooCommerce 2.4.12 and PHP 7 compatibility check - All good!
  • NEW WooCommerce integration: Category thumbnail images and additional product images as Open Graph Images
  • New fb_og_image_additional filter so other plugins/themes can add additional Open Graph Images
  • Hide our meta box on some custom post types, and add a new fb_og_metabox_exclude_types filter so other plugins/themes can hide our metabox on their CPTs
  • Several tweaks on the settings page
Download this release

Release Info

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

Code changes from version 1.6.3 to 1.7

includes/settings-page.php CHANGED
@@ -69,6 +69,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
69
  $usersettings['fb_adv_notify_fb']= intval(webdados_fb_open_graph_post('fb_adv_notify_fb'));
70
  $usersettings['fb_adv_supress_fb_notice']= intval(webdados_fb_open_graph_post('fb_adv_supress_fb_notice'));
71
  $usersettings['fb_twitter_card_type']= trim(webdados_fb_open_graph_post('fb_twitter_card_type'));
 
 
72
  //Update
73
  update_option('wonderm00n_open_graph_settings', $usersettings);
74
  //WPML - Register custom website description
@@ -85,7 +87,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
85
  <div class="wrap">
86
 
87
  <?php screen_icon(); ?>
88
- <h2><?php echo $webdados_fb_open_graph_plugin_name; ?> (<?php echo $webdados_fb_open_graph_plugin_version; ?>)</h2>
89
  <br class="clear"/>
90
  <p><?php _e('Please set some default values and which tags should, or should not, be included. It may be necessary to exclude some tags if other plugins are already including them.', 'wd-fb-og'); ?></p>
91
 
@@ -98,7 +100,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
98
  <form name="form1" method="post">
99
 
100
  <div id="webdados_fb_open_graph-settings" class="postbox">
101
- <h3 id="settings"><?php _e('Settings'); ?></h3>
102
  <div class="inside">
103
  <table width="100%" class="form-table">
104
  <tr>
@@ -127,7 +129,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
127
  <td>
128
  <input type="text" name="fb_admin_id" id="fb_admin_id" size="30" value="<?php echo trim(esc_attr($fb_admin_id)); ?>"/>
129
  <br/>
130
- <?php _e('Comma separated if more than one', 'wd-fb-og'); ?>
 
 
131
  </td>
132
  </tr>
133
  <tr>
@@ -192,17 +196,19 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
192
  ?>
193
  </select>
194
  <br/>
195
- <?php
196
- if ($loadedOnline) {
197
- _e('List loaded from Facebook (online)', 'wd-fb-og');
198
- } else {
199
- if ($loadedOffline) {
200
- _e('List loaded from local cache (offline)', 'wd-fb-og'); ?> - <a href="?page=wonderm00n-open-graph.php&amp;localeOnline=1" onClick="return(confirm('<?php _e('You\\\'l lose any changes you haven\\\'t saved. Are you sure?', 'wd-fb-og'); ?>'));"><?php _e('Reload from Facebook', 'wd-fb-og'); ?></a><?php
201
  } else {
202
- _e('List not loaded', 'wd-fb-og');
 
 
 
 
203
  }
204
- }
205
- ?>
206
  </td>
207
  </tr>
208
  <tr>
@@ -228,9 +234,11 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
228
  <td>
229
  <input type="checkbox" name="fb_title_show_schema" id="fb_title_show_schema" value="1" <?php echo (intval($fb_title_show_schema)==1 ? ' checked="checked"' : ''); ?>/>
230
  <br/>
231
- <i>&lt;meta itemprop="name" content="..."/&gt;</i>
232
- <br/>
233
- <?php _e('Recommended for Google+ sharing purposes if no other plugin is setting it already', 'wd-fb-og');?>
 
 
234
  </td>
235
  </tr>
236
  <tr class="fb_title_options">
@@ -238,9 +246,11 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
238
  <td>
239
  <input type="checkbox" name="fb_title_show_twitter" id="fb_title_show_twitter" value="1" <?php echo (intval($fb_title_show_twitter)==1 ? ' checked="checked"' : ''); ?>/>
240
  <br/>
241
- <i>&lt;meta name="twitter:title" content=..."/&gt;</i>
242
- <br/>
243
- <?php _e('Recommended for Twitter sharing purposes if no other plugin is setting it already', 'wd-fb-og');?>
 
 
244
  </td>
245
  </tr>
246
  <tr>
@@ -263,7 +273,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
263
  <td>
264
  <input type="checkbox" name="fb_url_add_trailing" id="fb_url_add_trailing" value="1" <?php echo (intval($fb_url_add_trailing)==1 ? ' checked="checked"' : ''); ?> onclick="showUrlTrail();"/>
265
  <br/>
266
- <?php _e('On the homepage will be', 'wd-fb-og');?>: <i><?php echo get_option('siteurl'); ?><span id="fb_url_add_trailing_example">/</span></i>
 
 
267
  </td>
268
  </tr>
269
  <tr class="fb_url_options">
@@ -271,7 +283,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
271
  <td>
272
  <input type="checkbox" name="fb_url_canonical" id="fb_url_canonical" value="1" <?php echo (intval($fb_url_canonical)==1 ? ' checked="checked"' : ''); ?>/>
273
  <br/>
274
- <i>&lt;link rel="canonical" href="..."/&gt;</i>
 
 
275
  </td>
276
  </tr>
277
  <tr>
@@ -282,7 +296,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
282
  <td>
283
  <input type="checkbox" name="fb_type_show" id="fb_type_show" value="1" <?php echo (intval($fb_type_show)==1 ? ' checked="checked"' : ''); ?> onclick="showTypeOptions();"/>
284
  <br/>
285
- <?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' );?>
 
 
286
  </td>
287
  </tr>
288
  <tr class="fb_type_options">
@@ -303,7 +319,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
303
  <td>
304
  <input type="checkbox" name="fb_article_dates_show" id="fb_article_dates_show" value="1" <?php echo (intval($fb_article_dates_show)==1 ? ' checked="checked"' : ''); ?>/>
305
  <br/>
306
- <?php _e('Works for posts only', 'wd-fb-og'); ?>
 
 
307
  </td>
308
  </tr>
309
  <tr>
@@ -314,7 +332,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
314
  <td>
315
  <input type="checkbox" name="fb_article_sections_show" id="fb_article_sections_show" value="1" <?php echo (intval($fb_article_sections_show)==1 ? ' checked="checked"' : ''); ?>/>
316
  <br/>
317
- <?php _e('Works for posts only', 'wd-fb-og'); ?>, <?php _e('from the categories', 'wd-fb-og'); ?>
 
 
318
  </td>
319
  </tr>
320
  <tr>
@@ -325,7 +345,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
325
  <td>
326
  <input type="checkbox" name="fb_publisher_show" id="fb_publisher_show" value="1" <?php echo (intval($fb_publisher_show)==1 ? ' checked="checked"' : ''); ?> onclick="showPublisherOptions();"/>
327
  <br/>
328
- <?php _e('Links the website to the publisher Facebook Page.', 'wd-fb-og');?>
 
 
329
  </td>
330
  </tr>
331
  <tr class="fb_publisher_options">
@@ -333,7 +355,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
333
  <td>
334
  <input type="text" name="fb_publisher" id="fb_publisher" size="50" value="<?php echo trim(esc_attr($fb_publisher)); ?>"/>
335
  <br/>
336
- <?php _e('Full URL with http://', 'wd-fb-og');?>
 
 
337
  </td>
338
  </tr>
339
  <tr>
@@ -341,7 +365,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
341
  <td>
342
  <input type="checkbox" name="fb_publisher_show_schema" id="fb_publisher_show_schema" value="1" <?php echo (intval($fb_publisher_show_schema)==1 ? ' checked="checked"' : ''); ?> onclick="showPublisherSchemaOptions();"/>
343
  <br/>
344
- <?php _e('Links the website to the publisher Google+ Page.', 'wd-fb-og');?>
 
 
345
  </td>
346
  </tr>
347
  <tr class="fb_publisher_schema_options">
@@ -349,7 +375,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
349
  <td>
350
  <input type="text" name="fb_publisher_schema" id="fb_publisher_schema" size="50" value="<?php echo trim(esc_attr($fb_publisher_schema)); ?>"/>
351
  <br/>
352
- <?php _e('Full URL with http://', 'wd-fb-og');?>
 
 
353
  </td>
354
  </tr>
355
  <tr>
@@ -357,7 +385,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
357
  <td>
358
  <input type="checkbox" name="fb_publisher_show_twitter" id="fb_publisher_show_twitter" value="1" <?php echo (intval($fb_publisher_show_twitter)==1 ? ' checked="checked"' : ''); ?> onclick="showPublisherTwitterOptions();"/>
359
  <br/>
360
- <?php _e('Links the website to the publisher Twitter Username.', 'wd-fb-og');?>
 
 
361
  </td>
362
  </tr>
363
  <tr class="fb_publisher_twitter_options">
@@ -365,7 +395,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
365
  <td>
366
  <input type="text" name="fb_publisher_twitteruser" id="fb_publisher_twitteruser" size="20" value="<?php echo trim(esc_attr($fb_publisher_twitteruser)); ?>"/>
367
  <br/>
368
- <?php _e('Twitter username (without @)', 'wd-fb-og');?>
 
 
369
  </td>
370
  </tr>
371
  <tr>
@@ -377,7 +409,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
377
  <td>
378
  <input type="checkbox" name="fb_author_show" id="fb_author_show" value="1" <?php echo (intval($fb_author_show)==1 ? ' checked="checked"' : ''); ?> onclick="showAuthorOptions();"/>
379
  <br/>
380
- <?php _e('Links the article to the author Facebook Profile. The user\'s Facebook profile URL must be filled in.', 'wd-fb-og');?>
 
 
381
  </td>
382
  </tr>
383
  <tr class="fb_author_options">
@@ -385,9 +419,11 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
385
  <td>
386
  <input type="checkbox" name="fb_author_show_meta" id="fb_author_show_meta" value="1" <?php echo (intval($fb_author_show_meta)==1 ? ' checked="checked"' : ''); ?>/>
387
  <br/>
388
- <i>&lt;meta name="author" content="..."/&gt;</i>
389
- <br/>
390
- <?php _e('Sets the article author name', 'wd-fb-og');?>
 
 
391
  </td>
392
  </tr>
393
  <tr class="fb_author_options">
@@ -395,9 +431,11 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
395
  <td>
396
  <input type="checkbox" name="fb_author_show_linkrelgp" id="fb_author_show_linkrelgp" value="1" <?php echo (intval($fb_author_show_linkrelgp)==1 ? ' checked="checked"' : ''); ?>/>
397
  <br/>
398
- <i>&lt;link rel="author" href="..."/&gt;</i>
399
- <br/>
400
- <?php _e('Links the article to the author Google+ Profile (authorship). The user\'s Google+ profile URL must be filled in.', 'wd-fb-og');?>
 
 
401
  </td>
402
  </tr>
403
  <tr class="fb_author_options">
@@ -405,9 +443,11 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
405
  <td>
406
  <input type="checkbox" name="fb_author_show_twitter" id="fb_author_show_twitter" value="1" <?php echo (intval($fb_author_show_twitter)==1 ? ' checked="checked"' : ''); ?>/>
407
  <br/>
408
- <i>&lt;meta name="twitter:creator" content="@..."/&gt;</i>
409
- <br/>
410
- <?php _e('Links the article to the author Twitter profile. The user\'s Twitter user must be filled in.', 'wd-fb-og');?>
 
 
411
  </td>
412
  </tr>
413
  <tr class="fb_author_options">
@@ -415,7 +455,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
415
  <td>
416
  <input type="checkbox" name="fb_author_hide_on_pages" id="fb_author_hide_on_pages" value="1" <?php echo (intval($fb_author_hide_on_pages)==1 ? ' checked="checked"' : ''); ?>/>
417
  <br/>
418
- <?php _e('Hides all author tags on pages.', 'wd-fb-og');?>
 
 
419
  </td>
420
  </tr>
421
  <tr>
@@ -433,9 +475,11 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
433
  <td>
434
  <input type="checkbox" name="fb_desc_show_meta" id="fb_desc_show_meta" value="1" <?php echo (intval($fb_desc_show_meta)==1 ? ' checked="checked"' : ''); ?>/>
435
  <br/>
436
- <i>&lt;meta name="description" content="..."/&gt;</i>
437
- <br/>
438
- <?php _e('Recommended for SEO purposes if no other plugin is setting it already', 'wd-fb-og');?>
 
 
439
  </td>
440
  </tr>
441
  <tr class="fb_description_options">
@@ -443,9 +487,11 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
443
  <td>
444
  <input type="checkbox" name="fb_desc_show_schema" id="fb_desc_show_schema" value="1" <?php echo (intval($fb_desc_show_schema)==1 ? ' checked="checked"' : ''); ?>/>
445
  <br/>
446
- <i>&lt;meta itemprop="description" content="..."/&gt;</i>
447
- <br/>
448
- <?php _e('Recommended for Google+ sharing purposes if no other plugin is setting it already', 'wd-fb-og');?>
 
 
449
  </td>
450
  </tr>
451
  <tr class="fb_description_options">
@@ -453,9 +499,11 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
453
  <td>
454
  <input type="checkbox" name="fb_desc_show_twitter" id="fb_desc_show_twitter" value="1" <?php echo (intval($fb_desc_show_twitter)==1 ? ' checked="checked"' : ''); ?>/>
455
  <br/>
456
- <i>&lt;meta name="twitter:description" content"..."/&gt;</i>
457
- <br/>
458
- <?php _e('Recommended for Twitter sharing purposes if no other plugin is setting it already', 'wd-fb-og');?>
 
 
459
  </td>
460
  </tr>
461
  <tr class="fb_description_options">
@@ -463,7 +511,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
463
  <td>
464
  <input type="text" name="fb_desc_chars" id="fb_desc_chars" size="3" maxlength="3" value="<?php echo (intval($fb_desc_chars)>0 ? intval($fb_desc_chars) : ''); ?>"/> characters,
465
  <br/>
466
- <?php _e('0 or blank for no maximum length', 'wd-fb-og');?>
 
 
467
  </td>
468
  </tr>
469
  <tr class="fb_description_options">
@@ -487,11 +537,15 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
487
  if (function_exists('icl_object_id') && function_exists('icl_register_string')) {
488
  ?>
489
  <br/>
490
- <?php
491
- printf(
492
- __('WPML users: Set the default language description here, save changes and then go to <a href="%s">WPML &gt; String translation</a> to set it for other languages.', 'wd-fb-og'),
493
- 'admin.php?page=wpml-string-translation/menu/string-translation.php&amp;context=wd-fb-og'
494
- );
 
 
 
 
495
  }
496
  ?>
497
  </div>
@@ -506,7 +560,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
506
  <td>
507
  <input type="checkbox" name="fb_image_show" id="fb_image_show" value="1" <?php echo (intval($fb_image_show)==1 ? ' checked="checked"' : ''); ?> onclick="showImageOptions();"/>
508
  <br/>
509
- <?php _e('All images MUST have at least 200px on both dimensions in order to Facebook to load them at all.<br/>1200x630px for optimal results.<br/>Minimum of 600x315px is recommended.', 'wd-fb-og');?>
 
 
510
  </td>
511
  </tr>
512
  <tr class="fb_image_options">
@@ -514,7 +570,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
514
  <td>
515
  <input type="checkbox" name="fb_image_size_show" id="fb_image_size_show" value="1" <?php echo (intval($fb_image_size_show)==1 ? ' checked="checked"' : ''); ?>/>
516
  <br/>
517
- <?php _e('Recommended only if Facebook is having problems loading the image when the post is shared for the first time.', 'wd-fb-og');?>
 
 
518
  </td>
519
  </tr>
520
  <tr class="fb_image_options">
@@ -522,9 +580,11 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
522
  <td>
523
  <input type="checkbox" name="fb_image_show_schema" id="fb_image_show_schema" value="1" <?php echo (intval($fb_image_show_schema)==1 ? ' checked="checked"' : ''); ?>/>
524
  <br/>
525
- <i>&lt;meta itemprop="image" content="..."/&gt;</i>
526
- <br/>
527
- <?php _e('Recommended for Google+ sharing purposes if no other plugin is setting it already', 'wd-fb-og');?>
 
 
528
  </td>
529
  </tr>
530
  <tr class="fb_image_options">
@@ -532,9 +592,11 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
532
  <td>
533
  <input type="checkbox" name="fb_image_show_twitter" id="fb_image_show_twitter" value="1" <?php echo (intval($fb_image_show_twitter)==1 ? ' checked="checked"' : ''); ?>/>
534
  <br/>
535
- <i>&lt;meta name="twitter:image:src" content="..."/&gt;</i>
536
- <br/>
537
- <?php _e('Recommended for Twitter sharing purposes if no other plugin is setting it already', 'wd-fb-og');?>
 
 
538
  </td>
539
  </tr>
540
  <tr class="fb_image_options">
@@ -543,9 +605,11 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
543
  <input type="text" name="fb_image" id="fb_image" size="50" value="<?php echo trim(esc_attr($fb_image)); ?>"/>
544
  <input id="fb_image_button" class="button" type="button" value="Upload/Choose image" />
545
  <br/>
546
- <?php _e('Full URL with http://', 'wd-fb-og');?>
547
- <br/>
548
- <?php _e('Recommended size: 1200x630px', 'wd-fb-og'); ?>
 
 
549
  </td>
550
  </tr>
551
  <tr class="fb_image_options">
@@ -553,7 +617,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
553
  <td>
554
  <input type="checkbox" name="fb_image_rss" id="fb_image_rss" value="1" <?php echo (intval($fb_image_rss)==1 ? ' checked="checked"' : ''); ?> onclick="showImageOptions();"/>
555
  <br/>
556
- <?php _e('For auto-posting apps like RSS Graffiti, twitterfeed, ...', 'wd-fb-og');?>
 
 
557
  </td>
558
  </tr>
559
  <tr class="fb_image_options">
@@ -561,23 +627,23 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
561
  <td>
562
  <div>
563
  1) <input type="checkbox" name="fb_image_use_specific" id="fb_image_use_specific" value="1" <?php echo (intval($fb_image_use_specific)==1 ? ' checked="checked"' : ''); ?>/>
564
- <?php _e('Image will be fetched from the specific "Open Graph Image" custom field on the post', 'wd-fb-og');?>
565
  </div>
566
  <div>
567
  2) <input type="checkbox" name="fb_image_use_featured" id="fb_image_use_featured" value="1" <?php echo (intval($fb_image_use_featured)==1 ? ' checked="checked"' : ''); ?>/>
568
- <?php _e('If it\'s not set, image will be fetched from post/page featured/thumbnail picture', 'wd-fb-og');?>
569
  </div>
570
  <div>
571
  3) <input type="checkbox" name="fb_image_use_content" id="fb_image_use_content" value="1" <?php echo (intval($fb_image_use_content)==1 ? ' checked="checked"' : ''); ?>/>
572
- <?php _e('If it doesn\'t exist, use the first image from the post/page content', 'wd-fb-og');?>
573
  </div>
574
  <div>
575
  4) <input type="checkbox" name="fb_image_use_media" id="fb_image_use_media" value="1" <?php echo (intval($fb_image_use_media)==1 ? ' checked="checked"' : ''); ?>/>
576
- <?php _e('If it doesn\'t exist, use first image from the post/page media gallery', 'wd-fb-og');?>
577
  </div>
578
  <div>
579
  5) <input type="checkbox" name="fb_image_use_default" id="fb_image_use_default" value="1" <?php echo (intval($fb_image_use_default)==1 ? ' checked="checked"' : ''); ?>/>
580
- <?php _e('If it doesn\'t exist, use the default image above', 'wd-fb-og');?>
581
  </div>
582
  </td>
583
  </tr>
@@ -598,7 +664,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
598
  </div>
599
 
600
  <div id="webdados_fb_open_graph-thirdparty" class="postbox">
601
- <h3 id="thirdparty"><?php _e('3rd Party Integration', 'wd-fb-og');?></h3>
602
  <div class="inside">
603
  <?php
604
  $thirdparty=false;
@@ -608,16 +674,49 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
608
  ?>
609
  <hr/>
610
  <a name="wpseo"></a>
611
- <h4><a href="http://wordpress.org/plugins/wordpress-seo/" target="_blank">WordPress SEO by Yoast</a></h4>
612
  <p><?php _e('It\'s HIGHLY recommended to go to <a href="admin.php?page=wpseo_social" target="_blank">SEO &gt; Social</a> and disable "Add Open Graph meta data", "Add Twitter card meta data" and "Add Google+ specific post meta data"', 'wd-fb-og'); ?> <?php _e('even if you don\'t enable integration bellow. You will get duplicate tags if you don\'t do this.', 'wd-fb-og'); ?></p>
613
  <table width="100%" class="form-table">
614
- <tr>
615
- <th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('Use title, url (canonical) and description from WPSEO', 'wd-fb-og');?></th>
616
- <td>
617
- <input type="checkbox" name="fb_show_wpseoyoast" id="fb_show_wpseoyoast" value="1" <?php echo (intval($fb_show_wpseoyoast)==1 ? ' checked="checked"' : ''); ?>/>
618
- </td>
619
- </tr>
620
- </table>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
621
  <?php
622
  }
623
  //SubHeading
@@ -625,7 +724,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
625
  $thirdparty=true;
626
  ?>
627
  <hr/>
628
- <h4><a href="http://wordpress.org/extend/plugins/subheading/" target="_blank">SubHeading</a></h4>
629
  <table width="100%" class="form-table">
630
  <tr>
631
  <th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('Add SubHeading to Post/Page title', 'wd-fb-og');?></th>
@@ -641,14 +740,16 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
641
  $thirdparty=true;
642
  ?>
643
  <hr/>
644
- <h4><a href="http://wordpress.org/extend/plugins/business-directory-plugin/" target="_blank">Business Directory Plugin</a></h4>
645
  <table width="100%" class="form-table">
646
  <tr>
647
  <th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('Use BDP listing contents as OG tags', 'wd-fb-og');?></th>
648
  <td>
649
  <input type="checkbox" name="fb_show_businessdirectoryplugin" id="fb_show_businessdirectoryplugin" value="1" <?php echo (intval($fb_show_businessdirectoryplugin)==1 ? ' checked="checked"' : ''); ?>/>
650
  <br/>
651
- <?php _e('Setting "Include URL", "Set Canonical URL", "Include Description" and "Include Image" options above is HIGHLY recommended', 'wd-fb-og');?>
 
 
652
  </td>
653
  </tr>
654
  </table>
@@ -659,9 +760,10 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
659
  <p><?php _e('You don\'t have any compatible 3rd Party plugin installed/active.', 'wd-fb-og');?></p>
660
  <p><?php _e('This plugin is currently compatible with:', 'wd-fb-og');?></p>
661
  <ul>
662
- <li><a href="http://wordpress.org/extend/plugins/wordpress-seo/" target="_blank">WordPress SEO by Yoast</a></li>
663
- <li><a href="http://wordpress.org/extend/plugins/subheading/" target="_blank">SubHeading</a></li>
664
- <li><a href="http://wordpress.org/extend/plugins/business-directory-plugin/" target="_blank">Business Directory Plugin</a></li>
 
665
  </ul>
666
  <?php
667
  }
@@ -670,7 +772,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
670
  </div>
671
 
672
  <div id="webdados_fb_open_graph-advanced" class="postbox">
673
- <h3 id="advanced"><?php _e('Advanced settings', 'wd-fb-og');?></h3>
674
  <div class="inside">
675
  <p><?php _e('Don\'t mess with this unless you know what you\'re doing', 'wd-fb-og');?></p>
676
  <table width="100%" class="form-table">
@@ -679,7 +781,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
679
  <td>
680
  <input type="checkbox" name="fb_adv_force_local" id="fb_adv_force_local" value="1" <?php echo (intval($fb_adv_force_local)==1 ? ' checked="checked"' : ''); ?>/>
681
  <br/>
682
- <?php _e('May cause problems with some multisite configurations but fix "HTTP request failed" errors', 'wd-fb-og');?>
 
 
683
  </td>
684
  </tr>
685
  <tr>
@@ -708,6 +812,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
708
  </div>
709
 
710
  <?php
 
 
 
711
  $links[0]['text']=__('Test your URLs at Facebook URL Linter / Debugger', 'wd-fb-og');
712
  $links[0]['url']='https://developers.facebook.com/tools/debug';
713
 
@@ -721,13 +828,13 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
721
  $links[20]['url']='http://ogp.me/';
722
 
723
  $links[25]['text']=__('About Twitter Cards', 'wd-fb-og');
724
- $links[25]['url']='hhttps://dev.twitter.com/cards/getting-started';
725
 
726
  $links[30]['text']=__('Plugin official URL', 'wd-fb-og');
727
- $links[30]['url']='http://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/?utm_source=fb_og_wp_plugin_settings&amp;utm_medium=link&amp;utm_campaign=fb_og_wp_plugin';
728
 
729
  $links[40]['text']=__('Author\'s website: Webdados', 'wd-fb-og');
730
- $links[40]['url']='http://www.webdados.pt/?utm_source=fb_og_wp_plugin_settings&amp;utm_medium=link&amp;utm_campaign=fb_og_wp_plugin';
731
 
732
  $links[50]['text']=__('Author\'s Facebook page: Webdados', 'wd-fb-og');
733
  $links[50]['url']='http://www.facebook.com/Webdados';
@@ -738,17 +845,24 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
738
  <div class="postbox-container og_right_col">
739
 
740
  <div id="poststuff">
741
- <div id="webdados_fb_open_graph_links" class="postbox">
742
- <h3 id="settings"><?php _e('Rate this plugin', 'wd-fb-og');?></h3>
743
  <div class="inside">
744
- <?php _e('If you like this plugin,', 'wd-fb-og');?> <a href="http://wordpress.org/extend/plugins/wonderm00ns-simple-facebook-open-graph-tags/" target="_blank"><?php _e('please give it a high Rating', 'wd-fb-og');?></a>.
 
 
 
 
 
 
 
745
  </div>
746
  </div>
747
  </div>
748
 
749
  <div id="poststuff">
750
- <div id="webdados_fb_open_graph_links" class="postbox">
751
- <h3 id="settings"><?php _e('Useful links', 'wd-fb-og');?></h3>
752
  <div class="inside">
753
  <ul>
754
  <?php foreach($links as $link) { ?>
@@ -761,7 +875,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
761
 
762
  <div id="poststuff">
763
  <div id="webdados_fb_open_graph_donation" class="postbox">
764
- <h3 id="settings"><?php _e('Donate', 'wd-fb-og');?></h3>
765
  <div class="inside">
766
  <p><?php _e('If you find this plugin useful and want to make a contribution towards future development please consider making a small, or big ;-), donation.', 'wd-fb-og');?></p>
767
  <center><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
@@ -769,7 +883,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
769
  <input type="hidden" name="business" value="wonderm00n@gmail.com">
770
  <input type="hidden" name="lc" value="PT">
771
  <input type="hidden" name="item_name" value="Marco Almeida (Wonderm00n)">
772
- <input type="hidden" name="item_number" value="wonderm00n_open_graph">
773
  <input type="hidden" name="currency_code" value="USD">
774
  <input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHosted">
775
  <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
@@ -782,7 +896,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
782
  </div>
783
 
784
  <div class="clear">
785
- <p><br/>&copy 2011<?php if(date('Y')>2011) echo '-'.date('Y'); ?> <a href="http://www.webdados.pt/?utm_source=fb_og_wp_plugin_settings&amp;utm_medium=link&amp;utm_campaign=fb_og_wp_plugin" target="_blank">Webdados</a> &amp; <a href="http://wonderm00n.com/?utm_source=fb_og_wp_plugin_settings&amp;utm_medium=link&amp;utm_campaign=fb_og_wp_plugin" target="_blank">Marco Almeida (Wonderm00n)</a></p>
786
  </div>
787
 
788
  </div>
@@ -945,13 +1059,17 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
945
  .og_right_col #poststuff {
946
  min-width: 0;
947
  }
 
 
 
 
 
 
 
948
  table.form-table tr th,
949
  table.form-table tr td {
950
  line-height: 1.5;
951
  }
952
- table.form-table tr th {
953
- font-weight: bold;
954
- }
955
  table.form-table tr th[scope=row] {
956
  min-width: 300px;
957
  }
@@ -982,4 +1100,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
982
  table.form-table .dashicons-admin-generic {
983
  color: #666;
984
  }
 
 
 
985
  </style>
69
  $usersettings['fb_adv_notify_fb']= intval(webdados_fb_open_graph_post('fb_adv_notify_fb'));
70
  $usersettings['fb_adv_supress_fb_notice']= intval(webdados_fb_open_graph_post('fb_adv_supress_fb_notice'));
71
  $usersettings['fb_twitter_card_type']= trim(webdados_fb_open_graph_post('fb_twitter_card_type'));
72
+ $usersettings['fb_wc_usecategthumb']= intval(webdados_fb_open_graph_post('fb_wc_usecategthumb'));
73
+ $usersettings['fb_wc_useproductgallery']= intval(webdados_fb_open_graph_post('fb_wc_useproductgallery'));
74
  //Update
75
  update_option('wonderm00n_open_graph_settings', $usersettings);
76
  //WPML - Register custom website description
87
  <div class="wrap">
88
 
89
  <?php screen_icon(); ?>
90
+ <h1><?php echo $webdados_fb_open_graph_plugin_name; ?> (<?php echo $webdados_fb_open_graph_plugin_version; ?>)</h1>
91
  <br class="clear"/>
92
  <p><?php _e('Please set some default values and which tags should, or should not, be included. It may be necessary to exclude some tags if other plugins are already including them.', 'wd-fb-og'); ?></p>
93
 
100
  <form name="form1" method="post">
101
 
102
  <div id="webdados_fb_open_graph-settings" class="postbox">
103
+ <h3 class="hndle"><?php _e('Settings'); ?></h3>
104
  <div class="inside">
105
  <table width="100%" class="form-table">
106
  <tr>
129
  <td>
130
  <input type="text" name="fb_admin_id" id="fb_admin_id" size="30" value="<?php echo trim(esc_attr($fb_admin_id)); ?>"/>
131
  <br/>
132
+ <small>
133
+ <?php _e('Comma separated if more than one', 'wd-fb-og'); ?>
134
+ </small>
135
  </td>
136
  </tr>
137
  <tr>
196
  ?>
197
  </select>
198
  <br/>
199
+ <small>
200
+ <?php
201
+ if ($loadedOnline) {
202
+ _e('List loaded from Facebook (online)', 'wd-fb-og');
 
 
203
  } else {
204
+ if ($loadedOffline) {
205
+ _e('List loaded from local cache (offline)', 'wd-fb-og'); ?> - <a href="?page=wonderm00n-open-graph.php&amp;localeOnline=1" onClick="return(confirm('<?php _e('You\\\'l lose any changes you haven\\\'t saved. Are you sure?', 'wd-fb-og'); ?>'));"><?php _e('Reload from Facebook', 'wd-fb-og'); ?></a><?php
206
+ } else {
207
+ _e('List not loaded', 'wd-fb-og');
208
+ }
209
  }
210
+ ?>
211
+ </small>
212
  </td>
213
  </tr>
214
  <tr>
234
  <td>
235
  <input type="checkbox" name="fb_title_show_schema" id="fb_title_show_schema" value="1" <?php echo (intval($fb_title_show_schema)==1 ? ' checked="checked"' : ''); ?>/>
236
  <br/>
237
+ <small>
238
+ <i>&lt;meta itemprop="name" content="..."/&gt;</i>
239
+ <br/>
240
+ <?php _e('Recommended for Google+ sharing purposes if no other plugin is setting it already', 'wd-fb-og');?>
241
+ </small>
242
  </td>
243
  </tr>
244
  <tr class="fb_title_options">
246
  <td>
247
  <input type="checkbox" name="fb_title_show_twitter" id="fb_title_show_twitter" value="1" <?php echo (intval($fb_title_show_twitter)==1 ? ' checked="checked"' : ''); ?>/>
248
  <br/>
249
+ <small>
250
+ <i>&lt;meta name="twitter:title" content=..."/&gt;</i>
251
+ <br/>
252
+ <?php _e('Recommended for Twitter sharing purposes if no other plugin is setting it already', 'wd-fb-og');?>
253
+ </small>
254
  </td>
255
  </tr>
256
  <tr>
273
  <td>
274
  <input type="checkbox" name="fb_url_add_trailing" id="fb_url_add_trailing" value="1" <?php echo (intval($fb_url_add_trailing)==1 ? ' checked="checked"' : ''); ?> onclick="showUrlTrail();"/>
275
  <br/>
276
+ <small>
277
+ <?php _e('On the homepage will be', 'wd-fb-og');?>: <i><?php echo get_option('siteurl'); ?><span id="fb_url_add_trailing_example">/</span></i>
278
+ </small>
279
  </td>
280
  </tr>
281
  <tr class="fb_url_options">
283
  <td>
284
  <input type="checkbox" name="fb_url_canonical" id="fb_url_canonical" value="1" <?php echo (intval($fb_url_canonical)==1 ? ' checked="checked"' : ''); ?>/>
285
  <br/>
286
+ <small>
287
+ <i>&lt;link rel="canonical" href="..."/&gt;</i>
288
+ </small>
289
  </td>
290
  </tr>
291
  <tr>
296
  <td>
297
  <input type="checkbox" name="fb_type_show" id="fb_type_show" value="1" <?php echo (intval($fb_type_show)==1 ? ' checked="checked"' : ''); ?> onclick="showTypeOptions();"/>
298
  <br/>
299
+ <small>
300
+ <?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' );?>
301
+ </small>
302
  </td>
303
  </tr>
304
  <tr class="fb_type_options">
319
  <td>
320
  <input type="checkbox" name="fb_article_dates_show" id="fb_article_dates_show" value="1" <?php echo (intval($fb_article_dates_show)==1 ? ' checked="checked"' : ''); ?>/>
321
  <br/>
322
+ <small>
323
+ <?php _e('Works for posts only', 'wd-fb-og'); ?>
324
+ </small>
325
  </td>
326
  </tr>
327
  <tr>
332
  <td>
333
  <input type="checkbox" name="fb_article_sections_show" id="fb_article_sections_show" value="1" <?php echo (intval($fb_article_sections_show)==1 ? ' checked="checked"' : ''); ?>/>
334
  <br/>
335
+ <small>
336
+ <?php _e('Works for posts only', 'wd-fb-og'); ?>, <?php _e('from the categories', 'wd-fb-og'); ?>
337
+ </small>
338
  </td>
339
  </tr>
340
  <tr>
345
  <td>
346
  <input type="checkbox" name="fb_publisher_show" id="fb_publisher_show" value="1" <?php echo (intval($fb_publisher_show)==1 ? ' checked="checked"' : ''); ?> onclick="showPublisherOptions();"/>
347
  <br/>
348
+ <small>
349
+ <?php _e('Links the website to the publisher Facebook Page.', 'wd-fb-og');?>
350
+ </small>
351
  </td>
352
  </tr>
353
  <tr class="fb_publisher_options">
355
  <td>
356
  <input type="text" name="fb_publisher" id="fb_publisher" size="50" value="<?php echo trim(esc_attr($fb_publisher)); ?>"/>
357
  <br/>
358
+ <small>
359
+ <?php _e('Full URL with http://', 'wd-fb-og');?>
360
+ </small>
361
  </td>
362
  </tr>
363
  <tr>
365
  <td>
366
  <input type="checkbox" name="fb_publisher_show_schema" id="fb_publisher_show_schema" value="1" <?php echo (intval($fb_publisher_show_schema)==1 ? ' checked="checked"' : ''); ?> onclick="showPublisherSchemaOptions();"/>
367
  <br/>
368
+ <small>
369
+ <?php _e('Links the website to the publisher Google+ Page.', 'wd-fb-og');?>
370
+ </small>
371
  </td>
372
  </tr>
373
  <tr class="fb_publisher_schema_options">
375
  <td>
376
  <input type="text" name="fb_publisher_schema" id="fb_publisher_schema" size="50" value="<?php echo trim(esc_attr($fb_publisher_schema)); ?>"/>
377
  <br/>
378
+ <small>
379
+ <?php _e('Full URL with http://', 'wd-fb-og');?>
380
+ </small>
381
  </td>
382
  </tr>
383
  <tr>
385
  <td>
386
  <input type="checkbox" name="fb_publisher_show_twitter" id="fb_publisher_show_twitter" value="1" <?php echo (intval($fb_publisher_show_twitter)==1 ? ' checked="checked"' : ''); ?> onclick="showPublisherTwitterOptions();"/>
387
  <br/>
388
+ <small>
389
+ <?php _e('Links the website to the publisher Twitter Username.', 'wd-fb-og');?>
390
+ </small>
391
  </td>
392
  </tr>
393
  <tr class="fb_publisher_twitter_options">
395
  <td>
396
  <input type="text" name="fb_publisher_twitteruser" id="fb_publisher_twitteruser" size="20" value="<?php echo trim(esc_attr($fb_publisher_twitteruser)); ?>"/>
397
  <br/>
398
+ <small>
399
+ <?php _e('Twitter username (without @)', 'wd-fb-og');?>
400
+ </small>
401
  </td>
402
  </tr>
403
  <tr>
409
  <td>
410
  <input type="checkbox" name="fb_author_show" id="fb_author_show" value="1" <?php echo (intval($fb_author_show)==1 ? ' checked="checked"' : ''); ?> onclick="showAuthorOptions();"/>
411
  <br/>
412
+ <small>
413
+ <?php _e('Links the article to the author Facebook Profile. The user\'s Facebook profile URL must be filled in.', 'wd-fb-og');?>
414
+ </small>
415
  </td>
416
  </tr>
417
  <tr class="fb_author_options">
419
  <td>
420
  <input type="checkbox" name="fb_author_show_meta" id="fb_author_show_meta" value="1" <?php echo (intval($fb_author_show_meta)==1 ? ' checked="checked"' : ''); ?>/>
421
  <br/>
422
+ <small>
423
+ <i>&lt;meta name="author" content="..."/&gt;</i>
424
+ <br/>
425
+ <?php _e('Sets the article author name', 'wd-fb-og');?>
426
+ </small>
427
  </td>
428
  </tr>
429
  <tr class="fb_author_options">
431
  <td>
432
  <input type="checkbox" name="fb_author_show_linkrelgp" id="fb_author_show_linkrelgp" value="1" <?php echo (intval($fb_author_show_linkrelgp)==1 ? ' checked="checked"' : ''); ?>/>
433
  <br/>
434
+ <small>
435
+ <i>&lt;link rel="author" href="..."/&gt;</i>
436
+ <br/>
437
+ <?php _e('Links the article to the author Google+ Profile (authorship). The user\'s Google+ profile URL must be filled in.', 'wd-fb-og');?>
438
+ </small>
439
  </td>
440
  </tr>
441
  <tr class="fb_author_options">
443
  <td>
444
  <input type="checkbox" name="fb_author_show_twitter" id="fb_author_show_twitter" value="1" <?php echo (intval($fb_author_show_twitter)==1 ? ' checked="checked"' : ''); ?>/>
445
  <br/>
446
+ <small>
447
+ <i>&lt;meta name="twitter:creator" content="@..."/&gt;</i>
448
+ <br/>
449
+ <?php _e('Links the article to the author Twitter profile. The user\'s Twitter user must be filled in.', 'wd-fb-og');?>
450
+ </small>
451
  </td>
452
  </tr>
453
  <tr class="fb_author_options">
455
  <td>
456
  <input type="checkbox" name="fb_author_hide_on_pages" id="fb_author_hide_on_pages" value="1" <?php echo (intval($fb_author_hide_on_pages)==1 ? ' checked="checked"' : ''); ?>/>
457
  <br/>
458
+ <small>
459
+ <?php _e('Hides all author tags on pages.', 'wd-fb-og');?>
460
+ </small>
461
  </td>
462
  </tr>
463
  <tr>
475
  <td>
476
  <input type="checkbox" name="fb_desc_show_meta" id="fb_desc_show_meta" value="1" <?php echo (intval($fb_desc_show_meta)==1 ? ' checked="checked"' : ''); ?>/>
477
  <br/>
478
+ <small>
479
+ <i>&lt;meta name="description" content="..."/&gt;</i>
480
+ <br/>
481
+ <?php _e('Recommended for SEO purposes if no other plugin is setting it already', 'wd-fb-og');?>
482
+ </small>
483
  </td>
484
  </tr>
485
  <tr class="fb_description_options">
487
  <td>
488
  <input type="checkbox" name="fb_desc_show_schema" id="fb_desc_show_schema" value="1" <?php echo (intval($fb_desc_show_schema)==1 ? ' checked="checked"' : ''); ?>/>
489
  <br/>
490
+ <small>
491
+ <i>&lt;meta itemprop="description" content="..."/&gt;</i>
492
+ <br/>
493
+ <?php _e('Recommended for Google+ sharing purposes if no other plugin is setting it already', 'wd-fb-og');?>
494
+ </small>
495
  </td>
496
  </tr>
497
  <tr class="fb_description_options">
499
  <td>
500
  <input type="checkbox" name="fb_desc_show_twitter" id="fb_desc_show_twitter" value="1" <?php echo (intval($fb_desc_show_twitter)==1 ? ' checked="checked"' : ''); ?>/>
501
  <br/>
502
+ <small>
503
+ <i>&lt;meta name="twitter:description" content"..."/&gt;</i>
504
+ <br/>
505
+ <?php _e('Recommended for Twitter sharing purposes if no other plugin is setting it already', 'wd-fb-og');?>
506
+ </small>
507
  </td>
508
  </tr>
509
  <tr class="fb_description_options">
511
  <td>
512
  <input type="text" name="fb_desc_chars" id="fb_desc_chars" size="3" maxlength="3" value="<?php echo (intval($fb_desc_chars)>0 ? intval($fb_desc_chars) : ''); ?>"/> characters,
513
  <br/>
514
+ <small>
515
+ <?php _e('0 or blank for no maximum length', 'wd-fb-og');?>
516
+ </small>
517
  </td>
518
  </tr>
519
  <tr class="fb_description_options">
537
  if (function_exists('icl_object_id') && function_exists('icl_register_string')) {
538
  ?>
539
  <br/>
540
+ <small>
541
+ <?php
542
+ printf(
543
+ __('WPML users: Set the default language description here, save changes and then go to <a href="%s">WPML &gt; String translation</a> to set it for other languages.', 'wd-fb-og'),
544
+ 'admin.php?page=wpml-string-translation/menu/string-translation.php&amp;context=wd-fb-og'
545
+ );
546
+ ?>
547
+ </small>
548
+ <?php
549
  }
550
  ?>
551
  </div>
560
  <td>
561
  <input type="checkbox" name="fb_image_show" id="fb_image_show" value="1" <?php echo (intval($fb_image_show)==1 ? ' checked="checked"' : ''); ?> onclick="showImageOptions();"/>
562
  <br/>
563
+ <small>
564
+ <?php _e('All images MUST have at least 200px on both dimensions in order to Facebook to load them at all.<br/>1200x630px for optimal results.<br/>Minimum of 600x315px is recommended.', 'wd-fb-og');?>
565
+ </small>
566
  </td>
567
  </tr>
568
  <tr class="fb_image_options">
570
  <td>
571
  <input type="checkbox" name="fb_image_size_show" id="fb_image_size_show" value="1" <?php echo (intval($fb_image_size_show)==1 ? ' checked="checked"' : ''); ?>/>
572
  <br/>
573
+ <small>
574
+ <?php _e('Recommended only if Facebook is having problems loading the image when the post is shared for the first time.', 'wd-fb-og');?>
575
+ </small>
576
  </td>
577
  </tr>
578
  <tr class="fb_image_options">
580
  <td>
581
  <input type="checkbox" name="fb_image_show_schema" id="fb_image_show_schema" value="1" <?php echo (intval($fb_image_show_schema)==1 ? ' checked="checked"' : ''); ?>/>
582
  <br/>
583
+ <small>
584
+ <i>&lt;meta itemprop="image" content="..."/&gt;</i>
585
+ <br/>
586
+ <?php _e('Recommended for Google+ sharing purposes if no other plugin is setting it already', 'wd-fb-og');?>
587
+ </small>
588
  </td>
589
  </tr>
590
  <tr class="fb_image_options">
592
  <td>
593
  <input type="checkbox" name="fb_image_show_twitter" id="fb_image_show_twitter" value="1" <?php echo (intval($fb_image_show_twitter)==1 ? ' checked="checked"' : ''); ?>/>
594
  <br/>
595
+ <small>
596
+ <i>&lt;meta name="twitter:image:src" content="..."/&gt;</i>
597
+ <br/>
598
+ <?php _e('Recommended for Twitter sharing purposes if no other plugin is setting it already', 'wd-fb-og');?>
599
+ </small>
600
  </td>
601
  </tr>
602
  <tr class="fb_image_options">
605
  <input type="text" name="fb_image" id="fb_image" size="50" value="<?php echo trim(esc_attr($fb_image)); ?>"/>
606
  <input id="fb_image_button" class="button" type="button" value="Upload/Choose image" />
607
  <br/>
608
+ <small>
609
+ <?php _e('Full URL with http://', 'wd-fb-og');?>
610
+ <br/>
611
+ <?php _e('Recommended size: 1200x630px', 'wd-fb-og'); ?>
612
+ </small>
613
  </td>
614
  </tr>
615
  <tr class="fb_image_options">
617
  <td>
618
  <input type="checkbox" name="fb_image_rss" id="fb_image_rss" value="1" <?php echo (intval($fb_image_rss)==1 ? ' checked="checked"' : ''); ?> onclick="showImageOptions();"/>
619
  <br/>
620
+ <small>
621
+ <?php _e('For auto-posting apps like RSS Graffiti, twitterfeed, ...', 'wd-fb-og');?>
622
+ </small>
623
  </td>
624
  </tr>
625
  <tr class="fb_image_options">
627
  <td>
628
  <div>
629
  1) <input type="checkbox" name="fb_image_use_specific" id="fb_image_use_specific" value="1" <?php echo (intval($fb_image_use_specific)==1 ? ' checked="checked"' : ''); ?>/>
630
+ <small><?php _e('Image will be fetched from the specific "Open Graph Image" custom field on the post', 'wd-fb-og');?></small>
631
  </div>
632
  <div>
633
  2) <input type="checkbox" name="fb_image_use_featured" id="fb_image_use_featured" value="1" <?php echo (intval($fb_image_use_featured)==1 ? ' checked="checked"' : ''); ?>/>
634
+ <small><?php _e('If it\'s not set, image will be fetched from post/page featured/thumbnail picture', 'wd-fb-og');?></small>
635
  </div>
636
  <div>
637
  3) <input type="checkbox" name="fb_image_use_content" id="fb_image_use_content" value="1" <?php echo (intval($fb_image_use_content)==1 ? ' checked="checked"' : ''); ?>/>
638
+ <small><?php _e('If it doesn\'t exist, use the first image from the post/page content', 'wd-fb-og');?></small>
639
  </div>
640
  <div>
641
  4) <input type="checkbox" name="fb_image_use_media" id="fb_image_use_media" value="1" <?php echo (intval($fb_image_use_media)==1 ? ' checked="checked"' : ''); ?>/>
642
+ <small><?php _e('If it doesn\'t exist, use first image from the post/page media gallery', 'wd-fb-og');?></small>
643
  </div>
644
  <div>
645
  5) <input type="checkbox" name="fb_image_use_default" id="fb_image_use_default" value="1" <?php echo (intval($fb_image_use_default)==1 ? ' checked="checked"' : ''); ?>/>
646
+ <small><?php _e('If it doesn\'t exist, use the default image above', 'wd-fb-og');?></small>
647
  </div>
648
  </td>
649
  </tr>
664
  </div>
665
 
666
  <div id="webdados_fb_open_graph-thirdparty" class="postbox">
667
+ <h3 class="hndle"><?php _e('3rd Party Integration', 'wd-fb-og');?></h3>
668
  <div class="inside">
669
  <?php
670
  $thirdparty=false;
674
  ?>
675
  <hr/>
676
  <a name="wpseo"></a>
677
+ <h4><a href="https://wordpress.org/plugins/wordpress-seo/" target="_blank">WordPress SEO by Yoast</a></h4>
678
  <p><?php _e('It\'s HIGHLY recommended to go to <a href="admin.php?page=wpseo_social" target="_blank">SEO &gt; Social</a> and disable "Add Open Graph meta data", "Add Twitter card meta data" and "Add Google+ specific post meta data"', 'wd-fb-og'); ?> <?php _e('even if you don\'t enable integration bellow. You will get duplicate tags if you don\'t do this.', 'wd-fb-og'); ?></p>
679
  <table width="100%" class="form-table">
680
+ <tr>
681
+ <th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('Use title, url (canonical) and description from WPSEO', 'wd-fb-og');?></th>
682
+ <td>
683
+ <input type="checkbox" name="fb_show_wpseoyoast" id="fb_show_wpseoyoast" value="1" <?php echo (intval($fb_show_wpseoyoast)==1 ? ' checked="checked"' : ''); ?>/>
684
+ </td>
685
+ </tr>
686
+ </table>
687
+ <?php
688
+ }
689
+ //WooCommerce
690
+ if ( class_exists('woocommerce') ) {
691
+ $thirdparty=true;
692
+ ?>
693
+ <hr/>
694
+ <a name="woocommerce"></a>
695
+ <h4><a href="https://wordpress.org/plugins/woocommerce/" target="_blank">WooCommerce</a></h4>
696
+ <table width="100%" class="form-table">
697
+ <tr>
698
+ <th scope="row"><i class="dashicons-before dashicons-cart"></i><?php _e('Use Product Category thumbnail as Open Graph Image', 'wd-fb-og');?></th>
699
+ <td>
700
+ <input type="checkbox" name="fb_wc_usecategthumb" id="fb_wc_usecategthumb" value="1" <?php echo (intval($fb_wc_usecategthumb)==1 ? ' checked="checked"' : ''); ?>/>
701
+ <br/>
702
+ <small>
703
+ <?php _e('Recommended if you set large thumbnails for Product Categories and want to use them as Open Graph Images on listing pages', 'wd-fb-og');?>
704
+ </small>
705
+ </td>
706
+ </tr>
707
+ <tr>
708
+ <th scope="row"><i class="dashicons-before dashicons-cart"></i><?php _e('Use Product Gallery images as additional Open Graph Images', 'wd-fb-og');?></th>
709
+ <td>
710
+ <input type="checkbox" name="fb_wc_useproductgallery" id="fb_wc_useproductgallery" value="1" <?php echo (intval($fb_wc_useproductgallery)==1 ? ' checked="checked"' : ''); ?>/>
711
+ <br/>
712
+ <small>
713
+ <?php _e('Experimental', 'wd-fb-og');?>
714
+ -
715
+ <?php _e('Uses additional Product Gallery images so, when the product is shared on Facebook, the user can choose what image to use', 'wd-fb-og');?>
716
+ </small>
717
+ </td>
718
+ </tr>
719
+ </table>
720
  <?php
721
  }
722
  //SubHeading
724
  $thirdparty=true;
725
  ?>
726
  <hr/>
727
+ <h4><a href="https://wordpress.org/extend/plugins/subheading/" target="_blank">SubHeading</a></h4>
728
  <table width="100%" class="form-table">
729
  <tr>
730
  <th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('Add SubHeading to Post/Page title', 'wd-fb-og');?></th>
740
  $thirdparty=true;
741
  ?>
742
  <hr/>
743
+ <h4><a href="https://wordpress.org/extend/plugins/business-directory-plugin/" target="_blank">Business Directory Plugin</a></h4>
744
  <table width="100%" class="form-table">
745
  <tr>
746
  <th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('Use BDP listing contents as OG tags', 'wd-fb-og');?></th>
747
  <td>
748
  <input type="checkbox" name="fb_show_businessdirectoryplugin" id="fb_show_businessdirectoryplugin" value="1" <?php echo (intval($fb_show_businessdirectoryplugin)==1 ? ' checked="checked"' : ''); ?>/>
749
  <br/>
750
+ <small>
751
+ <?php _e('Setting "Include URL", "Set Canonical URL", "Include Description" and "Include Image" options above is HIGHLY recommended', 'wd-fb-og');?>
752
+ </small>
753
  </td>
754
  </tr>
755
  </table>
760
  <p><?php _e('You don\'t have any compatible 3rd Party plugin installed/active.', 'wd-fb-og');?></p>
761
  <p><?php _e('This plugin is currently compatible with:', 'wd-fb-og');?></p>
762
  <ul>
763
+ <li><a href="https://wordpress.org/extend/plugins/wordpress-seo/" target="_blank">WordPress SEO by Yoast</a></li>
764
+ <li><a href="https://wordpress.org/plugins/woocommerce/" target="_blank">WooCommerce</a></li>
765
+ <li><a href="https://wordpress.org/extend/plugins/subheading/" target="_blank">SubHeading</a></li>
766
+ <li><a href="https://wordpress.org/extend/plugins/business-directory-plugin/" target="_blank">Business Directory Plugin</a></li>
767
  </ul>
768
  <?php
769
  }
772
  </div>
773
 
774
  <div id="webdados_fb_open_graph-advanced" class="postbox">
775
+ <h3 class="hndle"><?php _e('Advanced settings', 'wd-fb-og');?></h3>
776
  <div class="inside">
777
  <p><?php _e('Don\'t mess with this unless you know what you\'re doing', 'wd-fb-og');?></p>
778
  <table width="100%" class="form-table">
781
  <td>
782
  <input type="checkbox" name="fb_adv_force_local" id="fb_adv_force_local" value="1" <?php echo (intval($fb_adv_force_local)==1 ? ' checked="checked"' : ''); ?>/>
783
  <br/>
784
+ <small>
785
+ <?php _e('May cause problems with some multisite configurations but fix "HTTP request failed" errors', 'wd-fb-og');?>
786
+ </small>
787
  </td>
788
  </tr>
789
  <tr>
812
  </div>
813
 
814
  <?php
815
+
816
+ $out_link_utm='?utm_source=fb_og_wp_plugin_settings&amp;utm_medium=link&amp;utm_campaign=fb_og_wp_plugin';
817
+
818
  $links[0]['text']=__('Test your URLs at Facebook URL Linter / Debugger', 'wd-fb-og');
819
  $links[0]['url']='https://developers.facebook.com/tools/debug';
820
 
828
  $links[20]['url']='http://ogp.me/';
829
 
830
  $links[25]['text']=__('About Twitter Cards', 'wd-fb-og');
831
+ $links[25]['url']='https://dev.twitter.com/cards/getting-started';
832
 
833
  $links[30]['text']=__('Plugin official URL', 'wd-fb-og');
834
+ $links[30]['url']='http://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/'.$out_link_utm;
835
 
836
  $links[40]['text']=__('Author\'s website: Webdados', 'wd-fb-og');
837
+ $links[40]['url']='http://www.webdados.pt/'.$out_link_utm;
838
 
839
  $links[50]['text']=__('Author\'s Facebook page: Webdados', 'wd-fb-og');
840
  $links[50]['url']='http://www.facebook.com/Webdados';
845
  <div class="postbox-container og_right_col">
846
 
847
  <div id="poststuff">
848
+ <div class="postbox">
849
+ <h3 class="hndle"><?php _e('About this plugin', 'wd-fb-og');?></h3>
850
  <div class="inside">
851
+ <h4><?php _e('Support forum', 'wd-fb-og'); ?>:</h4>
852
+ <p><a href="https://wordpress.org/support/plugin/wonderm00ns-simple-facebook-open-graph-tags" target="_blank">WordPress.org</a></p>
853
+ <h4><?php _e('Premium technical support or custom WordPress development', 'wd-fb-og'); ?>:</h4>
854
+ <p id="webdadoslink"><a href="http://www.webdados.pt/contactos/<?php echo esc_attr($out_link_utm); ?>" title="<?php echo esc_attr(sprintf(__('Please contact %s', 'wd-fb-og'), 'Webdados')); ?>" target="_blank"><img src="<?php echo plugins_url('webdados.png', __FILE__); ?>" width="200"/></a></p>
855
+ <h4><?php _e('Please rate our plugin at WordPress.org', 'wd-fb-og'); ?>:</h4>
856
+ <a href="https://wordpress.org/support/view/plugin-reviews/wonderm00ns-simple-facebook-open-graph-tags?filter=5#postform" target="_blank" style="text-align: center; display: block;">
857
+ <div class="star-rating"><div class="star star-full"></div><div class="star star-full"></div><div class="star star-full"></div><div class="star star-full"></div><div class="star star-full"></div></div>
858
+ </a>
859
  </div>
860
  </div>
861
  </div>
862
 
863
  <div id="poststuff">
864
+ <div class="postbox">
865
+ <h3 class="hndle"><?php _e('Useful links', 'wd-fb-og');?></h3>
866
  <div class="inside">
867
  <ul>
868
  <?php foreach($links as $link) { ?>
875
 
876
  <div id="poststuff">
877
  <div id="webdados_fb_open_graph_donation" class="postbox">
878
+ <h3 class="hndle"><?php _e('Donate', 'wd-fb-og');?></h3>
879
  <div class="inside">
880
  <p><?php _e('If you find this plugin useful and want to make a contribution towards future development please consider making a small, or big ;-), donation.', 'wd-fb-og');?></p>
881
  <center><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
883
  <input type="hidden" name="business" value="wonderm00n@gmail.com">
884
  <input type="hidden" name="lc" value="PT">
885
  <input type="hidden" name="item_name" value="Marco Almeida (Wonderm00n)">
886
+ <input type="hidden" name="item_number" value="facebook_open_graph_plugin">
887
  <input type="hidden" name="currency_code" value="USD">
888
  <input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHosted">
889
  <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
896
  </div>
897
 
898
  <div class="clear">
899
+ <p><br/>&copy 2011<?php if(date('Y')>2011) echo '-'.date('Y'); ?> <a href="http://www.webdados.pt/<?php echo esc_attr($out_link_utm); ?>" target="_blank">Webdados</a> &amp; <a href="http://wonderm00n.com/<?php echo esc_attr($out_link_utm); ?>" target="_blank">Marco Almeida (Wonderm00n)</a></p>
900
  </div>
901
 
902
  </div>
1059
  .og_right_col #poststuff {
1060
  min-width: 0;
1061
  }
1062
+ #webdadoslink a {
1063
+ display: block;
1064
+ }
1065
+ #webdadoslink a img {
1066
+ display: block;
1067
+ margin: auto;
1068
+ }
1069
  table.form-table tr th,
1070
  table.form-table tr td {
1071
  line-height: 1.5;
1072
  }
 
 
 
1073
  table.form-table tr th[scope=row] {
1074
  min-width: 300px;
1075
  }
1100
  table.form-table .dashicons-admin-generic {
1101
  color: #666;
1102
  }
1103
+ .inside hr:first-child {
1104
+ display: none;
1105
+ }
1106
  </style>
includes/webdados.png ADDED
Binary file
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 v1.6.1\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wonderm00ns-simple-"
5
  "facebook-open-graph-tags\n"
6
- "POT-Creation-Date: 2015-06-30 12:13:21+00:00\n"
7
- "PO-Revision-Date: 2015-08-03 19:58-0000\n"
8
  "Last-Translator: Wonderm00n <wonderm00n@gmail.com>\n"
9
  "Language-Team: Webdados <info@webdados.pt>\n"
10
  "Language: pt_PT\n"
@@ -12,16 +12,16 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
- "X-Generator: Poedit 1.7.5\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
18
  "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
19
- "X-Poedit-Basepath: ../\n"
20
  "X-Textdomain-Support: yes\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
 
23
  # @ wd-fb-og
24
- #: includes/settings-page.php:86
25
  msgid ""
26
  "Please set some default values and which tags should, or should not, be "
27
  "included. It may be necessary to exclude some tags if other plugins are "
@@ -32,89 +32,89 @@ msgstr ""
32
  "estão a incluir."
33
 
34
  # @ wd-fb-og
35
- #: includes/settings-page.php:101
36
  msgid "Include Facebook Platform App ID (fb:app_id) tag"
37
  msgstr "Incluir tag \"Facebook Platform App ID\" (fb:app_id)"
38
 
39
  # @ wd-fb-og
40
- #: includes/settings-page.php:107
41
  msgid "Facebook Platform App ID"
42
  msgstr "Facebook Platform App ID"
43
 
44
  # @ wd-fb-og
45
- #: includes/settings-page.php:116
46
  msgid "Include Facebook Admin(s) ID (fb:admins) tag"
47
  msgstr "Incluir tag com ID dos admin de Facebook (fb:admins)"
48
 
49
  # @ wd-fb-og
50
- #: includes/settings-page.php:122
51
  msgid "Facebook Admin(s) ID"
52
  msgstr "ID do(s) Admin(s) no Facebook"
53
 
54
  # @ wd-fb-og
55
- #: includes/settings-page.php:126
56
  msgid "Comma separated if more than one"
57
  msgstr "Separados por vírgulas se mais do que um"
58
 
59
  # @ wd-fb-og
60
- #: includes/settings-page.php:133
61
  msgid "Include locale (fb:locale) tag"
62
  msgstr "Incluir tag \"Locale\" (fb:locale)"
63
 
64
  # @ wd-fb-og
65
- #: includes/settings-page.php:139
66
  msgid "Locale"
67
  msgstr "Locale"
68
 
69
  # @ wd-fb-og
70
- #: includes/settings-page.php:142
71
  msgid "WordPress current locale/language"
72
  msgstr "O \"locale\"/idíoma actual do WordPress"
73
 
74
  # @ wd-fb-og
75
- #: includes/settings-page.php:193
76
  msgid "List loaded from Facebook (online)"
77
  msgstr "Lista carregada do Facebook (online)"
78
 
79
  # @ wd-fb-og
80
- #: includes/settings-page.php:196
81
  msgid "List loaded from local cache (offline)"
82
  msgstr "Lista carregada da cache local (offline)"
83
 
84
  # @ wd-fb-og
85
- #: includes/settings-page.php:196
86
  msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
87
  msgstr ""
88
  "Vai perder quaisquer modificações que não tenha gravado. Tem a certeza?"
89
 
90
  # @ wd-fb-og
91
- #: includes/settings-page.php:196
92
  msgid "Reload from Facebook"
93
  msgstr "(Re)carregar a partir do Facebook"
94
 
95
  # @ wd-fb-og
96
- #: includes/settings-page.php:198
97
  msgid "List not loaded"
98
  msgstr "Lista não carregada"
99
 
100
  # @ wd-fb-og
101
- #: includes/settings-page.php:208
102
  msgid "Include Site Name (og:site_name) tag"
103
  msgstr "Incluir tag Nome do site (og:site_name)"
104
 
105
  # @ wd-fb-og
106
- #: includes/settings-page.php:217
107
  msgid "Include Post/Page title (og:title) tag"
108
  msgstr "Incluir tag Título do artigo/página (og:title)"
109
 
110
  # @ wd-fb-og
111
- #: includes/settings-page.php:223
112
  msgid "Include Schema.org \"itemprop\" Name tag"
113
  msgstr "Incluir a tag \"itemprop Name\" do Schema.org"
114
 
115
  # @ wd-fb-og
116
- #: includes/settings-page.php:229 includes/settings-page.php:444
117
- #: includes/settings-page.php:512
118
  msgid ""
119
  "Recommended for Google+ sharing purposes if no other plugin is setting it "
120
  "already"
@@ -123,13 +123,13 @@ msgstr ""
123
  "está a definir"
124
 
125
  # @ wd-fb-og
126
- #: includes/settings-page.php:233
127
  msgid "Include Twitter Card Title tag"
128
  msgstr "Incluir tag Título do \"Twitter Card\""
129
 
130
  # @ wd-fb-og
131
- #: includes/settings-page.php:239 includes/settings-page.php:454
132
- #: includes/settings-page.php:522
133
  msgid ""
134
  "Recommended for Twitter sharing purposes if no other plugin is setting it "
135
  "already"
@@ -138,36 +138,36 @@ msgstr ""
138
  "está a definir"
139
 
140
  # @ wd-fb-og
141
- #: includes/settings-page.php:246
142
  msgid "Include URL (og:url) tag"
143
  msgstr "Incluir tag URL (og:url)"
144
 
145
- #: includes/settings-page.php:252
146
  msgid "Include Twitter Card URL tag"
147
  msgstr "Incluir tag URL do \"Twitter Card\""
148
 
149
  # @ wd-fb-og
150
- #: includes/settings-page.php:258
151
  msgid "Add trailing slash at the end"
152
  msgstr "Adicionar barra invertida no final"
153
 
154
  # @ wd-fb-og
155
- #: includes/settings-page.php:262
156
  msgid "On the homepage will be"
157
  msgstr "Na página inicial será"
158
 
159
  # @ wd-fb-og
160
- #: includes/settings-page.php:266
161
  msgid "Set Canonical URL"
162
  msgstr "Incluir a tag URL Canónico"
163
 
164
  # @ wd-fb-og
165
- #: includes/settings-page.php:277
166
  msgid "Include Type (og:type) tag"
167
  msgstr "Incluir tag Tipo (og:type)"
168
 
169
  # @ wd-fb-og
170
- #: includes/settings-page.php:281
171
  msgid ""
172
  "Will be \"%1$s\" for posts and pages and \"%2$s\" or \"%3$s\"; for the "
173
  "homepage"
@@ -176,16 +176,16 @@ msgstr ""
176
  "inicial"
177
 
178
  # @ wd-fb-og
179
- #: includes/settings-page.php:285
180
  msgid "Homepage type"
181
  msgstr "Tipo para a página inicial"
182
 
183
  # @ wd-fb-og
184
- #: includes/settings-page.php:287 includes/settings-page.php:475
185
  msgid "Use"
186
  msgstr "Utilizar"
187
 
188
- #: includes/settings-page.php:298
189
  msgid ""
190
  "Include published and modified dates (article:published_time, article:"
191
  "modified_time and og:updated_time) tags"
@@ -193,72 +193,72 @@ msgstr ""
193
  "Incluir tags com datas de publicação e modificação (article:published_time, "
194
  "article:modified_time e og:updated_time)"
195
 
196
- #: includes/settings-page.php:302 includes/settings-page.php:313
197
  msgid "Works for posts only"
198
  msgstr "Funciona apenas para \"artigos\" (posts)"
199
 
200
  # @ wd-fb-og
201
- #: includes/settings-page.php:309
202
  msgid "Include article section (article:section) tags"
203
  msgstr "Incluir tags Secção do artigo (article:section)"
204
 
205
- #: includes/settings-page.php:313
206
  msgid "from the categories"
207
  msgstr "a partir das categorias"
208
 
209
  # @ wd-fb-og
210
- #: includes/settings-page.php:320
211
  msgid "Include Publisher Page (article:publisher) tag"
212
  msgstr "Incluir tag \"Publisher\" (article:publisher)"
213
 
214
- #: includes/settings-page.php:324
215
  msgid "Links the website to the publisher Facebook Page."
216
  msgstr "Associa o website à Página Facebook do mesmo"
217
 
218
- #: includes/settings-page.php:328
219
  msgid "Website's Facebook Page"
220
  msgstr "Página de Facebook do Website"
221
 
222
  # @ wd-fb-og
223
- #: includes/settings-page.php:332 includes/settings-page.php:348
224
- #: includes/settings-page.php:531
225
  msgid "Full URL with http://"
226
  msgstr "URL completo com http://"
227
 
228
- #: includes/settings-page.php:336
229
  msgid "Include Google+ \"publisher\" tag"
230
  msgstr "Incluir tag \"Google+ publisher\""
231
 
232
- #: includes/settings-page.php:340
233
  msgid "Links the website to the publisher Google+ Page."
234
  msgstr "Associa o website à Página Google+ do mesmo"
235
 
236
- #: includes/settings-page.php:344
237
  msgid "Website's Google+ Page"
238
  msgstr "Página Google+ do Website"
239
 
240
  # @ wd-fb-og
241
- #: includes/settings-page.php:352
242
  msgid "Include Twitter Card Website Username tag"
243
  msgstr "Incluir tag Username Twitter do Website do \"Twitter Card\""
244
 
245
- #: includes/settings-page.php:356
246
  msgid "Links the website to the publisher Twitter Username."
247
  msgstr "Associa o website ao Username Twitter do mesmo"
248
 
249
- #: includes/settings-page.php:360
250
  msgid "Website's Twitter Username"
251
  msgstr "Utilizador Twitter do Website"
252
 
253
- #: includes/settings-page.php:364 wonderm00n-open-graph.php:950
254
  msgid "Twitter username (without @)"
255
  msgstr "Utilizador do Twitter (sem @)"
256
 
257
- #: includes/settings-page.php:372
258
  msgid "Include Author Profile (article:author) tag"
259
  msgstr "Incluir tag \"Autor do artigo\" (article:author)"
260
 
261
- #: includes/settings-page.php:376
262
  msgid ""
263
  "Links the article to the author Facebook Profile. The user's Facebook "
264
  "profile URL must be filled in."
@@ -267,19 +267,19 @@ msgstr ""
267
  "Facebook do utilizador tem de estar preenchido."
268
 
269
  # @ wd-fb-og
270
- #: includes/settings-page.php:380
271
  msgid "Include Meta Author tag"
272
  msgstr "Incluir a tag \"Meta Author\""
273
 
274
- #: includes/settings-page.php:386
275
  msgid "Sets the article author name"
276
  msgstr "Define o nome do autor do artigo"
277
 
278
- #: includes/settings-page.php:390
279
  msgid "Include Google+ link rel \"author\" tag"
280
  msgstr "Incluir tag \"Google+ link rel author\""
281
 
282
- #: includes/settings-page.php:396
283
  msgid ""
284
  "Links the article to the author Google+ Profile (authorship). The user's "
285
  "Google+ profile URL must be filled in."
@@ -287,11 +287,11 @@ msgstr ""
287
  "Associa o artigo ao perfil Google+ do autor do mesmo. O URL de Perfil Google"
288
  "+ do utilizador tem de estar preenchido."
289
 
290
- #: includes/settings-page.php:400
291
  msgid "Include Twitter Card Creator tag"
292
  msgstr "Incluir tag Autor do \"Twitter Card\""
293
 
294
- #: includes/settings-page.php:406
295
  msgid ""
296
  "Links the article to the author Twitter profile. The user's Twitter user "
297
  "must be filled in."
@@ -299,72 +299,72 @@ msgstr ""
299
  "Associa o artigo ao perfil Twitter do autor do mesmo. O Utilizador Twitter "
300
  "tem de estar preenchido."
301
 
302
- #: includes/settings-page.php:410
303
  msgid "Hide author on pages"
304
  msgstr "Não mostrar autor nas páginas"
305
 
306
- #: includes/settings-page.php:414
307
  msgid "Hides all author tags on pages."
308
  msgstr "Esconder todas as tags de autor nas páginas."
309
 
310
  # @ wd-fb-og
311
- #: includes/settings-page.php:422
312
  msgid "Include Description (og:description) tag"
313
  msgstr "Incluir tag Descrição (og:description)"
314
 
315
  # @ wd-fb-og
316
- #: includes/settings-page.php:428
317
  msgid "Include Meta Description tag"
318
  msgstr "Incluir a tag \"Meta Description\""
319
 
320
  # @ wd-fb-og
321
- #: includes/settings-page.php:434
322
  msgid "Recommended for SEO purposes if no other plugin is setting it already"
323
  msgstr ""
324
  "Recomendado para efeitos de Optimização para Motores de Busca, se outro "
325
  "plugin ainda não a está a definir"
326
 
327
  # @ wd-fb-og
328
- #: includes/settings-page.php:438
329
  msgid "Include Schema.org \"itemprop\" Description tag"
330
  msgstr "Incluir a tag \"itemprop Description\" do Schema.org"
331
 
332
  # @ wd-fb-og
333
- #: includes/settings-page.php:448
334
  msgid "Include Twitter Card Description tag"
335
  msgstr "Incluir tag Descrição do \"Twitter Card\""
336
 
337
  # @ wd-fb-og
338
- #: includes/settings-page.php:458
339
  msgid "Description maximum length"
340
  msgstr "Comprimento máximo da descrição"
341
 
342
  # @ wd-fb-og
343
- #: includes/settings-page.php:462
344
  msgid "0 or blank for no maximum length"
345
  msgstr "0 ou em branco para não definir máximo"
346
 
347
  # @ wd-fb-og
348
- #: includes/settings-page.php:466
349
  msgid "Homepage description"
350
  msgstr "Descrição da página inicial"
351
 
352
  # @ wd-fb-og
353
- #: includes/settings-page.php:472
354
  msgid "The description of your front page:"
355
  msgstr "A descrição da sua página inicial:"
356
 
357
  # @ wd-fb-og
358
- #: includes/settings-page.php:477
359
  msgid "Website tagline"
360
  msgstr "Descrição do site"
361
 
362
  # @ wd-fb-og
363
- #: includes/settings-page.php:478
364
  msgid "Custom text"
365
  msgstr "Texto personalizado"
366
 
367
- #: includes/settings-page.php:492
368
  msgid ""
369
  "WPML users: Set the default language description here, save changes and then "
370
  "go to <a href=\"%s\">WPML &gt; String translation</a> to set it for other "
@@ -375,12 +375,12 @@ msgstr ""
375
  "defini-la para outros idiomas."
376
 
377
  # @ wd-fb-og
378
- #: includes/settings-page.php:490
379
  msgid "Include Image (og:image) tag"
380
  msgstr "Incluir tag Imagem (og:image)"
381
 
382
  # @ wd-fb-og
383
- #: includes/settings-page.php:494
384
  msgid ""
385
  "All images MUST have at least 200px on both dimensions in order to Facebook "
386
  "to load them at all.<br/>1200x630px for optimal results.<br/>Minimum of "
@@ -390,11 +390,11 @@ msgstr ""
390
  "o Facebook as carregue.<br/>1200x630px para resultados optimizados.<br/>Um "
391
  "mínimo de 600x315px é recomendado."
392
 
393
- #: includes/settings-page.php:498
394
  msgid "Include Image size (og:image:width and og:image:height) tags"
395
  msgstr "Incluir tags de Tamanho de Imagem (og:image:width e og:image:height)"
396
 
397
- #: includes/settings-page.php:502
398
  msgid ""
399
  "Recommended only if Facebook is having problems loading the image when the "
400
  "post is shared for the first time."
@@ -403,43 +403,43 @@ msgstr ""
403
  "artigo é partilhado pela primeira vez."
404
 
405
  # @ wd-fb-og
406
- #: includes/settings-page.php:506
407
  msgid "Include Schema.org \"itemprop\" Image tag"
408
  msgstr "Incluir a tag \"itemprop Image\" do Schema.org"
409
 
410
  # @ wd-fb-og
411
- #: includes/settings-page.php:516
412
  msgid "Include Twitter Card Image tag"
413
  msgstr "Incluir tag Imagem do \"Twitter Card\""
414
 
415
  # @ wd-fb-og
416
- #: includes/settings-page.php:526
417
  msgid "Default image"
418
  msgstr "Imagem por omissão"
419
 
420
  # @ wd-fb-og
421
- #: includes/settings-page.php:533 wonderm00n-open-graph.php:792
422
  msgid "Recommended size: 1200x630px"
423
  msgstr "Tamanho recomendado: 1200x630px"
424
 
425
  # @ wd-fb-og
426
- #: includes/settings-page.php:537
427
  msgid "Add image to RSS/RSS2 feeds"
428
  msgstr "Incluir a imagem aos feeds RSS/RSS2"
429
 
430
  # @ wd-fb-og
431
- #: includes/settings-page.php:541
432
  msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
433
  msgstr ""
434
  "Para aplicação de posts automáticos como o RSS Graffitti, twitterfeed, etc..."
435
 
436
  # @ wd-fb-og
437
- #: includes/settings-page.php:545
438
  msgid "On posts/pages"
439
  msgstr "Nos artigos/páginas"
440
 
441
  # @ wd-fb-og
442
- #: includes/settings-page.php:549
443
  msgid ""
444
  "Image will be fetched from the specific \"Open Graph Image\" custom field on "
445
  "the post"
@@ -448,7 +448,7 @@ msgstr ""
448
  "no artigo"
449
 
450
  # @ wd-fb-og
451
- #: includes/settings-page.php:553
452
  msgid ""
453
  "If it's not set, image will be fetched from post/page featured/thumbnail "
454
  "picture"
@@ -457,42 +457,42 @@ msgstr ""
457
  "página"
458
 
459
  # @ wd-fb-og
460
- #: includes/settings-page.php:557
461
  msgid "If it doesn't exist, use the first image from the post/page content"
462
  msgstr ""
463
  "Se não existir, será utilizada a primeira imagem no conteúdo do artigo/página"
464
 
465
  # @ wd-fb-og
466
- #: includes/settings-page.php:561
467
  msgid "If it doesn't exist, use first image from the post/page media gallery"
468
  msgstr ""
469
  "Se não existir, será usada a primeira imagem na galeria multimédia do artigo/"
470
  "página"
471
 
472
  # @ wd-fb-og
473
- #: includes/settings-page.php:565
474
  msgid "If it doesn't exist, use the default image above"
475
  msgstr "Se não existir, utilizar a imagem por omissão em cima"
476
 
477
- #: includes/settings-page.php:573
478
  msgid "Twitter Card Type"
479
  msgstr "Tipo de cartão do Twitter"
480
 
481
- #: includes/settings-page.php:576
482
  msgid "Summary Card"
483
  msgstr "Resumo"
484
 
485
- #: includes/settings-page.php:577
486
  msgid "Summary Card with Large Image"
487
  msgstr "Resumo com imagem grande"
488
 
489
  # @ wd-fb-og
490
- #: includes/settings-page.php:586
491
  msgid "3rd Party Integration"
492
  msgstr "Integração com outros plugins"
493
 
494
  # @ wd-fb-og
495
- #: includes/settings-page.php:597
496
  msgid ""
497
  "It's HIGHLY recommended to go to <a href=\"admin.php?page=wpseo_social\" "
498
  "target=\"_blank\">SEO &gt; Social</a> and disable \"Add Open Graph meta data"
@@ -504,7 +504,7 @@ msgstr ""
504
  "\"Acrescentar metadados Twitter card\" e \"Add Google+ specific post meta "
505
  "data\""
506
 
507
- #: includes/settings-page.php:597
508
  msgid ""
509
  "even if you don't enable integration bellow. You will get duplicate tags if "
510
  "you don't do this."
@@ -513,22 +513,54 @@ msgstr ""
513
  "fizer."
514
 
515
  # @ wd-fb-og
516
- #: includes/settings-page.php:600
517
  msgid "Use title, url (canonical) and description from WPSEO"
518
  msgstr "Utilizar título, url (canónico) e descrição do WPSEO"
519
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
520
  # @ wd-fb-og
521
- #: includes/settings-page.php:616
522
  msgid "Add SubHeading to Post/Page title"
523
  msgstr "Adicionar \"SubHeading\" ao título do artigo/página"
524
 
525
  # @ wd-fb-og
526
- #: includes/settings-page.php:632
527
  msgid "Use BDP listing contents as OG tags"
528
  msgstr "Utilizar o conteúdo dos anúncios BDP como tags OG"
529
 
530
  # @ wd-fb-og
531
- #: includes/settings-page.php:636
532
  msgid ""
533
  "Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and "
534
  "\"Include Image\" options above is HIGHLY recommended"
@@ -538,29 +570,29 @@ msgstr ""
538
  "image)\" é ALTAMENTE recomendado"
539
 
540
  # @ wd-fb-og
541
- #: includes/settings-page.php:644
542
  msgid "You don't have any compatible 3rd Party plugin installed/active."
543
  msgstr "Não tem nenhum plugin compatível instalado/activo."
544
 
545
  # @ wd-fb-og
546
- #: includes/settings-page.php:645
547
  msgid "This plugin is currently compatible with:"
548
  msgstr "Este plugin é actualmente compatível com:"
549
 
550
- #: includes/settings-page.php:658
551
  msgid "Advanced settings"
552
  msgstr "Definições avançadas"
553
 
554
- #: includes/settings-page.php:660
555
  msgid "Don't mess with this unless you know what you're doing"
556
  msgstr "Não mexer nestas configurações se não souber o que está a fazer"
557
 
558
- #: includes/settings-page.php:663
559
  msgid "Force getimagesize on local file even if allow_url_fopen=1"
560
  msgstr ""
561
  "Forçar o \"getimagesize\" no ficheiro local mesmo que allow_url_fopen=1"
562
 
563
- #: includes/settings-page.php:667
564
  msgid ""
565
  "May cause problems with some multisite configurations but fix \"HTTP request "
566
  "failed\" errors"
@@ -568,86 +600,91 @@ msgstr ""
568
  "Pode causar problemas com algumas configurações \"multisite\" mas corrige "
569
  "erros \"HTTP request failed\""
570
 
571
- #: includes/settings-page.php:671
572
  msgid "Try to update Facebook Open Graph Tags cache when saving the post"
573
  msgstr ""
574
  "Tentar actualizar a cache das Facebook Open Graph Tags ao gravar um post"
575
 
576
- #: includes/settings-page.php:677
577
  msgid "Supress Facebook Open Graph Tags cache updated notice"
578
  msgstr ""
579
  "Esconder notificação de actualização de cache das Facebook Open Graph Tags"
580
 
581
  # @ wd-fb-og
582
- #: includes/settings-page.php:696
583
  msgid "Test your URLs at Facebook URL Linter / Debugger"
584
  msgstr "Teste os seus URLs no \"Facebook URL Linter / Debugger\""
585
 
586
- #: includes/settings-page.php:699
587
  msgid "Test (and request approval for) your URLs at Twitter Card validator"
588
  msgstr "Teste (e solicite aprovação dos) URLs no \"Twitter Card validator\""
589
 
590
  # @ wd-fb-og
591
- #: includes/settings-page.php:702
592
  msgid "About the Open Graph Protocol (on Facebook)"
593
  msgstr "Sobre o Protocolo Open Graph (no Facebook)"
594
 
595
  # @ wd-fb-og
596
- #: includes/settings-page.php:705
597
  msgid "The Open Graph Protocol (official website)"
598
  msgstr "O Protocolo Open Graph (website oficial)"
599
 
600
- #: includes/settings-page.php:708
601
  msgid "About Twitter Cards"
602
  msgstr "Sobre os \"Twitter Cards\""
603
 
604
  # @ wd-fb-og
605
- #: includes/settings-page.php:711
606
  msgid "Plugin official URL"
607
  msgstr "URL oficial do plugin"
608
 
609
  # @ wd-fb-og
610
- #: includes/settings-page.php:714
611
  msgid "Author's website: Webdados"
612
  msgstr "Website do autor: Webdados"
613
 
614
  # @ wd-fb-og
615
- #: includes/settings-page.php:717
616
  msgid "Author's Facebook page: Webdados"
617
  msgstr "Página Facebook do autor: Webdados"
618
 
619
  # @ wd-fb-og
620
- #: includes/settings-page.php:720
621
  msgid "Author's Twitter account: @Wonderm00n<br/>(Webdados founder)"
622
  msgstr "Conta Twitter do autor: @Wonderm00n<br/>(fundador da Webdados)"
623
 
624
- # @ wd-fb-og
625
- #: includes/settings-page.php:727
626
- msgid "Rate this plugin"
627
- msgstr "Avalie este plugin"
628
 
629
- # @ wd-fb-og
630
- #: includes/settings-page.php:729
631
- msgid "If you like this plugin,"
632
- msgstr "Se gosta deste plugin,"
633
 
634
- # @ wd-fb-og
635
- #: includes/settings-page.php:729
636
- msgid "please give it a high Rating"
637
- msgstr "dê-lhe uma nota elevada"
 
 
 
 
 
 
 
638
 
639
  # @ wd-fb-og
640
- #: includes/settings-page.php:736
641
  msgid "Useful links"
642
  msgstr "Links úteis"
643
 
644
  # @ wd-fb-og
645
- #: includes/settings-page.php:749
646
  msgid "Donate"
647
  msgstr "Doar"
648
 
649
  # @ wd-fb-og
650
- #: includes/settings-page.php:751
651
  msgid ""
652
  "If you find this plugin useful and want to make a contribution towards "
653
  "future development please consider making a small, or big ;-), donation."
@@ -657,54 +694,54 @@ msgstr ""
657
  "doação."
658
 
659
  # @ wd-fb-og
660
- #: wonderm00n-open-graph.php:753 wonderm00n-open-graph.php:787
661
  msgid "Use this image:"
662
  msgstr "Utilizar esta imagem:"
663
 
664
  # @ wd-fb-og
665
- #: wonderm00n-open-graph.php:790
666
  msgid "Upload/Choose Open Graph Image"
667
  msgstr "Carregar/Escolher Imagem Open Graph"
668
 
669
  # @ wd-fb-og
670
- #: wonderm00n-open-graph.php:791
671
  msgid "Clear field"
672
  msgstr "Limpar campo"
673
 
674
- #: wonderm00n-open-graph.php:856
675
  msgid "URL failed:"
676
  msgstr "Falha no URL:"
677
 
678
- #: wonderm00n-open-graph.php:864
679
  msgid "Facebook returned:"
680
  msgstr "O Facebook retornou:"
681
 
682
- #: wonderm00n-open-graph.php:881
683
  msgid "Facebook Open Graph Tags cache updated/purged."
684
  msgstr "Cache das Facebook Open Graph Tags actualizada."
685
 
686
- #: wonderm00n-open-graph.php:881
687
  msgid "Share this on Facebook"
688
  msgstr "Partilhe isto no Facebook"
689
 
690
- #: wonderm00n-open-graph.php:889
691
  msgid "Error: Facebook Open Graph Tags cache NOT updated/purged."
692
  msgstr "Erro: Cache das Facebook Open Graph Tags NÃO actualizada"
693
 
694
  # @ wd-fb-og
695
- #: wonderm00n-open-graph.php:929
696
  msgid "Use as Image Open Graph Tag"
697
  msgstr "Utilizar como Imagem Open Graph"
698
 
699
- #: wonderm00n-open-graph.php:948
700
  msgid "Google+"
701
  msgstr "Google+"
702
 
703
- #: wonderm00n-open-graph.php:952
704
  msgid "Facebook profile URL"
705
  msgstr "URL de Perfil Facebook"
706
 
707
- #: wonderm00n-open-graph.php:970
708
  msgid ""
709
  "Please ignore the (dumb) Yoast WordPress SEO warning regarding open graph "
710
  "issues with this plugin. Just disable WPSEO Social settings at"
@@ -713,7 +750,7 @@ msgstr ""
713
  "problemas \"open graph\" com este plugin. Simplesmente inactive as "
714
  "definições Social do WPSEO em"
715
 
716
- #: wonderm00n-open-graph.php:971
717
  msgid "SEO &gt; Social"
718
  msgstr "SEO &gt; Social"
719
 
@@ -731,6 +768,18 @@ msgstr ""
731
  "\"enclosure\" e \"media:content\" nos feeds RSS, para que aplicações como o "
732
  "RSS Graffiti and twitterfeed façam partilha para o Facebook correctamente."
733
 
 
 
 
 
 
 
 
 
 
 
 
 
734
  #~ msgid "Save Changes"
735
  #~ msgstr "Guardar alterações"
736
 
3
  "Project-Id-Version: Facebook Open Graph Meta Tags for WordPress v1.6.1\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wonderm00ns-simple-"
5
  "facebook-open-graph-tags\n"
6
+ "POT-Creation-Date: 2015-12-15 14:52+0000\n"
7
+ "PO-Revision-Date: 2015-12-15 14:56+0000\n"
8
  "Last-Translator: Wonderm00n <wonderm00n@gmail.com>\n"
9
  "Language-Team: Webdados <info@webdados.pt>\n"
10
  "Language: pt_PT\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
+ "X-Generator: Poedit 1.8.6\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
18
  "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
19
+ "X-Poedit-Basepath: ..\n"
20
  "X-Textdomain-Support: yes\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
 
23
  # @ wd-fb-og
24
+ #: includes/settings-page.php:92
25
  msgid ""
26
  "Please set some default values and which tags should, or should not, be "
27
  "included. It may be necessary to exclude some tags if other plugins are "
32
  "estão a incluir."
33
 
34
  # @ wd-fb-og
35
+ #: includes/settings-page.php:107
36
  msgid "Include Facebook Platform App ID (fb:app_id) tag"
37
  msgstr "Incluir tag \"Facebook Platform App ID\" (fb:app_id)"
38
 
39
  # @ wd-fb-og
40
+ #: includes/settings-page.php:113
41
  msgid "Facebook Platform App ID"
42
  msgstr "Facebook Platform App ID"
43
 
44
  # @ wd-fb-og
45
+ #: includes/settings-page.php:122
46
  msgid "Include Facebook Admin(s) ID (fb:admins) tag"
47
  msgstr "Incluir tag com ID dos admin de Facebook (fb:admins)"
48
 
49
  # @ wd-fb-og
50
+ #: includes/settings-page.php:128
51
  msgid "Facebook Admin(s) ID"
52
  msgstr "ID do(s) Admin(s) no Facebook"
53
 
54
  # @ wd-fb-og
55
+ #: includes/settings-page.php:133
56
  msgid "Comma separated if more than one"
57
  msgstr "Separados por vírgulas se mais do que um"
58
 
59
  # @ wd-fb-og
60
+ #: includes/settings-page.php:141
61
  msgid "Include locale (fb:locale) tag"
62
  msgstr "Incluir tag \"Locale\" (fb:locale)"
63
 
64
  # @ wd-fb-og
65
+ #: includes/settings-page.php:147
66
  msgid "Locale"
67
  msgstr "Locale"
68
 
69
  # @ wd-fb-og
70
+ #: includes/settings-page.php:150
71
  msgid "WordPress current locale/language"
72
  msgstr "O \"locale\"/idíoma actual do WordPress"
73
 
74
  # @ wd-fb-og
75
+ #: includes/settings-page.php:202
76
  msgid "List loaded from Facebook (online)"
77
  msgstr "Lista carregada do Facebook (online)"
78
 
79
  # @ wd-fb-og
80
+ #: includes/settings-page.php:205
81
  msgid "List loaded from local cache (offline)"
82
  msgstr "Lista carregada da cache local (offline)"
83
 
84
  # @ wd-fb-og
85
+ #: includes/settings-page.php:205
86
  msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
87
  msgstr ""
88
  "Vai perder quaisquer modificações que não tenha gravado. Tem a certeza?"
89
 
90
  # @ wd-fb-og
91
+ #: includes/settings-page.php:205
92
  msgid "Reload from Facebook"
93
  msgstr "(Re)carregar a partir do Facebook"
94
 
95
  # @ wd-fb-og
96
+ #: includes/settings-page.php:207
97
  msgid "List not loaded"
98
  msgstr "Lista não carregada"
99
 
100
  # @ wd-fb-og
101
+ #: includes/settings-page.php:218
102
  msgid "Include Site Name (og:site_name) tag"
103
  msgstr "Incluir tag Nome do site (og:site_name)"
104
 
105
  # @ wd-fb-og
106
+ #: includes/settings-page.php:227
107
  msgid "Include Post/Page title (og:title) tag"
108
  msgstr "Incluir tag Título do artigo/página (og:title)"
109
 
110
  # @ wd-fb-og
111
+ #: includes/settings-page.php:233
112
  msgid "Include Schema.org \"itemprop\" Name tag"
113
  msgstr "Incluir a tag \"itemprop Name\" do Schema.org"
114
 
115
  # @ wd-fb-og
116
+ #: includes/settings-page.php:240 includes/settings-page.php:493
117
+ #: includes/settings-page.php:586
118
  msgid ""
119
  "Recommended for Google+ sharing purposes if no other plugin is setting it "
120
  "already"
123
  "está a definir"
124
 
125
  # @ wd-fb-og
126
+ #: includes/settings-page.php:245
127
  msgid "Include Twitter Card Title tag"
128
  msgstr "Incluir tag Título do \"Twitter Card\""
129
 
130
  # @ wd-fb-og
131
+ #: includes/settings-page.php:252 includes/settings-page.php:505
132
+ #: includes/settings-page.php:598
133
  msgid ""
134
  "Recommended for Twitter sharing purposes if no other plugin is setting it "
135
  "already"
138
  "está a definir"
139
 
140
  # @ wd-fb-og
141
+ #: includes/settings-page.php:260
142
  msgid "Include URL (og:url) tag"
143
  msgstr "Incluir tag URL (og:url)"
144
 
145
+ #: includes/settings-page.php:266
146
  msgid "Include Twitter Card URL tag"
147
  msgstr "Incluir tag URL do \"Twitter Card\""
148
 
149
  # @ wd-fb-og
150
+ #: includes/settings-page.php:272
151
  msgid "Add trailing slash at the end"
152
  msgstr "Adicionar barra invertida no final"
153
 
154
  # @ wd-fb-og
155
+ #: includes/settings-page.php:277
156
  msgid "On the homepage will be"
157
  msgstr "Na página inicial será"
158
 
159
  # @ wd-fb-og
160
+ #: includes/settings-page.php:282
161
  msgid "Set Canonical URL"
162
  msgstr "Incluir a tag URL Canónico"
163
 
164
  # @ wd-fb-og
165
+ #: includes/settings-page.php:295
166
  msgid "Include Type (og:type) tag"
167
  msgstr "Incluir tag Tipo (og:type)"
168
 
169
  # @ wd-fb-og
170
+ #: includes/settings-page.php:300
171
  msgid ""
172
  "Will be \"%1$s\" for posts and pages and \"%2$s\" or \"%3$s\"; for the "
173
  "homepage"
176
  "inicial"
177
 
178
  # @ wd-fb-og
179
+ #: includes/settings-page.php:305
180
  msgid "Homepage type"
181
  msgstr "Tipo para a página inicial"
182
 
183
  # @ wd-fb-og
184
+ #: includes/settings-page.php:307 includes/settings-page.php:529
185
  msgid "Use"
186
  msgstr "Utilizar"
187
 
188
+ #: includes/settings-page.php:318
189
  msgid ""
190
  "Include published and modified dates (article:published_time, article:"
191
  "modified_time and og:updated_time) tags"
193
  "Incluir tags com datas de publicação e modificação (article:published_time, "
194
  "article:modified_time e og:updated_time)"
195
 
196
+ #: includes/settings-page.php:323 includes/settings-page.php:336
197
  msgid "Works for posts only"
198
  msgstr "Funciona apenas para \"artigos\" (posts)"
199
 
200
  # @ wd-fb-og
201
+ #: includes/settings-page.php:331
202
  msgid "Include article section (article:section) tags"
203
  msgstr "Incluir tags Secção do artigo (article:section)"
204
 
205
+ #: includes/settings-page.php:336
206
  msgid "from the categories"
207
  msgstr "a partir das categorias"
208
 
209
  # @ wd-fb-og
210
+ #: includes/settings-page.php:344
211
  msgid "Include Publisher Page (article:publisher) tag"
212
  msgstr "Incluir tag \"Publisher\" (article:publisher)"
213
 
214
+ #: includes/settings-page.php:349
215
  msgid "Links the website to the publisher Facebook Page."
216
  msgstr "Associa o website à Página Facebook do mesmo"
217
 
218
+ #: includes/settings-page.php:354
219
  msgid "Website's Facebook Page"
220
  msgstr "Página de Facebook do Website"
221
 
222
  # @ wd-fb-og
223
+ #: includes/settings-page.php:359 includes/settings-page.php:379
224
+ #: includes/settings-page.php:609
225
  msgid "Full URL with http://"
226
  msgstr "URL completo com http://"
227
 
228
+ #: includes/settings-page.php:364
229
  msgid "Include Google+ \"publisher\" tag"
230
  msgstr "Incluir tag \"Google+ publisher\""
231
 
232
+ #: includes/settings-page.php:369
233
  msgid "Links the website to the publisher Google+ Page."
234
  msgstr "Associa o website à Página Google+ do mesmo"
235
 
236
+ #: includes/settings-page.php:374
237
  msgid "Website's Google+ Page"
238
  msgstr "Página Google+ do Website"
239
 
240
  # @ wd-fb-og
241
+ #: includes/settings-page.php:384
242
  msgid "Include Twitter Card Website Username tag"
243
  msgstr "Incluir tag Username Twitter do Website do \"Twitter Card\""
244
 
245
+ #: includes/settings-page.php:389
246
  msgid "Links the website to the publisher Twitter Username."
247
  msgstr "Associa o website ao Username Twitter do mesmo"
248
 
249
+ #: includes/settings-page.php:394
250
  msgid "Website's Twitter Username"
251
  msgstr "Utilizador Twitter do Website"
252
 
253
+ #: includes/settings-page.php:399 wonderm00n-open-graph.php:1024
254
  msgid "Twitter username (without @)"
255
  msgstr "Utilizador do Twitter (sem @)"
256
 
257
+ #: includes/settings-page.php:408
258
  msgid "Include Author Profile (article:author) tag"
259
  msgstr "Incluir tag \"Autor do artigo\" (article:author)"
260
 
261
+ #: includes/settings-page.php:413
262
  msgid ""
263
  "Links the article to the author Facebook Profile. The user's Facebook "
264
  "profile URL must be filled in."
267
  "Facebook do utilizador tem de estar preenchido."
268
 
269
  # @ wd-fb-og
270
+ #: includes/settings-page.php:418
271
  msgid "Include Meta Author tag"
272
  msgstr "Incluir a tag \"Meta Author\""
273
 
274
+ #: includes/settings-page.php:425
275
  msgid "Sets the article author name"
276
  msgstr "Define o nome do autor do artigo"
277
 
278
+ #: includes/settings-page.php:430
279
  msgid "Include Google+ link rel \"author\" tag"
280
  msgstr "Incluir tag \"Google+ link rel author\""
281
 
282
+ #: includes/settings-page.php:437
283
  msgid ""
284
  "Links the article to the author Google+ Profile (authorship). The user's "
285
  "Google+ profile URL must be filled in."
287
  "Associa o artigo ao perfil Google+ do autor do mesmo. O URL de Perfil Google"
288
  "+ do utilizador tem de estar preenchido."
289
 
290
+ #: includes/settings-page.php:442
291
  msgid "Include Twitter Card Creator tag"
292
  msgstr "Incluir tag Autor do \"Twitter Card\""
293
 
294
+ #: includes/settings-page.php:449
295
  msgid ""
296
  "Links the article to the author Twitter profile. The user's Twitter user "
297
  "must be filled in."
299
  "Associa o artigo ao perfil Twitter do autor do mesmo. O Utilizador Twitter "
300
  "tem de estar preenchido."
301
 
302
+ #: includes/settings-page.php:454
303
  msgid "Hide author on pages"
304
  msgstr "Não mostrar autor nas páginas"
305
 
306
+ #: includes/settings-page.php:459
307
  msgid "Hides all author tags on pages."
308
  msgstr "Esconder todas as tags de autor nas páginas."
309
 
310
  # @ wd-fb-og
311
+ #: includes/settings-page.php:468
312
  msgid "Include Description (og:description) tag"
313
  msgstr "Incluir tag Descrição (og:description)"
314
 
315
  # @ wd-fb-og
316
+ #: includes/settings-page.php:474
317
  msgid "Include Meta Description tag"
318
  msgstr "Incluir a tag \"Meta Description\""
319
 
320
  # @ wd-fb-og
321
+ #: includes/settings-page.php:481
322
  msgid "Recommended for SEO purposes if no other plugin is setting it already"
323
  msgstr ""
324
  "Recomendado para efeitos de Optimização para Motores de Busca, se outro "
325
  "plugin ainda não a está a definir"
326
 
327
  # @ wd-fb-og
328
+ #: includes/settings-page.php:486
329
  msgid "Include Schema.org \"itemprop\" Description tag"
330
  msgstr "Incluir a tag \"itemprop Description\" do Schema.org"
331
 
332
  # @ wd-fb-og
333
+ #: includes/settings-page.php:498
334
  msgid "Include Twitter Card Description tag"
335
  msgstr "Incluir tag Descrição do \"Twitter Card\""
336
 
337
  # @ wd-fb-og
338
+ #: includes/settings-page.php:510
339
  msgid "Description maximum length"
340
  msgstr "Comprimento máximo da descrição"
341
 
342
  # @ wd-fb-og
343
+ #: includes/settings-page.php:515
344
  msgid "0 or blank for no maximum length"
345
  msgstr "0 ou em branco para não definir máximo"
346
 
347
  # @ wd-fb-og
348
+ #: includes/settings-page.php:520
349
  msgid "Homepage description"
350
  msgstr "Descrição da página inicial"
351
 
352
  # @ wd-fb-og
353
+ #: includes/settings-page.php:526
354
  msgid "The description of your front page:"
355
  msgstr "A descrição da sua página inicial:"
356
 
357
  # @ wd-fb-og
358
+ #: includes/settings-page.php:531
359
  msgid "Website tagline"
360
  msgstr "Descrição do site"
361
 
362
  # @ wd-fb-og
363
+ #: includes/settings-page.php:532
364
  msgid "Custom text"
365
  msgstr "Texto personalizado"
366
 
367
+ #: includes/settings-page.php:543
368
  msgid ""
369
  "WPML users: Set the default language description here, save changes and then "
370
  "go to <a href=\"%s\">WPML &gt; String translation</a> to set it for other "
375
  "defini-la para outros idiomas."
376
 
377
  # @ wd-fb-og
378
+ #: includes/settings-page.php:559
379
  msgid "Include Image (og:image) tag"
380
  msgstr "Incluir tag Imagem (og:image)"
381
 
382
  # @ wd-fb-og
383
+ #: includes/settings-page.php:564
384
  msgid ""
385
  "All images MUST have at least 200px on both dimensions in order to Facebook "
386
  "to load them at all.<br/>1200x630px for optimal results.<br/>Minimum of "
390
  "o Facebook as carregue.<br/>1200x630px para resultados optimizados.<br/>Um "
391
  "mínimo de 600x315px é recomendado."
392
 
393
+ #: includes/settings-page.php:569
394
  msgid "Include Image size (og:image:width and og:image:height) tags"
395
  msgstr "Incluir tags de Tamanho de Imagem (og:image:width e og:image:height)"
396
 
397
+ #: includes/settings-page.php:574
398
  msgid ""
399
  "Recommended only if Facebook is having problems loading the image when the "
400
  "post is shared for the first time."
403
  "artigo é partilhado pela primeira vez."
404
 
405
  # @ wd-fb-og
406
+ #: includes/settings-page.php:579
407
  msgid "Include Schema.org \"itemprop\" Image tag"
408
  msgstr "Incluir a tag \"itemprop Image\" do Schema.org"
409
 
410
  # @ wd-fb-og
411
+ #: includes/settings-page.php:591
412
  msgid "Include Twitter Card Image tag"
413
  msgstr "Incluir tag Imagem do \"Twitter Card\""
414
 
415
  # @ wd-fb-og
416
+ #: includes/settings-page.php:603
417
  msgid "Default image"
418
  msgstr "Imagem por omissão"
419
 
420
  # @ wd-fb-og
421
+ #: includes/settings-page.php:611 wonderm00n-open-graph.php:866
422
  msgid "Recommended size: 1200x630px"
423
  msgstr "Tamanho recomendado: 1200x630px"
424
 
425
  # @ wd-fb-og
426
+ #: includes/settings-page.php:616
427
  msgid "Add image to RSS/RSS2 feeds"
428
  msgstr "Incluir a imagem aos feeds RSS/RSS2"
429
 
430
  # @ wd-fb-og
431
+ #: includes/settings-page.php:621
432
  msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
433
  msgstr ""
434
  "Para aplicação de posts automáticos como o RSS Graffitti, twitterfeed, etc..."
435
 
436
  # @ wd-fb-og
437
+ #: includes/settings-page.php:626
438
  msgid "On posts/pages"
439
  msgstr "Nos artigos/páginas"
440
 
441
  # @ wd-fb-og
442
+ #: includes/settings-page.php:630
443
  msgid ""
444
  "Image will be fetched from the specific \"Open Graph Image\" custom field on "
445
  "the post"
448
  "no artigo"
449
 
450
  # @ wd-fb-og
451
+ #: includes/settings-page.php:634
452
  msgid ""
453
  "If it's not set, image will be fetched from post/page featured/thumbnail "
454
  "picture"
457
  "página"
458
 
459
  # @ wd-fb-og
460
+ #: includes/settings-page.php:638
461
  msgid "If it doesn't exist, use the first image from the post/page content"
462
  msgstr ""
463
  "Se não existir, será utilizada a primeira imagem no conteúdo do artigo/página"
464
 
465
  # @ wd-fb-og
466
+ #: includes/settings-page.php:642
467
  msgid "If it doesn't exist, use first image from the post/page media gallery"
468
  msgstr ""
469
  "Se não existir, será usada a primeira imagem na galeria multimédia do artigo/"
470
  "página"
471
 
472
  # @ wd-fb-og
473
+ #: includes/settings-page.php:646
474
  msgid "If it doesn't exist, use the default image above"
475
  msgstr "Se não existir, utilizar a imagem por omissão em cima"
476
 
477
+ #: includes/settings-page.php:654
478
  msgid "Twitter Card Type"
479
  msgstr "Tipo de cartão do Twitter"
480
 
481
+ #: includes/settings-page.php:657
482
  msgid "Summary Card"
483
  msgstr "Resumo"
484
 
485
+ #: includes/settings-page.php:658
486
  msgid "Summary Card with Large Image"
487
  msgstr "Resumo com imagem grande"
488
 
489
  # @ wd-fb-og
490
+ #: includes/settings-page.php:667
491
  msgid "3rd Party Integration"
492
  msgstr "Integração com outros plugins"
493
 
494
  # @ wd-fb-og
495
+ #: includes/settings-page.php:678
496
  msgid ""
497
  "It's HIGHLY recommended to go to <a href=\"admin.php?page=wpseo_social\" "
498
  "target=\"_blank\">SEO &gt; Social</a> and disable \"Add Open Graph meta data"
504
  "\"Acrescentar metadados Twitter card\" e \"Add Google+ specific post meta "
505
  "data\""
506
 
507
+ #: includes/settings-page.php:678
508
  msgid ""
509
  "even if you don't enable integration bellow. You will get duplicate tags if "
510
  "you don't do this."
513
  "fizer."
514
 
515
  # @ wd-fb-og
516
+ #: includes/settings-page.php:681
517
  msgid "Use title, url (canonical) and description from WPSEO"
518
  msgstr "Utilizar título, url (canónico) e descrição do WPSEO"
519
 
520
+ #: includes/settings-page.php:698
521
+ msgid "Use Product Category thumbnail as Open Graph Image"
522
+ msgstr "Utilizar miniaturas de Categorias de Produto como \"Open Graph Image\""
523
+
524
+ #: includes/settings-page.php:703
525
+ msgid ""
526
+ "Recommended if you set large thumbnails for Product Categories and want to "
527
+ "use them as Open Graph Images on listing pages"
528
+ msgstr ""
529
+ "Recomendado se utiliza imagens de grandes dimensões como miniatura das "
530
+ "Categorias de Produto e deseja usar as mesmas como \"Open Graph Image\" nas "
531
+ "listagens de categorias de produto."
532
+
533
+ #: includes/settings-page.php:708
534
+ msgid "Use Product Gallery images as additional Open Graph Images"
535
+ msgstr ""
536
+ "Utilizar as imagens da Galeria de Produtos como \"Open Graph Image\" "
537
+ "adicionais"
538
+
539
+ #: includes/settings-page.php:713
540
+ msgid "Experimental"
541
+ msgstr "Experimental"
542
+
543
+ #: includes/settings-page.php:715
544
+ msgid ""
545
+ "Uses additional Product Gallery images so, when the product is shared on "
546
+ "Facebook, the user can choose what image to use"
547
+ msgstr ""
548
+ "Utiliza as imagens da Galeria de Produtos de forma que, quando o mesmo é "
549
+ "partilhado no Facebook, o utilizador possa escolher que imagem usar para a "
550
+ "partilha"
551
+
552
  # @ wd-fb-og
553
+ #: includes/settings-page.php:730
554
  msgid "Add SubHeading to Post/Page title"
555
  msgstr "Adicionar \"SubHeading\" ao título do artigo/página"
556
 
557
  # @ wd-fb-og
558
+ #: includes/settings-page.php:746
559
  msgid "Use BDP listing contents as OG tags"
560
  msgstr "Utilizar o conteúdo dos anúncios BDP como tags OG"
561
 
562
  # @ wd-fb-og
563
+ #: includes/settings-page.php:751
564
  msgid ""
565
  "Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and "
566
  "\"Include Image\" options above is HIGHLY recommended"
570
  "image)\" é ALTAMENTE recomendado"
571
 
572
  # @ wd-fb-og
573
+ #: includes/settings-page.php:760
574
  msgid "You don't have any compatible 3rd Party plugin installed/active."
575
  msgstr "Não tem nenhum plugin compatível instalado/activo."
576
 
577
  # @ wd-fb-og
578
+ #: includes/settings-page.php:761
579
  msgid "This plugin is currently compatible with:"
580
  msgstr "Este plugin é actualmente compatível com:"
581
 
582
+ #: includes/settings-page.php:775
583
  msgid "Advanced settings"
584
  msgstr "Definições avançadas"
585
 
586
+ #: includes/settings-page.php:777
587
  msgid "Don't mess with this unless you know what you're doing"
588
  msgstr "Não mexer nestas configurações se não souber o que está a fazer"
589
 
590
+ #: includes/settings-page.php:780
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
+ #: includes/settings-page.php:785
596
  msgid ""
597
  "May cause problems with some multisite configurations but fix \"HTTP request "
598
  "failed\" errors"
600
  "Pode causar problemas com algumas configurações \"multisite\" mas corrige "
601
  "erros \"HTTP request failed\""
602
 
603
+ #: includes/settings-page.php:790
604
  msgid "Try to update Facebook Open Graph Tags cache when saving the post"
605
  msgstr ""
606
  "Tentar actualizar a cache das Facebook Open Graph Tags ao gravar um post"
607
 
608
+ #: includes/settings-page.php:796
609
  msgid "Supress Facebook Open Graph Tags cache updated notice"
610
  msgstr ""
611
  "Esconder notificação de actualização de cache das Facebook Open Graph Tags"
612
 
613
  # @ wd-fb-og
614
+ #: includes/settings-page.php:696 includes/settings-page.php:818
615
  msgid "Test your URLs at Facebook URL Linter / Debugger"
616
  msgstr "Teste os seus URLs no \"Facebook URL Linter / Debugger\""
617
 
618
+ #: includes/settings-page.php:821
619
  msgid "Test (and request approval for) your URLs at Twitter Card validator"
620
  msgstr "Teste (e solicite aprovação dos) URLs no \"Twitter Card validator\""
621
 
622
  # @ wd-fb-og
623
+ #: includes/settings-page.php:824
624
  msgid "About the Open Graph Protocol (on Facebook)"
625
  msgstr "Sobre o Protocolo Open Graph (no Facebook)"
626
 
627
  # @ wd-fb-og
628
+ #: includes/settings-page.php:827
629
  msgid "The Open Graph Protocol (official website)"
630
  msgstr "O Protocolo Open Graph (website oficial)"
631
 
632
+ #: includes/settings-page.php:830
633
  msgid "About Twitter Cards"
634
  msgstr "Sobre os \"Twitter Cards\""
635
 
636
  # @ wd-fb-og
637
+ #: includes/settings-page.php:833
638
  msgid "Plugin official URL"
639
  msgstr "URL oficial do plugin"
640
 
641
  # @ wd-fb-og
642
+ #: includes/settings-page.php:836
643
  msgid "Author's website: Webdados"
644
  msgstr "Website do autor: Webdados"
645
 
646
  # @ wd-fb-og
647
+ #: includes/settings-page.php:839
648
  msgid "Author's Facebook page: Webdados"
649
  msgstr "Página Facebook do autor: Webdados"
650
 
651
  # @ wd-fb-og
652
+ #: includes/settings-page.php:842
653
  msgid "Author's Twitter account: @Wonderm00n<br/>(Webdados founder)"
654
  msgstr "Conta Twitter do autor: @Wonderm00n<br/>(fundador da Webdados)"
655
 
656
+ #: includes/settings-page.php:849
657
+ msgid "About this plugin"
658
+ msgstr "Sobre este plugin"
 
659
 
660
+ #: includes/settings-page.php:851
661
+ msgid "Support forum"
662
+ msgstr "Fórum de suporte"
 
663
 
664
+ #: includes/settings-page.php:853
665
+ msgid "Premium technical support or custom WordPress development"
666
+ msgstr "Suporte técnico premium ou desenvolvimento WordPress à medida"
667
+
668
+ #: includes/settings-page.php:854
669
+ msgid "Please contact %s"
670
+ msgstr "Por favor contactar %s"
671
+
672
+ #: includes/settings-page.php:855
673
+ msgid "Please rate our plugin at WordPress.org"
674
+ msgstr "Por favor classifique o nosso plugin no WordPress.org"
675
 
676
  # @ wd-fb-og
677
+ #: includes/settings-page.php:865
678
  msgid "Useful links"
679
  msgstr "Links úteis"
680
 
681
  # @ wd-fb-og
682
+ #: includes/settings-page.php:878
683
  msgid "Donate"
684
  msgstr "Doar"
685
 
686
  # @ wd-fb-og
687
+ #: includes/settings-page.php:880
688
  msgid ""
689
  "If you find this plugin useful and want to make a contribution towards "
690
  "future development please consider making a small, or big ;-), donation."
694
  "doação."
695
 
696
  # @ wd-fb-og
697
+ #: wonderm00n-open-graph.php:753 wonderm00n-open-graph.php:861
698
  msgid "Use this image:"
699
  msgstr "Utilizar esta imagem:"
700
 
701
  # @ wd-fb-og
702
+ #: wonderm00n-open-graph.php:864
703
  msgid "Upload/Choose Open Graph Image"
704
  msgstr "Carregar/Escolher Imagem Open Graph"
705
 
706
  # @ wd-fb-og
707
+ #: wonderm00n-open-graph.php:865
708
  msgid "Clear field"
709
  msgstr "Limpar campo"
710
 
711
+ #: wonderm00n-open-graph.php:930
712
  msgid "URL failed:"
713
  msgstr "Falha no URL:"
714
 
715
+ #: wonderm00n-open-graph.php:938
716
  msgid "Facebook returned:"
717
  msgstr "O Facebook retornou:"
718
 
719
+ #: wonderm00n-open-graph.php:955
720
  msgid "Facebook Open Graph Tags cache updated/purged."
721
  msgstr "Cache das Facebook Open Graph Tags actualizada."
722
 
723
+ #: wonderm00n-open-graph.php:955
724
  msgid "Share this on Facebook"
725
  msgstr "Partilhe isto no Facebook"
726
 
727
+ #: wonderm00n-open-graph.php:963
728
  msgid "Error: Facebook Open Graph Tags cache NOT updated/purged."
729
  msgstr "Erro: Cache das Facebook Open Graph Tags NÃO actualizada"
730
 
731
  # @ wd-fb-og
732
+ #: wonderm00n-open-graph.php:1003
733
  msgid "Use as Image Open Graph Tag"
734
  msgstr "Utilizar como Imagem Open Graph"
735
 
736
+ #: wonderm00n-open-graph.php:1022
737
  msgid "Google+"
738
  msgstr "Google+"
739
 
740
+ #: wonderm00n-open-graph.php:1026
741
  msgid "Facebook profile URL"
742
  msgstr "URL de Perfil Facebook"
743
 
744
+ #: wonderm00n-open-graph.php:1044
745
  msgid ""
746
  "Please ignore the (dumb) Yoast WordPress SEO warning regarding open graph "
747
  "issues with this plugin. Just disable WPSEO Social settings at"
750
  "problemas \"open graph\" com este plugin. Simplesmente inactive as "
751
  "definições Social do WPSEO em"
752
 
753
+ #: wonderm00n-open-graph.php:1045
754
  msgid "SEO &gt; Social"
755
  msgstr "SEO &gt; Social"
756
 
768
  "\"enclosure\" e \"media:content\" nos feeds RSS, para que aplicações como o "
769
  "RSS Graffiti and twitterfeed façam partilha para o Facebook correctamente."
770
 
771
+ # @ wd-fb-og
772
+ #~ msgid "Rate this plugin"
773
+ #~ msgstr "Avalie este plugin"
774
+
775
+ # @ wd-fb-og
776
+ #~ msgid "If you like this plugin,"
777
+ #~ msgstr "Se gosta deste plugin,"
778
+
779
+ # @ wd-fb-og
780
+ #~ msgid "please give it a high Rating"
781
+ #~ msgstr "dê-lhe uma nota elevada"
782
+
783
  #~ msgid "Save Changes"
784
  #~ msgstr "Guardar alterações"
785
 
lang/wd-fb-og.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Facebook Open Graph, Google+ and Twitter Card Tags package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook Open Graph, Google+ and Twitter Card Tags 1.6\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wonderm00ns-simple-facebook-open-graph-tags\n"
7
- "POT-Creation-Date: 2015-06-30 12:13:21+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -12,519 +12,548 @@ msgstr ""
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: includes/settings-page.php:86
16
  msgid "Please set some default values and which tags should, or should not, be included. It may be necessary to exclude some tags if other plugins are already including them."
17
  msgstr ""
18
 
19
- #: includes/settings-page.php:101
20
  msgid "Include Facebook Platform App ID (fb:app_id) tag"
21
  msgstr ""
22
 
23
- #: includes/settings-page.php:107
24
  msgid "Facebook Platform App ID"
25
  msgstr ""
26
 
27
- #: includes/settings-page.php:116
28
  msgid "Include Facebook Admin(s) ID (fb:admins) tag"
29
  msgstr ""
30
 
31
- #: includes/settings-page.php:122
32
  msgid "Facebook Admin(s) ID"
33
  msgstr ""
34
 
35
- #: includes/settings-page.php:126
36
  msgid "Comma separated if more than one"
37
  msgstr ""
38
 
39
- #: includes/settings-page.php:133
40
  msgid "Include locale (fb:locale) tag"
41
  msgstr ""
42
 
43
- #: includes/settings-page.php:139
44
  msgid "Locale"
45
  msgstr ""
46
 
47
- #: includes/settings-page.php:142
48
  msgid "WordPress current locale/language"
49
  msgstr ""
50
 
51
- #: includes/settings-page.php:193
52
  msgid "List loaded from Facebook (online)"
53
  msgstr ""
54
 
55
- #: includes/settings-page.php:196
56
  msgid "List loaded from local cache (offline)"
57
  msgstr ""
58
 
59
- #: includes/settings-page.php:196
60
  msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
61
  msgstr ""
62
 
63
- #: includes/settings-page.php:196
64
  msgid "Reload from Facebook"
65
  msgstr ""
66
 
67
- #: includes/settings-page.php:198
68
  msgid "List not loaded"
69
  msgstr ""
70
 
71
- #: includes/settings-page.php:208
72
  msgid "Include Site Name (og:site_name) tag"
73
  msgstr ""
74
 
75
- #: includes/settings-page.php:217
76
  msgid "Include Post/Page title (og:title) tag"
77
  msgstr ""
78
 
79
- #: includes/settings-page.php:223
80
  msgid "Include Schema.org \"itemprop\" Name tag"
81
  msgstr ""
82
 
83
- #: includes/settings-page.php:229 includes/settings-page.php:444
84
- #: includes/settings-page.php:512
85
  msgid "Recommended for Google+ sharing purposes if no other plugin is setting it already"
86
  msgstr ""
87
 
88
- #: includes/settings-page.php:233
89
  msgid "Include Twitter Card Title tag"
90
  msgstr ""
91
 
92
- #: includes/settings-page.php:239 includes/settings-page.php:454
93
- #: includes/settings-page.php:522
94
  msgid "Recommended for Twitter sharing purposes if no other plugin is setting it already"
95
  msgstr ""
96
 
97
- #: includes/settings-page.php:246
98
  msgid "Include URL (og:url) tag"
99
  msgstr ""
100
 
101
- #: includes/settings-page.php:252
102
  msgid "Include Twitter Card URL tag"
103
  msgstr ""
104
 
105
- #: includes/settings-page.php:258
106
  msgid "Add trailing slash at the end"
107
  msgstr ""
108
 
109
- #: includes/settings-page.php:262
110
  msgid "On the homepage will be"
111
  msgstr ""
112
 
113
- #: includes/settings-page.php:266
114
  msgid "Set Canonical URL"
115
  msgstr ""
116
 
117
- #: includes/settings-page.php:277
118
  msgid "Include Type (og:type) tag"
119
  msgstr ""
120
 
121
- #: includes/settings-page.php:281
122
  msgid "Will be \"%1$s\" for posts and pages and \"%2$s\" or \"%3$s\"; for the homepage"
123
  msgstr ""
124
 
125
- #: includes/settings-page.php:285
126
  msgid "Homepage type"
127
  msgstr ""
128
 
129
- #: includes/settings-page.php:287 includes/settings-page.php:475
130
  msgid "Use"
131
  msgstr ""
132
 
133
- #: includes/settings-page.php:298
134
  msgid "Include published and modified dates (article:published_time, article:modified_time and og:updated_time) tags"
135
  msgstr ""
136
 
137
- #: includes/settings-page.php:302 includes/settings-page.php:313
138
  msgid "Works for posts only"
139
  msgstr ""
140
 
141
- #: includes/settings-page.php:309
142
  msgid "Include article section (article:section) tags"
143
  msgstr ""
144
 
145
- #: includes/settings-page.php:313
146
  msgid "from the categories"
147
  msgstr ""
148
 
149
- #: includes/settings-page.php:320
150
  msgid "Include Publisher Page (article:publisher) tag"
151
  msgstr ""
152
 
153
- #: includes/settings-page.php:324
154
  msgid "Links the website to the publisher Facebook Page."
155
  msgstr ""
156
 
157
- #: includes/settings-page.php:328
158
  msgid "Website's Facebook Page"
159
  msgstr ""
160
 
161
- #: includes/settings-page.php:332 includes/settings-page.php:348
162
- #: includes/settings-page.php:531
163
  msgid "Full URL with http://"
164
  msgstr ""
165
 
166
- #: includes/settings-page.php:336
167
  msgid "Include Google+ \"publisher\" tag"
168
  msgstr ""
169
 
170
- #: includes/settings-page.php:340
171
  msgid "Links the website to the publisher Google+ Page."
172
  msgstr ""
173
 
174
- #: includes/settings-page.php:344
175
  msgid "Website's Google+ Page"
176
  msgstr ""
177
 
178
- #: includes/settings-page.php:352
179
  msgid "Include Twitter Card Website Username tag"
180
  msgstr ""
181
 
182
- #: includes/settings-page.php:356
183
  msgid "Links the website to the publisher Twitter Username."
184
  msgstr ""
185
 
186
- #: includes/settings-page.php:360
187
  msgid "Website's Twitter Username"
188
  msgstr ""
189
 
190
- #: includes/settings-page.php:364 wonderm00n-open-graph.php:950
191
  msgid "Twitter username (without @)"
192
  msgstr ""
193
 
194
- #: includes/settings-page.php:372
195
  msgid "Include Author Profile (article:author) tag"
196
  msgstr ""
197
 
198
- #: includes/settings-page.php:376
199
  msgid "Links the article to the author Facebook Profile. The user's Facebook profile URL must be filled in."
200
  msgstr ""
201
 
202
- #: includes/settings-page.php:380
203
  msgid "Include Meta Author tag"
204
  msgstr ""
205
 
206
- #: includes/settings-page.php:386
207
  msgid "Sets the article author name"
208
  msgstr ""
209
 
210
- #: includes/settings-page.php:390
211
  msgid "Include Google+ link rel \"author\" tag"
212
  msgstr ""
213
 
214
- #: includes/settings-page.php:396
215
  msgid "Links the article to the author Google+ Profile (authorship). The user's Google+ profile URL must be filled in."
216
  msgstr ""
217
 
218
- #: includes/settings-page.php:400
219
  msgid "Include Twitter Card Creator tag"
220
  msgstr ""
221
 
222
- #: includes/settings-page.php:406
223
  msgid "Links the article to the author Twitter profile. The user's Twitter user must be filled in."
224
  msgstr ""
225
 
226
- #: includes/settings-page.php:410
227
  msgid "Hide author on pages"
228
  msgstr ""
229
 
230
- #: includes/settings-page.php:414
231
  msgid "Hides all author tags on pages."
232
  msgstr ""
233
 
234
- #: includes/settings-page.php:422
235
  msgid "Include Description (og:description) tag"
236
  msgstr ""
237
 
238
- #: includes/settings-page.php:428
239
  msgid "Include Meta Description tag"
240
  msgstr ""
241
 
242
- #: includes/settings-page.php:434
243
  msgid "Recommended for SEO purposes if no other plugin is setting it already"
244
  msgstr ""
245
 
246
- #: includes/settings-page.php:438
247
  msgid "Include Schema.org \"itemprop\" Description tag"
248
  msgstr ""
249
 
250
- #: includes/settings-page.php:448
251
  msgid "Include Twitter Card Description tag"
252
  msgstr ""
253
 
254
- #: includes/settings-page.php:458
255
  msgid "Description maximum length"
256
  msgstr ""
257
 
258
- #: includes/settings-page.php:462
259
  msgid "0 or blank for no maximum length"
260
  msgstr ""
261
 
262
- #: includes/settings-page.php:466
263
  msgid "Homepage description"
264
  msgstr ""
265
 
266
- #: includes/settings-page.php:472
267
  msgid "The description of your front page:"
268
  msgstr ""
269
 
270
- #: includes/settings-page.php:477
271
  msgid "Website tagline"
272
  msgstr ""
273
 
274
- #: includes/settings-page.php:478
275
  msgid "Custom text"
276
  msgstr ""
277
 
278
- #: includes/settings-page.php:492
279
  msgid "WPML users: Set the default language description here, save changes and then go to <a href=\"%s\">WPML &gt; String translation</a> to set it for other languages."
280
  msgstr ""
281
 
282
- #: includes/settings-page.php:490
283
  msgid "Include Image (og:image) tag"
284
  msgstr ""
285
 
286
- #: includes/settings-page.php:494
287
  msgid "All images MUST have at least 200px on both dimensions in order to Facebook to load them at all.<br/>1200x630px for optimal results.<br/>Minimum of 600x315px is recommended."
288
  msgstr ""
289
 
290
- #: includes/settings-page.php:498
291
  msgid "Include Image size (og:image:width and og:image:height) tags"
292
  msgstr ""
293
 
294
- #: includes/settings-page.php:502
295
  msgid "Recommended only if Facebook is having problems loading the image when the post is shared for the first time."
296
  msgstr ""
297
 
298
- #: includes/settings-page.php:506
299
  msgid "Include Schema.org \"itemprop\" Image tag"
300
  msgstr ""
301
 
302
- #: includes/settings-page.php:516
303
  msgid "Include Twitter Card Image tag"
304
  msgstr ""
305
 
306
- #: includes/settings-page.php:526
307
  msgid "Default image"
308
  msgstr ""
309
 
310
- #: includes/settings-page.php:533 wonderm00n-open-graph.php:792
311
  msgid "Recommended size: 1200x630px"
312
  msgstr ""
313
 
314
- #: includes/settings-page.php:537
315
  msgid "Add image to RSS/RSS2 feeds"
316
  msgstr ""
317
 
318
- #: includes/settings-page.php:541
319
  msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
320
  msgstr ""
321
 
322
- #: includes/settings-page.php:545
323
  msgid "On posts/pages"
324
  msgstr ""
325
 
326
- #: includes/settings-page.php:549
327
  msgid "Image will be fetched from the specific \"Open Graph Image\" custom field on the post"
328
  msgstr ""
329
 
330
- #: includes/settings-page.php:553
331
  msgid "If it's not set, image will be fetched from post/page featured/thumbnail picture"
332
  msgstr ""
333
 
334
- #: includes/settings-page.php:557
335
  msgid "If it doesn't exist, use the first image from the post/page content"
336
  msgstr ""
337
 
338
- #: includes/settings-page.php:561
339
  msgid "If it doesn't exist, use first image from the post/page media gallery"
340
  msgstr ""
341
 
342
- #: includes/settings-page.php:565
343
  msgid "If it doesn't exist, use the default image above"
344
  msgstr ""
345
 
346
- #: includes/settings-page.php:573
347
  msgid "Twitter Card Type"
348
  msgstr ""
349
 
350
- #: includes/settings-page.php:576
351
  msgid "Summary Card"
352
  msgstr ""
353
 
354
- #: includes/settings-page.php:577
355
  msgid "Summary Card with Large Image"
356
  msgstr ""
357
 
358
- #: includes/settings-page.php:586
359
  msgid "3rd Party Integration"
360
  msgstr ""
361
 
362
- #: includes/settings-page.php:597
363
  msgid "It's HIGHLY recommended to go to <a href=\"admin.php?page=wpseo_social\" target=\"_blank\">SEO &gt; Social</a> and disable \"Add Open Graph meta data\", \"Add Twitter card meta data\" and \"Add Google+ specific post meta data\""
364
  msgstr ""
365
 
366
- #: includes/settings-page.php:597
367
  msgid "even if you don't enable integration bellow. You will get duplicate tags if you don't do this."
368
  msgstr ""
369
 
370
- #: includes/settings-page.php:600
371
  msgid "Use title, url (canonical) and description from WPSEO"
372
  msgstr ""
373
 
374
- #: includes/settings-page.php:616
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
375
  msgid "Add SubHeading to Post/Page title"
376
  msgstr ""
377
 
378
- #: includes/settings-page.php:632
379
  msgid "Use BDP listing contents as OG tags"
380
  msgstr ""
381
 
382
- #: includes/settings-page.php:636
383
  msgid "Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and \"Include Image\" options above is HIGHLY recommended"
384
  msgstr ""
385
 
386
- #: includes/settings-page.php:644
387
  msgid "You don't have any compatible 3rd Party plugin installed/active."
388
  msgstr ""
389
 
390
- #: includes/settings-page.php:645
391
  msgid "This plugin is currently compatible with:"
392
  msgstr ""
393
 
394
- #: includes/settings-page.php:658
395
  msgid "Advanced settings"
396
  msgstr ""
397
 
398
- #: includes/settings-page.php:660
399
  msgid "Don't mess with this unless you know what you're doing"
400
  msgstr ""
401
 
402
- #: includes/settings-page.php:663
403
  msgid "Force getimagesize on local file even if allow_url_fopen=1"
404
  msgstr ""
405
 
406
- #: includes/settings-page.php:667
407
  msgid "May cause problems with some multisite configurations but fix \"HTTP request failed\" errors"
408
  msgstr ""
409
 
410
- #: includes/settings-page.php:671
411
  msgid "Try to update Facebook Open Graph Tags cache when saving the post"
412
  msgstr ""
413
 
414
- #: includes/settings-page.php:677
415
  msgid "Supress Facebook Open Graph Tags cache updated notice"
416
  msgstr ""
417
 
418
  #: includes/settings-page.php:696
 
419
  msgid "Test your URLs at Facebook URL Linter / Debugger"
420
  msgstr ""
421
 
422
- #: includes/settings-page.php:699
423
  msgid "Test (and request approval for) your URLs at Twitter Card validator"
424
  msgstr ""
425
 
426
- #: includes/settings-page.php:702
427
  msgid "About the Open Graph Protocol (on Facebook)"
428
  msgstr ""
429
 
430
- #: includes/settings-page.php:705
431
  msgid "The Open Graph Protocol (official website)"
432
  msgstr ""
433
 
434
- #: includes/settings-page.php:708
435
  msgid "About Twitter Cards"
436
  msgstr ""
437
 
438
- #: includes/settings-page.php:711
439
  msgid "Plugin official URL"
440
  msgstr ""
441
 
442
- #: includes/settings-page.php:714
443
  msgid "Author's website: Webdados"
444
  msgstr ""
445
 
446
- #: includes/settings-page.php:717
447
  msgid "Author's Facebook page: Webdados"
448
  msgstr ""
449
 
450
- #: includes/settings-page.php:720
451
  msgid "Author's Twitter account: @Wonderm00n<br/>(Webdados founder)"
452
  msgstr ""
453
 
454
- #: includes/settings-page.php:727
455
- msgid "Rate this plugin"
 
 
 
 
 
 
 
 
456
  msgstr ""
457
 
458
- #: includes/settings-page.php:729
459
- msgid "If you like this plugin,"
460
  msgstr ""
461
 
462
- #: includes/settings-page.php:729
463
- msgid "please give it a high Rating"
464
  msgstr ""
465
 
466
- #: includes/settings-page.php:736
467
  msgid "Useful links"
468
  msgstr ""
469
 
470
- #: includes/settings-page.php:749
471
  msgid "Donate"
472
  msgstr ""
473
 
474
- #: includes/settings-page.php:751
475
  msgid "If you find this plugin useful and want to make a contribution towards future development please consider making a small, or big ;-), donation."
476
  msgstr ""
477
 
478
  #: wonderm00n-open-graph.php:753
479
- #: wonderm00n-open-graph.php:787
480
  msgid "Use this image:"
481
  msgstr ""
482
 
483
- #: wonderm00n-open-graph.php:790
484
  msgid "Upload/Choose Open Graph Image"
485
  msgstr ""
486
 
487
- #: wonderm00n-open-graph.php:791
488
  msgid "Clear field"
489
  msgstr ""
490
 
491
- #: wonderm00n-open-graph.php:856
492
  msgid "URL failed:"
493
  msgstr ""
494
 
495
- #: wonderm00n-open-graph.php:864
496
  msgid "Facebook returned:"
497
  msgstr ""
498
 
499
- #: wonderm00n-open-graph.php:881
500
  msgid "Facebook Open Graph Tags cache updated/purged."
501
  msgstr ""
502
 
503
- #: wonderm00n-open-graph.php:881
504
  msgid "Share this on Facebook"
505
  msgstr ""
506
 
507
- #: wonderm00n-open-graph.php:889
508
  msgid "Error: Facebook Open Graph Tags cache NOT updated/purged."
509
  msgstr ""
510
 
511
- #: wonderm00n-open-graph.php:929
512
  msgid "Use as Image Open Graph Tag"
513
  msgstr ""
514
 
515
- #: wonderm00n-open-graph.php:948
516
  msgid "Google+"
517
  msgstr ""
518
 
519
- #: wonderm00n-open-graph.php:952
520
  msgid "Facebook profile URL"
521
  msgstr ""
522
 
523
- #: wonderm00n-open-graph.php:970
524
  msgid "Please ignore the (dumb) Yoast WordPress SEO warning regarding open graph issues with this plugin. Just disable WPSEO Social settings at"
525
  msgstr ""
526
 
527
- #: wonderm00n-open-graph.php:971
528
  msgid "SEO &gt; Social"
529
  msgstr ""
530
 
2
  # This file is distributed under the same license as the Facebook Open Graph, Google+ and Twitter Card Tags package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook Open Graph, Google+ and Twitter Card Tags 1.7\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wonderm00ns-simple-facebook-open-graph-tags\n"
7
+ "POT-Creation-Date: 2015-12-15 14:47:59+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #: includes/settings-page.php:92
16
  msgid "Please set some default values and which tags should, or should not, be included. It may be necessary to exclude some tags if other plugins are already including them."
17
  msgstr ""
18
 
19
+ #: includes/settings-page.php:107
20
  msgid "Include Facebook Platform App ID (fb:app_id) tag"
21
  msgstr ""
22
 
23
+ #: includes/settings-page.php:113
24
  msgid "Facebook Platform App ID"
25
  msgstr ""
26
 
27
+ #: includes/settings-page.php:122
28
  msgid "Include Facebook Admin(s) ID (fb:admins) tag"
29
  msgstr ""
30
 
31
+ #: includes/settings-page.php:128
32
  msgid "Facebook Admin(s) ID"
33
  msgstr ""
34
 
35
+ #: includes/settings-page.php:133
36
  msgid "Comma separated if more than one"
37
  msgstr ""
38
 
39
+ #: includes/settings-page.php:141
40
  msgid "Include locale (fb:locale) tag"
41
  msgstr ""
42
 
43
+ #: includes/settings-page.php:147
44
  msgid "Locale"
45
  msgstr ""
46
 
47
+ #: includes/settings-page.php:150
48
  msgid "WordPress current locale/language"
49
  msgstr ""
50
 
51
+ #: includes/settings-page.php:202
52
  msgid "List loaded from Facebook (online)"
53
  msgstr ""
54
 
55
+ #: includes/settings-page.php:205
56
  msgid "List loaded from local cache (offline)"
57
  msgstr ""
58
 
59
+ #: includes/settings-page.php:205
60
  msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
61
  msgstr ""
62
 
63
+ #: includes/settings-page.php:205
64
  msgid "Reload from Facebook"
65
  msgstr ""
66
 
67
+ #: includes/settings-page.php:207
68
  msgid "List not loaded"
69
  msgstr ""
70
 
71
+ #: includes/settings-page.php:218
72
  msgid "Include Site Name (og:site_name) tag"
73
  msgstr ""
74
 
75
+ #: includes/settings-page.php:227
76
  msgid "Include Post/Page title (og:title) tag"
77
  msgstr ""
78
 
79
+ #: includes/settings-page.php:233
80
  msgid "Include Schema.org \"itemprop\" Name tag"
81
  msgstr ""
82
 
83
+ #: includes/settings-page.php:240 includes/settings-page.php:493
84
+ #: includes/settings-page.php:586
85
  msgid "Recommended for Google+ sharing purposes if no other plugin is setting it already"
86
  msgstr ""
87
 
88
+ #: includes/settings-page.php:245
89
  msgid "Include Twitter Card Title tag"
90
  msgstr ""
91
 
92
+ #: includes/settings-page.php:252 includes/settings-page.php:505
93
+ #: includes/settings-page.php:598
94
  msgid "Recommended for Twitter sharing purposes if no other plugin is setting it already"
95
  msgstr ""
96
 
97
+ #: includes/settings-page.php:260
98
  msgid "Include URL (og:url) tag"
99
  msgstr ""
100
 
101
+ #: includes/settings-page.php:266
102
  msgid "Include Twitter Card URL tag"
103
  msgstr ""
104
 
105
+ #: includes/settings-page.php:272
106
  msgid "Add trailing slash at the end"
107
  msgstr ""
108
 
109
+ #: includes/settings-page.php:277
110
  msgid "On the homepage will be"
111
  msgstr ""
112
 
113
+ #: includes/settings-page.php:282
114
  msgid "Set Canonical URL"
115
  msgstr ""
116
 
117
+ #: includes/settings-page.php:295
118
  msgid "Include Type (og:type) tag"
119
  msgstr ""
120
 
121
+ #: includes/settings-page.php:300
122
  msgid "Will be \"%1$s\" for posts and pages and \"%2$s\" or \"%3$s\"; for the homepage"
123
  msgstr ""
124
 
125
+ #: includes/settings-page.php:305
126
  msgid "Homepage type"
127
  msgstr ""
128
 
129
+ #: includes/settings-page.php:307 includes/settings-page.php:529
130
  msgid "Use"
131
  msgstr ""
132
 
133
+ #: includes/settings-page.php:318
134
  msgid "Include published and modified dates (article:published_time, article:modified_time and og:updated_time) tags"
135
  msgstr ""
136
 
137
+ #: includes/settings-page.php:323 includes/settings-page.php:336
138
  msgid "Works for posts only"
139
  msgstr ""
140
 
141
+ #: includes/settings-page.php:331
142
  msgid "Include article section (article:section) tags"
143
  msgstr ""
144
 
145
+ #: includes/settings-page.php:336
146
  msgid "from the categories"
147
  msgstr ""
148
 
149
+ #: includes/settings-page.php:344
150
  msgid "Include Publisher Page (article:publisher) tag"
151
  msgstr ""
152
 
153
+ #: includes/settings-page.php:349
154
  msgid "Links the website to the publisher Facebook Page."
155
  msgstr ""
156
 
157
+ #: includes/settings-page.php:354
158
  msgid "Website's Facebook Page"
159
  msgstr ""
160
 
161
+ #: includes/settings-page.php:359 includes/settings-page.php:379
162
+ #: includes/settings-page.php:609
163
  msgid "Full URL with http://"
164
  msgstr ""
165
 
166
+ #: includes/settings-page.php:364
167
  msgid "Include Google+ \"publisher\" tag"
168
  msgstr ""
169
 
170
+ #: includes/settings-page.php:369
171
  msgid "Links the website to the publisher Google+ Page."
172
  msgstr ""
173
 
174
+ #: includes/settings-page.php:374
175
  msgid "Website's Google+ Page"
176
  msgstr ""
177
 
178
+ #: includes/settings-page.php:384
179
  msgid "Include Twitter Card Website Username tag"
180
  msgstr ""
181
 
182
+ #: includes/settings-page.php:389
183
  msgid "Links the website to the publisher Twitter Username."
184
  msgstr ""
185
 
186
+ #: includes/settings-page.php:394
187
  msgid "Website's Twitter Username"
188
  msgstr ""
189
 
190
+ #: includes/settings-page.php:399 wonderm00n-open-graph.php:1024
191
  msgid "Twitter username (without @)"
192
  msgstr ""
193
 
194
+ #: includes/settings-page.php:408
195
  msgid "Include Author Profile (article:author) tag"
196
  msgstr ""
197
 
198
+ #: includes/settings-page.php:413
199
  msgid "Links the article to the author Facebook Profile. The user's Facebook profile URL must be filled in."
200
  msgstr ""
201
 
202
+ #: includes/settings-page.php:418
203
  msgid "Include Meta Author tag"
204
  msgstr ""
205
 
206
+ #: includes/settings-page.php:425
207
  msgid "Sets the article author name"
208
  msgstr ""
209
 
210
+ #: includes/settings-page.php:430
211
  msgid "Include Google+ link rel \"author\" tag"
212
  msgstr ""
213
 
214
+ #: includes/settings-page.php:437
215
  msgid "Links the article to the author Google+ Profile (authorship). The user's Google+ profile URL must be filled in."
216
  msgstr ""
217
 
218
+ #: includes/settings-page.php:442
219
  msgid "Include Twitter Card Creator tag"
220
  msgstr ""
221
 
222
+ #: includes/settings-page.php:449
223
  msgid "Links the article to the author Twitter profile. The user's Twitter user must be filled in."
224
  msgstr ""
225
 
226
+ #: includes/settings-page.php:454
227
  msgid "Hide author on pages"
228
  msgstr ""
229
 
230
+ #: includes/settings-page.php:459
231
  msgid "Hides all author tags on pages."
232
  msgstr ""
233
 
234
+ #: includes/settings-page.php:468
235
  msgid "Include Description (og:description) tag"
236
  msgstr ""
237
 
238
+ #: includes/settings-page.php:474
239
  msgid "Include Meta Description tag"
240
  msgstr ""
241
 
242
+ #: includes/settings-page.php:481
243
  msgid "Recommended for SEO purposes if no other plugin is setting it already"
244
  msgstr ""
245
 
246
+ #: includes/settings-page.php:486
247
  msgid "Include Schema.org \"itemprop\" Description tag"
248
  msgstr ""
249
 
250
+ #: includes/settings-page.php:498
251
  msgid "Include Twitter Card Description tag"
252
  msgstr ""
253
 
254
+ #: includes/settings-page.php:510
255
  msgid "Description maximum length"
256
  msgstr ""
257
 
258
+ #: includes/settings-page.php:515
259
  msgid "0 or blank for no maximum length"
260
  msgstr ""
261
 
262
+ #: includes/settings-page.php:520
263
  msgid "Homepage description"
264
  msgstr ""
265
 
266
+ #: includes/settings-page.php:526
267
  msgid "The description of your front page:"
268
  msgstr ""
269
 
270
+ #: includes/settings-page.php:531
271
  msgid "Website tagline"
272
  msgstr ""
273
 
274
+ #: includes/settings-page.php:532
275
  msgid "Custom text"
276
  msgstr ""
277
 
278
+ #: includes/settings-page.php:543
279
  msgid "WPML users: Set the default language description here, save changes and then go to <a href=\"%s\">WPML &gt; String translation</a> to set it for other languages."
280
  msgstr ""
281
 
282
+ #: includes/settings-page.php:559
283
  msgid "Include Image (og:image) tag"
284
  msgstr ""
285
 
286
+ #: includes/settings-page.php:564
287
  msgid "All images MUST have at least 200px on both dimensions in order to Facebook to load them at all.<br/>1200x630px for optimal results.<br/>Minimum of 600x315px is recommended."
288
  msgstr ""
289
 
290
+ #: includes/settings-page.php:569
291
  msgid "Include Image size (og:image:width and og:image:height) tags"
292
  msgstr ""
293
 
294
+ #: includes/settings-page.php:574
295
  msgid "Recommended only if Facebook is having problems loading the image when the post is shared for the first time."
296
  msgstr ""
297
 
298
+ #: includes/settings-page.php:579
299
  msgid "Include Schema.org \"itemprop\" Image tag"
300
  msgstr ""
301
 
302
+ #: includes/settings-page.php:591
303
  msgid "Include Twitter Card Image tag"
304
  msgstr ""
305
 
306
+ #: includes/settings-page.php:603
307
  msgid "Default image"
308
  msgstr ""
309
 
310
+ #: includes/settings-page.php:611 wonderm00n-open-graph.php:866
311
  msgid "Recommended size: 1200x630px"
312
  msgstr ""
313
 
314
+ #: includes/settings-page.php:616
315
  msgid "Add image to RSS/RSS2 feeds"
316
  msgstr ""
317
 
318
+ #: includes/settings-page.php:621
319
  msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
320
  msgstr ""
321
 
322
+ #: includes/settings-page.php:626
323
  msgid "On posts/pages"
324
  msgstr ""
325
 
326
+ #: includes/settings-page.php:630
327
  msgid "Image will be fetched from the specific \"Open Graph Image\" custom field on the post"
328
  msgstr ""
329
 
330
+ #: includes/settings-page.php:634
331
  msgid "If it's not set, image will be fetched from post/page featured/thumbnail picture"
332
  msgstr ""
333
 
334
+ #: includes/settings-page.php:638
335
  msgid "If it doesn't exist, use the first image from the post/page content"
336
  msgstr ""
337
 
338
+ #: includes/settings-page.php:642
339
  msgid "If it doesn't exist, use first image from the post/page media gallery"
340
  msgstr ""
341
 
342
+ #: includes/settings-page.php:646
343
  msgid "If it doesn't exist, use the default image above"
344
  msgstr ""
345
 
346
+ #: includes/settings-page.php:654
347
  msgid "Twitter Card Type"
348
  msgstr ""
349
 
350
+ #: includes/settings-page.php:657
351
  msgid "Summary Card"
352
  msgstr ""
353
 
354
+ #: includes/settings-page.php:658
355
  msgid "Summary Card with Large Image"
356
  msgstr ""
357
 
358
+ #: includes/settings-page.php:667
359
  msgid "3rd Party Integration"
360
  msgstr ""
361
 
362
+ #: includes/settings-page.php:678
363
  msgid "It's HIGHLY recommended to go to <a href=\"admin.php?page=wpseo_social\" target=\"_blank\">SEO &gt; Social</a> and disable \"Add Open Graph meta data\", \"Add Twitter card meta data\" and \"Add Google+ specific post meta data\""
364
  msgstr ""
365
 
366
+ #: includes/settings-page.php:678
367
  msgid "even if you don't enable integration bellow. You will get duplicate tags if you don't do this."
368
  msgstr ""
369
 
370
+ #: includes/settings-page.php:681
371
  msgid "Use title, url (canonical) and description from WPSEO"
372
  msgstr ""
373
 
374
+ #: includes/settings-page.php:698
375
+ msgid "Use Product Category thumbnail as Open Graph Image"
376
+ msgstr ""
377
+
378
+ #: includes/settings-page.php:703
379
+ msgid "Recommended if you set large thumbnails for Product Categories and want to use them as Open Graph Images on listing pages"
380
+ msgstr ""
381
+
382
+ #: includes/settings-page.php:708
383
+ msgid "Use Product Gallery images as additional Open Graph Images"
384
+ msgstr ""
385
+
386
+ #: includes/settings-page.php:713
387
+ msgid "Experimental"
388
+ msgstr ""
389
+
390
+ #: includes/settings-page.php:715
391
+ msgid "Uses additional Product Gallery images so, when the product is shared on Facebook, the user can choose what image to use"
392
+ msgstr ""
393
+
394
+ #: includes/settings-page.php:730
395
  msgid "Add SubHeading to Post/Page title"
396
  msgstr ""
397
 
398
+ #: includes/settings-page.php:746
399
  msgid "Use BDP listing contents as OG tags"
400
  msgstr ""
401
 
402
+ #: includes/settings-page.php:751
403
  msgid "Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and \"Include Image\" options above is HIGHLY recommended"
404
  msgstr ""
405
 
406
+ #: includes/settings-page.php:760
407
  msgid "You don't have any compatible 3rd Party plugin installed/active."
408
  msgstr ""
409
 
410
+ #: includes/settings-page.php:761
411
  msgid "This plugin is currently compatible with:"
412
  msgstr ""
413
 
414
+ #: includes/settings-page.php:775
415
  msgid "Advanced settings"
416
  msgstr ""
417
 
418
+ #: includes/settings-page.php:777
419
  msgid "Don't mess with this unless you know what you're doing"
420
  msgstr ""
421
 
422
+ #: includes/settings-page.php:780
423
  msgid "Force getimagesize on local file even if allow_url_fopen=1"
424
  msgstr ""
425
 
426
+ #: includes/settings-page.php:785
427
  msgid "May cause problems with some multisite configurations but fix \"HTTP request failed\" errors"
428
  msgstr ""
429
 
430
+ #: includes/settings-page.php:790
431
  msgid "Try to update Facebook Open Graph Tags cache when saving the post"
432
  msgstr ""
433
 
434
+ #: includes/settings-page.php:796
435
  msgid "Supress Facebook Open Graph Tags cache updated notice"
436
  msgstr ""
437
 
438
  #: includes/settings-page.php:696
439
+ #: includes/settings-page.php:818
440
  msgid "Test your URLs at Facebook URL Linter / Debugger"
441
  msgstr ""
442
 
443
+ #: includes/settings-page.php:821
444
  msgid "Test (and request approval for) your URLs at Twitter Card validator"
445
  msgstr ""
446
 
447
+ #: includes/settings-page.php:824
448
  msgid "About the Open Graph Protocol (on Facebook)"
449
  msgstr ""
450
 
451
+ #: includes/settings-page.php:827
452
  msgid "The Open Graph Protocol (official website)"
453
  msgstr ""
454
 
455
+ #: includes/settings-page.php:830
456
  msgid "About Twitter Cards"
457
  msgstr ""
458
 
459
+ #: includes/settings-page.php:833
460
  msgid "Plugin official URL"
461
  msgstr ""
462
 
463
+ #: includes/settings-page.php:836
464
  msgid "Author's website: Webdados"
465
  msgstr ""
466
 
467
+ #: includes/settings-page.php:839
468
  msgid "Author's Facebook page: Webdados"
469
  msgstr ""
470
 
471
+ #: includes/settings-page.php:842
472
  msgid "Author's Twitter account: @Wonderm00n<br/>(Webdados founder)"
473
  msgstr ""
474
 
475
+ #: includes/settings-page.php:849
476
+ msgid "About this plugin"
477
+ msgstr ""
478
+
479
+ #: includes/settings-page.php:851
480
+ msgid "Support forum"
481
+ msgstr ""
482
+
483
+ #: includes/settings-page.php:853
484
+ msgid "Premium technical support or custom WordPress development"
485
  msgstr ""
486
 
487
+ #: includes/settings-page.php:854
488
+ msgid "Please contact %s"
489
  msgstr ""
490
 
491
+ #: includes/settings-page.php:855
492
+ msgid "Please rate our plugin at WordPress.org"
493
  msgstr ""
494
 
495
+ #: includes/settings-page.php:865
496
  msgid "Useful links"
497
  msgstr ""
498
 
499
+ #: includes/settings-page.php:878
500
  msgid "Donate"
501
  msgstr ""
502
 
503
+ #: includes/settings-page.php:880
504
  msgid "If you find this plugin useful and want to make a contribution towards future development please consider making a small, or big ;-), donation."
505
  msgstr ""
506
 
507
  #: wonderm00n-open-graph.php:753
508
+ #: wonderm00n-open-graph.php:861
509
  msgid "Use this image:"
510
  msgstr ""
511
 
512
+ #: wonderm00n-open-graph.php:864
513
  msgid "Upload/Choose Open Graph Image"
514
  msgstr ""
515
 
516
+ #: wonderm00n-open-graph.php:865
517
  msgid "Clear field"
518
  msgstr ""
519
 
520
+ #: wonderm00n-open-graph.php:930
521
  msgid "URL failed:"
522
  msgstr ""
523
 
524
+ #: wonderm00n-open-graph.php:938
525
  msgid "Facebook returned:"
526
  msgstr ""
527
 
528
+ #: wonderm00n-open-graph.php:955
529
  msgid "Facebook Open Graph Tags cache updated/purged."
530
  msgstr ""
531
 
532
+ #: wonderm00n-open-graph.php:955
533
  msgid "Share this on Facebook"
534
  msgstr ""
535
 
536
+ #: wonderm00n-open-graph.php:963
537
  msgid "Error: Facebook Open Graph Tags cache NOT updated/purged."
538
  msgstr ""
539
 
540
+ #: wonderm00n-open-graph.php:1003
541
  msgid "Use as Image Open Graph Tag"
542
  msgstr ""
543
 
544
+ #: wonderm00n-open-graph.php:1022
545
  msgid "Google+"
546
  msgstr ""
547
 
548
+ #: wonderm00n-open-graph.php:1026
549
  msgid "Facebook profile URL"
550
  msgstr ""
551
 
552
+ #: wonderm00n-open-graph.php:1044
553
  msgid "Please ignore the (dumb) Yoast WordPress SEO warning regarding open graph issues with this plugin. Just disable WPSEO Social settings at"
554
  msgstr ""
555
 
556
+ #: wonderm00n-open-graph.php:1045
557
  msgid "SEO &gt; Social"
558
  msgstr ""
559
 
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Facebook Open Graph, Google+ and Twitter Card Tags ===
2
  Contributors: webdados, wonderm00n
3
  Donate link: http://blog.wonderm00n.com/2011/10/14/wordpress-plugin-simple-facebook-open-graph-tags/
4
- Tags: facebook, open graph, open graph protocol, seo, share, social, meta, twitter card, twitter, schema, google+, g+, google, google plus, image, like, meta, search engine optimization
5
  Requires at least: 3.5
6
- Tested up to: 4.0.1
7
- Stable tag: 1.6.3
8
  Inserts Facebook Open Graph, Google+/Schema.org, Twitter and other Meta Tags into your WordPress Website for more efficient sharing results.
9
 
10
  == Description ==
@@ -65,18 +65,57 @@ It allows the user to choose which tags are, or not, included and also the defau
65
  = 3rd Party Integration: =
66
 
67
  * **[WordPress SEO by Yoast](http://wordpress.org/plugins/wordpress-seo/)**: Allows you to use title, url (canonical) and description from WPSEO plugin.
 
68
  * **[SubHeading](http://wordpress.org/extend/plugins/subheading/)**: Add the SubHeading to the post/page title.
69
  * **[Business Directory Plugin](http://wordpress.org/extend/plugins/business-directory-plugin/)**: Allows you to use BDP listing contents as Open Graph Tags.
70
 
71
 
72
  == Installation ==
73
 
74
- 1. Upload the `wonderm00n-open-graph` to the `/wp-content/plugins/` directory
75
  2. Activate the plugin through the `Plugins` menu in WordPress
76
- 3. Got to `Options`, `Facebook Open Graph Tags` to set it up
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
 
78
  == Changelog ==
79
 
 
 
 
 
 
 
 
80
  = 1.6.3 =
81
  - Added the fb_og_locale filter so that plugins or themes can override the Open Graph locale tag
82
 
1
  === Facebook Open Graph, Google+ and Twitter Card Tags ===
2
  Contributors: webdados, wonderm00n
3
  Donate link: http://blog.wonderm00n.com/2011/10/14/wordpress-plugin-simple-facebook-open-graph-tags/
4
+ Tags: facebook, open graph, open graph protocol, share, social, meta, rss, twitter card, twitter, schema, google+, g+, google, google plus, image, like, seo, search engine optimization, woocommerce, yoast seo, subheading, php7
5
  Requires at least: 3.5
6
+ Tested up to: 4.4
7
+ Stable tag: 1.7
8
  Inserts Facebook Open Graph, Google+/Schema.org, Twitter and other Meta Tags into your WordPress Website for more efficient sharing results.
9
 
10
  == Description ==
65
  = 3rd Party Integration: =
66
 
67
  * **[WordPress SEO by Yoast](http://wordpress.org/plugins/wordpress-seo/)**: Allows you to use title, url (canonical) and description from WPSEO plugin.
68
+ * **[WooCommerce](https://wordpress.org/plugins/woocommerce/)**: Allows you to use the Product Category thumbnails as Open Graph Image and have Product Gallery images as additional Open Graph Images
69
  * **[SubHeading](http://wordpress.org/extend/plugins/subheading/)**: Add the SubHeading to the post/page title.
70
  * **[Business Directory Plugin](http://wordpress.org/extend/plugins/business-directory-plugin/)**: Allows you to use BDP listing contents as Open Graph Tags.
71
 
72
 
73
  == Installation ==
74
 
75
+ 1. Use the included automatic install feature on your WordPress admin panel and search for “Facebook Open Graph, Google+ and Twitter Card Tags”.
76
  2. Activate the plugin through the `Plugins` menu in WordPress
77
+ 3. Got to `Options`, `Facebook Open Graph, Google+ and Twitter Card Tags` to set it up
78
+
79
+ == Frequently Asked Questions ==
80
+
81
+ = WordPress SEO (by Yoast) shows up a big nasty warning if both plugins are active. Is the world in danger if I keep both plugins active? =
82
+
83
+ No it isn't.
84
+ You can (and, in our opinion, you should) use both plugins. If you want to use WordPress SEO for your SEO needs and our plugin for social media meta tags you just have to go to `SEO - Social` and disable settings for Facebook, Twitter and Google+. Then set up our plugin as you wish and you're ready to go.
85
+ We like to work with everybody, so (if you want to) our plugin can even integrate with WordPress SEO and use it's title, description and canonical URL.
86
+
87
+ = Facebook is not showing up the correct image when I share a post. What can I do? =
88
+
89
+ 1. Are you using a big enough image? The minimum image size is 200x200 pixels but we recommend 1200x630.
90
+ 2. Are you sure you only have one og:image tag on the source code? Make sure you're not using more than one plugin to set OG tags?
91
+ 3. Go to the [Facebook URL Debugger](https://developers.facebook.com/tools/debug/), insert your URL, click `Debug`. Then click on `Fetch new scrape information` to make sure Facebook gets the current version of your HTML code and not a cached version. If the image that shows up on the preview (bottom of the page) is the correct one, then the tags are well set and it "should" be the one that Facebook uses when sharing the post. If it still does not use the correct image when sharing, despite the debugger shows it correctly, there's nothing more we can do about that. That's just Facebook being Facebook.
92
+
93
+ = When I save/edit my post I get the "Facebook Open Graph Tags cache NOT updated/purged" error. Should I worry? =
94
+
95
+ Each time you edit a post, if the option "Try to update Facebook Open Graph Tags cache when saving the post" is activated, we'll try to notify Facebook of the changes so it clears up it's cache and read the new Open Graph tags of this specific URL.
96
+ If this is a new post and it's the first time you're saving it, the error is "normal" and you should ignore it (wer're looking at a workaround to not show you this error).
97
+ If this is not a new post and it's not the first time you're saving it, and if this happens always, then maybe your server does not support calling remote URLs with PHP and you should disable the "Try to update Facebook Open Graph Tags cache when saving the post" option. In that scenario we recommend you to use the [Facebook URL Debugger](https://developers.facebook.com/tools/debug/) to `Fetch new scrape information` each time you update your post.
98
+
99
+ = Can this plugin get content from "random plugin"? =
100
+
101
+ If there's a popular plugin you think we could get content from to use on the meta tags, use the support forum to tell us that.
102
+ If you are a plugin or theme author you can always use our filters `fb_og_title`, `fb_og_desc`, `fb_og_image`, `fb_og_image_additional` and `fb_og_locale` to customize the Open Graph (and other) meta tags output.
103
+
104
+ = Do you provide email support? =
105
+
106
+ We DO NOT provide email support for this plugin. If you send us an email asking for support you'll be invited to:
107
+ 1. Post the question on the [support forum](https://wordpress.org/support/plugin/wonderm00ns-simple-facebook-open-graph-tags)
108
+ 2. Or we can give you a quote on premium email/phone support if you prefer to
109
 
110
  == Changelog ==
111
 
112
+ = 1.7 =
113
+ * WordPress 4.4, WooCommerce 2.4.12 and PHP 7 compatibility check - All good!
114
+ * NEW WooCommerce integration: Category thumbnail images and additional product images as Open Graph Images
115
+ * New `fb_og_image_additional` filter so other plugins/themes can add additional Open Graph Images
116
+ * Hide our meta box on some custom post types, and add a new `fb_og_metabox_exclude_types` filter so other plugins/themes can hide our metabox on their CPTs
117
+ * Several tweaks on the settings page
118
+
119
  = 1.6.3 =
120
  - Added the fb_og_locale filter so that plugins or themes can override the Open Graph locale tag
121
 
wonderm00n-open-graph.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /**
3
  * @package Facebook Open Graph, Google+ and Twitter Card Tags
4
- * @version 1.6.3
5
  */
6
  /*
7
  Plugin Name: Facebook Open Graph, Google+ and Twitter Card Tags
8
  Plugin URI: http://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/
9
  Description: Inserts Facebook Open Graph, Google+ / Schema.org and Twitter Card Tags into your WordPress Blog/Website for more effective and efficient Facebook, Google+ and Twitter sharing results. You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and twitterfeed post the image to Facebook correctly.
10
- Version: 1.6.3
11
  Author: Webdados
12
  Author URI: http://www.webdados.pt
13
  Text Domain: wd-fb-og
@@ -16,7 +16,7 @@ Domain Path: /lang
16
 
17
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
18
 
19
- $webdados_fb_open_graph_plugin_version='1.6.3';
20
  $webdados_fb_open_graph_plugin_name='Facebook Open Graph, Google+ and Twitter Card Tags';
21
  $webdados_fb_open_graph_plugin_settings=array(
22
  'fb_app_id_show',
@@ -74,7 +74,9 @@ $webdados_fb_open_graph_plugin_settings=array(
74
  'fb_adv_force_local',
75
  'fb_adv_notify_fb',
76
  'fb_adv_supress_fb_notice',
77
- 'fb_twitter_card_type'
 
 
78
  );
79
 
80
  //We have to remove canonical NOW because the plugin runs too late - We're also loading the settings which is cool
@@ -108,6 +110,9 @@ function webdados_fb_open_graph() {
108
  //Also set Title Tag?
109
  $fb_set_title_tag=0;
110
 
 
 
 
111
  $fb_type='article';
112
  if (is_singular()) {
113
  //It's a Post or a Page or an attachment page - It can also be the homepage if it's set as a page
@@ -289,6 +294,16 @@ function webdados_fb_open_graph() {
289
  $fb_title=esc_attr(strip_tags(stripslashes(single_term_title('', false))));
290
  $term=$wp_query->get_queried_object();
291
  $fb_url=get_term_link($term, $term->taxonomy);
 
 
 
 
 
 
 
 
 
 
292
  } else {
293
  if (is_search()) {
294
  $fb_title=esc_attr(strip_tags(stripslashes(__('Search for').' "'.get_search_query().'"')));
@@ -355,10 +370,24 @@ function webdados_fb_open_graph() {
355
  }
356
  }
357
 
 
 
 
 
 
 
 
 
 
 
 
 
 
358
  //Apply Filters
359
  $fb_title = apply_filters('fb_og_title', $fb_title);
360
  $fb_desc = apply_filters('fb_og_desc', $fb_desc);
361
  $fb_image = apply_filters('fb_og_image', $fb_image);
 
362
  $fb_locale = apply_filters('fb_og_locale', $fb_locale);
363
  $fb_image_size = false;
364
  if (intval($fb_image_show)==1 && trim($fb_image)!='') {
@@ -380,6 +409,11 @@ function webdados_fb_open_graph() {
380
  if (isset($fb_author) && trim($fb_author)!='') $fb_author= str_replace(' ', '%20', trim($fb_author));
381
  if (isset($fb_author_linkrelgp) && trim($fb_author_linkrelgp)!='') $fb_author_linkrelgp= str_replace(' ', '%20', trim($fb_author_linkrelgp));
382
  if (isset($fb_image) && trim($fb_image)!='') $fb_image= str_replace(' ', '%20', trim($fb_image));
 
 
 
 
 
383
 
384
  $html='
385
  <!-- START - '.$webdados_fb_open_graph_plugin_name.' '.$webdados_fb_open_graph_plugin_version.' -->
@@ -410,7 +444,7 @@ function webdados_fb_open_graph() {
410
  if (intval($fb_type_show)==1) $html.='<meta property="og:type" content="'.trim(esc_attr($fb_type)).'"/>
411
  ';
412
  if (intval($fb_article_dates_show)==1 && trim($fb_article_pub_date)!='') $html.='<meta property="article:published_time" content="'.trim(esc_attr($fb_article_pub_date)).'"/>
413
- ';
414
  if (intval($fb_article_dates_show)==1 && trim($fb_article_mod_date)!='') $html.='<meta property="article:modified_time" content="'.trim(esc_attr($fb_article_mod_date)).'" />
415
  <meta property="og:updated_time" content="'.trim(esc_attr($fb_article_mod_date)).'" />
416
  ';
@@ -444,9 +478,17 @@ if (intval($fb_article_sections_show)==1 && isset($fb_sections) && is_array($fb_
444
  ';
445
  if(intval($fb_image_show)==1 && trim($fb_image)!='') $html.='<meta property="og:image" content="'.trim(esc_attr($fb_image)).'"/>
446
  ';
447
- if(intval($fb_image_size_show)==1 && isset($fb_image_size) && is_array($fb_image_size)!='') $html.='<meta property="og:image:width" content="'.intval(esc_attr($fb_image_size[0])).'"/>
 
 
 
 
 
 
 
448
  <meta property="og:image:height" content="'.intval(esc_attr($fb_image_size[1])).'"/>
449
  ';
 
450
  if(intval($fb_image_show_schema)==1 && trim($fb_image)!='') $html.='<meta itemprop="image" content="'.trim(esc_attr($fb_image)).'"/>
451
  ';
452
  if(intval($fb_image_show_twitter)==1 && trim($fb_image)!='') $html.='<meta name="twitter:image:src" content="'.trim(esc_attr($fb_image)).'"/>
@@ -785,12 +827,28 @@ if (is_admin()) {
785
  global $webdados_fb_open_graph_settings, $webdados_fb_open_graph_plugin_name;
786
  if (intval($webdados_fb_open_graph_settings['fb_image_use_specific'])==1) {
787
  global $post;
788
- add_meta_box(
789
- 'webdados_fb_open_graph',
790
- $webdados_fb_open_graph_plugin_name,
791
- 'webdados_fb_open_graph_add_posts_options_box',
792
- $post->post_type
793
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
794
  }
795
  }
796
  function webdados_fb_open_graph_add_posts_options_box() {
1
  <?php
2
  /**
3
  * @package Facebook Open Graph, Google+ and Twitter Card Tags
4
+ * @version 1.7
5
  */
6
  /*
7
  Plugin Name: Facebook Open Graph, Google+ and Twitter Card Tags
8
  Plugin URI: http://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/
9
  Description: Inserts Facebook Open Graph, Google+ / Schema.org and Twitter Card Tags into your WordPress Blog/Website for more effective and efficient Facebook, Google+ and Twitter sharing results. You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and twitterfeed post the image to Facebook correctly.
10
+ Version: 1.7
11
  Author: Webdados
12
  Author URI: http://www.webdados.pt
13
  Text Domain: wd-fb-og
16
 
17
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
18
 
19
+ $webdados_fb_open_graph_plugin_version='1.7';
20
  $webdados_fb_open_graph_plugin_name='Facebook Open Graph, Google+ and Twitter Card Tags';
21
  $webdados_fb_open_graph_plugin_settings=array(
22
  'fb_app_id_show',
74
  'fb_adv_force_local',
75
  'fb_adv_notify_fb',
76
  'fb_adv_supress_fb_notice',
77
+ 'fb_twitter_card_type',
78
+ 'fb_wc_usecategthumb',
79
+ 'fb_wc_useproductgallery'
80
  );
81
 
82
  //We have to remove canonical NOW because the plugin runs too late - We're also loading the settings which is cool
110
  //Also set Title Tag?
111
  $fb_set_title_tag=0;
112
 
113
+ //Additional images
114
+ $fb_image_additional=array();
115
+
116
  $fb_type='article';
117
  if (is_singular()) {
118
  //It's a Post or a Page or an attachment page - It can also be the homepage if it's set as a page
294
  $fb_title=esc_attr(strip_tags(stripslashes(single_term_title('', false))));
295
  $term=$wp_query->get_queried_object();
296
  $fb_url=get_term_link($term, $term->taxonomy);
297
+ //WooCommerce
298
+ if (intval($fb_image_show)==1 || intval($fb_image_show_schema)==1 || intval($fb_image_show_twitter)==1) {
299
+ if ( class_exists('woocommerce') && $fb_wc_usecategthumb==1 && is_product_category() ) {
300
+ if ( $thumbnail_id = get_woocommerce_term_meta( $term->term_id, 'thumbnail_id', true ) ) {
301
+ if ( $image = wp_get_attachment_url( $thumbnail_id ) ) {
302
+ $fb_image = $image;
303
+ }
304
+ }
305
+ }
306
+ }
307
  } else {
308
  if (is_search()) {
309
  $fb_title=esc_attr(strip_tags(stripslashes(__('Search for').' "'.get_search_query().'"')));
370
  }
371
  }
372
 
373
+ //WooCommerce - Additional product images?
374
+ if ( intval($fb_image_show)==1 && class_exists('woocommerce') && $fb_wc_useproductgallery==1 && is_product() ) {
375
+ global $post;
376
+ $product = new WC_Product( $post->ID );
377
+ if ( $attachment_ids = $product->get_gallery_attachment_ids() ) {
378
+ foreach ( $attachment_ids as $attachment_id ) {
379
+ if ( $image_link = wp_get_attachment_url( $attachment_id ) ) {
380
+ if ( trim($image_link)!='' ) $fb_image_additional[]=trim($image_link);
381
+ }
382
+ }
383
+ }
384
+ }
385
+
386
  //Apply Filters
387
  $fb_title = apply_filters('fb_og_title', $fb_title);
388
  $fb_desc = apply_filters('fb_og_desc', $fb_desc);
389
  $fb_image = apply_filters('fb_og_image', $fb_image);
390
+ $fb_image_additional = apply_filters('fb_og_image_additional', $fb_image_additional);
391
  $fb_locale = apply_filters('fb_og_locale', $fb_locale);
392
  $fb_image_size = false;
393
  if (intval($fb_image_show)==1 && trim($fb_image)!='') {
409
  if (isset($fb_author) && trim($fb_author)!='') $fb_author= str_replace(' ', '%20', trim($fb_author));
410
  if (isset($fb_author_linkrelgp) && trim($fb_author_linkrelgp)!='') $fb_author_linkrelgp= str_replace(' ', '%20', trim($fb_author_linkrelgp));
411
  if (isset($fb_image) && trim($fb_image)!='') $fb_image= str_replace(' ', '%20', trim($fb_image));
412
+ if (isset($fb_image_additional) && is_array($fb_image_additional) && count($fb_image_additional) ) {
413
+ foreach ($fb_image_additional as $key => $value) {
414
+ $fb_image_additional[$key] = str_replace(' ', '%20', trim($value));
415
+ }
416
+ }
417
 
418
  $html='
419
  <!-- START - '.$webdados_fb_open_graph_plugin_name.' '.$webdados_fb_open_graph_plugin_version.' -->
444
  if (intval($fb_type_show)==1) $html.='<meta property="og:type" content="'.trim(esc_attr($fb_type)).'"/>
445
  ';
446
  if (intval($fb_article_dates_show)==1 && trim($fb_article_pub_date)!='') $html.='<meta property="article:published_time" content="'.trim(esc_attr($fb_article_pub_date)).'"/>
447
+ ';
448
  if (intval($fb_article_dates_show)==1 && trim($fb_article_mod_date)!='') $html.='<meta property="article:modified_time" content="'.trim(esc_attr($fb_article_mod_date)).'" />
449
  <meta property="og:updated_time" content="'.trim(esc_attr($fb_article_mod_date)).'" />
450
  ';
478
  ';
479
  if(intval($fb_image_show)==1 && trim($fb_image)!='') $html.='<meta property="og:image" content="'.trim(esc_attr($fb_image)).'"/>
480
  ';
481
+ if(intval($fb_image_show)==1 && isset($fb_image_additional) && is_array($fb_image_additional) && count($fb_image_additional)>0) {
482
+ foreach ($fb_image_additional as $fb_image_additional_temp) {
483
+ $html.='<meta property="og:image" content="'.trim(esc_attr($fb_image_additional_temp)).'"/>
484
+ ';
485
+ }
486
+ } else {
487
+ //We only show the image size if we only have one image
488
+ if(intval($fb_image_size_show)==1 && isset($fb_image_size) && is_array($fb_image_size)!='') $html.='<meta property="og:image:width" content="'.intval(esc_attr($fb_image_size[0])).'"/>
489
  <meta property="og:image:height" content="'.intval(esc_attr($fb_image_size[1])).'"/>
490
  ';
491
+ }
492
  if(intval($fb_image_show_schema)==1 && trim($fb_image)!='') $html.='<meta itemprop="image" content="'.trim(esc_attr($fb_image)).'"/>
493
  ';
494
  if(intval($fb_image_show_twitter)==1 && trim($fb_image)!='') $html.='<meta name="twitter:image:src" content="'.trim(esc_attr($fb_image)).'"/>
827
  global $webdados_fb_open_graph_settings, $webdados_fb_open_graph_plugin_name;
828
  if (intval($webdados_fb_open_graph_settings['fb_image_use_specific'])==1) {
829
  global $post;
830
+ //Do not show for some post types
831
+ $exclude_types = array(
832
+ 'attachment',
833
+ 'nav_menu_item',
834
+ 'scheduled-action',
835
  );
836
+ //WooCommerce?
837
+ if ( class_exists('woocommerce') ) {
838
+ $exclude_types = array_merge( $exclude_types , array(
839
+ 'shop_order',
840
+ 'shop_coupon',
841
+ ) );
842
+ }
843
+ $exclude_types = apply_filters( 'fb_og_metabox_exclude_types', $exclude_types );
844
+ if (!in_array(get_post_type($post->ID), $exclude_types)) {
845
+ add_meta_box(
846
+ 'webdados_fb_open_graph',
847
+ $webdados_fb_open_graph_plugin_name,
848
+ 'webdados_fb_open_graph_add_posts_options_box',
849
+ $post->post_type
850
+ );
851
+ }
852
  }
853
  }
854
  function webdados_fb_open_graph_add_posts_options_box() {