Version Description
- Changed name to "Facebook Open Graph, Google+ and Twitter Card Tags"
- Added Twitter Card tags
- Added new tag "article:publisher" in order to link the article with a Facebook page
- Added new tags "article:author", meta author and Google+ link rel in order to link the article with his author (Facebook profile, Name and Google+ profile)
- Title, URL, Description and Image Meta/Google+/Twitter tags can now be set even if Open Graph ones aren't
- Several HTML/CSS tweaks on the settings page
- Fix: esc_attr on all tags
Download this release
Release Info
Developer | webdados |
Plugin | Open Graph for Facebook, Google+ and Twitter Card Tags |
Version | 1.3 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.3
- includes/settings-page.php +383 -174
- lang/wd-fb-og-pt_PT.mo +0 -0
- lang/wd-fb-og-pt_PT.po +313 -141
- lang/wd-fb-og.pot +228 -218
- readme.txt +32 -6
- wonderm00n-open-graph.php +133 -40
includes/settings-page.php
CHANGED
@@ -24,19 +24,31 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
24 |
$usersettings['fb_sitename_show']= intval(wonderm00n_open_graph_post('fb_sitename_show'));
|
25 |
$usersettings['fb_title_show']= intval(wonderm00n_open_graph_post('fb_title_show'));
|
26 |
$usersettings['fb_title_show_schema']= intval(wonderm00n_open_graph_post('fb_title_show_schema'));
|
|
|
27 |
$usersettings['fb_url_show']= intval(wonderm00n_open_graph_post('fb_url_show'));
|
|
|
28 |
$usersettings['fb_url_canonical']= intval(wonderm00n_open_graph_post('fb_url_canonical'));
|
29 |
$usersettings['fb_url_add_trailing']= intval(wonderm00n_open_graph_post('fb_url_add_trailing'));
|
30 |
$usersettings['fb_type_show']= intval(wonderm00n_open_graph_post('fb_type_show'));
|
31 |
$usersettings['fb_type_homepage']= trim(wonderm00n_open_graph_post('fb_type_homepage'));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
$usersettings['fb_desc_show']= intval(wonderm00n_open_graph_post('fb_desc_show'));
|
33 |
$usersettings['fb_desc_show_meta']= intval(wonderm00n_open_graph_post('fb_desc_show_meta'));
|
34 |
$usersettings['fb_desc_show_schema']= intval(wonderm00n_open_graph_post('fb_desc_show_schema'));
|
|
|
35 |
$usersettings['fb_desc_chars']= intval(wonderm00n_open_graph_post('fb_desc_chars'));
|
36 |
$usersettings['fb_desc_homepage']= trim(wonderm00n_open_graph_post('fb_desc_homepage'));
|
37 |
$usersettings['fb_desc_homepage_customtext']= trim(wonderm00n_open_graph_post('fb_desc_homepage_customtext'));
|
38 |
$usersettings['fb_image_show']= intval(wonderm00n_open_graph_post('fb_image_show'));
|
39 |
$usersettings['fb_image_show_schema']= intval(wonderm00n_open_graph_post('fb_image_show_schema'));
|
|
|
40 |
$usersettings['fb_image']= trim(wonderm00n_open_graph_post('fb_image'));
|
41 |
$usersettings['fb_image_rss']= intval(wonderm00n_open_graph_post('fb_image_rss'));
|
42 |
$usersettings['fb_image_use_specific']= intval(wonderm00n_open_graph_post('fb_image_use_specific'));
|
@@ -59,46 +71,46 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
59 |
<div class="wrap">
|
60 |
|
61 |
<?php screen_icon(); ?>
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
<tr>
|
78 |
-
<th scope="row"
|
79 |
<td>
|
80 |
<input type="checkbox" name="fb_app_id_show" id="fb_app_id_show" value="1" <?php echo (intval($fb_app_id_show)==1 ? ' checked="checked"' : ''); ?> onclick="showAppidOptions();"/>
|
81 |
</td>
|
82 |
</tr>
|
83 |
<tr class="fb_app_id_options">
|
84 |
-
<th scope="row"
|
85 |
<td>
|
86 |
-
<input type="text" name="fb_app_id" id="fb_app_id" size="30" value="<?php echo $fb_app_id; ?>"/>
|
87 |
</td>
|
88 |
</tr>
|
89 |
<tr>
|
90 |
<td colspan="2"><hr/></td>
|
91 |
</tr>
|
92 |
<tr>
|
93 |
-
<th scope="row"
|
94 |
<td>
|
95 |
<input type="checkbox" name="fb_admin_id_show" id="fb_admin_id_show" value="1" <?php echo (intval($fb_admin_id_show)==1 ? ' checked="checked"' : ''); ?> onclick="showAdminOptions();"/>
|
96 |
</td>
|
97 |
</tr>
|
98 |
<tr class="fb_admin_id_options">
|
99 |
-
<th scope="row"
|
100 |
<td>
|
101 |
-
<input type="text" name="fb_admin_id" id="fb_admin_id" size="30" value="<?php echo $fb_admin_id; ?>"/>
|
102 |
<br/>
|
103 |
<?php _e('Comma separated if more than one', 'wd-fb-og'); ?>
|
104 |
</td>
|
@@ -107,13 +119,13 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
107 |
<td colspan="2"><hr/></td>
|
108 |
</tr>
|
109 |
<tr>
|
110 |
-
<th scope="row"
|
111 |
<td>
|
112 |
<input type="checkbox" name="fb_locale_show" id="fb_locale_show" value="1" <?php echo (intval($fb_locale_show)==1 ? ' checked="checked"' : ''); ?> onclick="showLocaleOptions();"/>
|
113 |
</td>
|
114 |
</tr>
|
115 |
<tr class="fb_locale_options">
|
116 |
-
<th scope="row"
|
117 |
<td>
|
118 |
<select name="fb_locale" id="fb_locale">
|
119 |
<option value=""<?php if (trim($fb_locale)=='') echo ' selected="selected"'; ?>><?php _e('WordPress current locale/language', 'wd-fb-og'); ?> (<?php echo get_locale(); ?>) </option>
|
@@ -182,7 +194,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
182 |
<td colspan="2"><hr/></td>
|
183 |
</tr>
|
184 |
<tr>
|
185 |
-
<th scope="row"
|
186 |
<td>
|
187 |
<input type="checkbox" name="fb_sitename_show" id="fb_sitename_show" value="1" <?php echo (intval($fb_sitename_show)==1 ? ' checked="checked"' : ''); ?>/>
|
188 |
</td>
|
@@ -191,13 +203,13 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
191 |
<td colspan="2"><hr/></td>
|
192 |
</tr>
|
193 |
<tr>
|
194 |
-
<th scope="row"
|
195 |
<td>
|
196 |
<input type="checkbox" name="fb_title_show" id="fb_title_show" value="1" <?php echo (intval($fb_title_show)==1 ? ' checked="checked"' : ''); ?> onclick="showTitleOptions();"/>
|
197 |
</td>
|
198 |
</tr>
|
199 |
<tr class="fb_title_options">
|
200 |
-
<th scope="row"
|
201 |
<td>
|
202 |
<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"' : ''); ?>/>
|
203 |
<br/>
|
@@ -206,36 +218,52 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
206 |
<?php _e('Recommended for Google+ sharing purposes if no other plugin is setting it already', 'wd-fb-og');?>
|
207 |
</td>
|
208 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
<tr>
|
210 |
<td colspan="2"><hr/></td>
|
211 |
</tr>
|
212 |
<tr>
|
213 |
-
<th scope="row"
|
214 |
<td>
|
215 |
<input type="checkbox" name="fb_url_show" id="fb_url_show" value="1" <?php echo (intval($fb_url_show)==1 ? ' checked="checked"' : ''); ?> onclick="showUrlOptions();"/>
|
216 |
</td>
|
217 |
</tr>
|
218 |
-
<tr
|
219 |
-
<th scope="row"
|
220 |
<td>
|
221 |
-
<input type="checkbox" name="
|
222 |
-
<br/>
|
223 |
-
<i><link rel="canonical" href="..."/></i>
|
224 |
</td>
|
225 |
</tr>
|
226 |
<tr class="fb_url_options">
|
227 |
-
<th scope="row"
|
228 |
<td>
|
229 |
<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();"/>
|
230 |
<br/>
|
231 |
<?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>
|
232 |
</td>
|
233 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
234 |
<tr>
|
235 |
<td colspan="2"><hr/></td>
|
236 |
</tr>
|
237 |
<tr>
|
238 |
-
<th scope="row"
|
239 |
<td>
|
240 |
<input type="checkbox" name="fb_type_show" id="fb_type_show" value="1" <?php echo (intval($fb_type_show)==1 ? ' checked="checked"' : ''); ?> onclick="showTypeOptions();"/>
|
241 |
<br/>
|
@@ -243,7 +271,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
243 |
</td>
|
244 |
</tr>
|
245 |
<tr class="fb_type_options">
|
246 |
-
<th scope="row"
|
247 |
<td>
|
248 |
<?php _e('Use', 'wd-fb-og');?>
|
249 |
<select name="fb_type_homepage" id="fb_type_homepage">
|
@@ -256,13 +284,91 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
256 |
<td colspan="2"><hr/></td>
|
257 |
</tr>
|
258 |
<tr>
|
259 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
260 |
<td>
|
261 |
<input type="checkbox" name="fb_desc_show" id="fb_desc_show" value="1" <?php echo (intval($fb_desc_show)==1 ? ' checked="checked"' : ''); ?> onclick="showDescriptionOptions();"/>
|
262 |
</td>
|
263 |
</tr>
|
264 |
<tr class="fb_description_options">
|
265 |
-
<th scope="row"
|
266 |
<td>
|
267 |
<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"' : ''); ?>/>
|
268 |
<br/>
|
@@ -272,7 +378,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
272 |
</td>
|
273 |
</tr>
|
274 |
<tr class="fb_description_options">
|
275 |
-
<th scope="row"
|
276 |
<td>
|
277 |
<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"' : ''); ?>/>
|
278 |
<br/>
|
@@ -282,7 +388,17 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
282 |
</td>
|
283 |
</tr>
|
284 |
<tr class="fb_description_options">
|
285 |
-
<th scope="row"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
286 |
<td>
|
287 |
<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,
|
288 |
<br/>
|
@@ -290,14 +406,14 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
290 |
</td>
|
291 |
</tr>
|
292 |
<tr class="fb_description_options">
|
293 |
-
<th scope="row"
|
294 |
<td>
|
295 |
<?php
|
296 |
$hide_home_description=false;
|
297 |
if (get_option('show_on_front')=='page') {
|
298 |
$hide_home_description=true;
|
299 |
_e('The description of your front page:', 'wd-fb-og');
|
300 |
-
echo '<a href="'.get_edit_post_link(get_option('page_on_front')).'" target="_blank">'.get_the_title(get_option('page_on_front')).'</a>';
|
301 |
}; ?>
|
302 |
<div<?php if ($hide_home_description) echo ' style="display: none;"'; ?>><?php _e('Use', 'wd-fb-og');?>
|
303 |
<select name="fb_desc_homepage" id="fb_desc_homepage" onchange="showDescriptionCustomText();">
|
@@ -305,7 +421,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
305 |
<option value="custom"<?php if (trim($fb_desc_homepage)=='custom') echo ' selected="selected"'; ?>><?php _e('Custom text', 'wd-fb-og');?> </option>
|
306 |
</select>
|
307 |
<div id="fb_desc_homepage_customtext_div">
|
308 |
-
<textarea name="fb_desc_homepage_customtext" id="fb_desc_homepage_customtext" rows="3" cols="50"><?php echo $fb_desc_homepage_customtext; ?></textarea>
|
309 |
</div>
|
310 |
</div>
|
311 |
</td>
|
@@ -314,15 +430,15 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
314 |
<td colspan="2"><hr/></td>
|
315 |
</tr>
|
316 |
<tr>
|
317 |
-
<th scope="row"
|
318 |
<td>
|
319 |
<input type="checkbox" name="fb_image_show" id="fb_image_show" value="1" <?php echo (intval($fb_image_show)==1 ? ' checked="checked"' : ''); ?> onclick="showImageOptions();"/>
|
320 |
<br/>
|
321 |
-
<?php _e('All images MUST have at least 200px on both dimensions in order to Facebook to load them at all
|
322 |
</td>
|
323 |
</tr>
|
324 |
<tr class="fb_image_options">
|
325 |
-
<th scope="row"
|
326 |
<td>
|
327 |
<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"' : ''); ?>/>
|
328 |
<br/>
|
@@ -332,9 +448,19 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
332 |
</td>
|
333 |
</tr>
|
334 |
<tr class="fb_image_options">
|
335 |
-
<th scope="row"
|
336 |
<td>
|
337 |
-
<input type="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
338 |
<input id="fb_image_button" class="button" type="button" value="Upload/Choose image" />
|
339 |
<br/>
|
340 |
<?php _e('Full URL with http://', 'wd-fb-og');?>
|
@@ -343,7 +469,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
343 |
</td>
|
344 |
</tr>
|
345 |
<tr class="fb_image_options">
|
346 |
-
<th scope="row"
|
347 |
<td>
|
348 |
<input type="checkbox" name="fb_image_rss" id="fb_image_rss" value="1" <?php echo (intval($fb_image_rss)==1 ? ' checked="checked"' : ''); ?> onclick="showImageOptions();"/>
|
349 |
<br/>
|
@@ -351,7 +477,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
351 |
</td>
|
352 |
</tr>
|
353 |
<tr class="fb_image_options">
|
354 |
-
<th scope="row"
|
355 |
<td>
|
356 |
<div>
|
357 |
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"' : ''); ?>/>
|
@@ -375,137 +501,146 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
375 |
</div>
|
376 |
</td>
|
377 |
</tr>
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
|
|
|
|
|
|
392 |
<tr>
|
393 |
-
<th scope="row"
|
394 |
<td>
|
395 |
<input type="checkbox" name="fb_show_wpseoyoast" id="fb_show_wpseoyoast" value="1" <?php echo (intval($fb_show_wpseoyoast)==1 ? ' checked="checked"' : ''); ?>/>
|
396 |
-
<br/>
|
397 |
-
<?php _e('It\'s HIGHLY recommended to go to <a href="admin.php?page=wpseo_social">SEO > Social</a> and disable "Add Open Graph meta data"', 'wd-fb-og'); ?>
|
398 |
</td>
|
399 |
</tr>
|
400 |
</table>
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
|
|
409 |
<tr>
|
410 |
-
<th scope="row"
|
411 |
<td>
|
412 |
<input type="checkbox" name="fb_show_subheading" id="fb_show_subheading" value="1" <?php echo (intval($fb_show_subheading)==1 ? ' checked="checked"' : ''); ?>/>
|
413 |
</td>
|
414 |
</tr>
|
415 |
</table>
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
|
|
424 |
<tr>
|
425 |
-
<th scope="row"
|
426 |
<td>
|
427 |
<input type="checkbox" name="fb_show_businessdirectoryplugin" id="fb_show_businessdirectoryplugin" value="1" <?php echo (intval($fb_show_businessdirectoryplugin)==1 ? ' checked="checked"' : ''); ?>/>
|
428 |
<br/>
|
429 |
-
<?php _e('Setting "Include URL", "
|
430 |
</td>
|
431 |
</tr>
|
432 |
</table>
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
|
452 |
</p>
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
460 |
|
461 |
-
|
462 |
-
|
463 |
|
464 |
-
|
465 |
-
|
466 |
|
467 |
-
|
468 |
-
|
469 |
|
470 |
-
|
471 |
-
|
472 |
|
473 |
-
|
474 |
-
|
475 |
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
<input type="hidden" name="cmd" value="_donations">
|
510 |
<input type="hidden" name="business" value="wonderm00n@gmail.com">
|
511 |
<input type="hidden" name="lc" value="PT">
|
@@ -516,15 +651,15 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
516 |
<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!">
|
517 |
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
|
518 |
</form></center>
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
|
529 |
</div>
|
530 |
|
@@ -542,6 +677,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
542 |
showAdminOptions();
|
543 |
showLocaleOptions();
|
544 |
showTypeOptions();
|
|
|
|
|
|
|
545 |
showUrlOptions();
|
546 |
showUrlTrail();
|
547 |
jQuery('.fb_description_options').hide();
|
@@ -573,11 +711,12 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
573 |
}
|
574 |
}
|
575 |
function showUrlOptions() {
|
576 |
-
if (jQuery('#fb_url_show').is(':checked')) {
|
577 |
jQuery('.fb_url_options').show();
|
578 |
} else {
|
579 |
jQuery('.fb_url_options').hide();
|
580 |
-
}
|
|
|
581 |
}
|
582 |
function showUrlTrail() {
|
583 |
if (jQuery('#fb_url_add_trailing').is(':checked')) {
|
@@ -593,19 +732,50 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
593 |
jQuery('.fb_type_options').hide();
|
594 |
}
|
595 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
596 |
function showDescriptionOptions() {
|
597 |
-
if (jQuery('#fb_desc_show').is(':checked')) {
|
598 |
jQuery('.fb_description_options').show();
|
599 |
} else {
|
600 |
jQuery('.fb_description_options').hide();
|
601 |
-
}
|
|
|
602 |
}
|
603 |
function showTitleOptions() {
|
604 |
-
if (jQuery('#fb_title_show').is(':checked')) {
|
605 |
jQuery('.fb_title_options').show();
|
606 |
} else {
|
607 |
jQuery('.fb_title_options').hide();
|
608 |
-
}
|
|
|
609 |
}
|
610 |
function showDescriptionCustomText() {
|
611 |
if (jQuery('#fb_desc_homepage').val()=='custom') {
|
@@ -615,21 +785,60 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
615 |
}
|
616 |
}
|
617 |
function showImageOptions() {
|
618 |
-
if (jQuery('#fb_image_show').is(':checked')) {
|
619 |
jQuery('.fb_image_options').show();
|
620 |
} else {
|
621 |
jQuery('.fb_image_options').hide();
|
622 |
-
}
|
|
|
623 |
}
|
624 |
</script>
|
625 |
<style type="text/css">
|
626 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
627 |
font-weight: bold;
|
628 |
}
|
629 |
-
|
|
|
|
|
|
|
630 |
height: 1px;
|
631 |
-
|
632 |
-
|
633 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
634 |
}
|
635 |
</style>
|
24 |
$usersettings['fb_sitename_show']= intval(wonderm00n_open_graph_post('fb_sitename_show'));
|
25 |
$usersettings['fb_title_show']= intval(wonderm00n_open_graph_post('fb_title_show'));
|
26 |
$usersettings['fb_title_show_schema']= intval(wonderm00n_open_graph_post('fb_title_show_schema'));
|
27 |
+
$usersettings['fb_title_show_twitter']= intval(wonderm00n_open_graph_post('fb_title_show_twitter'));
|
28 |
$usersettings['fb_url_show']= intval(wonderm00n_open_graph_post('fb_url_show'));
|
29 |
+
$usersettings['fb_url_show_twitter']= intval(wonderm00n_open_graph_post('fb_url_show_twitter'));
|
30 |
$usersettings['fb_url_canonical']= intval(wonderm00n_open_graph_post('fb_url_canonical'));
|
31 |
$usersettings['fb_url_add_trailing']= intval(wonderm00n_open_graph_post('fb_url_add_trailing'));
|
32 |
$usersettings['fb_type_show']= intval(wonderm00n_open_graph_post('fb_type_show'));
|
33 |
$usersettings['fb_type_homepage']= trim(wonderm00n_open_graph_post('fb_type_homepage'));
|
34 |
+
$usersettings['fb_publisher_show']= intval(wonderm00n_open_graph_post('fb_publisher_show'));
|
35 |
+
$usersettings['fb_publisher']= trim(wonderm00n_open_graph_post('fb_publisher'));
|
36 |
+
$usersettings['fb_publisher_show_twitter']= intval(wonderm00n_open_graph_post('fb_publisher_show_twitter'));
|
37 |
+
$usersettings['fb_publisher_twitteruser']= trim(wonderm00n_open_graph_post('fb_publisher_twitteruser'));
|
38 |
+
$usersettings['fb_author_show']= intval(wonderm00n_open_graph_post('fb_author_show'));
|
39 |
+
$usersettings['fb_author_show_meta']= intval(wonderm00n_open_graph_post('fb_author_show_meta'));
|
40 |
+
$usersettings['fb_author_show_linkrelgp']= intval(wonderm00n_open_graph_post('fb_author_show_linkrelgp'));
|
41 |
+
$usersettings['fb_author_show_twitter']= intval(wonderm00n_open_graph_post('fb_author_show_twitter'));
|
42 |
$usersettings['fb_desc_show']= intval(wonderm00n_open_graph_post('fb_desc_show'));
|
43 |
$usersettings['fb_desc_show_meta']= intval(wonderm00n_open_graph_post('fb_desc_show_meta'));
|
44 |
$usersettings['fb_desc_show_schema']= intval(wonderm00n_open_graph_post('fb_desc_show_schema'));
|
45 |
+
$usersettings['fb_desc_show_twitter']= intval(wonderm00n_open_graph_post('fb_desc_show_twitter'));
|
46 |
$usersettings['fb_desc_chars']= intval(wonderm00n_open_graph_post('fb_desc_chars'));
|
47 |
$usersettings['fb_desc_homepage']= trim(wonderm00n_open_graph_post('fb_desc_homepage'));
|
48 |
$usersettings['fb_desc_homepage_customtext']= trim(wonderm00n_open_graph_post('fb_desc_homepage_customtext'));
|
49 |
$usersettings['fb_image_show']= intval(wonderm00n_open_graph_post('fb_image_show'));
|
50 |
$usersettings['fb_image_show_schema']= intval(wonderm00n_open_graph_post('fb_image_show_schema'));
|
51 |
+
$usersettings['fb_image_show_twitter']= intval(wonderm00n_open_graph_post('fb_image_show_twitter'));
|
52 |
$usersettings['fb_image']= trim(wonderm00n_open_graph_post('fb_image'));
|
53 |
$usersettings['fb_image_rss']= intval(wonderm00n_open_graph_post('fb_image_rss'));
|
54 |
$usersettings['fb_image_use_specific']= intval(wonderm00n_open_graph_post('fb_image_use_specific'));
|
71 |
<div class="wrap">
|
72 |
|
73 |
<?php screen_icon(); ?>
|
74 |
+
<h2><?php echo $wonderm00n_open_graph_plugin_name; ?> (<?php echo $wonderm00n_open_graph_plugin_version; ?>)</h2>
|
75 |
+
<br class="clear"/>
|
76 |
+
<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>
|
77 |
+
|
78 |
+
<?php
|
79 |
+
settings_fields('wonderm00n_open_graph');
|
80 |
+
?>
|
81 |
+
|
82 |
+
<div class="postbox-container og_left_col">
|
83 |
+
<div id="poststuff">
|
84 |
+
<form name="form1" method="post">
|
85 |
+
<div id="wonderm00n_open_graph-settings" class="postbox">
|
86 |
+
<h3 id="settings"><?php _e('Settings'); ?></h3>
|
87 |
+
<div class="inside">
|
88 |
+
<table width="100%" class="form-table">
|
89 |
<tr>
|
90 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Facebook Platform App ID (fb:app_id) tag', 'wd-fb-og'); ?></th>
|
91 |
<td>
|
92 |
<input type="checkbox" name="fb_app_id_show" id="fb_app_id_show" value="1" <?php echo (intval($fb_app_id_show)==1 ? ' checked="checked"' : ''); ?> onclick="showAppidOptions();"/>
|
93 |
</td>
|
94 |
</tr>
|
95 |
<tr class="fb_app_id_options">
|
96 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Facebook Platform App ID', 'wd-fb-og'); ?>:</th>
|
97 |
<td>
|
98 |
+
<input type="text" name="fb_app_id" id="fb_app_id" size="30" value="<?php echo trim(esc_attr($fb_app_id)); ?>"/>
|
99 |
</td>
|
100 |
</tr>
|
101 |
<tr>
|
102 |
<td colspan="2"><hr/></td>
|
103 |
</tr>
|
104 |
<tr>
|
105 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Facebook Admin(s) ID (fb:admins) tag', 'wd-fb-og'); ?></th>
|
106 |
<td>
|
107 |
<input type="checkbox" name="fb_admin_id_show" id="fb_admin_id_show" value="1" <?php echo (intval($fb_admin_id_show)==1 ? ' checked="checked"' : ''); ?> onclick="showAdminOptions();"/>
|
108 |
</td>
|
109 |
</tr>
|
110 |
<tr class="fb_admin_id_options">
|
111 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Facebook Admin(s) ID', 'wd-fb-og'); ?>:</th>
|
112 |
<td>
|
113 |
+
<input type="text" name="fb_admin_id" id="fb_admin_id" size="30" value="<?php echo trim(esc_attr($fb_admin_id)); ?>"/>
|
114 |
<br/>
|
115 |
<?php _e('Comma separated if more than one', 'wd-fb-og'); ?>
|
116 |
</td>
|
119 |
<td colspan="2"><hr/></td>
|
120 |
</tr>
|
121 |
<tr>
|
122 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include locale (fb:locale) tag', 'wd-fb-og'); ?></th>
|
123 |
<td>
|
124 |
<input type="checkbox" name="fb_locale_show" id="fb_locale_show" value="1" <?php echo (intval($fb_locale_show)==1 ? ' checked="checked"' : ''); ?> onclick="showLocaleOptions();"/>
|
125 |
</td>
|
126 |
</tr>
|
127 |
<tr class="fb_locale_options">
|
128 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Locale', 'wd-fb-og'); ?>:</th>
|
129 |
<td>
|
130 |
<select name="fb_locale" id="fb_locale">
|
131 |
<option value=""<?php if (trim($fb_locale)=='') echo ' selected="selected"'; ?>><?php _e('WordPress current locale/language', 'wd-fb-og'); ?> (<?php echo get_locale(); ?>) </option>
|
194 |
<td colspan="2"><hr/></td>
|
195 |
</tr>
|
196 |
<tr>
|
197 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Site Name (og:site_name) tag', 'wd-fb-og');?></th>
|
198 |
<td>
|
199 |
<input type="checkbox" name="fb_sitename_show" id="fb_sitename_show" value="1" <?php echo (intval($fb_sitename_show)==1 ? ' checked="checked"' : ''); ?>/>
|
200 |
</td>
|
203 |
<td colspan="2"><hr/></td>
|
204 |
</tr>
|
205 |
<tr>
|
206 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Post/Page title (og:title) tag', 'wd-fb-og');?></th>
|
207 |
<td>
|
208 |
<input type="checkbox" name="fb_title_show" id="fb_title_show" value="1" <?php echo (intval($fb_title_show)==1 ? ' checked="checked"' : ''); ?> onclick="showTitleOptions();"/>
|
209 |
</td>
|
210 |
</tr>
|
211 |
<tr class="fb_title_options">
|
212 |
+
<th scope="row"><i class="dashicons-before dashicons-googleplus"></i><?php _e('Include Schema.org "itemprop" Name tag', 'wd-fb-og');?></th>
|
213 |
<td>
|
214 |
<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"' : ''); ?>/>
|
215 |
<br/>
|
218 |
<?php _e('Recommended for Google+ sharing purposes if no other plugin is setting it already', 'wd-fb-og');?>
|
219 |
</td>
|
220 |
</tr>
|
221 |
+
<tr class="fb_title_options">
|
222 |
+
<th scope="row"><i class="dashicons-before dashicons-twitter"></i><?php _e('Include Twitter Card Title tag', 'wd-fb-og');?></th>
|
223 |
+
<td>
|
224 |
+
<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"' : ''); ?>/>
|
225 |
+
<br/>
|
226 |
+
<i><meta name="twitter:title" content=..."/></i>
|
227 |
+
<br/>
|
228 |
+
<?php _e('Recommended for Twitter sharing purposes if no other plugin is setting it already', 'wd-fb-og');?>
|
229 |
+
</td>
|
230 |
+
</tr>
|
231 |
<tr>
|
232 |
<td colspan="2"><hr/></td>
|
233 |
</tr>
|
234 |
<tr>
|
235 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include URL (og:url) tag', 'wd-fb-og');?></th>
|
236 |
<td>
|
237 |
<input type="checkbox" name="fb_url_show" id="fb_url_show" value="1" <?php echo (intval($fb_url_show)==1 ? ' checked="checked"' : ''); ?> onclick="showUrlOptions();"/>
|
238 |
</td>
|
239 |
</tr>
|
240 |
+
<tr>
|
241 |
+
<th scope="row"><i class="dashicons-before dashicons-twitter"></i><?php _e('Include Twitter Card URL tag', 'wd-fb-og');?></th>
|
242 |
<td>
|
243 |
+
<input type="checkbox" name="fb_url_show_twitter" id="fb_url_show_twitter" value="1" <?php echo (intval($fb_url_show_twitter)==1 ? ' checked="checked"' : ''); ?>/>
|
|
|
|
|
244 |
</td>
|
245 |
</tr>
|
246 |
<tr class="fb_url_options">
|
247 |
+
<th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('Add trailing slash at the end', 'wd-fb-og');?>:</th>
|
248 |
<td>
|
249 |
<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();"/>
|
250 |
<br/>
|
251 |
<?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>
|
252 |
</td>
|
253 |
</tr>
|
254 |
+
<tr class="fb_url_options">
|
255 |
+
<th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('Set Canonical URL', 'wd-fb-og');?>:</th>
|
256 |
+
<td>
|
257 |
+
<input type="checkbox" name="fb_url_canonical" id="fb_url_canonical" value="1" <?php echo (intval($fb_url_canonical)==1 ? ' checked="checked"' : ''); ?>/>
|
258 |
+
<br/>
|
259 |
+
<i><link rel="canonical" href="..."/></i>
|
260 |
+
</td>
|
261 |
+
</tr>
|
262 |
<tr>
|
263 |
<td colspan="2"><hr/></td>
|
264 |
</tr>
|
265 |
<tr>
|
266 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Type (og:type) tag', 'wd-fb-og');?></th>
|
267 |
<td>
|
268 |
<input type="checkbox" name="fb_type_show" id="fb_type_show" value="1" <?php echo (intval($fb_type_show)==1 ? ' checked="checked"' : ''); ?> onclick="showTypeOptions();"/>
|
269 |
<br/>
|
271 |
</td>
|
272 |
</tr>
|
273 |
<tr class="fb_type_options">
|
274 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Homepage type', 'wd-fb-og');?>:</th>
|
275 |
<td>
|
276 |
<?php _e('Use', 'wd-fb-og');?>
|
277 |
<select name="fb_type_homepage" id="fb_type_homepage">
|
284 |
<td colspan="2"><hr/></td>
|
285 |
</tr>
|
286 |
<tr>
|
287 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Publisher Page (article:publisher) tag', 'wd-fb-og');?></th>
|
288 |
+
<td>
|
289 |
+
<input type="checkbox" name="fb_publisher_show" id="fb_publisher_show" value="1" <?php echo (intval($fb_publisher_show)==1 ? ' checked="checked"' : ''); ?> onclick="showPublisherOptions();"/>
|
290 |
+
<br/>
|
291 |
+
<?php _e('Links the website to the publisher Facebook Page.', 'wd-fb-og');?>
|
292 |
+
</td>
|
293 |
+
</tr>
|
294 |
+
<tr class="fb_publisher_options">
|
295 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Publisher Facebook Page', 'wd-fb-og');?>:</th>
|
296 |
+
<td>
|
297 |
+
<input type="text" name="fb_publisher" id="fb_publisher" size="50" value="<?php echo trim(esc_attr($fb_publisher)); ?>"/>
|
298 |
+
<br/>
|
299 |
+
<?php _e('Full URL with http://', 'wd-fb-og');?>
|
300 |
+
</td>
|
301 |
+
</tr>
|
302 |
+
<tr>
|
303 |
+
<th scope="row"><i class="dashicons-before dashicons-twitter"></i><?php _e('Include Twitter Card Website Username tag', 'wd-fb-og');?>:</th>
|
304 |
+
<td>
|
305 |
+
<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();"/>
|
306 |
+
<br/>
|
307 |
+
<?php _e('Links the website to the website Twitter Username.', 'wd-fb-og');?>
|
308 |
+
</td>
|
309 |
+
</tr>
|
310 |
+
<tr class="fb_publisher_twitter_options">
|
311 |
+
<th scope="row"><i class="dashicons-before dashicons-twitter"></i><?php _e('Website Twitter Username', 'wd-fb-og');?>:</th>
|
312 |
+
<td>
|
313 |
+
<input type="text" name="fb_publisher_twitteruser" id="fb_publisher_twitteruser" size="20" value="<?php echo trim(esc_attr($fb_publisher_twitteruser)); ?>"/>
|
314 |
+
<br/>
|
315 |
+
<?php _e('Twitter username (without @)', 'wd-fb-og');?>
|
316 |
+
</td>
|
317 |
+
</tr>
|
318 |
+
<tr>
|
319 |
+
<td colspan="2"><hr/></td>
|
320 |
+
</tr>
|
321 |
+
|
322 |
+
<tr>
|
323 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Author Profile (article:author) tag', 'wd-fb-og');?></th>
|
324 |
+
<td>
|
325 |
+
<input type="checkbox" name="fb_author_show" id="fb_author_show" value="1" <?php echo (intval($fb_author_show)==1 ? ' checked="checked"' : ''); ?> onclick="showAuthorOptions();"/>
|
326 |
+
<br/>
|
327 |
+
<?php _e('Links the article to the author Facebook Profile. The user\'s Facebook profile URL must be filled in.', 'wd-fb-og');?>
|
328 |
+
</td>
|
329 |
+
</tr>
|
330 |
+
<tr class="fb_author_options">
|
331 |
+
<th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('Include Meta Author tag', 'wd-fb-og');?></th>
|
332 |
+
<td>
|
333 |
+
<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"' : ''); ?>/>
|
334 |
+
<br/>
|
335 |
+
<i><meta name="author" content="..."/></i>
|
336 |
+
<br/>
|
337 |
+
<?php _e('Sets the article author name', 'wd-fb-og');?>
|
338 |
+
</td>
|
339 |
+
</tr>
|
340 |
+
<tr class="fb_author_options">
|
341 |
+
<th scope="row"><i class="dashicons-before dashicons-googleplus"></i><?php _e('Include Google+ link rel "author" tag', 'wd-fb-og');?></th>
|
342 |
+
<td>
|
343 |
+
<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"' : ''); ?>/>
|
344 |
+
<br/>
|
345 |
+
<i><link rel="author" href="..."/></i>
|
346 |
+
<br/>
|
347 |
+
<?php _e('Links the article to the author Google+ Profile (authorship). The user\'s Google+ profile URL must be filled in.', 'wd-fb-og');?>
|
348 |
+
</td>
|
349 |
+
</tr>
|
350 |
+
<tr class="fb_author_options">
|
351 |
+
<th scope="row"><i class="dashicons-before dashicons-twitter"></i><?php _e('Include Twitter Card Creator tag', 'wd-fb-og');?></th>
|
352 |
+
<td>
|
353 |
+
<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"' : ''); ?>/>
|
354 |
+
<br/>
|
355 |
+
<i><meta name="twitter:creator" content="@..."/></i>
|
356 |
+
<br/>
|
357 |
+
<?php _e('Links the article to the author Twitter profile. The user\'s Twitter user must be filled in.', 'wd-fb-og');?>
|
358 |
+
</td>
|
359 |
+
</tr>
|
360 |
+
<tr>
|
361 |
+
<td colspan="2"><hr/></td>
|
362 |
+
</tr>
|
363 |
+
|
364 |
+
<tr>
|
365 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Description (og:description) tag', 'wd-fb-og');?></th>
|
366 |
<td>
|
367 |
<input type="checkbox" name="fb_desc_show" id="fb_desc_show" value="1" <?php echo (intval($fb_desc_show)==1 ? ' checked="checked"' : ''); ?> onclick="showDescriptionOptions();"/>
|
368 |
</td>
|
369 |
</tr>
|
370 |
<tr class="fb_description_options">
|
371 |
+
<th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('Include Meta Description tag', 'wd-fb-og');?></th>
|
372 |
<td>
|
373 |
<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"' : ''); ?>/>
|
374 |
<br/>
|
378 |
</td>
|
379 |
</tr>
|
380 |
<tr class="fb_description_options">
|
381 |
+
<th scope="row"><i class="dashicons-before dashicons-googleplus"></i><?php _e('Include Schema.org "itemprop" Description tag', 'wd-fb-og');?></th>
|
382 |
<td>
|
383 |
<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"' : ''); ?>/>
|
384 |
<br/>
|
388 |
</td>
|
389 |
</tr>
|
390 |
<tr class="fb_description_options">
|
391 |
+
<th scope="row"><i class="dashicons-before dashicons-twitter"></i><?php _e('Include Twitter Card Description tag', 'wd-fb-og');?></th>
|
392 |
+
<td>
|
393 |
+
<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"' : ''); ?>/>
|
394 |
+
<br/>
|
395 |
+
<i><meta name="twitter:description" content"..."/></i>
|
396 |
+
<br/>
|
397 |
+
<?php _e('Recommended for Twitter sharing purposes if no other plugin is setting it already', 'wd-fb-og');?>
|
398 |
+
</td>
|
399 |
+
</tr>
|
400 |
+
<tr class="fb_description_options">
|
401 |
+
<th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('Description maximum length', 'wd-fb-og');?>:</th>
|
402 |
<td>
|
403 |
<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,
|
404 |
<br/>
|
406 |
</td>
|
407 |
</tr>
|
408 |
<tr class="fb_description_options">
|
409 |
+
<th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('Homepage description', 'wd-fb-og');?>:</th>
|
410 |
<td>
|
411 |
<?php
|
412 |
$hide_home_description=false;
|
413 |
if (get_option('show_on_front')=='page') {
|
414 |
$hide_home_description=true;
|
415 |
_e('The description of your front page:', 'wd-fb-og');
|
416 |
+
echo ' <a href="'.get_edit_post_link(get_option('page_on_front')).'" target="_blank">'.get_the_title(get_option('page_on_front')).'</a>';
|
417 |
}; ?>
|
418 |
<div<?php if ($hide_home_description) echo ' style="display: none;"'; ?>><?php _e('Use', 'wd-fb-og');?>
|
419 |
<select name="fb_desc_homepage" id="fb_desc_homepage" onchange="showDescriptionCustomText();">
|
421 |
<option value="custom"<?php if (trim($fb_desc_homepage)=='custom') echo ' selected="selected"'; ?>><?php _e('Custom text', 'wd-fb-og');?> </option>
|
422 |
</select>
|
423 |
<div id="fb_desc_homepage_customtext_div">
|
424 |
+
<textarea name="fb_desc_homepage_customtext" id="fb_desc_homepage_customtext" rows="3" cols="50"><?php echo trim(esc_attr($fb_desc_homepage_customtext)); ?></textarea>
|
425 |
</div>
|
426 |
</div>
|
427 |
</td>
|
430 |
<td colspan="2"><hr/></td>
|
431 |
</tr>
|
432 |
<tr>
|
433 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Image (og:image) tag', 'wd-fb-og');?></th>
|
434 |
<td>
|
435 |
<input type="checkbox" name="fb_image_show" id="fb_image_show" value="1" <?php echo (intval($fb_image_show)==1 ? ' checked="checked"' : ''); ?> onclick="showImageOptions();"/>
|
436 |
<br/>
|
437 |
+
<?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');?>
|
438 |
</td>
|
439 |
</tr>
|
440 |
<tr class="fb_image_options">
|
441 |
+
<th scope="row"><i class="dashicons-before dashicons-googleplus"></i><?php _e('Include Schema.org "itemprop" Image tag', 'wd-fb-og');?></th>
|
442 |
<td>
|
443 |
<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"' : ''); ?>/>
|
444 |
<br/>
|
448 |
</td>
|
449 |
</tr>
|
450 |
<tr class="fb_image_options">
|
451 |
+
<th scope="row"><i class="dashicons-before dashicons-twitter"></i><?php _e('Include Twitter Card Image tag', 'wd-fb-og');?></th>
|
452 |
<td>
|
453 |
+
<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"' : ''); ?>/>
|
454 |
+
<br/>
|
455 |
+
<i><meta name="twitter:image:src" content="..."/></i>
|
456 |
+
<br/>
|
457 |
+
<?php _e('Recommended for Twitter sharing purposes if no other plugin is setting it already', 'wd-fb-og');?>
|
458 |
+
</td>
|
459 |
+
</tr>
|
460 |
+
<tr class="fb_image_options">
|
461 |
+
<th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('Default image', 'wd-fb-og');?>:</th>
|
462 |
+
<td>
|
463 |
+
<input type="text" name="fb_image" id="fb_image" size="50" value="<?php echo trim(esc_attr($fb_image)); ?>"/>
|
464 |
<input id="fb_image_button" class="button" type="button" value="Upload/Choose image" />
|
465 |
<br/>
|
466 |
<?php _e('Full URL with http://', 'wd-fb-og');?>
|
469 |
</td>
|
470 |
</tr>
|
471 |
<tr class="fb_image_options">
|
472 |
+
<th scope="row"><i class="dashicons-before dashicons-rss"></i><?php _e('Add image to RSS/RSS2 feeds', 'wd-fb-og');?></th>
|
473 |
<td>
|
474 |
<input type="checkbox" name="fb_image_rss" id="fb_image_rss" value="1" <?php echo (intval($fb_image_rss)==1 ? ' checked="checked"' : ''); ?> onclick="showImageOptions();"/>
|
475 |
<br/>
|
477 |
</td>
|
478 |
</tr>
|
479 |
<tr class="fb_image_options">
|
480 |
+
<th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('On posts/pages', 'wd-fb-og');?>:</th>
|
481 |
<td>
|
482 |
<div>
|
483 |
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"' : ''); ?>/>
|
501 |
</div>
|
502 |
</td>
|
503 |
</tr>
|
504 |
+
</table>
|
505 |
+
</div>
|
506 |
+
</div>
|
507 |
+
<div id="wonderm00n_open_graph-thirdparty" class="postbox">
|
508 |
+
<h3 id="thirdparty"><?php _e('3rd Party Integration', 'wd-fb-og');?></h3>
|
509 |
+
<div class="inside">
|
510 |
+
<?php
|
511 |
+
$thirdparty=false;
|
512 |
+
//WordPress SEO by Yoast
|
513 |
+
if ( defined('WPSEO_VERSION') ) {
|
514 |
+
$thirdparty=true;
|
515 |
+
?>
|
516 |
+
<hr/>
|
517 |
+
<a name="wpseo"></a>
|
518 |
+
<h4><a href="http://wordpress.org/plugins/wordpress-seo/" target="_blank">WordPress SEO by Yoast</a></h4>
|
519 |
+
<p><?php _e('It\'s HIGHLY recommended to go to <a href="admin.php?page=wpseo_social" target="_blank">SEO > 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>
|
520 |
+
<table width="100%" class="form-table">
|
521 |
<tr>
|
522 |
+
<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>
|
523 |
<td>
|
524 |
<input type="checkbox" name="fb_show_wpseoyoast" id="fb_show_wpseoyoast" value="1" <?php echo (intval($fb_show_wpseoyoast)==1 ? ' checked="checked"' : ''); ?>/>
|
|
|
|
|
525 |
</td>
|
526 |
</tr>
|
527 |
</table>
|
528 |
+
<?php
|
529 |
+
}
|
530 |
+
//SubHeading
|
531 |
+
if(is_plugin_active('subheading/index.php')) {
|
532 |
+
$thirdparty=true;
|
533 |
+
?>
|
534 |
+
<hr/>
|
535 |
+
<h4><a href="http://wordpress.org/extend/plugins/subheading/" target="_blank">SubHeading</a></h4>
|
536 |
+
<table width="100%" class="form-table">
|
537 |
<tr>
|
538 |
+
<th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('Add SubHeading to Post/Page title', 'wd-fb-og');?></th>
|
539 |
<td>
|
540 |
<input type="checkbox" name="fb_show_subheading" id="fb_show_subheading" value="1" <?php echo (intval($fb_show_subheading)==1 ? ' checked="checked"' : ''); ?>/>
|
541 |
</td>
|
542 |
</tr>
|
543 |
</table>
|
544 |
+
<?php
|
545 |
+
}
|
546 |
+
//Business Directory Plugin
|
547 |
+
if(is_plugin_active('business-directory-plugin/wpbusdirman.php')) {
|
548 |
+
$thirdparty=true;
|
549 |
+
?>
|
550 |
+
<hr/>
|
551 |
+
<h4><a href="http://wordpress.org/extend/plugins/business-directory-plugin/" target="_blank">Business Directory Plugin</a></h4>
|
552 |
+
<table width="100%" class="form-table">
|
553 |
<tr>
|
554 |
+
<th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('Use BDP listing contents as OG tags', 'wd-fb-og');?></th>
|
555 |
<td>
|
556 |
<input type="checkbox" name="fb_show_businessdirectoryplugin" id="fb_show_businessdirectoryplugin" value="1" <?php echo (intval($fb_show_businessdirectoryplugin)==1 ? ' checked="checked"' : ''); ?>/>
|
557 |
<br/>
|
558 |
+
<?php _e('Setting "Include URL", "Set Canonical URL", "Include Description" and "Include Image" options above is HIGHLY recommended', 'wd-fb-og');?>
|
559 |
</td>
|
560 |
</tr>
|
561 |
</table>
|
562 |
+
<?php
|
563 |
+
}
|
564 |
+
if (!$thirdparty) {
|
565 |
+
?>
|
566 |
+
<p><?php _e('You don\'t have any compatible 3rd Party plugin installed/active.', 'wd-fb-og');?></p>
|
567 |
+
<p><?php _e('This plugin is currently compatible with:', 'wd-fb-og');?></p>
|
568 |
+
<ul>
|
569 |
+
<li><a href="http://wordpress.org/extend/plugins/wordpress-seo/" target="_blank">WordPress SEO by Yoast</a></li>
|
570 |
+
<li><a href="http://wordpress.org/extend/plugins/subheading/" target="_blank">SubHeading</a></li>
|
571 |
+
<li><a href="http://wordpress.org/extend/plugins/business-directory-plugin/" target="_blank">Business Directory Plugin</a></li>
|
572 |
+
</ul>
|
573 |
+
<?php
|
574 |
+
}
|
575 |
+
?>
|
576 |
+
</div>
|
577 |
+
</div>
|
578 |
+
<p class="submit">
|
579 |
+
<input type="hidden" name="action" value="save"/>
|
580 |
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
|
581 |
</p>
|
582 |
+
</form>
|
583 |
+
</div>
|
584 |
+
</div>
|
585 |
+
|
586 |
+
<?php
|
587 |
+
$links[0]['text']=__('Test your URLs at Facebook URL Linter / Debugger', 'wd-fb-og');
|
588 |
+
$links[0]['url']='https://developers.facebook.com/tools/debug';
|
589 |
+
|
590 |
+
$links[5]['text']=__('Test (and request approval for) your URLs at Twitter Card validator', 'wd-fb-og');
|
591 |
+
$links[5]['url']='https://cards-dev.twitter.com/validator';
|
592 |
+
|
593 |
+
$links[10]['text']=__('About the Open Graph Protocol (on Facebook)', 'wd-fb-og');
|
594 |
+
$links[10]['url']='https://developers.facebook.com/docs/opengraph/';
|
595 |
|
596 |
+
$links[20]['text']=__('The Open Graph Protocol (official website)', 'wd-fb-og');
|
597 |
+
$links[20]['url']='http://ogp.me/';
|
598 |
|
599 |
+
$links[25]['text']=__('About Twitter Cards', 'wd-fb-og');
|
600 |
+
$links[25]['url']='hhttps://dev.twitter.com/cards/getting-started';
|
601 |
|
602 |
+
$links[30]['text']=__('Plugin official URL', 'wd-fb-og');
|
603 |
+
$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&utm_medium=link&utm_campaign=fb_og_wp_plugin';
|
604 |
|
605 |
+
$links[40]['text']=__('Author\'s website: Webdados', 'wd-fb-og');
|
606 |
+
$links[40]['url']='http://www.webdados.pt/?utm_source=fb_og_wp_plugin_settings&utm_medium=link&utm_campaign=fb_og_wp_plugin';
|
607 |
|
608 |
+
$links[50]['text']=__('Author\'s Facebook page: Webdados', 'wd-fb-og');
|
609 |
+
$links[50]['url']='http://www.facebook.com/Webdados';
|
610 |
|
611 |
+
$links[60]['text']=__('Author\'s Twitter account: @Wonderm00n<br/>(Webdados founder)', 'wd-fb-og');
|
612 |
+
$links[60]['url']='http://twitter.com/wonderm00n';
|
613 |
+
?>
|
614 |
+
<div class="postbox-container og_right_col">
|
615 |
+
|
616 |
+
<div id="poststuff">
|
617 |
+
<div id="wonderm00n_open_graph_links" class="postbox">
|
618 |
+
<h3 id="settings"><?php _e('Rate this plugin', 'wd-fb-og');?></h3>
|
619 |
+
<div class="inside">
|
620 |
+
<?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>.
|
621 |
+
</div>
|
622 |
+
</div>
|
623 |
+
</div>
|
624 |
|
625 |
+
<div id="poststuff">
|
626 |
+
<div id="wonderm00n_open_graph_links" class="postbox">
|
627 |
+
<h3 id="settings"><?php _e('Useful links', 'wd-fb-og');?></h3>
|
628 |
+
<div class="inside">
|
629 |
+
<ul>
|
630 |
+
<?php foreach($links as $link) { ?>
|
631 |
+
<li>- <a href="<?php echo $link['url']; ?>" target="_blank"><?php echo $link['text']; ?></a></li>
|
632 |
+
<?php } ?>
|
633 |
+
</ul>
|
634 |
+
</div>
|
635 |
+
</div>
|
636 |
+
</div>
|
637 |
+
|
638 |
+
<div id="poststuff">
|
639 |
+
<div id="wonderm00n_open_graph_donation" class="postbox">
|
640 |
+
<h3 id="settings"><?php _e('Donate', 'wd-fb-og');?></h3>
|
641 |
+
<div class="inside">
|
642 |
+
<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>
|
643 |
+
<center><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
|
644 |
<input type="hidden" name="cmd" value="_donations">
|
645 |
<input type="hidden" name="business" value="wonderm00n@gmail.com">
|
646 |
<input type="hidden" name="lc" value="PT">
|
651 |
<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!">
|
652 |
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
|
653 |
</form></center>
|
654 |
+
</div>
|
655 |
+
</div>
|
656 |
+
</div>
|
657 |
+
|
658 |
+
</div>
|
659 |
+
|
660 |
+
<div class="clear">
|
661 |
+
<p><br/>© 2011<?php if(date('Y')>2011) echo '-'.date('Y'); ?> <a href="http://www.webdados.pt/?utm_source=fb_og_wp_plugin_settings&utm_medium=link&utm_campaign=fb_og_wp_plugin" target="_blank">Webdados</a> & <a href="http://wonderm00n.com/?utm_source=fb_og_wp_plugin_settings&utm_medium=link&utm_campaign=fb_og_wp_plugin" target="_blank">Marco Almeida (Wonderm00n)</a></p>
|
662 |
+
</div>
|
663 |
|
664 |
</div>
|
665 |
|
677 |
showAdminOptions();
|
678 |
showLocaleOptions();
|
679 |
showTypeOptions();
|
680 |
+
showPublisherOptions();
|
681 |
+
showPublisherTwitterOptions();
|
682 |
+
showAuthorOptions();
|
683 |
showUrlOptions();
|
684 |
showUrlTrail();
|
685 |
jQuery('.fb_description_options').hide();
|
711 |
}
|
712 |
}
|
713 |
function showUrlOptions() {
|
714 |
+
/*if (jQuery('#fb_url_show').is(':checked')) {
|
715 |
jQuery('.fb_url_options').show();
|
716 |
} else {
|
717 |
jQuery('.fb_url_options').hide();
|
718 |
+
}*/
|
719 |
+
jQuery('.fb_url_options').show();
|
720 |
}
|
721 |
function showUrlTrail() {
|
722 |
if (jQuery('#fb_url_add_trailing').is(':checked')) {
|
732 |
jQuery('.fb_type_options').hide();
|
733 |
}
|
734 |
}
|
735 |
+
function showAuthorOptions() {
|
736 |
+
/*if (jQuery('#fb_author_show').is(':checked')) {
|
737 |
+
jQuery('.fb_author_options').show();
|
738 |
+
} else {
|
739 |
+
jQuery('.fb_author_options').hide();
|
740 |
+
}*/
|
741 |
+
jQuery('.fb_author_options').show();
|
742 |
+
}
|
743 |
+
function showPublisherOptions() {
|
744 |
+
if (jQuery('#fb_publisher_show').is(':checked')) {
|
745 |
+
jQuery('.fb_publisher_options').show();
|
746 |
+
} else {
|
747 |
+
jQuery('.fb_publisher_options').hide();
|
748 |
+
}
|
749 |
+
}
|
750 |
+
function showPublisherTwitterOptions() {
|
751 |
+
if (jQuery('#fb_publisher_show_twitter').is(':checked')) {
|
752 |
+
jQuery('.fb_publisher_twitter_options').show();
|
753 |
+
} else {
|
754 |
+
jQuery('.fb_publisher_twitter_options').hide();
|
755 |
+
}
|
756 |
+
}
|
757 |
+
function showTypeOptions() {
|
758 |
+
if (jQuery('#fb_author_show').is(':checked')) {
|
759 |
+
jQuery('.fb_author_options').show();
|
760 |
+
} else {
|
761 |
+
jQuery('.fb_author_options').hide();
|
762 |
+
}
|
763 |
+
}
|
764 |
function showDescriptionOptions() {
|
765 |
+
/*if (jQuery('#fb_desc_show').is(':checked')) {
|
766 |
jQuery('.fb_description_options').show();
|
767 |
} else {
|
768 |
jQuery('.fb_description_options').hide();
|
769 |
+
}*/
|
770 |
+
jQuery('.fb_description_options').show();
|
771 |
}
|
772 |
function showTitleOptions() {
|
773 |
+
/*if (jQuery('#fb_title_show').is(':checked')) {
|
774 |
jQuery('.fb_title_options').show();
|
775 |
} else {
|
776 |
jQuery('.fb_title_options').hide();
|
777 |
+
}*/
|
778 |
+
jQuery('.fb_title_options').show(); //Not exclusive
|
779 |
}
|
780 |
function showDescriptionCustomText() {
|
781 |
if (jQuery('#fb_desc_homepage').val()=='custom') {
|
785 |
}
|
786 |
}
|
787 |
function showImageOptions() {
|
788 |
+
/*if (jQuery('#fb_image_show').is(':checked')) {
|
789 |
jQuery('.fb_image_options').show();
|
790 |
} else {
|
791 |
jQuery('.fb_image_options').hide();
|
792 |
+
}*/
|
793 |
+
jQuery('.fb_image_options').show();
|
794 |
}
|
795 |
</script>
|
796 |
<style type="text/css">
|
797 |
+
.og_left_col {
|
798 |
+
width: 69%;
|
799 |
+
}
|
800 |
+
.og_right_col {
|
801 |
+
width: 29%;
|
802 |
+
float: right;
|
803 |
+
}
|
804 |
+
.og_left_col #poststuff,
|
805 |
+
.og_right_col #poststuff {
|
806 |
+
min-width: 0;
|
807 |
+
}
|
808 |
+
table.form-table tr th,
|
809 |
+
table.form-table tr td {
|
810 |
+
line-height: 1.5;
|
811 |
+
}
|
812 |
+
table.form-table tr th {
|
813 |
font-weight: bold;
|
814 |
}
|
815 |
+
table.form-table tr th[scope=row] {
|
816 |
+
min-width: 300px;
|
817 |
+
}
|
818 |
+
table.form-table tr td hr {
|
819 |
height: 1px;
|
820 |
+
margin: 0px;
|
821 |
+
background-color: #DFDFDF;
|
822 |
+
border: none;
|
823 |
+
}
|
824 |
+
table.form-table .dashicons-before {
|
825 |
+
margin-right: 10px;
|
826 |
+
font-size: 12px;
|
827 |
+
opacity: 0.5;
|
828 |
+
}
|
829 |
+
table.form-table .dashicons-facebook-alt {
|
830 |
+
color: #3B5998;
|
831 |
+
}
|
832 |
+
table.form-table .dashicons-googleplus {
|
833 |
+
color: #D34836;
|
834 |
+
}
|
835 |
+
table.form-table .dashicons-twitter {
|
836 |
+
color: #55ACEE;
|
837 |
+
}
|
838 |
+
table.form-table .dashicons-rss {
|
839 |
+
color: #FF6600;
|
840 |
+
}
|
841 |
+
table.form-table .dashicons-admin-site {
|
842 |
+
color: #666;
|
843 |
}
|
844 |
</style>
|
lang/wd-fb-og-pt_PT.mo
CHANGED
Binary file
|
lang/wd-fb-og-pt_PT.po
CHANGED
@@ -1,26 +1,27 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Facebook Open Graph Meta Tags for WordPress v1.1.2\n"
|
4 |
-
"Report-Msgid-Bugs-To:
|
5 |
-
"
|
6 |
-
"
|
|
|
7 |
"Last-Translator: Wonderm00n <wonderm00n@gmail.com>\n"
|
8 |
"Language-Team: Webdados <info@webdados.pt>\n"
|
|
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
-
"X-Generator: Poedit 1.6.
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
16 |
"_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"
|
17 |
"X-Poedit-Basepath: ../\n"
|
18 |
"X-Textdomain-Support: yes\n"
|
19 |
-
"Language: pt_PT\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
|
22 |
# @ wd-fb-og
|
23 |
-
#: includes/settings-page.php:
|
24 |
msgid ""
|
25 |
"Please set some default values and which tags should, or should not, be "
|
26 |
"included. It may be necessary to exclude some tags if other plugins are "
|
@@ -31,89 +32,89 @@ msgstr ""
|
|
31 |
"estão a incluir."
|
32 |
|
33 |
# @ wd-fb-og
|
34 |
-
#: includes/settings-page.php:
|
35 |
-
msgid "Include Facebook Platform App ID (fb:app_id) tag
|
36 |
-
msgstr "Incluir tag \"Facebook Platform App ID\" (fb:app_id)
|
37 |
|
38 |
# @ wd-fb-og
|
39 |
-
#: includes/settings-page.php:
|
40 |
msgid "Facebook Platform App ID"
|
41 |
msgstr "Facebook Platform App ID"
|
42 |
|
43 |
# @ wd-fb-og
|
44 |
-
#: includes/settings-page.php:
|
45 |
-
msgid "Include Facebook Admin(s) ID (fb:admins) tag
|
46 |
-
msgstr "
|
47 |
|
48 |
# @ wd-fb-og
|
49 |
-
#: includes/settings-page.php:
|
50 |
msgid "Facebook Admin(s) ID"
|
51 |
msgstr "ID do(s) Admin(s) no Facebook"
|
52 |
|
53 |
# @ wd-fb-og
|
54 |
-
#: includes/settings-page.php:
|
55 |
msgid "Comma separated if more than one"
|
56 |
msgstr "Separados por vírgulas se mais do que um"
|
57 |
|
58 |
# @ wd-fb-og
|
59 |
-
#: includes/settings-page.php:
|
60 |
-
msgid "Include locale (fb:locale) tag
|
61 |
-
msgstr "Incluir tag \"Locale\" (fb:locale)
|
62 |
|
63 |
# @ wd-fb-og
|
64 |
-
#: includes/settings-page.php:
|
65 |
msgid "Locale"
|
66 |
msgstr "Locale"
|
67 |
|
68 |
# @ wd-fb-og
|
69 |
-
#: includes/settings-page.php:
|
70 |
msgid "WordPress current locale/language"
|
71 |
msgstr "O \"locale\"/idíoma actual do WordPress"
|
72 |
|
73 |
# @ wd-fb-og
|
74 |
-
#: includes/settings-page.php:
|
75 |
msgid "List loaded from Facebook (online)"
|
76 |
msgstr "Lista carregada do Facebook (online)"
|
77 |
|
78 |
# @ wd-fb-og
|
79 |
-
#: includes/settings-page.php:
|
80 |
msgid "List loaded from local cache (offline)"
|
81 |
msgstr "Lista carregada da cache local (offline)"
|
82 |
|
83 |
# @ wd-fb-og
|
84 |
-
#: includes/settings-page.php:
|
85 |
msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
|
86 |
msgstr ""
|
87 |
"Vai perder quaisquer modificações que não tenha gravado. Tem a certeza?"
|
88 |
|
89 |
# @ wd-fb-og
|
90 |
-
#: includes/settings-page.php:
|
91 |
msgid "Reload from Facebook"
|
92 |
msgstr "(Re)carregar a partir do Facebook"
|
93 |
|
94 |
# @ wd-fb-og
|
95 |
-
#: includes/settings-page.php:
|
96 |
msgid "List not loaded"
|
97 |
msgstr "Lista não carregada"
|
98 |
|
99 |
# @ wd-fb-og
|
100 |
-
#: includes/settings-page.php:
|
101 |
-
msgid "Include Site Name (og:site_name) tag
|
102 |
-
msgstr "Incluir tag Nome do site (og:site_name)
|
103 |
|
104 |
# @ wd-fb-og
|
105 |
-
#: includes/settings-page.php:
|
106 |
-
msgid "Include Post/Page title (og:title) tag
|
107 |
-
msgstr "Incluir tag Título do artigo/página (og:title)
|
108 |
|
109 |
# @ wd-fb-og
|
110 |
-
#: includes/settings-page.php:
|
111 |
-
msgid "
|
112 |
-
msgstr "Incluir
|
113 |
|
114 |
# @ wd-fb-og
|
115 |
-
#: includes/settings-page.php:
|
116 |
-
#: includes/settings-page.php:
|
117 |
msgid ""
|
118 |
"Recommended for Google+ sharing purposes if no other plugin is setting it "
|
119 |
"already"
|
@@ -122,33 +123,51 @@ msgstr ""
|
|
122 |
"está a definir"
|
123 |
|
124 |
# @ wd-fb-og
|
125 |
-
#: includes/settings-page.php:
|
126 |
-
msgid "Include
|
127 |
-
msgstr "Incluir tag
|
128 |
|
129 |
# @ wd-fb-og
|
130 |
-
#: includes/settings-page.php:
|
131 |
-
|
132 |
-
|
|
|
|
|
|
|
|
|
|
|
133 |
|
134 |
# @ wd-fb-og
|
135 |
-
#: includes/settings-page.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
msgid "Add trailing slash at the end"
|
137 |
msgstr "Adicionar barra invertida no final"
|
138 |
|
139 |
# @ wd-fb-og
|
140 |
-
#: includes/settings-page.php:
|
141 |
msgid "On the homepage will be"
|
142 |
msgstr "Na página inicial será"
|
143 |
|
144 |
# @ wd-fb-og
|
145 |
-
#: includes/settings-page.php:
|
146 |
-
msgid "
|
147 |
-
msgstr "Incluir tag
|
|
|
|
|
|
|
|
|
|
|
148 |
|
149 |
# @ wd-fb-og
|
150 |
-
#: includes/settings-page.php:
|
151 |
-
#, php-format
|
152 |
msgid ""
|
153 |
"Will be \"%1$s\" for posts and pages and \"%2$s\" or \"%3$s\"; for the "
|
154 |
"homepage"
|
@@ -157,114 +176,206 @@ msgstr ""
|
|
157 |
"inicial"
|
158 |
|
159 |
# @ wd-fb-og
|
160 |
-
#: includes/settings-page.php:
|
161 |
msgid "Homepage type"
|
162 |
msgstr "Tipo para a página inicial"
|
163 |
|
164 |
# @ wd-fb-og
|
165 |
-
#: includes/settings-page.php:
|
166 |
msgid "Use"
|
167 |
msgstr "Utilizar"
|
168 |
|
169 |
# @ wd-fb-og
|
170 |
-
#: includes/settings-page.php:
|
171 |
-
msgid "Include
|
172 |
-
msgstr "Incluir tag
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
|
174 |
# @ wd-fb-og
|
175 |
-
#: includes/settings-page.php:
|
176 |
-
msgid "
|
177 |
-
msgstr "Incluir
|
178 |
|
179 |
# @ wd-fb-og
|
180 |
-
#: includes/settings-page.php:
|
181 |
msgid "Recommended for SEO purposes if no other plugin is setting it already"
|
182 |
msgstr ""
|
183 |
"Recomendado para efeitos de Optimização para Motores de Busca, se outro "
|
184 |
"plugin ainda não a está a definir"
|
185 |
|
186 |
# @ wd-fb-og
|
187 |
-
#: includes/settings-page.php:
|
188 |
-
msgid "
|
189 |
-
msgstr "Incluir
|
190 |
|
191 |
# @ wd-fb-og
|
192 |
-
#: includes/settings-page.php:
|
|
|
|
|
|
|
|
|
|
|
193 |
msgid "Description maximum length"
|
194 |
msgstr "Comprimento máximo da descrição"
|
195 |
|
196 |
# @ wd-fb-og
|
197 |
-
#: includes/settings-page.php:
|
198 |
msgid "0 or blank for no maximum length"
|
199 |
msgstr "0 ou em branco para não definir máximo"
|
200 |
|
201 |
# @ wd-fb-og
|
202 |
-
#: includes/settings-page.php:
|
203 |
msgid "Homepage description"
|
204 |
msgstr "Descrição da página inicial"
|
205 |
|
206 |
# @ wd-fb-og
|
207 |
-
#: includes/settings-page.php:
|
|
|
|
|
|
|
|
|
|
|
208 |
msgid "Website tagline"
|
209 |
msgstr "Descrição do site"
|
210 |
|
211 |
# @ wd-fb-og
|
212 |
-
#: includes/settings-page.php:
|
213 |
msgid "Custom text"
|
214 |
msgstr "Texto personalizado"
|
215 |
|
216 |
# @ wd-fb-og
|
217 |
-
#: includes/settings-page.php:
|
218 |
-
msgid "Include Image (og:image) tag
|
219 |
-
msgstr "Incluir tag Imagem (og:image)
|
220 |
|
221 |
# @ wd-fb-og
|
222 |
-
#: includes/settings-page.php:
|
223 |
msgid ""
|
224 |
"All images MUST have at least 200px on both dimensions in order to Facebook "
|
225 |
-
"to load them at all
|
|
|
226 |
msgstr ""
|
227 |
"Todas as imagens TÊM de ter pelo menos 200px em ambas as dimensões para que "
|
228 |
-
"o Facebook as carregue
|
|
|
229 |
|
230 |
# @ wd-fb-og
|
231 |
-
#: includes/settings-page.php:
|
232 |
-
msgid "
|
233 |
-
msgstr "Incluir
|
234 |
|
235 |
# @ wd-fb-og
|
236 |
-
#: includes/settings-page.php:
|
237 |
-
msgid "
|
238 |
-
msgstr "Imagem
|
239 |
|
240 |
# @ wd-fb-og
|
241 |
-
#: includes/settings-page.php:
|
242 |
-
msgid "
|
243 |
-
msgstr "
|
244 |
|
245 |
# @ wd-fb-og
|
246 |
-
#: includes/settings-page.php:
|
247 |
msgid "Recommended size: 1200x630px"
|
248 |
msgstr "Tamanho recomendado: 1200x630px"
|
249 |
|
250 |
# @ wd-fb-og
|
251 |
-
#: includes/settings-page.php:
|
252 |
-
msgid "
|
253 |
-
msgstr "Incluir
|
254 |
|
255 |
# @ wd-fb-og
|
256 |
-
#: includes/settings-page.php:
|
257 |
msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
|
258 |
msgstr ""
|
259 |
"Para aplicação de posts automáticos como o RSS Graffitti, twitterfeed, etc..."
|
260 |
|
261 |
# @ wd-fb-og
|
262 |
-
#: includes/settings-page.php:
|
263 |
msgid "On posts/pages"
|
264 |
msgstr "Nos artigos/páginas"
|
265 |
|
266 |
# @ wd-fb-og
|
267 |
-
#: includes/settings-page.php:
|
268 |
msgid ""
|
269 |
"Image will be fetched from the specific \"Open Graph Image\" custom field on "
|
270 |
"the post"
|
@@ -273,7 +384,7 @@ msgstr ""
|
|
273 |
"no artigo"
|
274 |
|
275 |
# @ wd-fb-og
|
276 |
-
#: includes/settings-page.php:
|
277 |
msgid ""
|
278 |
"If it's not set, image will be fetched from post/page featured/thumbnail "
|
279 |
"picture"
|
@@ -282,120 +393,154 @@ msgstr ""
|
|
282 |
"página"
|
283 |
|
284 |
# @ wd-fb-og
|
285 |
-
#: includes/settings-page.php:
|
286 |
msgid "If it doesn't exist, use the first image from the post/page content"
|
287 |
msgstr ""
|
288 |
"Se não existir, será utilizada a primeira imagem no conteúdo do artigo/página"
|
289 |
|
290 |
# @ wd-fb-og
|
291 |
-
#: includes/settings-page.php:
|
292 |
msgid "If it doesn't exist, use first image from the post/page media gallery"
|
293 |
msgstr ""
|
294 |
"Se não existir, será usada a primeira imagem na galeria multimédia do artigo/"
|
295 |
"página"
|
296 |
|
297 |
# @ wd-fb-og
|
298 |
-
#: includes/settings-page.php:
|
299 |
msgid "If it doesn't exist, use the default image above"
|
300 |
msgstr "Se não existir, utilizar a imagem por omissão em cima"
|
301 |
|
302 |
# @ wd-fb-og
|
303 |
-
#: includes/settings-page.php:
|
304 |
msgid "3rd Party Integration"
|
305 |
msgstr "Integração com outros plugins"
|
306 |
|
307 |
# @ wd-fb-og
|
308 |
-
#: includes/settings-page.php:
|
309 |
-
msgid "
|
310 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
311 |
|
312 |
# @ wd-fb-og
|
313 |
-
#: includes/settings-page.php:
|
314 |
-
msgid "Use
|
315 |
-
msgstr "Utilizar
|
316 |
|
317 |
# @ wd-fb-og
|
318 |
-
#: includes/settings-page.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
319 |
msgid ""
|
320 |
-
"Setting \"Include URL\", \"
|
321 |
-
"
|
322 |
msgstr ""
|
323 |
-
"Activar as opções \"Incluir tag URL (og:url)\", \"Incluir
|
324 |
-
"
|
325 |
-
"
|
326 |
|
327 |
# @ wd-fb-og
|
328 |
-
#: includes/settings-page.php:
|
329 |
msgid "You don't have any compatible 3rd Party plugin installed/active."
|
330 |
msgstr "Não tem nenhum plugin compatível instalado/activo."
|
331 |
|
332 |
# @ wd-fb-og
|
333 |
-
#: includes/settings-page.php:
|
334 |
msgid "This plugin is currently compatible with:"
|
335 |
msgstr "Este plugin é actualmente compatível com:"
|
336 |
|
337 |
# @ wd-fb-og
|
338 |
-
#: includes/settings-page.php:
|
339 |
msgid "Test your URLs at Facebook URL Linter / Debugger"
|
340 |
msgstr "Teste os seus URLs no \"Facebook URL Linter / Debugger\""
|
341 |
|
|
|
|
|
|
|
|
|
342 |
# @ wd-fb-og
|
343 |
-
#: includes/settings-page.php:
|
344 |
msgid "About the Open Graph Protocol (on Facebook)"
|
345 |
msgstr "Sobre o Protocolo Open Graph (no Facebook)"
|
346 |
|
347 |
# @ wd-fb-og
|
348 |
-
#: includes/settings-page.php:
|
349 |
msgid "The Open Graph Protocol (official website)"
|
350 |
msgstr "O Protocolo Open Graph (website oficial)"
|
351 |
|
|
|
|
|
|
|
|
|
352 |
# @ wd-fb-og
|
353 |
-
#: includes/settings-page.php:
|
354 |
msgid "Plugin official URL"
|
355 |
msgstr "URL oficial do plugin"
|
356 |
|
357 |
# @ wd-fb-og
|
358 |
-
#: includes/settings-page.php:
|
359 |
msgid "Author's website: Webdados"
|
360 |
msgstr "Website do autor: Webdados"
|
361 |
|
362 |
# @ wd-fb-og
|
363 |
-
#: includes/settings-page.php:
|
364 |
msgid "Author's Facebook page: Webdados"
|
365 |
msgstr "Página Facebook do autor: Webdados"
|
366 |
|
367 |
# @ wd-fb-og
|
368 |
-
#: includes/settings-page.php:
|
369 |
msgid "Author's Twitter account: @Wonderm00n<br/>(Webdados founder)"
|
370 |
msgstr "Conta Twitter do autor: @Wonderm00n<br/>(fundador da Webdados)"
|
371 |
|
372 |
# @ wd-fb-og
|
373 |
-
#: includes/settings-page.php:
|
374 |
msgid "Rate this plugin"
|
375 |
msgstr "Avalie este plugin"
|
376 |
|
377 |
# @ wd-fb-og
|
378 |
-
#: includes/settings-page.php:
|
379 |
msgid "If you like this plugin,"
|
380 |
msgstr "Se gosta deste plugin,"
|
381 |
|
382 |
# @ wd-fb-og
|
383 |
-
#: includes/settings-page.php:
|
384 |
msgid "please give it a high Rating"
|
385 |
msgstr "dê-lhe uma nota elevada"
|
386 |
|
387 |
# @ wd-fb-og
|
388 |
-
#: includes/settings-page.php:
|
389 |
msgid "Useful links"
|
390 |
msgstr "Links úteis"
|
391 |
|
392 |
# @ wd-fb-og
|
393 |
-
#: includes/settings-page.php:
|
394 |
msgid "Donate"
|
395 |
msgstr "Doar"
|
396 |
|
397 |
# @ wd-fb-og
|
398 |
-
#: includes/settings-page.php:
|
399 |
msgid ""
|
400 |
"If you find this plugin useful and want to make a contribution towards "
|
401 |
"future development please consider making a small, or big ;-), donation."
|
@@ -405,40 +550,67 @@ msgstr ""
|
|
405 |
"doação."
|
406 |
|
407 |
# @ wd-fb-og
|
408 |
-
#: wonderm00n-open-graph.php:
|
409 |
msgid "Use this image:"
|
410 |
msgstr "Utilizar esta imagem:"
|
411 |
|
412 |
# @ wd-fb-og
|
413 |
-
#: wonderm00n-open-graph.php:
|
414 |
msgid "Upload/Choose Open Graph Image"
|
415 |
msgstr "Carregar/Escolher Imagem Open Graph"
|
416 |
|
417 |
# @ wd-fb-og
|
418 |
-
#: wonderm00n-open-graph.php:
|
|
|
|
|
|
|
|
|
|
|
419 |
msgid "Use as Image Open Graph Tag"
|
420 |
msgstr "Utilizar como Imagem Open Graph"
|
421 |
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
msgstr "Utilizar título, url (canónico) e descrição do WPSEO?"
|
426 |
|
427 |
-
|
428 |
-
|
|
|
|
|
|
|
429 |
msgid ""
|
430 |
-
"
|
431 |
-
"
|
432 |
msgstr ""
|
433 |
-
"
|
434 |
-
"
|
|
|
435 |
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
msgstr "Limpar campo"
|
440 |
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Facebook Open Graph Meta Tags for WordPress v1.1.2\n"
|
4 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wonderm00ns-simple-"
|
5 |
+
"facebook-open-graph-tags\n"
|
6 |
+
"POT-Creation-Date: 2014-11-28 16:36:48+00:00\n"
|
7 |
+
"PO-Revision-Date: 2014-11-28 17:02-0000\n"
|
8 |
"Last-Translator: Wonderm00n <wonderm00n@gmail.com>\n"
|
9 |
"Language-Team: Webdados <info@webdados.pt>\n"
|
10 |
+
"Language: pt_PT\n"
|
11 |
"MIME-Version: 1.0\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.6.10\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:76
|
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:90
|
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:96
|
41 |
msgid "Facebook Platform App ID"
|
42 |
msgstr "Facebook Platform App ID"
|
43 |
|
44 |
# @ wd-fb-og
|
45 |
+
#: includes/settings-page.php:105
|
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:111
|
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:115
|
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:122
|
61 |
+
msgid "Include locale (fb:locale) tag"
|
62 |
+
msgstr "Incluir tag \"Locale\" (fb:locale)"
|
63 |
|
64 |
# @ wd-fb-og
|
65 |
+
#: includes/settings-page.php:128
|
66 |
msgid "Locale"
|
67 |
msgstr "Locale"
|
68 |
|
69 |
# @ wd-fb-og
|
70 |
+
#: includes/settings-page.php:131
|
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:182
|
76 |
msgid "List loaded from Facebook (online)"
|
77 |
msgstr "Lista carregada do Facebook (online)"
|
78 |
|
79 |
# @ wd-fb-og
|
80 |
+
#: includes/settings-page.php:185
|
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:185
|
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:185
|
92 |
msgid "Reload from Facebook"
|
93 |
msgstr "(Re)carregar a partir do Facebook"
|
94 |
|
95 |
# @ wd-fb-og
|
96 |
+
#: includes/settings-page.php:187
|
97 |
msgid "List not loaded"
|
98 |
msgstr "Lista não carregada"
|
99 |
|
100 |
# @ wd-fb-og
|
101 |
+
#: includes/settings-page.php:197
|
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:206
|
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:212
|
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:218 includes/settings-page.php:387
|
117 |
+
#: includes/settings-page.php:447
|
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:222
|
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:228 includes/settings-page.php:397
|
132 |
+
#: includes/settings-page.php:457
|
133 |
+
msgid ""
|
134 |
+
"Recommended for Twitter sharing purposes if no other plugin is setting it "
|
135 |
+
"already"
|
136 |
+
msgstr ""
|
137 |
+
"Recomendado para efeitos de partilha no Twitter, se outro plugin ainda não a "
|
138 |
+
"está a definir"
|
139 |
|
140 |
# @ wd-fb-og
|
141 |
+
#: includes/settings-page.php:235
|
142 |
+
msgid "Include URL (og:url) tag"
|
143 |
+
msgstr "Incluir tag URL (og:url)"
|
144 |
+
|
145 |
+
#: includes/settings-page.php:241
|
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:247
|
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:251
|
156 |
msgid "On the homepage will be"
|
157 |
msgstr "Na página inicial será"
|
158 |
|
159 |
# @ wd-fb-og
|
160 |
+
#: includes/settings-page.php:255
|
161 |
+
msgid "Set Canonical URL"
|
162 |
+
msgstr "Incluir a tag URL Canónico"
|
163 |
+
|
164 |
+
# @ wd-fb-og
|
165 |
+
#: includes/settings-page.php:266
|
166 |
+
msgid "Include Type (og:type) tag"
|
167 |
+
msgstr "Incluir tag Tipo (og:type)"
|
168 |
|
169 |
# @ wd-fb-og
|
170 |
+
#: includes/settings-page.php:270
|
|
|
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:274
|
180 |
msgid "Homepage type"
|
181 |
msgstr "Tipo para a página inicial"
|
182 |
|
183 |
# @ wd-fb-og
|
184 |
+
#: includes/settings-page.php:276 includes/settings-page.php:418
|
185 |
msgid "Use"
|
186 |
msgstr "Utilizar"
|
187 |
|
188 |
# @ wd-fb-og
|
189 |
+
#: includes/settings-page.php:287
|
190 |
+
msgid "Include Publisher Page (article:publisher) tag"
|
191 |
+
msgstr "Incluir tag Título do artigo/página (og:title)"
|
192 |
+
|
193 |
+
#: includes/settings-page.php:291
|
194 |
+
msgid "Links the website to the publisher Facebook Page."
|
195 |
+
msgstr "Associa o website à Página Facebook do mesmo"
|
196 |
+
|
197 |
+
#: includes/settings-page.php:295
|
198 |
+
msgid "Publisher Facebook Page"
|
199 |
+
msgstr "Página de Facebook do Website"
|
200 |
+
|
201 |
+
# @ wd-fb-og
|
202 |
+
#: includes/settings-page.php:299 includes/settings-page.php:466
|
203 |
+
msgid "Full URL with http://"
|
204 |
+
msgstr "URL completo com http://"
|
205 |
+
|
206 |
+
# @ wd-fb-og
|
207 |
+
#: includes/settings-page.php:303
|
208 |
+
msgid "Include Twitter Card Website Username tag"
|
209 |
+
msgstr "Incluir tag Username Twitter do Website do \"Twitter Card\""
|
210 |
+
|
211 |
+
#: includes/settings-page.php:307
|
212 |
+
msgid "Links the website to the website Twitter Username."
|
213 |
+
msgstr "Associa o website ao Username Twitter do mesmo"
|
214 |
+
|
215 |
+
#: includes/settings-page.php:311
|
216 |
+
msgid "Website Twitter Username"
|
217 |
+
msgstr "Utilizador Twitter do Website"
|
218 |
+
|
219 |
+
#: includes/settings-page.php:315 wonderm00n-open-graph.php:671
|
220 |
+
msgid "Twitter username (without @)"
|
221 |
+
msgstr "Utilizador do Twitter (sem @)"
|
222 |
+
|
223 |
+
#: includes/settings-page.php:323
|
224 |
+
msgid "Include Author Profile (article:author) tag"
|
225 |
+
msgstr "Incluir tag \"Autor do artigo\" (article:author)"
|
226 |
+
|
227 |
+
#: includes/settings-page.php:327
|
228 |
+
msgid ""
|
229 |
+
"Links the article to the author Facebook Profile. The user's Facebook "
|
230 |
+
"profile URL must be filled in."
|
231 |
+
msgstr ""
|
232 |
+
"Associa o artigo ao perfil Facebook do autor do mesmo. O URL de Perfil "
|
233 |
+
"Facebook do utilizador tem de estar preenchido."
|
234 |
+
|
235 |
+
# @ wd-fb-og
|
236 |
+
#: includes/settings-page.php:331
|
237 |
+
msgid "Include Meta Author tag"
|
238 |
+
msgstr "Incluir a tag \"Meta Description\"?"
|
239 |
+
|
240 |
+
#: includes/settings-page.php:337
|
241 |
+
msgid "Sets the article author name"
|
242 |
+
msgstr "Define o nome do autor do artigo"
|
243 |
+
|
244 |
+
#: includes/settings-page.php:341
|
245 |
+
msgid "Include Google+ link rel \"author\" tag"
|
246 |
+
msgstr "Incluir tag \"Google+ link rel author\""
|
247 |
+
|
248 |
+
#: includes/settings-page.php:347
|
249 |
+
msgid ""
|
250 |
+
"Links the article to the author Google+ Profile (authorship). The user's "
|
251 |
+
"Google+ profile URL must be filled in."
|
252 |
+
msgstr ""
|
253 |
+
"Associa o artigo ao perfil Google+ do autor do mesmo. O URL de Perfil Google"
|
254 |
+
"+ do utilizador tem de estar preenchido."
|
255 |
+
|
256 |
+
#: includes/settings-page.php:351
|
257 |
+
msgid "Include Twitter Card Creator tag"
|
258 |
+
msgstr "Incluir tag Autor do \"Twitter Card\""
|
259 |
+
|
260 |
+
#: includes/settings-page.php:357
|
261 |
+
msgid ""
|
262 |
+
"Links the article to the author Twitter profile. The user's Twitter user "
|
263 |
+
"must be filled in."
|
264 |
+
msgstr ""
|
265 |
+
"Associa o artigo ao perfil Twitter do autor do mesmo. O Utilizador Twitter "
|
266 |
+
"tem de estar preenchido."
|
267 |
+
|
268 |
+
# @ wd-fb-og
|
269 |
+
#: includes/settings-page.php:365
|
270 |
+
msgid "Include Description (og:description) tag"
|
271 |
+
msgstr "Incluir tag Descrição (og:description)"
|
272 |
|
273 |
# @ wd-fb-og
|
274 |
+
#: includes/settings-page.php:371
|
275 |
+
msgid "Include Meta Description tag"
|
276 |
+
msgstr "Incluir a tag \"Meta Description\"?"
|
277 |
|
278 |
# @ wd-fb-og
|
279 |
+
#: includes/settings-page.php:377
|
280 |
msgid "Recommended for SEO purposes if no other plugin is setting it already"
|
281 |
msgstr ""
|
282 |
"Recomendado para efeitos de Optimização para Motores de Busca, se outro "
|
283 |
"plugin ainda não a está a definir"
|
284 |
|
285 |
# @ wd-fb-og
|
286 |
+
#: includes/settings-page.php:381
|
287 |
+
msgid "Include Schema.org \"itemprop\" Description tag"
|
288 |
+
msgstr "Incluir a tag \"itemprop Description\" do Schema.org?"
|
289 |
|
290 |
# @ wd-fb-og
|
291 |
+
#: includes/settings-page.php:391
|
292 |
+
msgid "Include Twitter Card Description tag"
|
293 |
+
msgstr "Incluir tag Descrição do \"Twitter Card\""
|
294 |
+
|
295 |
+
# @ wd-fb-og
|
296 |
+
#: includes/settings-page.php:401
|
297 |
msgid "Description maximum length"
|
298 |
msgstr "Comprimento máximo da descrição"
|
299 |
|
300 |
# @ wd-fb-og
|
301 |
+
#: includes/settings-page.php:405
|
302 |
msgid "0 or blank for no maximum length"
|
303 |
msgstr "0 ou em branco para não definir máximo"
|
304 |
|
305 |
# @ wd-fb-og
|
306 |
+
#: includes/settings-page.php:409
|
307 |
msgid "Homepage description"
|
308 |
msgstr "Descrição da página inicial"
|
309 |
|
310 |
# @ wd-fb-og
|
311 |
+
#: includes/settings-page.php:415
|
312 |
+
msgid "The description of your front page:"
|
313 |
+
msgstr "A descrição da sua página inicial:"
|
314 |
+
|
315 |
+
# @ wd-fb-og
|
316 |
+
#: includes/settings-page.php:420
|
317 |
msgid "Website tagline"
|
318 |
msgstr "Descrição do site"
|
319 |
|
320 |
# @ wd-fb-og
|
321 |
+
#: includes/settings-page.php:421
|
322 |
msgid "Custom text"
|
323 |
msgstr "Texto personalizado"
|
324 |
|
325 |
# @ wd-fb-og
|
326 |
+
#: includes/settings-page.php:433
|
327 |
+
msgid "Include Image (og:image) tag"
|
328 |
+
msgstr "Incluir tag Imagem (og:image)"
|
329 |
|
330 |
# @ wd-fb-og
|
331 |
+
#: includes/settings-page.php:437
|
332 |
msgid ""
|
333 |
"All images MUST have at least 200px on both dimensions in order to Facebook "
|
334 |
+
"to load them at all.<br/>1200x630px for optimal results.<br/>Minimum of "
|
335 |
+
"600x315px is recommended."
|
336 |
msgstr ""
|
337 |
"Todas as imagens TÊM de ter pelo menos 200px em ambas as dimensões para que "
|
338 |
+
"o Facebook as carregue.<br/>1200x630px para resultados optimizados.<br/>Um "
|
339 |
+
"mínimo de 600x315px é recomendado."
|
340 |
|
341 |
# @ wd-fb-og
|
342 |
+
#: includes/settings-page.php:441
|
343 |
+
msgid "Include Schema.org \"itemprop\" Image tag"
|
344 |
+
msgstr "Incluir a tag \"itemprop Image\" do Schema.org"
|
345 |
|
346 |
# @ wd-fb-og
|
347 |
+
#: includes/settings-page.php:451
|
348 |
+
msgid "Include Twitter Card Image tag"
|
349 |
+
msgstr "Incluir tag Imagem do \"Twitter Card\""
|
350 |
|
351 |
# @ wd-fb-og
|
352 |
+
#: includes/settings-page.php:461
|
353 |
+
msgid "Default image"
|
354 |
+
msgstr "Imagem por omissão"
|
355 |
|
356 |
# @ wd-fb-og
|
357 |
+
#: includes/settings-page.php:468 wonderm00n-open-graph.php:568
|
358 |
msgid "Recommended size: 1200x630px"
|
359 |
msgstr "Tamanho recomendado: 1200x630px"
|
360 |
|
361 |
# @ wd-fb-og
|
362 |
+
#: includes/settings-page.php:472
|
363 |
+
msgid "Add image to RSS/RSS2 feeds"
|
364 |
+
msgstr "Incluir a imagem aos feeds RSS/RSS2?"
|
365 |
|
366 |
# @ wd-fb-og
|
367 |
+
#: includes/settings-page.php:476
|
368 |
msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
|
369 |
msgstr ""
|
370 |
"Para aplicação de posts automáticos como o RSS Graffitti, twitterfeed, etc..."
|
371 |
|
372 |
# @ wd-fb-og
|
373 |
+
#: includes/settings-page.php:480
|
374 |
msgid "On posts/pages"
|
375 |
msgstr "Nos artigos/páginas"
|
376 |
|
377 |
# @ wd-fb-og
|
378 |
+
#: includes/settings-page.php:484
|
379 |
msgid ""
|
380 |
"Image will be fetched from the specific \"Open Graph Image\" custom field on "
|
381 |
"the post"
|
384 |
"no artigo"
|
385 |
|
386 |
# @ wd-fb-og
|
387 |
+
#: includes/settings-page.php:488
|
388 |
msgid ""
|
389 |
"If it's not set, image will be fetched from post/page featured/thumbnail "
|
390 |
"picture"
|
393 |
"página"
|
394 |
|
395 |
# @ wd-fb-og
|
396 |
+
#: includes/settings-page.php:492
|
397 |
msgid "If it doesn't exist, use the first image from the post/page content"
|
398 |
msgstr ""
|
399 |
"Se não existir, será utilizada a primeira imagem no conteúdo do artigo/página"
|
400 |
|
401 |
# @ wd-fb-og
|
402 |
+
#: includes/settings-page.php:496
|
403 |
msgid "If it doesn't exist, use first image from the post/page media gallery"
|
404 |
msgstr ""
|
405 |
"Se não existir, será usada a primeira imagem na galeria multimédia do artigo/"
|
406 |
"página"
|
407 |
|
408 |
# @ wd-fb-og
|
409 |
+
#: includes/settings-page.php:500
|
410 |
msgid "If it doesn't exist, use the default image above"
|
411 |
msgstr "Se não existir, utilizar a imagem por omissão em cima"
|
412 |
|
413 |
# @ wd-fb-og
|
414 |
+
#: includes/settings-page.php:508
|
415 |
msgid "3rd Party Integration"
|
416 |
msgstr "Integração com outros plugins"
|
417 |
|
418 |
# @ wd-fb-og
|
419 |
+
#: includes/settings-page.php:519
|
420 |
+
msgid ""
|
421 |
+
"It's HIGHLY recommended to go to <a href=\"admin.php?page=wpseo_social\" "
|
422 |
+
"target=\"_blank\">SEO > Social</a> and disable \"Add Open Graph meta data"
|
423 |
+
"\", \"Add Twitter card meta data\" and \"Add Google+ specific post meta data"
|
424 |
+
"\""
|
425 |
+
msgstr ""
|
426 |
+
"É ALTAMENTE recomendado ir a <a href=\"admin.php?page=wpseo_social\">SEO "
|
427 |
+
"> Social</a> e desactivar \"Adiciona meta dados Open Graph \", "
|
428 |
+
"\"Acrescentar metadados Twitter card\" e \"Add Google+ specific post meta "
|
429 |
+
"data\""
|
430 |
+
|
431 |
+
#: includes/settings-page.php:519
|
432 |
+
msgid ""
|
433 |
+
"even if you don't enable integration bellow. You will get duplicate tags if "
|
434 |
+
"you don't do this."
|
435 |
+
msgstr ""
|
436 |
+
"mesmo que não active a integração em baixo. Obterá tags duplicadas se não o "
|
437 |
+
"fizer."
|
438 |
|
439 |
# @ wd-fb-og
|
440 |
+
#: includes/settings-page.php:522
|
441 |
+
msgid "Use title, url (canonical) and description from WPSEO"
|
442 |
+
msgstr "Utilizar título, url (canónico) e descrição do WPSEO"
|
443 |
|
444 |
# @ wd-fb-og
|
445 |
+
#: includes/settings-page.php:538
|
446 |
+
msgid "Add SubHeading to Post/Page title"
|
447 |
+
msgstr "Adicionar \"SubHeading\" ao título do artigo/página"
|
448 |
+
|
449 |
+
# @ wd-fb-og
|
450 |
+
#: includes/settings-page.php:554
|
451 |
+
msgid "Use BDP listing contents as OG tags"
|
452 |
+
msgstr "Utilizar o conteúdo dos anúncios BDP como tags OG"
|
453 |
+
|
454 |
+
# @ wd-fb-og
|
455 |
+
#: includes/settings-page.php:558
|
456 |
msgid ""
|
457 |
+
"Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and "
|
458 |
+
"\"Include Image\" options above is HIGHLY recommended"
|
459 |
msgstr ""
|
460 |
+
"Activar as opções \"Incluir tag URL (og:url)\", \"Incluir a tag URL Canónico"
|
461 |
+
"\", \"Incluir tag Descrição (og:description)\" e \"Incluir tag Imagem (og:"
|
462 |
+
"image)\" é ALTAMENTE recomendado"
|
463 |
|
464 |
# @ wd-fb-og
|
465 |
+
#: includes/settings-page.php:566
|
466 |
msgid "You don't have any compatible 3rd Party plugin installed/active."
|
467 |
msgstr "Não tem nenhum plugin compatível instalado/activo."
|
468 |
|
469 |
# @ wd-fb-og
|
470 |
+
#: includes/settings-page.php:567
|
471 |
msgid "This plugin is currently compatible with:"
|
472 |
msgstr "Este plugin é actualmente compatível com:"
|
473 |
|
474 |
# @ wd-fb-og
|
475 |
+
#: includes/settings-page.php:587
|
476 |
msgid "Test your URLs at Facebook URL Linter / Debugger"
|
477 |
msgstr "Teste os seus URLs no \"Facebook URL Linter / Debugger\""
|
478 |
|
479 |
+
#: includes/settings-page.php:590
|
480 |
+
msgid "Test (and request approval for) your URLs at Twitter Card validator"
|
481 |
+
msgstr "Teste (e solicite aprovação dos) URLs no \"Twitter Card validator\""
|
482 |
+
|
483 |
# @ wd-fb-og
|
484 |
+
#: includes/settings-page.php:593
|
485 |
msgid "About the Open Graph Protocol (on Facebook)"
|
486 |
msgstr "Sobre o Protocolo Open Graph (no Facebook)"
|
487 |
|
488 |
# @ wd-fb-og
|
489 |
+
#: includes/settings-page.php:596
|
490 |
msgid "The Open Graph Protocol (official website)"
|
491 |
msgstr "O Protocolo Open Graph (website oficial)"
|
492 |
|
493 |
+
#: includes/settings-page.php:599
|
494 |
+
msgid "About Twitter Cards"
|
495 |
+
msgstr "Sobre os \"Twitter Cards\""
|
496 |
+
|
497 |
# @ wd-fb-og
|
498 |
+
#: includes/settings-page.php:602
|
499 |
msgid "Plugin official URL"
|
500 |
msgstr "URL oficial do plugin"
|
501 |
|
502 |
# @ wd-fb-og
|
503 |
+
#: includes/settings-page.php:605
|
504 |
msgid "Author's website: Webdados"
|
505 |
msgstr "Website do autor: Webdados"
|
506 |
|
507 |
# @ wd-fb-og
|
508 |
+
#: includes/settings-page.php:608
|
509 |
msgid "Author's Facebook page: Webdados"
|
510 |
msgstr "Página Facebook do autor: Webdados"
|
511 |
|
512 |
# @ wd-fb-og
|
513 |
+
#: includes/settings-page.php:611
|
514 |
msgid "Author's Twitter account: @Wonderm00n<br/>(Webdados founder)"
|
515 |
msgstr "Conta Twitter do autor: @Wonderm00n<br/>(fundador da Webdados)"
|
516 |
|
517 |
# @ wd-fb-og
|
518 |
+
#: includes/settings-page.php:618
|
519 |
msgid "Rate this plugin"
|
520 |
msgstr "Avalie este plugin"
|
521 |
|
522 |
# @ wd-fb-og
|
523 |
+
#: includes/settings-page.php:620
|
524 |
msgid "If you like this plugin,"
|
525 |
msgstr "Se gosta deste plugin,"
|
526 |
|
527 |
# @ wd-fb-og
|
528 |
+
#: includes/settings-page.php:620
|
529 |
msgid "please give it a high Rating"
|
530 |
msgstr "dê-lhe uma nota elevada"
|
531 |
|
532 |
# @ wd-fb-og
|
533 |
+
#: includes/settings-page.php:627
|
534 |
msgid "Useful links"
|
535 |
msgstr "Links úteis"
|
536 |
|
537 |
# @ wd-fb-og
|
538 |
+
#: includes/settings-page.php:640
|
539 |
msgid "Donate"
|
540 |
msgstr "Doar"
|
541 |
|
542 |
# @ wd-fb-og
|
543 |
+
#: includes/settings-page.php:642
|
544 |
msgid ""
|
545 |
"If you find this plugin useful and want to make a contribution towards "
|
546 |
"future development please consider making a small, or big ;-), donation."
|
550 |
"doação."
|
551 |
|
552 |
# @ wd-fb-og
|
553 |
+
#: wonderm00n-open-graph.php:563
|
554 |
msgid "Use this image:"
|
555 |
msgstr "Utilizar esta imagem:"
|
556 |
|
557 |
# @ wd-fb-og
|
558 |
+
#: wonderm00n-open-graph.php:566
|
559 |
msgid "Upload/Choose Open Graph Image"
|
560 |
msgstr "Carregar/Escolher Imagem Open Graph"
|
561 |
|
562 |
# @ wd-fb-og
|
563 |
+
#: wonderm00n-open-graph.php:567
|
564 |
+
msgid "Clear field"
|
565 |
+
msgstr "Limpar campo"
|
566 |
+
|
567 |
+
# @ wd-fb-og
|
568 |
+
#: wonderm00n-open-graph.php:650
|
569 |
msgid "Use as Image Open Graph Tag"
|
570 |
msgstr "Utilizar como Imagem Open Graph"
|
571 |
|
572 |
+
#: wonderm00n-open-graph.php:669
|
573 |
+
msgid "Google+"
|
574 |
+
msgstr "Google+"
|
|
|
575 |
|
576 |
+
#: wonderm00n-open-graph.php:673
|
577 |
+
msgid "Facebook profile URL"
|
578 |
+
msgstr "URL de Perfil Facebook"
|
579 |
+
|
580 |
+
#: wonderm00n-open-graph.php:691
|
581 |
msgid ""
|
582 |
+
"Please ignore the (dumb) Yoast WordPress SEO warning regarding open graph "
|
583 |
+
"issues with this plugin. Just disable WPSEO Social settings at"
|
584 |
msgstr ""
|
585 |
+
"Por favor ignore o (parvo) aviso do plugin Yoast WordPress SEO sobre "
|
586 |
+
"problemas \"open graph\" com este plugin. Simplesmente inactive as "
|
587 |
+
"definições Social do WPSEO em"
|
588 |
|
589 |
+
#: wonderm00n-open-graph.php:692
|
590 |
+
msgid "SEO > Social"
|
591 |
+
msgstr "SEO > Social"
|
|
|
592 |
|
593 |
+
#. Description of the plugin/theme
|
594 |
+
msgid ""
|
595 |
+
"Inserts Facebook Open Graph, Google+ / Schema.org and Twitter Card Tags into "
|
596 |
+
"your WordPress Blog/Website for more effective and efficient Facebook, Google"
|
597 |
+
"+ and Twitter sharing results. You can also choose to insert the \"enclosure"
|
598 |
+
"\" and \"media:content\" tags to the RSS feeds, so that apps like RSS "
|
599 |
+
"Graffiti and twitterfeed post the image to Facebook correctly."
|
600 |
+
msgstr ""
|
601 |
+
"Insere tags Facebook Open Graph, Google+ / Schema.org e Twitter Card ao seu "
|
602 |
+
"Blog/Site em WordPress para uma mais efectiva e eficiente partilha no "
|
603 |
+
"Facebook, Google+ e Twitter. Pode também optar por inserir as tags "
|
604 |
+
"\"enclosure\" e \"media:content\" nos feeds RSS, para que aplicações como o "
|
605 |
+
"RSS Graffiti and twitterfeed façam partilha para o Facebook correctamente."
|
606 |
+
|
607 |
+
#~ msgid "Save Changes"
|
608 |
+
#~ msgstr "Guardar alterações"
|
609 |
+
|
610 |
+
#, fuzzy
|
611 |
+
#~ msgid "Search for"
|
612 |
+
#~ msgstr "Pesquisar..."
|
613 |
+
|
614 |
+
#, fuzzy
|
615 |
+
#~ msgid "Archives"
|
616 |
+
#~ msgstr "arquivo"
|
lang/wd-fb-og.pot
CHANGED
@@ -1,417 +1,427 @@
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Facebook Open Graph
|
4 |
-
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: \n"
|
6 |
-
"PO-Revision-Date: 2014-04-19 13:28-0000\n"
|
7 |
-
"Last-Translator: Webdados <info@webdados.pt>\n"
|
8 |
-
"Language-Team: Webdados <info@webdados.pt>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
15 |
-
|
16 |
-
|
17 |
-
"
|
18 |
-
"X-Textdomain-Support: yes\n"
|
19 |
-
"Language: en_US\n"
|
20 |
-
"X-Poedit-SearchPath-0: .\n"
|
21 |
-
|
22 |
-
# @ wd-fb-og
|
23 |
-
#: includes/settings-page.php:64
|
24 |
-
msgid ""
|
25 |
-
"Please set some default values and which tags should, or should not, be "
|
26 |
-
"included. It may be necessary to exclude some tags if other plugins are "
|
27 |
-
"already including them."
|
28 |
msgstr ""
|
29 |
|
30 |
-
|
31 |
-
|
32 |
-
msgid "Include Facebook Platform App ID (fb:app_id) tag?"
|
33 |
msgstr ""
|
34 |
|
35 |
-
|
36 |
-
#: includes/settings-page.php:84
|
37 |
msgid "Facebook Platform App ID"
|
38 |
msgstr ""
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
msgid "Include Facebook Admin(s) ID (fb:admins) tag?"
|
43 |
msgstr ""
|
44 |
|
45 |
-
|
46 |
-
#: includes/settings-page.php:99
|
47 |
msgid "Facebook Admin(s) ID"
|
48 |
msgstr ""
|
49 |
|
50 |
-
|
51 |
-
#: includes/settings-page.php:103
|
52 |
msgid "Comma separated if more than one"
|
53 |
msgstr ""
|
54 |
|
55 |
-
|
56 |
-
|
57 |
-
msgid "Include locale (fb:locale) tag?"
|
58 |
msgstr ""
|
59 |
|
60 |
-
|
61 |
-
#: includes/settings-page.php:116
|
62 |
msgid "Locale"
|
63 |
msgstr ""
|
64 |
|
65 |
-
|
66 |
-
#: includes/settings-page.php:119
|
67 |
msgid "WordPress current locale/language"
|
68 |
msgstr ""
|
69 |
|
70 |
-
|
71 |
-
#: includes/settings-page.php:170
|
72 |
msgid "List loaded from Facebook (online)"
|
73 |
msgstr ""
|
74 |
|
75 |
-
|
76 |
-
#: includes/settings-page.php:173
|
77 |
msgid "List loaded from local cache (offline)"
|
78 |
msgstr ""
|
79 |
|
80 |
-
|
81 |
-
#: includes/settings-page.php:173
|
82 |
msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
|
83 |
msgstr ""
|
84 |
|
85 |
-
|
86 |
-
#: includes/settings-page.php:173
|
87 |
msgid "Reload from Facebook"
|
88 |
msgstr ""
|
89 |
|
90 |
-
|
91 |
-
#: includes/settings-page.php:175
|
92 |
msgid "List not loaded"
|
93 |
msgstr ""
|
94 |
|
95 |
-
|
96 |
-
|
97 |
-
msgid "Include Site Name (og:site_name) tag?"
|
98 |
msgstr ""
|
99 |
|
100 |
-
|
101 |
-
|
102 |
-
msgid "Include Post/Page title (og:title) tag?"
|
103 |
msgstr ""
|
104 |
|
105 |
-
|
106 |
-
|
107 |
-
msgid "Also include Schema.org \"itemprop\" Name tag?"
|
108 |
msgstr ""
|
109 |
|
110 |
-
|
111 |
-
#: includes/settings-page.php:
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
msgstr ""
|
117 |
|
118 |
-
|
119 |
-
|
120 |
-
msgid "Include URL (og:url) tag?"
|
121 |
msgstr ""
|
122 |
|
123 |
-
|
124 |
-
|
125 |
-
msgid "Also set Canonical URL"
|
126 |
msgstr ""
|
127 |
|
128 |
-
|
129 |
-
#: includes/settings-page.php:227
|
130 |
msgid "Add trailing slash at the end"
|
131 |
msgstr ""
|
132 |
|
133 |
-
|
134 |
-
#: includes/settings-page.php:231
|
135 |
msgid "On the homepage will be"
|
136 |
msgstr ""
|
137 |
|
138 |
-
|
139 |
-
|
140 |
-
msgid "Include Type (og:type) tag?"
|
141 |
msgstr ""
|
142 |
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
"homepage"
|
149 |
msgstr ""
|
150 |
|
151 |
-
|
152 |
-
#: includes/settings-page.php:246
|
153 |
msgid "Homepage type"
|
154 |
msgstr ""
|
155 |
|
156 |
-
|
157 |
-
#: includes/settings-page.php:248 includes/settings-page.php:295
|
158 |
msgid "Use"
|
159 |
msgstr ""
|
160 |
|
161 |
-
|
162 |
-
|
163 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
msgstr ""
|
165 |
|
166 |
-
|
167 |
-
|
168 |
-
msgid "Also include Meta Description tag?"
|
169 |
msgstr ""
|
170 |
|
171 |
-
|
172 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
msgid "Recommended for SEO purposes if no other plugin is setting it already"
|
174 |
msgstr ""
|
175 |
|
176 |
-
|
177 |
-
|
178 |
-
|
|
|
|
|
|
|
179 |
msgstr ""
|
180 |
|
181 |
-
|
182 |
-
#: includes/settings-page.php:285
|
183 |
msgid "Description maximum length"
|
184 |
msgstr ""
|
185 |
|
186 |
-
|
187 |
-
#: includes/settings-page.php:289
|
188 |
msgid "0 or blank for no maximum length"
|
189 |
msgstr ""
|
190 |
|
191 |
-
|
192 |
-
#: includes/settings-page.php:293
|
193 |
msgid "Homepage description"
|
194 |
msgstr ""
|
195 |
|
196 |
-
|
197 |
-
|
|
|
|
|
|
|
198 |
msgid "Website tagline"
|
199 |
msgstr ""
|
200 |
|
201 |
-
|
202 |
-
#: includes/settings-page.php:298
|
203 |
msgid "Custom text"
|
204 |
msgstr ""
|
205 |
|
206 |
-
|
207 |
-
|
208 |
-
msgid "Include Image (og:image) tag?"
|
209 |
msgstr ""
|
210 |
|
211 |
-
|
212 |
-
|
213 |
-
msgid ""
|
214 |
-
"All images MUST have at least 200px on both dimensions in order to Facebook "
|
215 |
-
"to load them at all. Minimum of 600x315px is recommended."
|
216 |
msgstr ""
|
217 |
|
218 |
-
|
219 |
-
|
220 |
-
msgid "Also include Schema.org \"itemprop\" Image tag?"
|
221 |
msgstr ""
|
222 |
|
223 |
-
|
224 |
-
|
225 |
-
msgid "Default image"
|
226 |
msgstr ""
|
227 |
|
228 |
-
|
229 |
-
|
230 |
-
msgid "Full URL with http://"
|
231 |
msgstr ""
|
232 |
|
233 |
-
|
234 |
-
#: includes/settings-page.php:334 wonderm00n-open-graph.php:520
|
235 |
msgid "Recommended size: 1200x630px"
|
236 |
msgstr ""
|
237 |
|
238 |
-
|
239 |
-
|
240 |
-
msgid "Also add image to RSS/RSS2 feeds?"
|
241 |
msgstr ""
|
242 |
|
243 |
-
|
244 |
-
#: includes/settings-page.php:342
|
245 |
msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
|
246 |
msgstr ""
|
247 |
|
248 |
-
|
249 |
-
#: includes/settings-page.php:346
|
250 |
msgid "On posts/pages"
|
251 |
msgstr ""
|
252 |
|
253 |
-
|
254 |
-
|
255 |
-
msgid ""
|
256 |
-
"Image will be fetched from the specific \"Open Graph Image\" custom field on "
|
257 |
-
"the post"
|
258 |
msgstr ""
|
259 |
|
260 |
-
|
261 |
-
|
262 |
-
msgid ""
|
263 |
-
"If it's not set, image will be fetched from post/page featured/thumbnail "
|
264 |
-
"picture"
|
265 |
msgstr ""
|
266 |
|
267 |
-
|
268 |
-
#: includes/settings-page.php:358
|
269 |
msgid "If it doesn't exist, use the first image from the post/page content"
|
270 |
msgstr ""
|
271 |
|
272 |
-
|
273 |
-
#: includes/settings-page.php:362
|
274 |
msgid "If it doesn't exist, use first image from the post/page media gallery"
|
275 |
msgstr ""
|
276 |
|
277 |
-
|
278 |
-
#: includes/settings-page.php:366
|
279 |
msgid "If it doesn't exist, use the default image above"
|
280 |
msgstr ""
|
281 |
|
282 |
-
|
283 |
-
#: includes/settings-page.php:374
|
284 |
msgid "3rd Party Integration"
|
285 |
msgstr ""
|
286 |
|
287 |
-
|
288 |
-
|
289 |
-
msgid "Add SubHeading to Post/Page title?"
|
290 |
msgstr ""
|
291 |
|
292 |
-
|
293 |
-
|
294 |
-
msgid "Use BDP listing contents as OG tags?"
|
295 |
msgstr ""
|
296 |
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
|
|
|
|
|
|
|
|
|
|
302 |
msgstr ""
|
303 |
|
304 |
-
|
305 |
-
|
|
|
|
|
|
|
306 |
msgid "You don't have any compatible 3rd Party plugin installed/active."
|
307 |
msgstr ""
|
308 |
|
309 |
-
|
310 |
-
#: includes/settings-page.php:430
|
311 |
msgid "This plugin is currently compatible with:"
|
312 |
msgstr ""
|
313 |
|
314 |
-
|
315 |
-
#: includes/settings-page.php:450
|
316 |
msgid "Test your URLs at Facebook URL Linter / Debugger"
|
317 |
msgstr ""
|
318 |
|
319 |
-
|
320 |
-
|
|
|
|
|
|
|
321 |
msgid "About the Open Graph Protocol (on Facebook)"
|
322 |
msgstr ""
|
323 |
|
324 |
-
|
325 |
-
#: includes/settings-page.php:456
|
326 |
msgid "The Open Graph Protocol (official website)"
|
327 |
msgstr ""
|
328 |
|
329 |
-
|
330 |
-
|
|
|
|
|
|
|
331 |
msgid "Plugin official URL"
|
332 |
msgstr ""
|
333 |
|
334 |
-
|
335 |
-
#: includes/settings-page.php:462
|
336 |
msgid "Author's website: Webdados"
|
337 |
msgstr ""
|
338 |
|
339 |
-
|
340 |
-
#: includes/settings-page.php:465
|
341 |
msgid "Author's Facebook page: Webdados"
|
342 |
msgstr ""
|
343 |
|
344 |
-
|
345 |
-
#: includes/settings-page.php:468
|
346 |
msgid "Author's Twitter account: @Wonderm00n<br/>(Webdados founder)"
|
347 |
msgstr ""
|
348 |
|
349 |
-
|
350 |
-
#: includes/settings-page.php:475
|
351 |
msgid "Rate this plugin"
|
352 |
msgstr ""
|
353 |
|
354 |
-
|
355 |
-
#: includes/settings-page.php:477
|
356 |
msgid "If you like this plugin,"
|
357 |
msgstr ""
|
358 |
|
359 |
-
|
360 |
-
#: includes/settings-page.php:477
|
361 |
msgid "please give it a high Rating"
|
362 |
msgstr ""
|
363 |
|
364 |
-
|
365 |
-
#: includes/settings-page.php:484
|
366 |
msgid "Useful links"
|
367 |
msgstr ""
|
368 |
|
369 |
-
|
370 |
-
#: includes/settings-page.php:497
|
371 |
msgid "Donate"
|
372 |
msgstr ""
|
373 |
|
374 |
-
|
375 |
-
|
376 |
-
msgid ""
|
377 |
-
"If you find this plugin useful and want to make a contribution towards "
|
378 |
-
"future development please consider making a small, or big ;-), donation."
|
379 |
msgstr ""
|
380 |
|
381 |
-
|
382 |
-
#: wonderm00n-open-graph.php:516
|
383 |
msgid "Use this image:"
|
384 |
msgstr ""
|
385 |
|
386 |
-
|
387 |
-
#: wonderm00n-open-graph.php:519
|
388 |
msgid "Upload/Choose Open Graph Image"
|
389 |
msgstr ""
|
390 |
|
391 |
-
|
392 |
-
|
|
|
|
|
|
|
393 |
msgid "Use as Image Open Graph Tag"
|
394 |
msgstr ""
|
395 |
|
396 |
-
|
397 |
-
|
398 |
-
msgid "Use title, url (canonical) and description from WPSEO?"
|
399 |
msgstr ""
|
400 |
|
401 |
-
|
402 |
-
|
403 |
-
msgid ""
|
404 |
-
"It's HIGHLY recommended to go to <a href=\"admin.php?page=wpseo_social\">SEO "
|
405 |
-
"> Social</a> and disable \"Add Open Graph meta data\""
|
406 |
msgstr ""
|
407 |
|
|
|
|
|
|
|
408 |
|
409 |
-
|
410 |
-
|
411 |
-
msgid "Clear field"
|
412 |
msgstr ""
|
413 |
|
414 |
-
|
415 |
-
|
416 |
-
msgid "The description of your front page:"
|
417 |
msgstr ""
|
1 |
+
# Copyright (C) 2014 Facebook Open Graph, Google+ and Twitter Card Tags
|
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.3\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wonderm00ns-simple-facebook-open-graph-tags\n"
|
7 |
+
"POT-Creation-Date: 2014-11-28 16:36:48+00:00\n"
|
|
|
|
|
|
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
|
12 |
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
+
|
15 |
+
#: includes/settings-page.php:76
|
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:90
|
20 |
+
msgid "Include Facebook Platform App ID (fb:app_id) tag"
|
|
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: includes/settings-page.php:96
|
|
|
24 |
msgid "Facebook Platform App ID"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: includes/settings-page.php:105
|
28 |
+
msgid "Include Facebook Admin(s) ID (fb:admins) tag"
|
|
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: includes/settings-page.php:111
|
|
|
32 |
msgid "Facebook Admin(s) ID"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: includes/settings-page.php:115
|
|
|
36 |
msgid "Comma separated if more than one"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: includes/settings-page.php:122
|
40 |
+
msgid "Include locale (fb:locale) tag"
|
|
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: includes/settings-page.php:128
|
|
|
44 |
msgid "Locale"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: includes/settings-page.php:131
|
|
|
48 |
msgid "WordPress current locale/language"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: includes/settings-page.php:182
|
|
|
52 |
msgid "List loaded from Facebook (online)"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: includes/settings-page.php:185
|
|
|
56 |
msgid "List loaded from local cache (offline)"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: includes/settings-page.php:185
|
|
|
60 |
msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: includes/settings-page.php:185
|
|
|
64 |
msgid "Reload from Facebook"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: includes/settings-page.php:187
|
|
|
68 |
msgid "List not loaded"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: includes/settings-page.php:197
|
72 |
+
msgid "Include Site Name (og:site_name) tag"
|
|
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: includes/settings-page.php:206
|
76 |
+
msgid "Include Post/Page title (og:title) tag"
|
|
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: includes/settings-page.php:212
|
80 |
+
msgid "Include Schema.org \"itemprop\" Name tag"
|
|
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: includes/settings-page.php:218 includes/settings-page.php:387
|
84 |
+
#: includes/settings-page.php:447
|
85 |
+
msgid "Recommended for Google+ sharing purposes if no other plugin is setting it already"
|
86 |
+
msgstr ""
|
87 |
+
|
88 |
+
#: includes/settings-page.php:222
|
89 |
+
msgid "Include Twitter Card Title tag"
|
90 |
+
msgstr ""
|
91 |
+
|
92 |
+
#: includes/settings-page.php:228 includes/settings-page.php:397
|
93 |
+
#: includes/settings-page.php:457
|
94 |
+
msgid "Recommended for Twitter sharing purposes if no other plugin is setting it already"
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: includes/settings-page.php:235
|
98 |
+
msgid "Include URL (og:url) tag"
|
|
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: includes/settings-page.php:241
|
102 |
+
msgid "Include Twitter Card URL tag"
|
|
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: includes/settings-page.php:247
|
|
|
106 |
msgid "Add trailing slash at the end"
|
107 |
msgstr ""
|
108 |
|
109 |
+
#: includes/settings-page.php:251
|
|
|
110 |
msgid "On the homepage will be"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: includes/settings-page.php:255
|
114 |
+
msgid "Set Canonical URL"
|
|
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: includes/settings-page.php:266
|
118 |
+
msgid "Include Type (og:type) tag"
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
+
#: includes/settings-page.php:270
|
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:274
|
|
|
126 |
msgid "Homepage type"
|
127 |
msgstr ""
|
128 |
|
129 |
+
#: includes/settings-page.php:276 includes/settings-page.php:418
|
|
|
130 |
msgid "Use"
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: includes/settings-page.php:287
|
134 |
+
msgid "Include Publisher Page (article:publisher) tag"
|
135 |
+
msgstr ""
|
136 |
+
|
137 |
+
#: includes/settings-page.php:291
|
138 |
+
msgid "Links the website to the publisher Facebook Page."
|
139 |
+
msgstr ""
|
140 |
+
|
141 |
+
#: includes/settings-page.php:295
|
142 |
+
msgid "Publisher Facebook Page"
|
143 |
+
msgstr ""
|
144 |
+
|
145 |
+
#: includes/settings-page.php:299 includes/settings-page.php:466
|
146 |
+
msgid "Full URL with http://"
|
147 |
msgstr ""
|
148 |
|
149 |
+
#: includes/settings-page.php:303
|
150 |
+
msgid "Include Twitter Card Website Username tag"
|
|
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: includes/settings-page.php:307
|
154 |
+
msgid "Links the website to the website Twitter Username."
|
155 |
+
msgstr ""
|
156 |
+
|
157 |
+
#: includes/settings-page.php:311
|
158 |
+
msgid "Website Twitter Username"
|
159 |
+
msgstr ""
|
160 |
+
|
161 |
+
#: includes/settings-page.php:315 wonderm00n-open-graph.php:671
|
162 |
+
msgid "Twitter username (without @)"
|
163 |
+
msgstr ""
|
164 |
+
|
165 |
+
#: includes/settings-page.php:323
|
166 |
+
msgid "Include Author Profile (article:author) tag"
|
167 |
+
msgstr ""
|
168 |
+
|
169 |
+
#: includes/settings-page.php:327
|
170 |
+
msgid "Links the article to the author Facebook Profile. The user's Facebook profile URL must be filled in."
|
171 |
+
msgstr ""
|
172 |
+
|
173 |
+
#: includes/settings-page.php:331
|
174 |
+
msgid "Include Meta Author tag"
|
175 |
+
msgstr ""
|
176 |
+
|
177 |
+
#: includes/settings-page.php:337
|
178 |
+
msgid "Sets the article author name"
|
179 |
+
msgstr ""
|
180 |
+
|
181 |
+
#: includes/settings-page.php:341
|
182 |
+
msgid "Include Google+ link rel \"author\" tag"
|
183 |
+
msgstr ""
|
184 |
+
|
185 |
+
#: includes/settings-page.php:347
|
186 |
+
msgid "Links the article to the author Google+ Profile (authorship). The user's Google+ profile URL must be filled in."
|
187 |
+
msgstr ""
|
188 |
+
|
189 |
+
#: includes/settings-page.php:351
|
190 |
+
msgid "Include Twitter Card Creator tag"
|
191 |
+
msgstr ""
|
192 |
+
|
193 |
+
#: includes/settings-page.php:357
|
194 |
+
msgid "Links the article to the author Twitter profile. The user's Twitter user must be filled in."
|
195 |
+
msgstr ""
|
196 |
+
|
197 |
+
#: includes/settings-page.php:365
|
198 |
+
msgid "Include Description (og:description) tag"
|
199 |
+
msgstr ""
|
200 |
+
|
201 |
+
#: includes/settings-page.php:371
|
202 |
+
msgid "Include Meta Description tag"
|
203 |
+
msgstr ""
|
204 |
+
|
205 |
+
#: includes/settings-page.php:377
|
206 |
msgid "Recommended for SEO purposes if no other plugin is setting it already"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: includes/settings-page.php:381
|
210 |
+
msgid "Include Schema.org \"itemprop\" Description tag"
|
211 |
+
msgstr ""
|
212 |
+
|
213 |
+
#: includes/settings-page.php:391
|
214 |
+
msgid "Include Twitter Card Description tag"
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: includes/settings-page.php:401
|
|
|
218 |
msgid "Description maximum length"
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: includes/settings-page.php:405
|
|
|
222 |
msgid "0 or blank for no maximum length"
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: includes/settings-page.php:409
|
|
|
226 |
msgid "Homepage description"
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: includes/settings-page.php:415
|
230 |
+
msgid "The description of your front page:"
|
231 |
+
msgstr ""
|
232 |
+
|
233 |
+
#: includes/settings-page.php:420
|
234 |
msgid "Website tagline"
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: includes/settings-page.php:421
|
|
|
238 |
msgid "Custom text"
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: includes/settings-page.php:433
|
242 |
+
msgid "Include Image (og:image) tag"
|
|
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: includes/settings-page.php:437
|
246 |
+
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."
|
|
|
|
|
|
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: includes/settings-page.php:441
|
250 |
+
msgid "Include Schema.org \"itemprop\" Image tag"
|
|
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: includes/settings-page.php:451
|
254 |
+
msgid "Include Twitter Card Image tag"
|
|
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: includes/settings-page.php:461
|
258 |
+
msgid "Default image"
|
|
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: includes/settings-page.php:468 wonderm00n-open-graph.php:568
|
|
|
262 |
msgid "Recommended size: 1200x630px"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: includes/settings-page.php:472
|
266 |
+
msgid "Add image to RSS/RSS2 feeds"
|
|
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: includes/settings-page.php:476
|
|
|
270 |
msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: includes/settings-page.php:480
|
|
|
274 |
msgid "On posts/pages"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: includes/settings-page.php:484
|
278 |
+
msgid "Image will be fetched from the specific \"Open Graph Image\" custom field on the post"
|
|
|
|
|
|
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: includes/settings-page.php:488
|
282 |
+
msgid "If it's not set, image will be fetched from post/page featured/thumbnail picture"
|
|
|
|
|
|
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: includes/settings-page.php:492
|
|
|
286 |
msgid "If it doesn't exist, use the first image from the post/page content"
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: includes/settings-page.php:496
|
|
|
290 |
msgid "If it doesn't exist, use first image from the post/page media gallery"
|
291 |
msgstr ""
|
292 |
|
293 |
+
#: includes/settings-page.php:500
|
|
|
294 |
msgid "If it doesn't exist, use the default image above"
|
295 |
msgstr ""
|
296 |
|
297 |
+
#: includes/settings-page.php:508
|
|
|
298 |
msgid "3rd Party Integration"
|
299 |
msgstr ""
|
300 |
|
301 |
+
#: includes/settings-page.php:519
|
302 |
+
msgid "It's HIGHLY recommended to go to <a href=\"admin.php?page=wpseo_social\" target=\"_blank\">SEO > Social</a> and disable \"Add Open Graph meta data\", \"Add Twitter card meta data\" and \"Add Google+ specific post meta data\""
|
|
|
303 |
msgstr ""
|
304 |
|
305 |
+
#: includes/settings-page.php:519
|
306 |
+
msgid "even if you don't enable integration bellow. You will get duplicate tags if you don't do this."
|
|
|
307 |
msgstr ""
|
308 |
|
309 |
+
#: includes/settings-page.php:522
|
310 |
+
msgid "Use title, url (canonical) and description from WPSEO"
|
311 |
+
msgstr ""
|
312 |
+
|
313 |
+
#: includes/settings-page.php:538
|
314 |
+
msgid "Add SubHeading to Post/Page title"
|
315 |
+
msgstr ""
|
316 |
+
|
317 |
+
#: includes/settings-page.php:554
|
318 |
+
msgid "Use BDP listing contents as OG tags"
|
319 |
msgstr ""
|
320 |
|
321 |
+
#: includes/settings-page.php:558
|
322 |
+
msgid "Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and \"Include Image\" options above is HIGHLY recommended"
|
323 |
+
msgstr ""
|
324 |
+
|
325 |
+
#: includes/settings-page.php:566
|
326 |
msgid "You don't have any compatible 3rd Party plugin installed/active."
|
327 |
msgstr ""
|
328 |
|
329 |
+
#: includes/settings-page.php:567
|
|
|
330 |
msgid "This plugin is currently compatible with:"
|
331 |
msgstr ""
|
332 |
|
333 |
+
#: includes/settings-page.php:587
|
|
|
334 |
msgid "Test your URLs at Facebook URL Linter / Debugger"
|
335 |
msgstr ""
|
336 |
|
337 |
+
#: includes/settings-page.php:590
|
338 |
+
msgid "Test (and request approval for) your URLs at Twitter Card validator"
|
339 |
+
msgstr ""
|
340 |
+
|
341 |
+
#: includes/settings-page.php:593
|
342 |
msgid "About the Open Graph Protocol (on Facebook)"
|
343 |
msgstr ""
|
344 |
|
345 |
+
#: includes/settings-page.php:596
|
|
|
346 |
msgid "The Open Graph Protocol (official website)"
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: includes/settings-page.php:599
|
350 |
+
msgid "About Twitter Cards"
|
351 |
+
msgstr ""
|
352 |
+
|
353 |
+
#: includes/settings-page.php:602
|
354 |
msgid "Plugin official URL"
|
355 |
msgstr ""
|
356 |
|
357 |
+
#: includes/settings-page.php:605
|
|
|
358 |
msgid "Author's website: Webdados"
|
359 |
msgstr ""
|
360 |
|
361 |
+
#: includes/settings-page.php:608
|
|
|
362 |
msgid "Author's Facebook page: Webdados"
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: includes/settings-page.php:611
|
|
|
366 |
msgid "Author's Twitter account: @Wonderm00n<br/>(Webdados founder)"
|
367 |
msgstr ""
|
368 |
|
369 |
+
#: includes/settings-page.php:618
|
|
|
370 |
msgid "Rate this plugin"
|
371 |
msgstr ""
|
372 |
|
373 |
+
#: includes/settings-page.php:620
|
|
|
374 |
msgid "If you like this plugin,"
|
375 |
msgstr ""
|
376 |
|
377 |
+
#: includes/settings-page.php:620
|
|
|
378 |
msgid "please give it a high Rating"
|
379 |
msgstr ""
|
380 |
|
381 |
+
#: includes/settings-page.php:627
|
|
|
382 |
msgid "Useful links"
|
383 |
msgstr ""
|
384 |
|
385 |
+
#: includes/settings-page.php:640
|
|
|
386 |
msgid "Donate"
|
387 |
msgstr ""
|
388 |
|
389 |
+
#: includes/settings-page.php:642
|
390 |
+
msgid "If you find this plugin useful and want to make a contribution towards future development please consider making a small, or big ;-), donation."
|
|
|
|
|
|
|
391 |
msgstr ""
|
392 |
|
393 |
+
#: wonderm00n-open-graph.php:563
|
|
|
394 |
msgid "Use this image:"
|
395 |
msgstr ""
|
396 |
|
397 |
+
#: wonderm00n-open-graph.php:566
|
|
|
398 |
msgid "Upload/Choose Open Graph Image"
|
399 |
msgstr ""
|
400 |
|
401 |
+
#: wonderm00n-open-graph.php:567
|
402 |
+
msgid "Clear field"
|
403 |
+
msgstr ""
|
404 |
+
|
405 |
+
#: wonderm00n-open-graph.php:650
|
406 |
msgid "Use as Image Open Graph Tag"
|
407 |
msgstr ""
|
408 |
|
409 |
+
#: wonderm00n-open-graph.php:669
|
410 |
+
msgid "Google+"
|
|
|
411 |
msgstr ""
|
412 |
|
413 |
+
#: wonderm00n-open-graph.php:673
|
414 |
+
msgid "Facebook profile URL"
|
|
|
|
|
|
|
415 |
msgstr ""
|
416 |
|
417 |
+
#: wonderm00n-open-graph.php:691
|
418 |
+
msgid "Please ignore the (dumb) Yoast WordPress SEO warning regarding open graph issues with this plugin. Just disable WPSEO Social settings at"
|
419 |
+
msgstr ""
|
420 |
|
421 |
+
#: wonderm00n-open-graph.php:692
|
422 |
+
msgid "SEO > Social"
|
|
|
423 |
msgstr ""
|
424 |
|
425 |
+
#. Description of the plugin/theme
|
426 |
+
msgid "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."
|
|
|
427 |
msgstr ""
|
readme.txt
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
=== Facebook Open Graph
|
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, schema, google+, g+, google, google plus, image, like, meta, search engine optimization
|
5 |
Requires at least: 3.5
|
6 |
-
Tested up to:
|
7 |
-
Stable tag: 1.
|
8 |
|
9 |
-
|
10 |
|
11 |
== Description ==
|
12 |
|
@@ -14,6 +14,8 @@ This plugin inserts Facebook Open Graph Tags into your WordPress Blog/Website fo
|
|
14 |
|
15 |
It also allows you to add the Meta Description tag and Schema.org Name, Description and Image tags for more effective and efficient Google+ sharing results.
|
16 |
|
|
|
|
|
17 |
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.
|
18 |
|
19 |
It allows the user to choose which tags are, or not, included and also the default image if the post/page doesn't have one.
|
@@ -27,17 +29,32 @@ It allows the user to choose which tags are, or not, included and also the defau
|
|
27 |
* **og:title**: From post/page/archive/tag/... title.
|
28 |
* **og:url**: From the post/page permalink.
|
29 |
* **og:type**: "website" or "blog" for the homepage and "article" for all the others.
|
|
|
|
|
30 |
* **og:description**: From post/page excerpt if it exist, or from post/page content. From category/tag description on it's pages, if it exist. From tagline, or custom text, on all the others.
|
31 |
* **og:image**: From a specific custom field of the post/page, or if not set from the post/page featured/thumbnail image, or if it doesn't exist from the first image in the post content, or if it doesn't exist from the first image on the post media gallery, or if it doesn't exist from the default image defined on the options menu. The same image chosen here will be used and enclosure/media:content on the RSS feed.
|
32 |
|
33 |
= The Schema.org Tags that this plugin inserts are: =
|
34 |
|
35 |
* **name**: Same as "og:title".
|
|
|
36 |
* **description**: Same as "og:description".
|
37 |
* **image**: Same as "og:image".
|
38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
= Other Tags: =
|
40 |
|
|
|
|
|
41 |
* **meta description**: Same as "og:description".
|
42 |
* **enclosure**: On RSS feeds, same as "og:image".
|
43 |
* **media:content**: On RSS feeds, same as "og:image".
|
@@ -52,11 +69,20 @@ It allows the user to choose which tags are, or not, included and also the defau
|
|
52 |
== Installation ==
|
53 |
|
54 |
1. Upload the `wonderm00n-open-graph` to the `/wp-content/plugins/` directory
|
55 |
-
2. Activate the plugin through the
|
56 |
3. Got to `Options`, `Facebook Open Graph Tags` to set it up
|
57 |
|
58 |
== Changelog ==
|
59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
= 1.2 =
|
61 |
* Added filters for title, description and images, so another plugin or theme can override these values. The filters are fb_og_title, fb_og_desc and fb_og_image
|
62 |
|
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.3
|
8 |
|
9 |
+
Inserts Facebook Open Graph, Google+/Schema.org, Twitter and other Meta Tags into your WordPress Website for more efficient sharing results.
|
10 |
|
11 |
== Description ==
|
12 |
|
14 |
|
15 |
It also allows you to add the Meta Description tag and Schema.org Name, Description and Image tags for more effective and efficient Google+ sharing results.
|
16 |
|
17 |
+
It also allows you to add the Twitter Card tags for more effective and efficient Twitter sharing results.
|
18 |
+
|
19 |
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.
|
20 |
|
21 |
It allows the user to choose which tags are, or not, included and also the default image if the post/page doesn't have one.
|
29 |
* **og:title**: From post/page/archive/tag/... title.
|
30 |
* **og:url**: From the post/page permalink.
|
31 |
* **og:type**: "website" or "blog" for the homepage and "article" for all the others.
|
32 |
+
* **article:publisher**: From settings on the options screen.
|
33 |
+
* **article:author**: From the user (post author) Faceboook Profile URL.
|
34 |
* **og:description**: From post/page excerpt if it exist, or from post/page content. From category/tag description on it's pages, if it exist. From tagline, or custom text, on all the others.
|
35 |
* **og:image**: From a specific custom field of the post/page, or if not set from the post/page featured/thumbnail image, or if it doesn't exist from the first image in the post content, or if it doesn't exist from the first image on the post media gallery, or if it doesn't exist from the default image defined on the options menu. The same image chosen here will be used and enclosure/media:content on the RSS feed.
|
36 |
|
37 |
= The Schema.org Tags that this plugin inserts are: =
|
38 |
|
39 |
* **name**: Same as "og:title".
|
40 |
+
* **author**: From the user (post author) Google+ profile URL.
|
41 |
* **description**: Same as "og:description".
|
42 |
* **image**: Same as "og:image".
|
43 |
|
44 |
+
= The Twitter Card Tags that this plugin inserts are: =
|
45 |
+
|
46 |
+
* **twitter:title**: Same as "og:title".
|
47 |
+
* **twitter:url**: Sames as "ug:url".
|
48 |
+
* **twitter:site**: The website twitter account.
|
49 |
+
* **twitter:creator**: From the user (post author) Twitter account.
|
50 |
+
* **twitter:description**: Same as "og:description".
|
51 |
+
* **twitter:image:src**: Same as "og:image".
|
52 |
+
* **twitter:card:src**: With value "summary_large_image".
|
53 |
+
|
54 |
= Other Tags: =
|
55 |
|
56 |
+
* **meta author**: From the user (post author) Display Name.
|
57 |
+
* **link rel author**: From the user (post author) Google+ Profile URL.
|
58 |
* **meta description**: Same as "og:description".
|
59 |
* **enclosure**: On RSS feeds, same as "og:image".
|
60 |
* **media:content**: On RSS feeds, same as "og:image".
|
69 |
== Installation ==
|
70 |
|
71 |
1. Upload the `wonderm00n-open-graph` to the `/wp-content/plugins/` directory
|
72 |
+
2. Activate the plugin through the `Plugins` menu in WordPress
|
73 |
3. Got to `Options`, `Facebook Open Graph Tags` to set it up
|
74 |
|
75 |
== Changelog ==
|
76 |
|
77 |
+
= 1.3 =
|
78 |
+
* Changed name to "Facebook Open Graph, Google+ and Twitter Card Tags"
|
79 |
+
* Added Twitter Card tags
|
80 |
+
* Added new tag "article:publisher" in order to link the article with a Facebook page
|
81 |
+
* Added new tags "article:author", meta author and Google+ link rel in order to link the article with his author (Facebook profile, Name and Google+ profile)
|
82 |
+
* Title, URL, Description and Image Meta/Google+/Twitter tags can now be set even if Open Graph ones aren't
|
83 |
+
* Several HTML/CSS tweaks on the settings page
|
84 |
+
* Fix: esc_attr on all tags
|
85 |
+
|
86 |
= 1.2 =
|
87 |
* Added filters for title, description and images, so another plugin or theme can override these values. The filters are fb_og_title, fb_og_desc and fb_og_image
|
88 |
|
wonderm00n-open-graph.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* @package Facebook Open Graph
|
4 |
-
* @version 1.
|
5 |
*/
|
6 |
/*
|
7 |
-
Plugin Name: Facebook Open Graph
|
8 |
-
Plugin URI: http://
|
9 |
-
Description:
|
10 |
-
Version: 1.
|
11 |
Author: Webdados
|
12 |
Author URI: http://www.webdados.pt
|
13 |
Text Domain: wd-fb-og
|
@@ -16,7 +16,8 @@ Domain Path: /lang
|
|
16 |
|
17 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
18 |
|
19 |
-
$wonderm00n_open_graph_plugin_version='1.
|
|
|
20 |
$wonderm00n_open_graph_plugin_settings=array(
|
21 |
'fb_app_id_show',
|
22 |
'fb_app_id',
|
@@ -27,19 +28,31 @@ $wonderm00n_open_graph_plugin_settings=array(
|
|
27 |
'fb_sitename_show',
|
28 |
'fb_title_show',
|
29 |
'fb_title_show_schema',
|
|
|
30 |
'fb_url_show',
|
|
|
31 |
'fb_url_canonical',
|
32 |
'fb_url_add_trailing',
|
33 |
'fb_type_show',
|
34 |
'fb_type_homepage',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
'fb_desc_show',
|
36 |
'fb_desc_show_meta',
|
37 |
'fb_desc_show_schema',
|
|
|
38 |
'fb_desc_chars',
|
39 |
'fb_desc_homepage',
|
40 |
'fb_desc_homepage_customtext',
|
41 |
'fb_image_show',
|
42 |
'fb_image_show_schema',
|
|
|
43 |
'fb_image',
|
44 |
'fb_image_rss',
|
45 |
'fb_image_use_specific',
|
@@ -110,9 +123,17 @@ function wonderm00n_open_graph() {
|
|
110 |
$fb_desc=trim($post->post_content);
|
111 |
}
|
112 |
$fb_desc=(intval($fb_desc_chars)>0 ? substr(esc_attr(strip_tags(strip_shortcodes(stripslashes($fb_desc)))),0,$fb_desc_chars) : esc_attr(strip_tags(strip_shortcodes(stripslashes($fb_desc)))));
|
113 |
-
if (intval($fb_image_show)==1) {
|
114 |
$fb_image=wonderm00n_open_graph_post_image($fb_image_use_specific, $fb_image_use_featured, $fb_image_use_content, $fb_image_use_media, $fb_image_use_default, $fb_image);
|
115 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
//Business Directory Plugin
|
117 |
if ($fb_show_businessdirectoryplugin==1) {
|
118 |
@include_once(ABSPATH . 'wp-admin/includes/plugin.php');
|
@@ -136,7 +157,7 @@ function wonderm00n_open_graph() {
|
|
136 |
$fb_desc=trim($bdppost->post_content);
|
137 |
}
|
138 |
$fb_desc=(intval($fb_desc_chars)>0 ? substr(esc_attr(strip_tags(strip_shortcodes(stripslashes($fb_desc)))),0,$fb_desc_chars) : esc_attr(strip_tags(strip_shortcodes(stripslashes($fb_desc)))));
|
139 |
-
if (intval($fb_image_show)==1) {
|
140 |
$thumbdone=false;
|
141 |
if (intval($fb_image_use_featured)==1) {
|
142 |
//Featured
|
@@ -270,7 +291,7 @@ function wonderm00n_open_graph() {
|
|
270 |
}
|
271 |
//URL - From WPSEO
|
272 |
$fb_url=$wpseo->canonical(false);
|
273 |
-
//Description - From WPSEO or our
|
274 |
$fb_desc_temp=$wpseo->metadesc(false);
|
275 |
$fb_desc=(trim($fb_desc_temp)!='' ? trim($fb_desc_temp) : $fb_desc);
|
276 |
//Image - From our plugin
|
@@ -283,45 +304,62 @@ function wonderm00n_open_graph() {
|
|
283 |
$fb_image = apply_filters('fb_og_image', $fb_image);
|
284 |
|
285 |
$html='
|
286 |
-
<!-- START -
|
287 |
';
|
288 |
-
if (intval($fb_app_id_show)==1 && trim($fb_app_id)!='') $html.='<meta property="fb:app_id" content="'.trim($fb_app_id).'"
|
289 |
';
|
290 |
-
if (intval($fb_admin_id_show)==1 && trim($fb_admin_id)!='') $html.='<meta property="fb:admins" content="'.trim($fb_admin_id).'"
|
291 |
';
|
292 |
-
if (intval($fb_locale_show)==1) $html.='<meta property="og:locale" content="'.trim(trim($fb_locale)!='' ? trim($fb_locale) : trim(get_locale())).'"
|
293 |
';
|
294 |
-
if (intval($fb_sitename_show)==1) $html.='<meta property="og:site_name" content="'.get_bloginfo('name').'"
|
295 |
';
|
296 |
-
if (intval($fb_title_show)==1) $html.='<meta property="og:title" content="'.trim($fb_title).'"
|
297 |
';
|
298 |
if (intval($fb_set_title_tag)==1) {
|
299 |
//Does nothing so far. We try to create the <title> tag but it's too late now
|
300 |
}
|
301 |
-
if (intval($fb_title_show_schema)==1) $html.='<meta itemprop="name" content="'.trim($fb_title).'"
|
302 |
';
|
303 |
-
if (intval($
|
304 |
-
$html.='<meta property="og:url" content="'.trim(esc_attr($fb_url)).'" />
|
305 |
';
|
306 |
-
|
307 |
-
//remove_action('wp_head', 'rel_canonical'); //This is already done
|
308 |
-
$html.='<link rel="canonical" href="'.trim(esc_attr($fb_url)).'" />
|
309 |
';
|
310 |
-
|
311 |
-
|
312 |
-
if (intval($
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
313 |
';
|
314 |
-
if (intval($
|
315 |
';
|
316 |
-
if (intval($
|
317 |
';
|
318 |
-
if
|
319 |
';
|
320 |
-
if(intval($
|
321 |
';
|
322 |
-
if(intval($
|
323 |
';
|
324 |
-
$
|
|
|
|
|
325 |
';
|
326 |
echo $html;
|
327 |
}
|
@@ -375,8 +413,8 @@ function wonderm00n_open_graph_images_on_feed_image() {
|
|
375 |
$url=$fb_image;
|
376 |
}
|
377 |
list($width, $height, $type, $attr) = getimagesize($url);
|
378 |
-
echo '<enclosure url="' . $fb_image . '" length="' . $filesize . '" type="'.image_type_to_mime_type($type).'"
|
379 |
-
echo '<media:content url="'.$fb_image.'" width="'.$width.'" height="'.$height.'" medium="image" type="'.image_type_to_mime_type($type).'"
|
380 |
}
|
381 |
}
|
382 |
add_action("do_feed_rss","wonderm00n_open_graph_images_on_feed",5,1);
|
@@ -462,13 +500,18 @@ if ( is_admin() ) {
|
|
462 |
register_activation_hook(__FILE__, 'wonderm00n_open_graph_activate');
|
463 |
|
464 |
function wonderm00n_open_graph_add_options() {
|
|
|
465 |
if(function_exists('add_options_page')){
|
466 |
-
add_options_page(
|
467 |
}
|
468 |
}
|
469 |
|
470 |
function wonderm00n_open_graph_activate() {
|
471 |
-
//
|
|
|
|
|
|
|
|
|
472 |
}
|
473 |
|
474 |
function wonderm00n_open_graph_settings_link( $links, $file ) {
|
@@ -482,7 +525,7 @@ if ( is_admin() ) {
|
|
482 |
|
483 |
|
484 |
function wonderm00n_open_graph_admin() {
|
485 |
-
global $wonderm00n_open_graph_plugin_settings, $wonderm00n_open_graph_plugin_version;
|
486 |
wonderm00n_open_graph_upgrade();
|
487 |
include_once 'includes/settings-page.php';
|
488 |
}
|
@@ -499,12 +542,12 @@ if ( is_admin() ) {
|
|
499 |
add_action('admin_print_styles', 'wonderm00n_open_graph_styles');
|
500 |
|
501 |
function wonderm00n_open_graph_add_posts_options() {
|
502 |
-
global $webdados_fb_open_graph_settings;
|
503 |
if (intval($webdados_fb_open_graph_settings['fb_image_use_specific'])==1) {
|
504 |
global $post;
|
505 |
add_meta_box(
|
506 |
'webdados_fb_open_graph',
|
507 |
-
|
508 |
'wonderm00n_open_graph_add_posts_options_box',
|
509 |
$post->post_type
|
510 |
);
|
@@ -519,8 +562,8 @@ if ( is_admin() ) {
|
|
519 |
echo '<label for="webdados_fb_open_graph_specific_image">';
|
520 |
_e('Use this image:', 'wd-fb-og');
|
521 |
echo '</label> ';
|
522 |
-
echo '<input type="text" id="webdados_fb_open_graph_specific_image" name="webdados_fb_open_graph_specific_image" value="' . esc_attr( $value ) . '" size="75"
|
523 |
-
<input id="webdados_fb_open_graph_specific_image_button" class="button" type="button" value="'.__('Upload/Choose Open Graph Image','wd-fb-og').'"
|
524 |
<input id="webdados_fb_open_graph_specific_image_button_clear" class="button" type="button" value="'.__('Clear field','wd-fb-og').'"/>';
|
525 |
echo '<br/>'.__('Recommended size: 1200x630px', 'wd-fb-og');
|
526 |
echo '<script type="text/javascript">
|
@@ -618,6 +661,56 @@ if ( is_admin() ) {
|
|
618 |
// Add JS
|
619 |
add_action( 'admin_head', 'webdados_fb_open_graph_media_admin_head' );
|
620 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
621 |
}
|
622 |
|
623 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
* @package Facebook Open Graph, Google+ and Twitter Card Tags
|
4 |
+
* @version 1.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.3
|
11 |
Author: Webdados
|
12 |
Author URI: http://www.webdados.pt
|
13 |
Text Domain: wd-fb-og
|
16 |
|
17 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
18 |
|
19 |
+
$wonderm00n_open_graph_plugin_version='1.3';
|
20 |
+
$wonderm00n_open_graph_plugin_name='Facebook Open Graph, Google+ and Twitter Card Tags';
|
21 |
$wonderm00n_open_graph_plugin_settings=array(
|
22 |
'fb_app_id_show',
|
23 |
'fb_app_id',
|
28 |
'fb_sitename_show',
|
29 |
'fb_title_show',
|
30 |
'fb_title_show_schema',
|
31 |
+
'fb_title_show_twitter',
|
32 |
'fb_url_show',
|
33 |
+
'fb_url_show_twitter',
|
34 |
'fb_url_canonical',
|
35 |
'fb_url_add_trailing',
|
36 |
'fb_type_show',
|
37 |
'fb_type_homepage',
|
38 |
+
'fb_pubslisher_show',
|
39 |
+
'fb_pubslisher',
|
40 |
+
'fb_publisher_show_twitter',
|
41 |
+
'fb_publisher_twitteruser',
|
42 |
+
'fb_author_show',
|
43 |
+
'fb_author_show_meta',
|
44 |
+
'fb_author_show_linkrelgp',
|
45 |
+
'fb_author_show_twitter',
|
46 |
'fb_desc_show',
|
47 |
'fb_desc_show_meta',
|
48 |
'fb_desc_show_schema',
|
49 |
+
'fb_desc_show_twitter',
|
50 |
'fb_desc_chars',
|
51 |
'fb_desc_homepage',
|
52 |
'fb_desc_homepage_customtext',
|
53 |
'fb_image_show',
|
54 |
'fb_image_show_schema',
|
55 |
+
'fb_image_show_twitter',
|
56 |
'fb_image',
|
57 |
'fb_image_rss',
|
58 |
'fb_image_use_specific',
|
123 |
$fb_desc=trim($post->post_content);
|
124 |
}
|
125 |
$fb_desc=(intval($fb_desc_chars)>0 ? substr(esc_attr(strip_tags(strip_shortcodes(stripslashes($fb_desc)))),0,$fb_desc_chars) : esc_attr(strip_tags(strip_shortcodes(stripslashes($fb_desc)))));
|
126 |
+
if (intval($fb_image_show)==1 || intval($fb_image_show_schema)==1 || intval($fb_image_show_twitter)==1) {
|
127 |
$fb_image=wonderm00n_open_graph_post_image($fb_image_use_specific, $fb_image_use_featured, $fb_image_use_content, $fb_image_use_media, $fb_image_use_default, $fb_image);
|
128 |
}
|
129 |
+
//Author
|
130 |
+
$author_id=$post->post_author;
|
131 |
+
if ($author_id>0) {
|
132 |
+
$fb_author=get_the_author_meta('facebook', $author_id);
|
133 |
+
$fb_author_meta=get_the_author_meta('display_name', $author_id);
|
134 |
+
$fb_author_linkrelgp=get_the_author_meta('googleplus', $author_id);
|
135 |
+
$fb_author_twitter=get_the_author_meta('twitter', $author_id);
|
136 |
+
}
|
137 |
//Business Directory Plugin
|
138 |
if ($fb_show_businessdirectoryplugin==1) {
|
139 |
@include_once(ABSPATH . 'wp-admin/includes/plugin.php');
|
157 |
$fb_desc=trim($bdppost->post_content);
|
158 |
}
|
159 |
$fb_desc=(intval($fb_desc_chars)>0 ? substr(esc_attr(strip_tags(strip_shortcodes(stripslashes($fb_desc)))),0,$fb_desc_chars) : esc_attr(strip_tags(strip_shortcodes(stripslashes($fb_desc)))));
|
160 |
+
if (intval($fb_image_show)==1 || intval($fb_image_show_schema)==1 || intval($fb_image_show_twitter)==1) {
|
161 |
$thumbdone=false;
|
162 |
if (intval($fb_image_use_featured)==1) {
|
163 |
//Featured
|
291 |
}
|
292 |
//URL - From WPSEO
|
293 |
$fb_url=$wpseo->canonical(false);
|
294 |
+
//Description - From WPSEO or our plugin
|
295 |
$fb_desc_temp=$wpseo->metadesc(false);
|
296 |
$fb_desc=(trim($fb_desc_temp)!='' ? trim($fb_desc_temp) : $fb_desc);
|
297 |
//Image - From our plugin
|
304 |
$fb_image = apply_filters('fb_og_image', $fb_image);
|
305 |
|
306 |
$html='
|
307 |
+
<!-- START - '.$wonderm00n_open_graph_plugin_name.' '.$wonderm00n_open_graph_plugin_version.' -->
|
308 |
';
|
309 |
+
if (intval($fb_app_id_show)==1 && trim($fb_app_id)!='') $html.='<meta property="fb:app_id" content="'.trim(esc_attr($fb_app_id)).'"/>
|
310 |
';
|
311 |
+
if (intval($fb_admin_id_show)==1 && trim($fb_admin_id)!='') $html.='<meta property="fb:admins" content="'.trim(esc_attr($fb_admin_id)).'"/>
|
312 |
';
|
313 |
+
if (intval($fb_locale_show)==1) $html.='<meta property="og:locale" content="'.trim(esc_attr(trim($fb_locale)!='' ? trim($fb_locale) : trim(get_locale()))).'"/>
|
314 |
';
|
315 |
+
if (intval($fb_sitename_show)==1) $html.='<meta property="og:site_name" content="'.trim(esc_attr(get_bloginfo('name'))).'"/>
|
316 |
';
|
317 |
+
if (intval($fb_title_show)==1) $html.='<meta property="og:title" content="'.trim(esc_attr($fb_title)).'"/>
|
318 |
';
|
319 |
if (intval($fb_set_title_tag)==1) {
|
320 |
//Does nothing so far. We try to create the <title> tag but it's too late now
|
321 |
}
|
322 |
+
if (intval($fb_title_show_schema)==1) $html.='<meta itemprop="name" content="'.trim(esc_attr($fb_title)).'"/>
|
323 |
';
|
324 |
+
if (intval($fb_title_show_twitter)==1) $html.='<meta name="twitter:title" content="'.trim(esc_attr($fb_title)).'"/>
|
|
|
325 |
';
|
326 |
+
if (intval($fb_url_show)==1) $html.='<meta property="og:url" content="'.trim(esc_attr($fb_url)).'"/>
|
|
|
|
|
327 |
';
|
328 |
+
if (intval($fb_url_show_twitter)==1) $html.='<meta name="twitter:url" content="'.trim(esc_attr($fb_url)).'"/>
|
329 |
+
';
|
330 |
+
if (intval($fb_url_canonical)==1) $html.='<link rel="canonical" href="'.trim(esc_attr($fb_url)).'"/>
|
331 |
+
';
|
332 |
+
if (intval($fb_type_show)==1) $html.='<meta property="og:type" content="'.trim(esc_attr($fb_type)).'"/>
|
333 |
+
';
|
334 |
+
if (intval($fb_publisher_show)==1 && trim($fb_publisher)!='') $html.='<meta property="article:publisher" content="'.trim(esc_attr($fb_publisher)).'"/>
|
335 |
+
';
|
336 |
+
if (intval($fb_publisher_show_twitter)==1 && trim($fb_publisher_twitteruser)!='') $html.='<meta name="twitter:site" content="@'.trim(esc_attr($fb_publisher_twitteruser)).'"/>
|
337 |
+
';
|
338 |
+
if (intval($fb_author_show)==1 && $fb_author!='') $html.='<meta property="article:author" content="'.trim(esc_attr($fb_author)).'"/>
|
339 |
+
';
|
340 |
+
if (intval($fb_author_show_meta)==1 && $fb_author_meta!='') $html.='<meta name="author" content="'.trim(esc_attr($fb_author_meta)).'"/>
|
341 |
+
';
|
342 |
+
if (intval($fb_author_show_linkrelgp)==1 && trim($fb_author_linkrelgp)!='') $html.='<link rel="author" href="'.trim(esc_attr($fb_author_linkrelgp)).'"/>
|
343 |
+
';
|
344 |
+
if (intval($fb_author_show_twitter)==1 && (trim($fb_author_twitter)!='' || trim($fb_publisher_twitteruser)!='')) $html.='<meta name="twitter:creator" content="@'.trim(esc_attr( (trim($fb_author_twitter)!='' ? trim($fb_author_twitter) : trim($fb_publisher_twitteruser) ))).'"/>
|
345 |
+
';
|
346 |
+
if (intval($fb_desc_show)==1) $html.='<meta property="og:description" content="'.trim(esc_attr($fb_desc)).'"/>
|
347 |
+
';
|
348 |
+
if (intval($fb_desc_show_meta)==1) $html.='<meta name="description" content="'.trim(esc_attr($fb_desc)).'"/>
|
349 |
';
|
350 |
+
if (intval($fb_desc_show_schema)==1) $html.='<meta itemprop="description" content="'.trim(esc_attr($fb_desc)).'"/>
|
351 |
';
|
352 |
+
if (intval($fb_desc_show_twitter)==1) $html.='<meta name="twitter:description" content="'.trim(esc_attr($fb_desc)).'"/>
|
353 |
';
|
354 |
+
if(intval($fb_image_show)==1 && trim($fb_image)!='') $html.='<meta property="og:image" content="'.trim(esc_attr($fb_image)).'"/>
|
355 |
';
|
356 |
+
if(intval($fb_image_show_schema)==1 && trim($fb_image)!='') $html.='<meta itemprop="image" content="'.trim(esc_attr($fb_image)).'"/>
|
357 |
';
|
358 |
+
if(intval($fb_image_show_twitter)==1 && trim($fb_image)!='') $html.='<meta name="twitter:image:src" content="'.trim(esc_attr($fb_image)).'"/>
|
359 |
';
|
360 |
+
if(intval($fb_title_show_twitter)==1 || intval($fb_url_show_twitter)==1 || $fb_author_show_twitter==1 || $fb_publisher_show_twitter==1 || $fb_image_show_twitter==1) $html.='<meta name="twitter:card" content="summary_large_image"/>
|
361 |
+
';
|
362 |
+
$html.='<!-- END - '.$wonderm00n_open_graph_plugin_name.' -->
|
363 |
';
|
364 |
echo $html;
|
365 |
}
|
413 |
$url=$fb_image;
|
414 |
}
|
415 |
list($width, $height, $type, $attr) = getimagesize($url);
|
416 |
+
echo '<enclosure url="' . $fb_image . '" length="' . $filesize . '" type="'.image_type_to_mime_type($type).'"/>';
|
417 |
+
echo '<media:content url="'.$fb_image.'" width="'.$width.'" height="'.$height.'" medium="image" type="'.image_type_to_mime_type($type).'"/>';
|
418 |
}
|
419 |
}
|
420 |
add_action("do_feed_rss","wonderm00n_open_graph_images_on_feed",5,1);
|
500 |
register_activation_hook(__FILE__, 'wonderm00n_open_graph_activate');
|
501 |
|
502 |
function wonderm00n_open_graph_add_options() {
|
503 |
+
global $wonderm00n_open_graph_plugin_name;
|
504 |
if(function_exists('add_options_page')){
|
505 |
+
add_options_page($wonderm00n_open_graph_plugin_name, $wonderm00n_open_graph_plugin_name, 'manage_options', basename(__FILE__), 'wonderm00n_open_graph_admin');
|
506 |
}
|
507 |
}
|
508 |
|
509 |
function wonderm00n_open_graph_activate() {
|
510 |
+
//Clear WPSEO notices
|
511 |
+
global $wpdb;
|
512 |
+
$wpdb->query(
|
513 |
+
$wpdb->prepare("DELETE FROM $wpdb->usermeta WHERE meta_key LIKE 'wd_fb_og_wpseo_notice_ignore'")
|
514 |
+
);
|
515 |
}
|
516 |
|
517 |
function wonderm00n_open_graph_settings_link( $links, $file ) {
|
525 |
|
526 |
|
527 |
function wonderm00n_open_graph_admin() {
|
528 |
+
global $wonderm00n_open_graph_plugin_settings, $wonderm00n_open_graph_plugin_name, $wonderm00n_open_graph_plugin_version;
|
529 |
wonderm00n_open_graph_upgrade();
|
530 |
include_once 'includes/settings-page.php';
|
531 |
}
|
542 |
add_action('admin_print_styles', 'wonderm00n_open_graph_styles');
|
543 |
|
544 |
function wonderm00n_open_graph_add_posts_options() {
|
545 |
+
global $webdados_fb_open_graph_settings, $wonderm00n_open_graph_plugin_name;
|
546 |
if (intval($webdados_fb_open_graph_settings['fb_image_use_specific'])==1) {
|
547 |
global $post;
|
548 |
add_meta_box(
|
549 |
'webdados_fb_open_graph',
|
550 |
+
$wonderm00n_open_graph_plugin_name,
|
551 |
'wonderm00n_open_graph_add_posts_options_box',
|
552 |
$post->post_type
|
553 |
);
|
562 |
echo '<label for="webdados_fb_open_graph_specific_image">';
|
563 |
_e('Use this image:', 'wd-fb-og');
|
564 |
echo '</label> ';
|
565 |
+
echo '<input type="text" id="webdados_fb_open_graph_specific_image" name="webdados_fb_open_graph_specific_image" value="' . esc_attr( $value ) . '" size="75"/>
|
566 |
+
<input id="webdados_fb_open_graph_specific_image_button" class="button" type="button" value="'.__('Upload/Choose Open Graph Image','wd-fb-og').'"/>
|
567 |
<input id="webdados_fb_open_graph_specific_image_button_clear" class="button" type="button" value="'.__('Clear field','wd-fb-og').'"/>';
|
568 |
echo '<br/>'.__('Recommended size: 1200x630px', 'wd-fb-og');
|
569 |
echo '<script type="text/javascript">
|
661 |
// Add JS
|
662 |
add_action( 'admin_head', 'webdados_fb_open_graph_media_admin_head' );
|
663 |
}
|
664 |
+
|
665 |
+
//Facebook, Google+ and Twitter user fields
|
666 |
+
function webdados_fb_open_graph_add_usercontacts($usercontacts) {
|
667 |
+
if (defined('WPSEO_VERSION')) {
|
668 |
+
//Google+
|
669 |
+
$usercontacts['googleplus'] = __('Google+', 'wd-fb-og');
|
670 |
+
//Twitter
|
671 |
+
$usercontacts['twitter'] = __('Twitter username (without @)', 'wd-fb-og');
|
672 |
+
//Facebook
|
673 |
+
$usercontacts['facebook'] = __('Facebook profile URL', 'wd-fb-og');
|
674 |
+
}
|
675 |
+
return $usercontacts;
|
676 |
+
}
|
677 |
+
//WPSEO already adds the fields, so we'll just add them if WPSEO is not active
|
678 |
+
add_filter('user_contactmethods', 'webdados_fb_open_graph_add_usercontacts', 10, 1);
|
679 |
+
|
680 |
+
//WPSEO warning
|
681 |
+
function webdados_fb_open_graph_wpseo_notice() {
|
682 |
+
if (defined('WPSEO_VERSION')) {
|
683 |
+
global $current_user, $wonderm00n_open_graph_plugin_name;
|
684 |
+
$user_id=$current_user->ID;
|
685 |
+
if (!get_user_meta($user_id,'wd_fb_og_wpseo_notice_ignore')) {
|
686 |
+
?>
|
687 |
+
<div class="error">
|
688 |
+
<p>
|
689 |
+
<b><?php echo $wonderm00n_open_graph_plugin_name; ?>:</b>
|
690 |
+
<br/>
|
691 |
+
<?php _e('Please ignore the (dumb) Yoast WordPress SEO warning regarding open graph issues with this plugin. Just disable WPSEO Social settings at', 'wd-fb-og'); ?>
|
692 |
+
<a href="admin.php?page=wpseo_social&wd_fb_og_wpseo_notice_ignore=1"><?php _e('SEO > Social','wd-fb-og'); ?></a>
|
693 |
+
</p>
|
694 |
+
<p><a href="?wd_fb_og_wpseo_notice_ignore=1">Ignore this message</a></p>
|
695 |
+
</div>
|
696 |
+
<?php
|
697 |
+
}
|
698 |
+
}
|
699 |
+
}
|
700 |
+
add_action('admin_notices', 'webdados_fb_open_graph_wpseo_notice');
|
701 |
+
function webdados_fb_open_graph_wpseo_notice_ignore() {
|
702 |
+
if (defined('WPSEO_VERSION')) {
|
703 |
+
global $current_user;
|
704 |
+
$user_id=$current_user->ID;
|
705 |
+
if (isset($_GET['wd_fb_og_wpseo_notice_ignore'])) {
|
706 |
+
if (intval($_GET['wd_fb_og_wpseo_notice_ignore'])==1) {
|
707 |
+
add_user_meta($user_id, 'wd_fb_og_wpseo_notice_ignore', '1', true);
|
708 |
+
}
|
709 |
+
}
|
710 |
+
}
|
711 |
+
}
|
712 |
+
add_action('admin_init', 'webdados_fb_open_graph_wpseo_notice_ignore');
|
713 |
+
|
714 |
}
|
715 |
|
716 |
|