Version Description
- Fixed WPML homepage custom description translation that was broken on 2.0
- New default description field (WPML translatable) to be used on any website post / page / cpt / archive / search / ... that has an empty description, instead of using the homepage description like we were using until now
- Fixed some PHP notices and warnings
- Small tweaks on the settings page
Download this release
Release Info
Developer | webdados |
Plugin | Open Graph for Facebook, Google+ and Twitter Card Tags |
Version | 2.0.3 |
Comparing to | |
See all releases |
Code changes from version 2.0.2 to 2.0.3
- admin/class-webdados-fb-open-graph-admin.php +11 -11
- admin/js/webdados-fb-open-graph-admin.js +32 -2
- admin/options-page-3rdparty.php +83 -9
- admin/options-page-general.php +52 -11
- includes/class-webdados-fb-open-graph.php +18 -12
- lang/wd-fb-og-pt_PT.mo +0 -0
- lang/wd-fb-og-pt_PT.po +182 -95
- lang/wd-fb-og.pot +153 -91
- public/class-webdados-fb-open-graph-public.php +99 -25
- readme.txt +7 -1
- wonderm00n-open-graph.php +3 -3
admin/class-webdados-fb-open-graph-admin.php
CHANGED
@@ -26,14 +26,17 @@ class Webdados_FB_Admin {
|
|
26 |
/* Register settings and sanitization */
|
27 |
public function options_init() {
|
28 |
register_setting( 'wonderm00n_open_graph_settings', 'wonderm00n_open_graph_settings', array( $this, 'validate_options' ) );
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
|
|
|
|
|
|
37 |
}
|
38 |
|
39 |
/* Settings link on the plugins page */
|
@@ -226,8 +229,6 @@ class Webdados_FB_Admin {
|
|
226 |
|
227 |
/* Options page */
|
228 |
public function options_page() {
|
229 |
-
// message on saving options
|
230 |
-
//echo $this->settings_saved_notification();
|
231 |
$options = $this->options;
|
232 |
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/options-page.php';
|
233 |
}
|
@@ -267,7 +268,6 @@ class Webdados_FB_Admin {
|
|
267 |
}
|
268 |
}
|
269 |
}
|
270 |
-
//var_dump($options);
|
271 |
return $options;
|
272 |
}
|
273 |
|
26 |
/* Register settings and sanitization */
|
27 |
public function options_init() {
|
28 |
register_setting( 'wonderm00n_open_graph_settings', 'wonderm00n_open_graph_settings', array( $this, 'validate_options' ) );
|
29 |
+
}
|
30 |
+
|
31 |
+
/* WPML - Options translation */
|
32 |
+
public function options_wpml($oldvalue, $newvalue, $option) {
|
33 |
+
global $webdados_fb;
|
34 |
+
if ( $webdados_fb->is_wpml_active() ) {
|
35 |
+
// Homepage description
|
36 |
+
icl_register_string( 'wd-fb-og', 'wd_fb_og_desc_homepage_customtext', trim($newvalue['fb_desc_homepage_customtext']) );
|
37 |
+
// Default description
|
38 |
+
icl_register_string( 'wd-fb-og', 'wd_fb_og_fb_desc_default', trim($newvalue['fb_desc_default']) );
|
39 |
+
}
|
40 |
}
|
41 |
|
42 |
/* Settings link on the plugins page */
|
229 |
|
230 |
/* Options page */
|
231 |
public function options_page() {
|
|
|
|
|
232 |
$options = $this->options;
|
233 |
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/options-page.php';
|
234 |
}
|
268 |
}
|
269 |
}
|
270 |
}
|
|
|
271 |
return $options;
|
272 |
}
|
273 |
|
admin/js/webdados-fb-open-graph-admin.js
CHANGED
@@ -40,6 +40,7 @@
|
|
40 |
|
41 |
//General
|
42 |
showDescriptionCustomText(false);
|
|
|
43 |
showImageOverlayOptions();
|
44 |
showUrlTrail();
|
45 |
//OG
|
@@ -56,12 +57,13 @@
|
|
56 |
showTypeSchemaOptions();
|
57 |
showPublisherSchemaOptions();
|
58 |
//3rd Party
|
|
|
59 |
showSubheadingOptions();
|
60 |
|
61 |
//Functions
|
62 |
function showDescriptionCustomText(focus) {
|
63 |
if ($('#fb_desc_homepage').val()=='custom') {
|
64 |
-
$('
|
65 |
$('#fb_desc_homepage_customtext').val( $.trim($('#fb_desc_homepage_customtext').val()) );
|
66 |
if ( $('#fb_desc_homepage_customtext').val()=='' ) {
|
67 |
$('#fb_desc_homepage_customtext').addClass('error');
|
@@ -70,13 +72,31 @@
|
|
70 |
}
|
71 |
if (focus) $('#fb_desc_homepage_customtext').focus();
|
72 |
} else {
|
73 |
-
$('
|
74 |
}
|
75 |
}
|
76 |
$('#fb_desc_homepage').on('change', function() {
|
77 |
showDescriptionCustomText(true);
|
78 |
});
|
79 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
function showImageOverlayOptions() {
|
81 |
if ($('#fb_image_overlay').is(':checked')) {
|
82 |
$('.fb_image_overlay_options').show();
|
@@ -245,6 +265,16 @@
|
|
245 |
showPublisherSchemaOptions();
|
246 |
});
|
247 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
248 |
|
249 |
function showSubheadingOptions() {
|
250 |
if ($('#fb_show_subheading').is(':checked')) {
|
40 |
|
41 |
//General
|
42 |
showDescriptionCustomText(false);
|
43 |
+
showDescriptionDefaultCustomText(false);
|
44 |
showImageOverlayOptions();
|
45 |
showUrlTrail();
|
46 |
//OG
|
57 |
showTypeSchemaOptions();
|
58 |
showPublisherSchemaOptions();
|
59 |
//3rd Party
|
60 |
+
showYoastSEOOptions();
|
61 |
showSubheadingOptions();
|
62 |
|
63 |
//Functions
|
64 |
function showDescriptionCustomText(focus) {
|
65 |
if ($('#fb_desc_homepage').val()=='custom') {
|
66 |
+
$('.fb_desc_homepage_customtext_div').show();
|
67 |
$('#fb_desc_homepage_customtext').val( $.trim($('#fb_desc_homepage_customtext').val()) );
|
68 |
if ( $('#fb_desc_homepage_customtext').val()=='' ) {
|
69 |
$('#fb_desc_homepage_customtext').addClass('error');
|
72 |
}
|
73 |
if (focus) $('#fb_desc_homepage_customtext').focus();
|
74 |
} else {
|
75 |
+
$('.fb_desc_homepage_customtext_div').hide();
|
76 |
}
|
77 |
}
|
78 |
$('#fb_desc_homepage').on('change', function() {
|
79 |
showDescriptionCustomText(true);
|
80 |
});
|
81 |
|
82 |
+
function showDescriptionDefaultCustomText(focus) {
|
83 |
+
if ($('#fb_desc_default_option').val()=='custom') {
|
84 |
+
$('.fb_desc_default_customtext_div').show();
|
85 |
+
$('#fb_desc_default').val( $.trim($('#fb_desc_default').val()) );
|
86 |
+
if ( $('#fb_desc_default_option').val()=='' ) {
|
87 |
+
$('#fb_desc_default').addClass('error');
|
88 |
+
} else {
|
89 |
+
$('#fb_desc_default').removeClass('error');
|
90 |
+
}
|
91 |
+
if (focus) $('#fb_desc_default').focus();
|
92 |
+
} else {
|
93 |
+
$('.fb_desc_default_customtext_div').hide();
|
94 |
+
}
|
95 |
+
}
|
96 |
+
$('#fb_desc_default_option').on('change', function() {
|
97 |
+
showDescriptionDefaultCustomText(true);
|
98 |
+
});
|
99 |
+
|
100 |
function showImageOverlayOptions() {
|
101 |
if ($('#fb_image_overlay').is(':checked')) {
|
102 |
$('.fb_image_overlay_options').show();
|
265 |
showPublisherSchemaOptions();
|
266 |
});
|
267 |
|
268 |
+
function showYoastSEOOptions() {
|
269 |
+
if ($('#fb_show_wpseoyoast').is(':checked')) {
|
270 |
+
$('.fb_wpseoyoast_options').show();
|
271 |
+
} else {
|
272 |
+
$('.fb_wpseoyoast_options').hide();
|
273 |
+
}
|
274 |
+
}
|
275 |
+
$('#fb_show_wpseoyoast').on('click', function() {
|
276 |
+
showYoastSEOOptions();
|
277 |
+
});
|
278 |
|
279 |
function showSubheadingOptions() {
|
280 |
if ($('#fb_show_subheading').is(':checked')) {
|
admin/options-page-3rdparty.php
CHANGED
@@ -7,17 +7,24 @@ global $webdados_fb;
|
|
7 |
?>
|
8 |
<div class="menu_containt_div" id="tabs-6">
|
9 |
<p><?php _e( 'Settings for 3rd party integration with other plugins.', 'wd-fb-og' ); ?></p>
|
|
|
10 |
<?php
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
?>
|
16 |
<!-- Yoast SEO -->
|
17 |
<div class="postbox">
|
18 |
<h3 class="hndle">
|
19 |
<?php
|
20 |
-
if ($
|
21 |
$wpseo_utils = new WPSEO_Utils();
|
22 |
?>
|
23 |
<img src="<?php echo 'data:image/svg+xml;base64,' . base64_encode( str_replace('fill:#82878c', 'fill:#23282d', $wpseo_utils->get_icon_svg(false) ) ) ; ?>"/>
|
@@ -30,7 +37,7 @@ global $webdados_fb;
|
|
30 |
</h3>
|
31 |
<div class="inside">
|
32 |
<?php
|
33 |
-
if ($
|
34 |
?>
|
35 |
<table class="form-table">
|
36 |
<tbody>
|
@@ -46,6 +53,21 @@ global $webdados_fb;
|
|
46 |
- <?php _e( 'Use Title, Canonical URL and Description generated by Yoast SEO', 'wd-fb-og' ); ?>
|
47 |
</td>
|
48 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
|
50 |
</tbody>
|
51 |
</table>
|
@@ -58,6 +80,58 @@ global $webdados_fb;
|
|
58 |
?>
|
59 |
</div>
|
60 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
<!-- WooCommerce -->
|
62 |
<div class="postbox">
|
63 |
<h3 class="hndle">
|
@@ -66,7 +140,7 @@ global $webdados_fb;
|
|
66 |
</h3>
|
67 |
<div class="inside">
|
68 |
<?php
|
69 |
-
if ($
|
70 |
?>
|
71 |
<p><?php _e('On the product page we will automatically set <i>og:type</i> to "product" and <i>product:price</i> to the price including tax.', 'wd-fb-og'); ?></p>
|
72 |
<table class="form-table">
|
@@ -129,7 +203,7 @@ global $webdados_fb;
|
|
129 |
</h3>
|
130 |
<div class="inside">
|
131 |
<?php
|
132 |
-
if ($
|
133 |
?>
|
134 |
<table class="form-table">
|
135 |
<tbody>
|
@@ -178,7 +252,7 @@ global $webdados_fb;
|
|
178 |
</h3>
|
179 |
<div class="inside">
|
180 |
<?php
|
181 |
-
if ($
|
182 |
?>
|
183 |
<table class="form-table">
|
184 |
<tbody>
|
7 |
?>
|
8 |
<div class="menu_containt_div" id="tabs-6">
|
9 |
<p><?php _e( 'Settings for 3rd party integration with other plugins.', 'wd-fb-og' ); ?></p>
|
10 |
+
<!-- Yoast SEO and All in One SEO Pack? -->
|
11 |
<?php
|
12 |
+
if ( $webdados_fb->is_yoast_seo_active() && $webdados_fb->is_aioseop_active() ) {
|
13 |
+
?>
|
14 |
+
<p>
|
15 |
+
<i class="dashicons-before dashicons-warning"></i>
|
16 |
+
<b><?php _e( 'Attention', 'wd-fb-og' ); ?>:</b>
|
17 |
+
<br/>
|
18 |
+
<?php _e( 'You currently have both Yoast SEO and All in One SEO Pack plugins active. This is no recommended.', 'wd-fb-og' ); ?>
|
19 |
+
</p>
|
20 |
+
<?php
|
21 |
+
}
|
22 |
?>
|
23 |
<!-- Yoast SEO -->
|
24 |
<div class="postbox">
|
25 |
<h3 class="hndle">
|
26 |
<?php
|
27 |
+
if ( $webdados_fb->is_yoast_seo_active() ) {
|
28 |
$wpseo_utils = new WPSEO_Utils();
|
29 |
?>
|
30 |
<img src="<?php echo 'data:image/svg+xml;base64,' . base64_encode( str_replace('fill:#82878c', 'fill:#23282d', $wpseo_utils->get_icon_svg(false) ) ) ; ?>"/>
|
37 |
</h3>
|
38 |
<div class="inside">
|
39 |
<?php
|
40 |
+
if ( $webdados_fb->is_yoast_seo_active() ) {
|
41 |
?>
|
42 |
<table class="form-table">
|
43 |
<tbody>
|
53 |
- <?php _e( 'Use Title, Canonical URL and Description generated by Yoast SEO', 'wd-fb-og' ); ?>
|
54 |
</td>
|
55 |
</tr>
|
56 |
+
|
57 |
+
<tr>
|
58 |
+
<td colspan="2">
|
59 |
+
<i class="dashicons-before dashicons-warning"></i>
|
60 |
+
<b><?php _e( 'Attention', 'wd-fb-og' ); ?>:</b>
|
61 |
+
<br/>
|
62 |
+
<small>
|
63 |
+
<?php printf( __( 'Because you are using Yoast SEO, and to avoid duplicate social tags, you should disable their social settings at <a href="%s" target="_blank">Yoast SEO > Social</a>. If you cannot access that page, you must first activate the "Advanced settings pages" at <a href="%s" target="_blank">Yoast SEO > Dashboard > Features</a>.', 'wd-fb-og' ), 'admin.php?page=wpseo_social', 'admin.php?page=wpseo_dashboard#top#features' ); ?>
|
64 |
+
</small>
|
65 |
+
</td>
|
66 |
+
</tr>
|
67 |
+
<tr>
|
68 |
+
<td colspan="2" class="info">
|
69 |
+
</td>
|
70 |
+
</tr>
|
71 |
|
72 |
</tbody>
|
73 |
</table>
|
80 |
?>
|
81 |
</div>
|
82 |
</div>
|
83 |
+
<!-- All in One SEO Pack -->
|
84 |
+
<input type="hidden" name="wonderm00n_open_graph_settings[fb_show_aioseop]" id="fb_show_aioseop" value="0"/>
|
85 |
+
<!--<div class="postbox">
|
86 |
+
<h3 class="hndle">
|
87 |
+
<i class="dashicons-before dashicons-shield-alt"></i>
|
88 |
+
<a href="https://wordpress.org/plugins/all-in-one-seo-pack/" target="_blank">All in One SEO Pack</a>
|
89 |
+
</h3>
|
90 |
+
<div class="inside">
|
91 |
+
<?php
|
92 |
+
if ( $webdados_fb->is_aioseop_active() ) {
|
93 |
+
?>
|
94 |
+
<table class="form-table">
|
95 |
+
<tbody>
|
96 |
+
|
97 |
+
<tr>
|
98 |
+
<th><?php _e( 'Use Title and Description', 'wd-fb-og' ); ?>:</th>
|
99 |
+
<td>
|
100 |
+
<input type="checkbox" name="wonderm00n_open_graph_settings[fb_show_aioseop]" id="fb_show_aioseop" value="1" <?php echo (intval($options['fb_show_aioseop'])==1 ? ' checked="checked"' : ''); ?>/>
|
101 |
+
</td>
|
102 |
+
</tr>
|
103 |
+
<tr>
|
104 |
+
<td colspan="2" class="info">
|
105 |
+
- <?php _e( 'Use Title and Description generated by All in One SEO Pack', 'wd-fb-og' ); ?>
|
106 |
+
</td>
|
107 |
+
</tr>
|
108 |
+
|
109 |
+
<tr>
|
110 |
+
<td colspan="2">
|
111 |
+
<i class="dashicons-before dashicons-warning"></i>
|
112 |
+
<b><?php _e( 'Attention', 'wd-fb-og' ); ?>:</b>
|
113 |
+
<br/>
|
114 |
+
<small>
|
115 |
+
<?php printf( __( 'Because you are using All in One SEO Pack, and to avoid duplicate social tags, you should disable their social settings at <a href="%s" target="_blank">MISSING LINK</a>.', 'wd-fb-og' ), '#' ); ?>
|
116 |
+
</small>
|
117 |
+
</td>
|
118 |
+
</tr>
|
119 |
+
<tr>
|
120 |
+
<td colspan="2" class="info">
|
121 |
+
</td>
|
122 |
+
</tr>
|
123 |
+
|
124 |
+
</tbody>
|
125 |
+
</table>
|
126 |
+
<?php
|
127 |
+
} else {
|
128 |
+
?>
|
129 |
+
<p><?php printf ( __( 'You don\'t have %s installed or activated.', 'wd-fb-og' ), 'All in One SEO Pack' ); ?></p>
|
130 |
+
<?php
|
131 |
+
}
|
132 |
+
?>
|
133 |
+
</div>
|
134 |
+
</div>-->
|
135 |
<!-- WooCommerce -->
|
136 |
<div class="postbox">
|
137 |
<h3 class="hndle">
|
140 |
</h3>
|
141 |
<div class="inside">
|
142 |
<?php
|
143 |
+
if ( $webdados_fb->is_woocommerce_active() ) {
|
144 |
?>
|
145 |
<p><?php _e('On the product page we will automatically set <i>og:type</i> to "product" and <i>product:price</i> to the price including tax.', 'wd-fb-og'); ?></p>
|
146 |
<table class="form-table">
|
203 |
</h3>
|
204 |
<div class="inside">
|
205 |
<?php
|
206 |
+
if ( $webdados_fb->is_subheading_plugin_active() ) {
|
207 |
?>
|
208 |
<table class="form-table">
|
209 |
<tbody>
|
252 |
</h3>
|
253 |
<div class="inside">
|
254 |
<?php
|
255 |
+
if ( $webdados_fb->is_business_directory_active() ) {
|
256 |
?>
|
257 |
<table class="form-table">
|
258 |
<tbody>
|
admin/options-page-general.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
4 |
|
5 |
global $webdados_fb;
|
|
|
6 |
?>
|
7 |
<div class="menu_containt_div" id="tabs-1">
|
8 |
<p><?php _e( 'General settings that will apply to all tags types.', 'wd-fb-og' ); ?></p>
|
@@ -21,6 +22,11 @@ global $webdados_fb;
|
|
21 |
<tr>
|
22 |
<td colspan="2" class="info">
|
23 |
- <?php _e( '0 (zero) or blank for no maximum length', 'wd-fb-og' );?>
|
|
|
|
|
|
|
|
|
|
|
24 |
</td>
|
25 |
</tr>
|
26 |
|
@@ -29,7 +35,7 @@ global $webdados_fb;
|
|
29 |
<td>
|
30 |
<?php
|
31 |
$hide_home_description=false;
|
32 |
-
if (get_option( 'show_on_front' )=='page' ) {
|
33 |
$hide_home_description=true;
|
34 |
_e( 'The description of your front page:', 'wd-fb-og' );
|
35 |
echo ' <a href="'.get_edit_post_link(get_option( 'page_on_front' )).'" target="_blank">'.get_the_title(get_option( 'page_on_front' )).'</a>';
|
@@ -39,23 +45,58 @@ global $webdados_fb;
|
|
39 |
<option value=""<?php if (trim($options['fb_desc_homepage'])=='' ) echo ' selected="selected"'; ?>><?php _e( 'Website tagline', 'wd-fb-og' );?> </option>
|
40 |
<option value="custom"<?php if (trim($options['fb_desc_homepage'])=='custom' ) echo ' selected="selected"'; ?>><?php _e( 'Custom text', 'wd-fb-og' );?> </option>
|
41 |
</select>
|
42 |
-
<div
|
43 |
<textarea name="wonderm00n_open_graph_settings[fb_desc_homepage_customtext]" id="fb_desc_homepage_customtext" rows="3" cols="50"><?php echo trim(esc_attr($options['fb_desc_homepage_customtext'])); ?></textarea>
|
44 |
-
<?php
|
45 |
-
if ( $webdados_fb->is_wpml_active() ) {
|
46 |
-
echo '<div class="info">- ';
|
47 |
-
printf(
|
48 |
-
__( 'WPML users: Set the default language description here, save changes and then go to <a href="%s" target="_blank">WPML > String translation</a> to set it for other languages.', 'wd-fb-og' ),
|
49 |
-
'admin.php?page=wpml-string-translation/menu/string-translation.php&context=wd-fb-og'
|
50 |
-
);
|
51 |
-
echo '</div>'; }
|
52 |
-
?>
|
53 |
</div>
|
54 |
</div>
|
55 |
</td>
|
56 |
</tr>
|
57 |
<tr>
|
58 |
<td colspan="2" class="info">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
</td>
|
60 |
</tr>
|
61 |
|
3 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
4 |
|
5 |
global $webdados_fb;
|
6 |
+
|
7 |
?>
|
8 |
<div class="menu_containt_div" id="tabs-1">
|
9 |
<p><?php _e( 'General settings that will apply to all tags types.', 'wd-fb-og' ); ?></p>
|
22 |
<tr>
|
23 |
<td colspan="2" class="info">
|
24 |
- <?php _e( '0 (zero) or blank for no maximum length', 'wd-fb-og' );?>
|
25 |
+
<?php if ( $webdados_fb->is_yoast_seo_active() ) { ?>
|
26 |
+
<div class="fb_wpseoyoast_options">
|
27 |
+
- <?php _e( 'Because Yoast SEO integration is active, this value may be overwritten', 'wd-fb-og' );?>
|
28 |
+
</div>
|
29 |
+
<?php } ?>
|
30 |
</td>
|
31 |
</tr>
|
32 |
|
35 |
<td>
|
36 |
<?php
|
37 |
$hide_home_description=false;
|
38 |
+
if ( get_option( 'show_on_front' )=='page' ) {
|
39 |
$hide_home_description=true;
|
40 |
_e( 'The description of your front page:', 'wd-fb-og' );
|
41 |
echo ' <a href="'.get_edit_post_link(get_option( 'page_on_front' )).'" target="_blank">'.get_the_title(get_option( 'page_on_front' )).'</a>';
|
45 |
<option value=""<?php if (trim($options['fb_desc_homepage'])=='' ) echo ' selected="selected"'; ?>><?php _e( 'Website tagline', 'wd-fb-og' );?> </option>
|
46 |
<option value="custom"<?php if (trim($options['fb_desc_homepage'])=='custom' ) echo ' selected="selected"'; ?>><?php _e( 'Custom text', 'wd-fb-og' );?> </option>
|
47 |
</select>
|
48 |
+
<div class="fb_desc_homepage_customtext_div">
|
49 |
<textarea name="wonderm00n_open_graph_settings[fb_desc_homepage_customtext]" id="fb_desc_homepage_customtext" rows="3" cols="50"><?php echo trim(esc_attr($options['fb_desc_homepage_customtext'])); ?></textarea>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
</div>
|
51 |
</div>
|
52 |
</td>
|
53 |
</tr>
|
54 |
<tr>
|
55 |
<td colspan="2" class="info">
|
56 |
+
<?php if ( $webdados_fb->is_yoast_seo_active() ) { ?>
|
57 |
+
<div class="fb_wpseoyoast_options">
|
58 |
+
- <?php _e( 'Because Yoast SEO integration is active, this value may be overwritten', 'wd-fb-og' );?>
|
59 |
+
</div>
|
60 |
+
<?php } ?>
|
61 |
+
<?php if ( $webdados_fb->is_wpml_active() ) { ?>
|
62 |
+
<div class="fb_desc_homepage_customtext_div">-
|
63 |
+
<?php printf(
|
64 |
+
__( 'WPML users: Set the main language homepage description here, save changes and then go to <a href="%s" target="_blank">WPML > String translation</a> to set it for other languages.', 'wd-fb-og' ),
|
65 |
+
'admin.php?page=wpml-string-translation/menu/string-translation.php&context=wd-fb-og'
|
66 |
+
); ?>
|
67 |
+
</div>
|
68 |
+
<?php } ?>
|
69 |
+
</td>
|
70 |
+
</tr>
|
71 |
+
|
72 |
+
<tr>
|
73 |
+
<th><?php _e( 'Default description', 'wd-fb-og' ); ?>:</th>
|
74 |
+
<td>
|
75 |
+
<select name="wonderm00n_open_graph_settings[fb_desc_default_option]" id="fb_desc_default_option">
|
76 |
+
<option value=""<?php if (trim($options['fb_desc_default_option'])=='' ) echo ' selected="selected"'; ?>><?php _e( 'Homepage description', 'wd-fb-og' );?> </option>
|
77 |
+
<option value="custom"<?php if (trim($options['fb_desc_default_option'])=='custom' ) echo ' selected="selected"'; ?>><?php _e( 'Custom text', 'wd-fb-og' );?> </option>
|
78 |
+
</select>
|
79 |
+
<div class="fb_desc_default_customtext_div">
|
80 |
+
<textarea name="wonderm00n_open_graph_settings[fb_desc_default]" id="fb_desc_default" rows="3" cols="50"><?php echo trim(esc_attr($options['fb_desc_default'])); ?></textarea>
|
81 |
+
</div>
|
82 |
+
</td>
|
83 |
+
</tr>
|
84 |
+
<tr>
|
85 |
+
<td colspan="2" class="info">
|
86 |
+
- <?php _e( 'The default description to be used on any post / page / cpt / archive / search / ... that has a blank description', 'wd-fb-og' ); ?>
|
87 |
+
<?php if ( $webdados_fb->is_yoast_seo_active() ) { ?>
|
88 |
+
<div class="fb_wpseoyoast_options">
|
89 |
+
- <?php _e( 'Because Yoast SEO integration is active, this value may be overwritten', 'wd-fb-og' );?>
|
90 |
+
</div>
|
91 |
+
<?php } ?>
|
92 |
+
<?php if ( $webdados_fb->is_wpml_active() ) { ?>
|
93 |
+
<div class="fb_desc_default_customtext_div">-
|
94 |
+
<?php printf(
|
95 |
+
__( 'WPML users: Set the main language default description here, save changes and then go to <a href="%s" target="_blank">WPML > String translation</a> to set it for other languages.', 'wd-fb-og' ),
|
96 |
+
'admin.php?page=wpml-string-translation/menu/string-translation.php&context=wd-fb-og'
|
97 |
+
); ?>
|
98 |
+
</div>
|
99 |
+
<?php } ?>
|
100 |
</td>
|
101 |
</tr>
|
102 |
|
includes/class-webdados-fb-open-graph.php
CHANGED
@@ -21,7 +21,6 @@ class Webdados_FB {
|
|
21 |
//$this->plugin_slug = 'wonderm00ns-simple-facebook-open-graph-tags';
|
22 |
$this->version = $version;
|
23 |
$this->options = $this->load_options();
|
24 |
-
//var_dump($this->options);
|
25 |
$this->load_dependencies();
|
26 |
$this->set_locale();
|
27 |
$this->call_global_hooks();
|
@@ -72,6 +71,7 @@ class Webdados_FB {
|
|
72 |
//...
|
73 |
//3rd party
|
74 |
'fb_show_wpseoyoast' => 1,
|
|
|
75 |
'fb_wc_useproductgallery' => 1,
|
76 |
'fb_subheading_position' => 'after',
|
77 |
);
|
@@ -119,6 +119,8 @@ class Webdados_FB {
|
|
119 |
'fb_desc_chars' => 'intval',
|
120 |
'fb_desc_homepage' => 'trim',
|
121 |
'fb_desc_homepage_customtext' => 'trim',
|
|
|
|
|
122 |
'fb_image_show' => 'intval',
|
123 |
'fb_image_size_show' => 'intval',
|
124 |
'fb_image_show_schema' => 'intval',
|
@@ -132,6 +134,7 @@ class Webdados_FB {
|
|
132 |
'fb_image_use_default' => 'intval',
|
133 |
'fb_image_min_size' => 'intval',
|
134 |
'fb_show_wpseoyoast' => 'intval',
|
|
|
135 |
'fb_show_subheading' => 'intval',
|
136 |
'fb_subheading_position' => 'trim',
|
137 |
'fb_show_businessdirectoryplugin' => 'intval',
|
@@ -205,19 +208,13 @@ class Webdados_FB {
|
|
205 |
$plugin_admin = new Webdados_FB_Admin( $this->options, $this->version );
|
206 |
// Menu
|
207 |
add_action( 'admin_menu', array( $plugin_admin, 'create_admin_menu' ) );
|
208 |
-
//
|
209 |
add_action( 'admin_init', array( $plugin_admin, 'options_init' ) );
|
210 |
-
//
|
211 |
-
add_action( '
|
212 |
-
//
|
213 |
add_filter( 'plugin_action_links_wonderm00ns-simple-facebook-open-graph-tags/wonderm00n-open-graph.php', array( $plugin_admin, 'place_settings_link' ) );
|
214 |
-
|
215 |
-
// try to clear Facebook open graph cache
|
216 |
-
//add_action( 'save_post', array( $plugin_admin, 'clear_facebook_og_cache' ) );
|
217 |
-
// show notification in admin area, if Facebook Open Graph cache gets cleared successfully
|
218 |
-
//add_action( 'admin_notices', array( $plugin_admin, 'fb_og_cache_cleared_notification' ) );
|
219 |
-
}
|
220 |
-
// show custom options at author's profile page
|
221 |
add_action( 'user_contactmethods', array( $plugin_admin, 'user_contactmethods' ) );
|
222 |
// Add metabox to posts
|
223 |
add_action( 'add_meta_boxes', array( $plugin_admin, 'add_meta_boxes' ) );
|
@@ -293,6 +290,15 @@ class Webdados_FB {
|
|
293 |
}
|
294 |
return false;
|
295 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
296 |
/* 3rd Party - WooCommerce */
|
297 |
public function is_woocommerce_active() {
|
298 |
return in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) );
|
21 |
//$this->plugin_slug = 'wonderm00ns-simple-facebook-open-graph-tags';
|
22 |
$this->version = $version;
|
23 |
$this->options = $this->load_options();
|
|
|
24 |
$this->load_dependencies();
|
25 |
$this->set_locale();
|
26 |
$this->call_global_hooks();
|
71 |
//...
|
72 |
//3rd party
|
73 |
'fb_show_wpseoyoast' => 1,
|
74 |
+
'fb_show_aioseop' => 0,
|
75 |
'fb_wc_useproductgallery' => 1,
|
76 |
'fb_subheading_position' => 'after',
|
77 |
);
|
119 |
'fb_desc_chars' => 'intval',
|
120 |
'fb_desc_homepage' => 'trim',
|
121 |
'fb_desc_homepage_customtext' => 'trim',
|
122 |
+
'fb_desc_default_option' => 'trim',
|
123 |
+
'fb_desc_default' => 'trim',
|
124 |
'fb_image_show' => 'intval',
|
125 |
'fb_image_size_show' => 'intval',
|
126 |
'fb_image_show_schema' => 'intval',
|
134 |
'fb_image_use_default' => 'intval',
|
135 |
'fb_image_min_size' => 'intval',
|
136 |
'fb_show_wpseoyoast' => 'intval',
|
137 |
+
'fb_show_aioseop' => 'intval',
|
138 |
'fb_show_subheading' => 'intval',
|
139 |
'fb_subheading_position' => 'trim',
|
140 |
'fb_show_businessdirectoryplugin' => 'intval',
|
208 |
$plugin_admin = new Webdados_FB_Admin( $this->options, $this->version );
|
209 |
// Menu
|
210 |
add_action( 'admin_menu', array( $plugin_admin, 'create_admin_menu' ) );
|
211 |
+
// Register settings
|
212 |
add_action( 'admin_init', array( $plugin_admin, 'options_init' ) );
|
213 |
+
// WPML - Translate options
|
214 |
+
add_action( 'update_option_wonderm00n_open_graph_settings', array( $plugin_admin, 'options_wpml' ), 10, 3 );
|
215 |
+
// Settings link on the Plugins list
|
216 |
add_filter( 'plugin_action_links_wonderm00ns-simple-facebook-open-graph-tags/wonderm00n-open-graph.php', array( $plugin_admin, 'place_settings_link' ) );
|
217 |
+
// User Facebook, Google+ and Twitter profiles
|
|
|
|
|
|
|
|
|
|
|
|
|
218 |
add_action( 'user_contactmethods', array( $plugin_admin, 'user_contactmethods' ) );
|
219 |
// Add metabox to posts
|
220 |
add_action( 'add_meta_boxes', array( $plugin_admin, 'add_meta_boxes' ) );
|
290 |
}
|
291 |
return false;
|
292 |
}
|
293 |
+
|
294 |
+
/* 3rd Party - All in One SEO Pack */
|
295 |
+
public function is_aioseop_active() {
|
296 |
+
if ( defined( 'AIOSEOP_VERSION' ) ) {
|
297 |
+
return true;
|
298 |
+
}
|
299 |
+
return false;
|
300 |
+
}
|
301 |
+
|
302 |
/* 3rd Party - WooCommerce */
|
303 |
public function is_woocommerce_active() {
|
304 |
return in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) );
|
lang/wd-fb-og-pt_PT.mo
CHANGED
Binary file
|
lang/wd-fb-og-pt_PT.po
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Facebook Open Graph Meta Tags for WordPress v2.0\n"
|
4 |
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wonderm00ns-simple-"
|
5 |
"facebook-open-graph-tags\n"
|
6 |
-
"POT-Creation-Date: 2016-10-
|
7 |
-
"PO-Revision-Date: 2016-10-
|
8 |
"Last-Translator: Wonderm00n <wonderm00n@gmail.com>\n"
|
9 |
"Language-Team: Webdados <info@webdados.pt>\n"
|
10 |
"Language: pt_PT\n"
|
@@ -20,71 +20,71 @@ msgstr ""
|
|
20 |
"X-Textdomain-Support: yes\n"
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
|
23 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
24 |
msgid "Settings"
|
25 |
msgstr "Opções"
|
26 |
|
27 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
28 |
msgid "Google+"
|
29 |
msgstr "Google+"
|
30 |
|
31 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
32 |
#: admin/options-page-twitter.php:106
|
33 |
msgid "Twitter username (without @)"
|
34 |
msgstr "Utilizador do Twitter (sem @)"
|
35 |
|
36 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
37 |
msgid "Facebook profile URL"
|
38 |
msgstr "URL de Perfil Facebook"
|
39 |
|
40 |
# @ wd-fb-og
|
41 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
42 |
msgid "Use this image:"
|
43 |
msgstr "Utilizar esta imagem:"
|
44 |
|
45 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
46 |
-
#: admin/options-page-general.php:
|
47 |
msgid "Upload/Choose"
|
48 |
msgstr "Carregar/Escolher"
|
49 |
|
50 |
# @ wd-fb-og
|
51 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
52 |
msgid "Clear field"
|
53 |
msgstr "Limpar campo"
|
54 |
|
55 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
56 |
-
#: admin/options-page-general.php:
|
57 |
#, php-format
|
58 |
msgid "Recommended size: %dx%dpx"
|
59 |
msgstr "Tamanho recomendado: %dx%dpx"
|
60 |
|
61 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
62 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
63 |
msgid "Select image"
|
64 |
msgstr "Selecionar imagem"
|
65 |
|
66 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
67 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
68 |
msgid "Use this image"
|
69 |
msgstr "Utilizar esta imagem"
|
70 |
|
71 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
72 |
msgid "URL failed:"
|
73 |
msgstr "Falha no URL:"
|
74 |
|
75 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
76 |
msgid "Facebook returned:"
|
77 |
msgstr "O Facebook retornou:"
|
78 |
|
79 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
80 |
msgid "Facebook Open Graph Tags cache updated/purged."
|
81 |
msgstr "Cache das Facebook Open Graph Tags actualizada."
|
82 |
|
83 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
84 |
msgid "Share this on Facebook"
|
85 |
msgstr "Partilhe isto no Facebook"
|
86 |
|
87 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
88 |
msgid "Error: Facebook Open Graph Tags cache NOT updated/purged."
|
89 |
msgstr "Erro: Cache das Facebook Open Graph Tags NÃO actualizada"
|
90 |
|
@@ -92,21 +92,69 @@ msgstr "Erro: Cache das Facebook Open Graph Tags NÃO actualizada"
|
|
92 |
msgid "Settings for 3rd party integration with other plugins."
|
93 |
msgstr "Opções para integração com outros plugins."
|
94 |
|
95 |
-
#: admin/options-page-3rdparty.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
msgid "Use Title, URL and Description"
|
97 |
msgstr "Utilizar Título, URL e Descrição"
|
98 |
|
99 |
-
#: admin/options-page-3rdparty.php:
|
100 |
msgid "Use Title, Canonical URL and Description generated by Yoast SEO"
|
101 |
msgstr "Utilizar o Título, URL Canónico e a Descrição gerados pelo Yoast SEO"
|
102 |
|
103 |
-
#: admin/options-page-3rdparty.php:
|
104 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
#, php-format
|
106 |
msgid "You don't have %s installed or activated."
|
107 |
msgstr "Não tem %s instalado ou activado."
|
108 |
|
109 |
-
#: admin/options-page-3rdparty.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
msgid ""
|
111 |
"On the product page we will automatically set <i>og:type</i> to \"product\" "
|
112 |
"and <i>product:price</i> to the price including tax."
|
@@ -114,11 +162,11 @@ msgstr ""
|
|
114 |
"Em páginas de produtos vamos automaticamente definir o <i>og:type</i> como "
|
115 |
"\"product\" e <i>product:price</i> com o preço incluindo taxas."
|
116 |
|
117 |
-
#: admin/options-page-3rdparty.php:
|
118 |
msgid "Use Product Gallery as Images"
|
119 |
msgstr "Utilizar Galeria de Produto como Imagens"
|
120 |
|
121 |
-
#: admin/options-page-3rdparty.php:
|
122 |
msgid ""
|
123 |
"Sets each Product Gallery image as an additional <i>og:image</i> tag so "
|
124 |
"that, when a product is shared on Facebook, the user is given the choice "
|
@@ -128,10 +176,10 @@ msgstr ""
|
|
128 |
"adicional para que, quando um produto for partilhado no Facebook, seja dada "
|
129 |
"ao utilizador a escolha de qual imagem mostrar"
|
130 |
|
131 |
-
#: admin/options-page-3rdparty.php:
|
132 |
#: admin/options-page-facebook.php:52 admin/options-page-facebook.php:66
|
133 |
#: admin/options-page-facebook.php:82 admin/options-page-facebook.php:114
|
134 |
-
#: admin/options-page-facebook.php:284 admin/options-page-general.php:
|
135 |
#: admin/options-page-schema.php:24 admin/options-page-schema.php:38
|
136 |
#: admin/options-page-schema.php:52 admin/options-page-schema.php:70
|
137 |
#: admin/options-page-seo.php:32 admin/options-page-seo.php:54
|
@@ -141,19 +189,19 @@ msgstr ""
|
|
141 |
msgid "You can change this value using the <i>%1$s</i> filter"
|
142 |
msgstr "Pode alterar este valor utilizando o filtro <i>%1$s</i>"
|
143 |
|
144 |
-
#: admin/options-page-3rdparty.php:
|
145 |
msgid "Overlay PNG logo"
|
146 |
msgstr "Sobrepor logotipo em PNG"
|
147 |
|
148 |
-
#: admin/options-page-3rdparty.php:
|
149 |
msgid "Also overlay the PNG logo on the Product Gallery images"
|
150 |
msgstr "Também sobrepor o logotipo em PNG nas imagens da Galeria de Produto"
|
151 |
|
152 |
-
#: admin/options-page-3rdparty.php:
|
153 |
msgid "Use Category thumbnail as Image"
|
154 |
msgstr "Utilizar miniatura de Categoria como Imagem"
|
155 |
|
156 |
-
#: admin/options-page-3rdparty.php:
|
157 |
msgid ""
|
158 |
"Recommended if you set large thumbnails for Product Categories and want to "
|
159 |
"use them as Open Graph Images on category listing pages"
|
@@ -162,27 +210,27 @@ msgstr ""
|
|
162 |
"Produto e deseja usar as mesmas como \"Open Graph Image\" nas listagens de "
|
163 |
"categorias"
|
164 |
|
165 |
-
#: admin/options-page-3rdparty.php:
|
166 |
msgid "Add SubHeading to Post/Page Title"
|
167 |
msgstr "Adicionar \"SubHeading\" ao título do Artigo/Página"
|
168 |
|
169 |
-
#: admin/options-page-3rdparty.php:
|
170 |
msgid "SubHeading position"
|
171 |
msgstr "Posição do \"SubHeading\""
|
172 |
|
173 |
-
#: admin/options-page-3rdparty.php:
|
174 |
msgid "After"
|
175 |
msgstr "Depois"
|
176 |
|
177 |
-
#: admin/options-page-3rdparty.php:
|
178 |
msgid "Before"
|
179 |
msgstr "Antes"
|
180 |
|
181 |
-
#: admin/options-page-3rdparty.php:
|
182 |
msgid "Use listing details"
|
183 |
msgstr "Utilizar detalhes dos anúncios"
|
184 |
|
185 |
-
#: admin/options-page-3rdparty.php:
|
186 |
msgid ""
|
187 |
"Use Business Directory Plugin listing details (Title, URL, Description and "
|
188 |
"Image) to populate tags"
|
@@ -190,7 +238,7 @@ msgstr ""
|
|
190 |
"Utilizar os detalhes de anúncios do Business Directory Plugin (Título, URL, "
|
191 |
"e Imagem) como conteúdo das tags"
|
192 |
|
193 |
-
#: admin/options-page-3rdparty.php:
|
194 |
msgid ""
|
195 |
"Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and "
|
196 |
"\"Include Image\" options is HIGHLY recommended"
|
@@ -425,96 +473,126 @@ msgstr ""
|
|
425 |
"Por vezes não conseguimos actualizar a cache e o autor do artigo verá uma "
|
426 |
"notificação se esta opção não estiver activa"
|
427 |
|
428 |
-
#: admin/options-page-general.php:
|
429 |
msgid "General settings that will apply to all tags types."
|
430 |
msgstr "Opções gerais que se aplicam a todos os tipos de tags"
|
431 |
|
432 |
-
#: admin/options-page-general.php:
|
433 |
msgid "Description settings"
|
434 |
msgstr "Opções de Descrição"
|
435 |
|
436 |
# @ wd-fb-og
|
437 |
-
#: admin/options-page-general.php:
|
438 |
msgid "Description maximum length"
|
439 |
msgstr "Comprimento máximo da descrição"
|
440 |
|
441 |
-
#: admin/options-page-general.php:
|
442 |
msgid "characters"
|
443 |
msgstr "caracteres"
|
444 |
|
445 |
-
#: admin/options-page-general.php:
|
446 |
msgid "0 (zero) or blank for no maximum length"
|
447 |
msgstr "0 (zero) ou em branco para não definir máximo"
|
448 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
449 |
# @ wd-fb-og
|
450 |
-
#: admin/options-page-general.php:
|
451 |
msgid "Homepage description"
|
452 |
msgstr "Descrição da página inicial"
|
453 |
|
454 |
# @ wd-fb-og
|
455 |
-
#: admin/options-page-general.php:
|
456 |
msgid "The description of your front page:"
|
457 |
msgstr "A descrição da sua página inicial:"
|
458 |
|
459 |
# @ wd-fb-og
|
460 |
-
#: admin/options-page-general.php:
|
461 |
msgid "Website tagline"
|
462 |
msgstr "Descrição do site"
|
463 |
|
464 |
# @ wd-fb-og
|
465 |
-
#: admin/options-page-general.php:
|
466 |
msgid "Custom text"
|
467 |
msgstr "Texto personalizado"
|
468 |
|
469 |
-
#: admin/options-page-general.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
470 |
#, php-format
|
471 |
msgid ""
|
472 |
-
"WPML users: Set the
|
473 |
-
"go to <a href=\"%s\" target=\"_blank\">WPML > String translation</a>
|
474 |
-
"set it for other languages."
|
475 |
msgstr ""
|
476 |
-
"Utilizadores WPML: Defina aqui a descrição no idioma por
|
477 |
-
"alterações e vá a <a href=\"%s\" target=\"_blank\">WPML
|
478 |
-
"string</a> para defini-la noutros idiomas."
|
479 |
|
480 |
-
#: admin/options-page-general.php:
|
481 |
msgid "Image settings"
|
482 |
msgstr "Opções de Imagem"
|
483 |
|
484 |
# @ wd-fb-og
|
485 |
-
#: admin/options-page-general.php:
|
486 |
msgid "Default image"
|
487 |
msgstr "Imagem por omissão"
|
488 |
|
489 |
-
#: admin/options-page-general.php:
|
490 |
msgid "URL (with http(s)://)"
|
491 |
msgstr "URL (com http(s)://)"
|
492 |
|
493 |
-
#: admin/options-page-general.php:
|
494 |
msgid "On Post/Page, use image from"
|
495 |
msgstr "No Artigo/Página, usar imagem de"
|
496 |
|
497 |
-
#: admin/options-page-general.php:
|
498 |
msgid "\"Open Graph Image\" custom field on the post"
|
499 |
msgstr "Campo específico \"Open Graph Image\" no artigo"
|
500 |
|
501 |
-
#: admin/options-page-general.php:
|
502 |
msgid "Post/page featured image"
|
503 |
msgstr "Imagem de destaque do artigo/página"
|
504 |
|
505 |
-
#: admin/options-page-general.php:
|
506 |
msgid "First image from the post/page content"
|
507 |
msgstr "Primeira imagem no conteúdo do artigo/página"
|
508 |
|
509 |
-
#: admin/options-page-general.php:
|
510 |
msgid "First image from the post/page media gallery"
|
511 |
msgstr "Primeira imagem carregada na galeria multimédia do artigo/página"
|
512 |
|
513 |
-
#: admin/options-page-general.php:
|
514 |
msgid "Default image specified above"
|
515 |
msgstr "Imagem por omissão definida em cima"
|
516 |
|
517 |
-
#: admin/options-page-general.php:
|
518 |
msgid ""
|
519 |
"On posts/pages the first image found, using the priority above, will be "
|
520 |
"used. On the homepage, archives and other website sections the default image "
|
@@ -524,11 +602,11 @@ msgstr ""
|
|
524 |
"cima, será utilizada. Na página inicial, arquivos e outras secções do "
|
525 |
"website a imagem utilizada será a por omissão."
|
526 |
|
527 |
-
#: admin/options-page-general.php:
|
528 |
msgid "Experimental"
|
529 |
msgstr "Experimental"
|
530 |
|
531 |
-
#: admin/options-page-general.php:
|
532 |
#, php-format
|
533 |
msgid ""
|
534 |
"The original image will be resized/cropped to %dx%dpx and the chosen PNG "
|
@@ -539,7 +617,7 @@ msgstr ""
|
|
539 |
"(que deve ter exactamente este tamanho) será sobreposto à mesma. Só "
|
540 |
"funcionará para imagem alojadas localmente."
|
541 |
|
542 |
-
#: admin/options-page-general.php:
|
543 |
#, php-format
|
544 |
msgid ""
|
545 |
"You can see an example of the end result <a href=\"%s\" target=\"_blank"
|
@@ -548,7 +626,7 @@ msgstr ""
|
|
548 |
"Pode ver um exemplo do resultado final <a href=\"%s\" target=\"_blank"
|
549 |
"\">aqui</a>"
|
550 |
|
551 |
-
#: admin/options-page-general.php:
|
552 |
#, php-format
|
553 |
msgid ""
|
554 |
"If you activate this option globally, you can disable it based on your "
|
@@ -557,42 +635,42 @@ msgstr ""
|
|
557 |
"Se activar esta opção globalmente, pode desactivá-la com base nas suas "
|
558 |
"condições utilizando o filtro <i>%1$s</i>"
|
559 |
|
560 |
-
#: admin/options-page-general.php:
|
561 |
msgid "PNG logo"
|
562 |
msgstr "Logo PNG"
|
563 |
|
564 |
-
#: admin/options-page-general.php:
|
565 |
#, php-format
|
566 |
msgid "Size: %dx%dpx"
|
567 |
msgstr "Tamanho: %dx%dpx"
|
568 |
|
569 |
# @ wd-fb-og
|
570 |
-
#: admin/options-page-general.php:
|
571 |
msgid "Add image to RSS/RSS2 feeds"
|
572 |
msgstr "Incluir a imagem aos feeds RSS/RSS2"
|
573 |
|
574 |
# @ wd-fb-og
|
575 |
-
#: admin/options-page-general.php:
|
576 |
msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
|
577 |
msgstr ""
|
578 |
"Para aplicação de posts automáticos como o RSS Graffitti, twitterfeed, etc..."
|
579 |
|
580 |
-
#: admin/options-page-general.php:
|
581 |
msgid "Force getimagesize on local file"
|
582 |
msgstr "Forçar “getimagesize” em ficheiro local"
|
583 |
|
584 |
-
#: admin/options-page-general.php:
|
585 |
msgid ""
|
586 |
"This is an advanced option: Don't mess with this unless you know what you're "
|
587 |
"doing"
|
588 |
msgstr "Esta é uma opção avançada: Não a altere se não sabe o que está a fazer"
|
589 |
|
590 |
-
#: admin/options-page-general.php:
|
591 |
msgid "Force getimagesize on local file even if allow_url_fopen=1"
|
592 |
msgstr ""
|
593 |
"Forçar o \"getimagesize\" no ficheiro local mesmo que allow_url_fopen=1"
|
594 |
|
595 |
-
#: admin/options-page-general.php:
|
596 |
msgid ""
|
597 |
"May cause problems with some multisite configurations but fixes \"HTTP "
|
598 |
"request failed\" errors"
|
@@ -600,44 +678,44 @@ msgstr ""
|
|
600 |
"Pode causar problemas com algumas configurações “multisite” mas corrige "
|
601 |
"erros \"HTTP request failed\""
|
602 |
|
603 |
-
#: admin/options-page-general.php:
|
604 |
msgid "URL settings"
|
605 |
msgstr "Opções de URL"
|
606 |
|
607 |
# @ wd-fb-og
|
608 |
-
#: admin/options-page-general.php:
|
609 |
msgid "Add trailing slash at the end"
|
610 |
msgstr "Adicionar barra invertida no final"
|
611 |
|
612 |
-
#: admin/options-page-general.php:
|
613 |
msgid "If missing, a trailing slash will be added at the end"
|
614 |
msgstr "Se em falta, será adicionada uma barra invertida no final"
|
615 |
|
616 |
-
#: admin/options-page-general.php:
|
617 |
msgid "Homepage example:"
|
618 |
msgstr "Exemplo da Página Inicial:"
|
619 |
|
620 |
-
#: admin/options-page-general.php:
|
621 |
msgid "Author settings"
|
622 |
msgstr "Opções de Autor"
|
623 |
|
624 |
-
#: admin/options-page-general.php:
|
625 |
msgid "Hide Author on Pages"
|
626 |
msgstr "Esconder Autor nas Páginas"
|
627 |
|
628 |
-
#: admin/options-page-general.php:
|
629 |
msgid "Hides all Author tags on Pages"
|
630 |
msgstr "Esconde todas as tags de Autor nas Páginas"
|
631 |
|
632 |
-
#: admin/options-page-general.php:
|
633 |
msgid "Other settings"
|
634 |
msgstr "Outras opções"
|
635 |
|
636 |
-
#: admin/options-page-general.php:
|
637 |
msgid "Keep data on uninstall"
|
638 |
msgstr "Manter opções ao desinstalar"
|
639 |
|
640 |
-
#: admin/options-page-general.php:
|
641 |
msgid ""
|
642 |
"Keep the plugin settings on the database even if the plugin is uninstalled"
|
643 |
msgstr ""
|
@@ -878,17 +956,17 @@ msgstr "Tags SEO"
|
|
878 |
msgid "3rd party"
|
879 |
msgstr "Integração"
|
880 |
|
881 |
-
#: public/class-webdados-fb-open-graph-public.php:
|
882 |
msgid "Price"
|
883 |
msgstr "Preço"
|
884 |
|
885 |
-
#: public/class-webdados-fb-open-graph-public.php:
|
886 |
msgid "Search for"
|
887 |
msgstr "Pesquisa por"
|
888 |
|
889 |
-
#: public/class-webdados-fb-open-graph-public.php:
|
890 |
-
#: public/class-webdados-fb-open-graph-public.php:
|
891 |
-
#: public/class-webdados-fb-open-graph-public.php:
|
892 |
msgid "Archives"
|
893 |
msgstr "Arquivos"
|
894 |
|
@@ -907,6 +985,15 @@ msgstr ""
|
|
907 |
"aplicações como o RSS Graffiti e o Twitterfeed façam partilha para o "
|
908 |
"Facebook com a imagem correcta."
|
909 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
910 |
#~ msgid ""
|
911 |
#~ "Inserts Facebook Open Graph, Google+ / Schema.org and Twitter Card Tags "
|
912 |
#~ "into your WordPress Blog/Website for more effective and efficient "
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Facebook Open Graph Meta Tags for WordPress v2.0.3\n"
|
4 |
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wonderm00ns-simple-"
|
5 |
"facebook-open-graph-tags\n"
|
6 |
+
"POT-Creation-Date: 2016-10-13 09:35+0100\n"
|
7 |
+
"PO-Revision-Date: 2016-10-13 09:41+0100\n"
|
8 |
"Last-Translator: Wonderm00n <wonderm00n@gmail.com>\n"
|
9 |
"Language-Team: Webdados <info@webdados.pt>\n"
|
10 |
"Language: pt_PT\n"
|
20 |
"X-Textdomain-Support: yes\n"
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
|
23 |
+
#: admin/class-webdados-fb-open-graph-admin.php:44
|
24 |
msgid "Settings"
|
25 |
msgstr "Opções"
|
26 |
|
27 |
+
#: admin/class-webdados-fb-open-graph-admin.php:55
|
28 |
msgid "Google+"
|
29 |
msgstr "Google+"
|
30 |
|
31 |
+
#: admin/class-webdados-fb-open-graph-admin.php:57
|
32 |
#: admin/options-page-twitter.php:106
|
33 |
msgid "Twitter username (without @)"
|
34 |
msgstr "Utilizador do Twitter (sem @)"
|
35 |
|
36 |
+
#: admin/class-webdados-fb-open-graph-admin.php:59
|
37 |
msgid "Facebook profile URL"
|
38 |
msgstr "URL de Perfil Facebook"
|
39 |
|
40 |
# @ wd-fb-og
|
41 |
+
#: admin/class-webdados-fb-open-graph-admin.php:93
|
42 |
msgid "Use this image:"
|
43 |
msgstr "Utilizar esta imagem:"
|
44 |
|
45 |
+
#: admin/class-webdados-fb-open-graph-admin.php:96
|
46 |
+
#: admin/options-page-general.php:117 admin/options-page-general.php:183
|
47 |
msgid "Upload/Choose"
|
48 |
msgstr "Carregar/Escolher"
|
49 |
|
50 |
# @ wd-fb-og
|
51 |
+
#: admin/class-webdados-fb-open-graph-admin.php:97
|
52 |
msgid "Clear field"
|
53 |
msgstr "Limpar campo"
|
54 |
|
55 |
+
#: admin/class-webdados-fb-open-graph-admin.php:99
|
56 |
+
#: admin/options-page-general.php:124
|
57 |
#, php-format
|
58 |
msgid "Recommended size: %dx%dpx"
|
59 |
msgstr "Tamanho recomendado: %dx%dpx"
|
60 |
|
61 |
+
#: admin/class-webdados-fb-open-graph-admin.php:115
|
62 |
+
#: admin/class-webdados-fb-open-graph-admin.php:241
|
63 |
msgid "Select image"
|
64 |
msgstr "Selecionar imagem"
|
65 |
|
66 |
+
#: admin/class-webdados-fb-open-graph-admin.php:116
|
67 |
+
#: admin/class-webdados-fb-open-graph-admin.php:242
|
68 |
msgid "Use this image"
|
69 |
msgstr "Utilizar esta imagem"
|
70 |
|
71 |
+
#: admin/class-webdados-fb-open-graph-admin.php:187
|
72 |
msgid "URL failed:"
|
73 |
msgstr "Falha no URL:"
|
74 |
|
75 |
+
#: admin/class-webdados-fb-open-graph-admin.php:195
|
76 |
msgid "Facebook returned:"
|
77 |
msgstr "O Facebook retornou:"
|
78 |
|
79 |
+
#: admin/class-webdados-fb-open-graph-admin.php:209
|
80 |
msgid "Facebook Open Graph Tags cache updated/purged."
|
81 |
msgstr "Cache das Facebook Open Graph Tags actualizada."
|
82 |
|
83 |
+
#: admin/class-webdados-fb-open-graph-admin.php:209
|
84 |
msgid "Share this on Facebook"
|
85 |
msgstr "Partilhe isto no Facebook"
|
86 |
|
87 |
+
#: admin/class-webdados-fb-open-graph-admin.php:217
|
88 |
msgid "Error: Facebook Open Graph Tags cache NOT updated/purged."
|
89 |
msgstr "Erro: Cache das Facebook Open Graph Tags NÃO actualizada"
|
90 |
|
92 |
msgid "Settings for 3rd party integration with other plugins."
|
93 |
msgstr "Opções para integração com outros plugins."
|
94 |
|
95 |
+
#: admin/options-page-3rdparty.php:16 admin/options-page-3rdparty.php:60
|
96 |
+
#: admin/options-page-3rdparty.php:112
|
97 |
+
msgid "Attention"
|
98 |
+
msgstr "Atenção"
|
99 |
+
|
100 |
+
#: admin/options-page-3rdparty.php:18
|
101 |
+
msgid ""
|
102 |
+
"You currently have both Yoast SEO and All in One SEO Pack plugins active. "
|
103 |
+
"This is no recommended."
|
104 |
+
msgstr ""
|
105 |
+
"Tem actualmente os plugins Yoast SEO e All in One SEO Pack activos em "
|
106 |
+
"simultâneo. Isto não é recomendado."
|
107 |
+
|
108 |
+
#: admin/options-page-3rdparty.php:46
|
109 |
msgid "Use Title, URL and Description"
|
110 |
msgstr "Utilizar Título, URL e Descrição"
|
111 |
|
112 |
+
#: admin/options-page-3rdparty.php:53
|
113 |
msgid "Use Title, Canonical URL and Description generated by Yoast SEO"
|
114 |
msgstr "Utilizar o Título, URL Canónico e a Descrição gerados pelo Yoast SEO"
|
115 |
|
116 |
+
#: admin/options-page-3rdparty.php:63
|
117 |
+
#, php-format
|
118 |
+
msgid ""
|
119 |
+
"Because you are using Yoast SEO, and to avoid duplicate social tags, you "
|
120 |
+
"should disable their social settings at <a href=\"%s\" target=\"_blank"
|
121 |
+
"\">Yoast SEO > Social</a>. If you cannot access that page, you must first "
|
122 |
+
"activate the \"Advanced settings pages\" at <a href=\"%s\" target=\"_blank"
|
123 |
+
"\">Yoast SEO > Dashboard > Features</a>."
|
124 |
+
msgstr ""
|
125 |
+
"Porque está a utilizar o Yoast SEO, e para evitar tags duplicadas, deve "
|
126 |
+
"desabilitar as definições de redes sociais desse plugin em <a href=\"%s\" "
|
127 |
+
"target=\"_blank\">SEO > Redes sociais</a>. Se não consegue aceder a essa "
|
128 |
+
"página, tem primeiro de activar a opção “Páginas de definições avançadas” em "
|
129 |
+
"<a href=\"%s\" target=\"_blank\">SEO > Painel > Funcionalidades</a>."
|
130 |
+
|
131 |
+
#: admin/options-page-3rdparty.php:77 admin/options-page-3rdparty.php:129
|
132 |
+
#: admin/options-page-3rdparty.php:192 admin/options-page-3rdparty.php:241
|
133 |
+
#: admin/options-page-3rdparty.php:279
|
134 |
#, php-format
|
135 |
msgid "You don't have %s installed or activated."
|
136 |
msgstr "Não tem %s instalado ou activado."
|
137 |
|
138 |
+
#: admin/options-page-3rdparty.php:98
|
139 |
+
msgid "Use Title and Description"
|
140 |
+
msgstr "Utilizar Título e Descrição"
|
141 |
+
|
142 |
+
#: admin/options-page-3rdparty.php:105
|
143 |
+
msgid "Use Title and Description generated by All in One SEO Pack"
|
144 |
+
msgstr "Utilizar o Título e a Descrição gerados pelo All in One SEO Pack"
|
145 |
+
|
146 |
+
#: admin/options-page-3rdparty.php:115
|
147 |
+
#, php-format
|
148 |
+
msgid ""
|
149 |
+
"Because you are using All in One SEO Pack, and to avoid duplicate social "
|
150 |
+
"tags, you should disable their social settings at <a href=\"%s\" target="
|
151 |
+
"\"_blank\">MISSING LINK</a>."
|
152 |
+
msgstr ""
|
153 |
+
"Porque está a utilizar o All in One SEO Pack, e para evitar tags duplicadas, "
|
154 |
+
"deve desabilitar as definições de redes sociais desse plugin em <a href=\"%s"
|
155 |
+
"\" target=\"_blank”>…</a>."
|
156 |
+
|
157 |
+
#: admin/options-page-3rdparty.php:145
|
158 |
msgid ""
|
159 |
"On the product page we will automatically set <i>og:type</i> to \"product\" "
|
160 |
"and <i>product:price</i> to the price including tax."
|
162 |
"Em páginas de produtos vamos automaticamente definir o <i>og:type</i> como "
|
163 |
"\"product\" e <i>product:price</i> com o preço incluindo taxas."
|
164 |
|
165 |
+
#: admin/options-page-3rdparty.php:150
|
166 |
msgid "Use Product Gallery as Images"
|
167 |
msgstr "Utilizar Galeria de Produto como Imagens"
|
168 |
|
169 |
+
#: admin/options-page-3rdparty.php:157
|
170 |
msgid ""
|
171 |
"Sets each Product Gallery image as an additional <i>og:image</i> tag so "
|
172 |
"that, when a product is shared on Facebook, the user is given the choice "
|
176 |
"adicional para que, quando um produto for partilhado no Facebook, seja dada "
|
177 |
"ao utilizador a escolha de qual imagem mostrar"
|
178 |
|
179 |
+
#: admin/options-page-3rdparty.php:159 admin/options-page-facebook.php:24
|
180 |
#: admin/options-page-facebook.php:52 admin/options-page-facebook.php:66
|
181 |
#: admin/options-page-facebook.php:82 admin/options-page-facebook.php:114
|
182 |
+
#: admin/options-page-facebook.php:284 admin/options-page-general.php:126
|
183 |
#: admin/options-page-schema.php:24 admin/options-page-schema.php:38
|
184 |
#: admin/options-page-schema.php:52 admin/options-page-schema.php:70
|
185 |
#: admin/options-page-seo.php:32 admin/options-page-seo.php:54
|
189 |
msgid "You can change this value using the <i>%1$s</i> filter"
|
190 |
msgstr "Pode alterar este valor utilizando o filtro <i>%1$s</i>"
|
191 |
|
192 |
+
#: admin/options-page-3rdparty.php:164 admin/options-page-general.php:162
|
193 |
msgid "Overlay PNG logo"
|
194 |
msgstr "Sobrepor logotipo em PNG"
|
195 |
|
196 |
+
#: admin/options-page-3rdparty.php:171
|
197 |
msgid "Also overlay the PNG logo on the Product Gallery images"
|
198 |
msgstr "Também sobrepor o logotipo em PNG nas imagens da Galeria de Produto"
|
199 |
|
200 |
+
#: admin/options-page-3rdparty.php:176
|
201 |
msgid "Use Category thumbnail as Image"
|
202 |
msgstr "Utilizar miniatura de Categoria como Imagem"
|
203 |
|
204 |
+
#: admin/options-page-3rdparty.php:183
|
205 |
msgid ""
|
206 |
"Recommended if you set large thumbnails for Product Categories and want to "
|
207 |
"use them as Open Graph Images on category listing pages"
|
210 |
"Produto e deseja usar as mesmas como \"Open Graph Image\" nas listagens de "
|
211 |
"categorias"
|
212 |
|
213 |
+
#: admin/options-page-3rdparty.php:212
|
214 |
msgid "Add SubHeading to Post/Page Title"
|
215 |
msgstr "Adicionar \"SubHeading\" ao título do Artigo/Página"
|
216 |
|
217 |
+
#: admin/options-page-3rdparty.php:223
|
218 |
msgid "SubHeading position"
|
219 |
msgstr "Posição do \"SubHeading\""
|
220 |
|
221 |
+
#: admin/options-page-3rdparty.php:226
|
222 |
msgid "After"
|
223 |
msgstr "Depois"
|
224 |
|
225 |
+
#: admin/options-page-3rdparty.php:227
|
226 |
msgid "Before"
|
227 |
msgstr "Antes"
|
228 |
|
229 |
+
#: admin/options-page-3rdparty.php:261
|
230 |
msgid "Use listing details"
|
231 |
msgstr "Utilizar detalhes dos anúncios"
|
232 |
|
233 |
+
#: admin/options-page-3rdparty.php:268
|
234 |
msgid ""
|
235 |
"Use Business Directory Plugin listing details (Title, URL, Description and "
|
236 |
"Image) to populate tags"
|
238 |
"Utilizar os detalhes de anúncios do Business Directory Plugin (Título, URL, "
|
239 |
"e Imagem) como conteúdo das tags"
|
240 |
|
241 |
+
#: admin/options-page-3rdparty.php:270
|
242 |
msgid ""
|
243 |
"Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and "
|
244 |
"\"Include Image\" options is HIGHLY recommended"
|
473 |
"Por vezes não conseguimos actualizar a cache e o autor do artigo verá uma "
|
474 |
"notificação se esta opção não estiver activa"
|
475 |
|
476 |
+
#: admin/options-page-general.php:9
|
477 |
msgid "General settings that will apply to all tags types."
|
478 |
msgstr "Opções gerais que se aplicam a todos os tipos de tags"
|
479 |
|
480 |
+
#: admin/options-page-general.php:11
|
481 |
msgid "Description settings"
|
482 |
msgstr "Opções de Descrição"
|
483 |
|
484 |
# @ wd-fb-og
|
485 |
+
#: admin/options-page-general.php:17
|
486 |
msgid "Description maximum length"
|
487 |
msgstr "Comprimento máximo da descrição"
|
488 |
|
489 |
+
#: admin/options-page-general.php:19
|
490 |
msgid "characters"
|
491 |
msgstr "caracteres"
|
492 |
|
493 |
+
#: admin/options-page-general.php:24
|
494 |
msgid "0 (zero) or blank for no maximum length"
|
495 |
msgstr "0 (zero) ou em branco para não definir máximo"
|
496 |
|
497 |
+
#: admin/options-page-general.php:27 admin/options-page-general.php:58
|
498 |
+
#: admin/options-page-general.php:89
|
499 |
+
msgid "Because Yoast SEO integration is active, this value may be overwritten"
|
500 |
+
msgstr ""
|
501 |
+
"Porque a integração com o Coast SEO está activa, este valor pode ser "
|
502 |
+
"substituído"
|
503 |
+
|
504 |
# @ wd-fb-og
|
505 |
+
#: admin/options-page-general.php:34 admin/options-page-general.php:76
|
506 |
msgid "Homepage description"
|
507 |
msgstr "Descrição da página inicial"
|
508 |
|
509 |
# @ wd-fb-og
|
510 |
+
#: admin/options-page-general.php:40
|
511 |
msgid "The description of your front page:"
|
512 |
msgstr "A descrição da sua página inicial:"
|
513 |
|
514 |
# @ wd-fb-og
|
515 |
+
#: admin/options-page-general.php:45
|
516 |
msgid "Website tagline"
|
517 |
msgstr "Descrição do site"
|
518 |
|
519 |
# @ wd-fb-og
|
520 |
+
#: admin/options-page-general.php:46 admin/options-page-general.php:77
|
521 |
msgid "Custom text"
|
522 |
msgstr "Texto personalizado"
|
523 |
|
524 |
+
#: admin/options-page-general.php:64
|
525 |
+
#, php-format
|
526 |
+
msgid ""
|
527 |
+
"WPML users: Set the main language homepage description here, save changes "
|
528 |
+
"and then go to <a href=\"%s\" target=\"_blank\">WPML > String "
|
529 |
+
"translation</a> to set it for other languages."
|
530 |
+
msgstr ""
|
531 |
+
"Utilizadores WPML: Defina aqui a descrição da página inicial no idioma por "
|
532 |
+
"omissão, guarde as alterações e vá a <a href=\"%s\" target=\"_blank\">WPML "
|
533 |
+
"> Tradução de string</a> para defini-la noutros idiomas."
|
534 |
+
|
535 |
+
#: admin/options-page-general.php:73
|
536 |
+
msgid "Default description"
|
537 |
+
msgstr "Descrição por omissão"
|
538 |
+
|
539 |
+
#: admin/options-page-general.php:86
|
540 |
+
msgid ""
|
541 |
+
"The default description to be used on any post / page / cpt / archive / "
|
542 |
+
"search / ... that has a blank description"
|
543 |
+
msgstr ""
|
544 |
+
"A descrição por omissão a ser utilizada em qualquer artigo / página / cpt / "
|
545 |
+
"arquivo / pesquisa / … que tenha a descrição em vazio"
|
546 |
+
|
547 |
+
#: admin/options-page-general.php:95
|
548 |
#, php-format
|
549 |
msgid ""
|
550 |
+
"WPML users: Set the main language default description here, save changes and "
|
551 |
+
"then go to <a href=\"%s\" target=\"_blank\">WPML > String translation</a> "
|
552 |
+
"to set it for other languages."
|
553 |
msgstr ""
|
554 |
+
"Utilizadores WPML: Defina aqui a descrição por omissão no idioma por "
|
555 |
+
"omissão, guarde as alterações e vá a <a href=\"%s\" target=\"_blank\">WPML "
|
556 |
+
"> Tradução de string</a> para defini-la noutros idiomas."
|
557 |
|
558 |
+
#: admin/options-page-general.php:108
|
559 |
msgid "Image settings"
|
560 |
msgstr "Opções de Imagem"
|
561 |
|
562 |
# @ wd-fb-og
|
563 |
+
#: admin/options-page-general.php:114
|
564 |
msgid "Default image"
|
565 |
msgstr "Imagem por omissão"
|
566 |
|
567 |
+
#: admin/options-page-general.php:122 admin/options-page-general.php:188
|
568 |
msgid "URL (with http(s)://)"
|
569 |
msgstr "URL (com http(s)://)"
|
570 |
|
571 |
+
#: admin/options-page-general.php:131
|
572 |
msgid "On Post/Page, use image from"
|
573 |
msgstr "No Artigo/Página, usar imagem de"
|
574 |
|
575 |
+
#: admin/options-page-general.php:135
|
576 |
msgid "\"Open Graph Image\" custom field on the post"
|
577 |
msgstr "Campo específico \"Open Graph Image\" no artigo"
|
578 |
|
579 |
+
#: admin/options-page-general.php:139
|
580 |
msgid "Post/page featured image"
|
581 |
msgstr "Imagem de destaque do artigo/página"
|
582 |
|
583 |
+
#: admin/options-page-general.php:143
|
584 |
msgid "First image from the post/page content"
|
585 |
msgstr "Primeira imagem no conteúdo do artigo/página"
|
586 |
|
587 |
+
#: admin/options-page-general.php:147
|
588 |
msgid "First image from the post/page media gallery"
|
589 |
msgstr "Primeira imagem carregada na galeria multimédia do artigo/página"
|
590 |
|
591 |
+
#: admin/options-page-general.php:151
|
592 |
msgid "Default image specified above"
|
593 |
msgstr "Imagem por omissão definida em cima"
|
594 |
|
595 |
+
#: admin/options-page-general.php:157
|
596 |
msgid ""
|
597 |
"On posts/pages the first image found, using the priority above, will be "
|
598 |
"used. On the homepage, archives and other website sections the default image "
|
602 |
"cima, será utilizada. Na página inicial, arquivos e outras secções do "
|
603 |
"website a imagem utilizada será a por omissão."
|
604 |
|
605 |
+
#: admin/options-page-general.php:169 admin/options-page-schema.php:66
|
606 |
msgid "Experimental"
|
607 |
msgstr "Experimental"
|
608 |
|
609 |
+
#: admin/options-page-general.php:171
|
610 |
#, php-format
|
611 |
msgid ""
|
612 |
"The original image will be resized/cropped to %dx%dpx and the chosen PNG "
|
617 |
"(que deve ter exactamente este tamanho) será sobreposto à mesma. Só "
|
618 |
"funcionará para imagem alojadas localmente."
|
619 |
|
620 |
+
#: admin/options-page-general.php:173
|
621 |
#, php-format
|
622 |
msgid ""
|
623 |
"You can see an example of the end result <a href=\"%s\" target=\"_blank"
|
626 |
"Pode ver um exemplo do resultado final <a href=\"%s\" target=\"_blank"
|
627 |
"\">aqui</a>"
|
628 |
|
629 |
+
#: admin/options-page-general.php:175
|
630 |
#, php-format
|
631 |
msgid ""
|
632 |
"If you activate this option globally, you can disable it based on your "
|
635 |
"Se activar esta opção globalmente, pode desactivá-la com base nas suas "
|
636 |
"condições utilizando o filtro <i>%1$s</i>"
|
637 |
|
638 |
+
#: admin/options-page-general.php:180
|
639 |
msgid "PNG logo"
|
640 |
msgstr "Logo PNG"
|
641 |
|
642 |
+
#: admin/options-page-general.php:190
|
643 |
#, php-format
|
644 |
msgid "Size: %dx%dpx"
|
645 |
msgstr "Tamanho: %dx%dpx"
|
646 |
|
647 |
# @ wd-fb-og
|
648 |
+
#: admin/options-page-general.php:195
|
649 |
msgid "Add image to RSS/RSS2 feeds"
|
650 |
msgstr "Incluir a imagem aos feeds RSS/RSS2"
|
651 |
|
652 |
# @ wd-fb-og
|
653 |
+
#: admin/options-page-general.php:202
|
654 |
msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
|
655 |
msgstr ""
|
656 |
"Para aplicação de posts automáticos como o RSS Graffitti, twitterfeed, etc..."
|
657 |
|
658 |
+
#: admin/options-page-general.php:207
|
659 |
msgid "Force getimagesize on local file"
|
660 |
msgstr "Forçar “getimagesize” em ficheiro local"
|
661 |
|
662 |
+
#: admin/options-page-general.php:214
|
663 |
msgid ""
|
664 |
"This is an advanced option: Don't mess with this unless you know what you're "
|
665 |
"doing"
|
666 |
msgstr "Esta é uma opção avançada: Não a altere se não sabe o que está a fazer"
|
667 |
|
668 |
+
#: admin/options-page-general.php:216
|
669 |
msgid "Force getimagesize on local file even if allow_url_fopen=1"
|
670 |
msgstr ""
|
671 |
"Forçar o \"getimagesize\" no ficheiro local mesmo que allow_url_fopen=1"
|
672 |
|
673 |
+
#: admin/options-page-general.php:218
|
674 |
msgid ""
|
675 |
"May cause problems with some multisite configurations but fixes \"HTTP "
|
676 |
"request failed\" errors"
|
678 |
"Pode causar problemas com algumas configurações “multisite” mas corrige "
|
679 |
"erros \"HTTP request failed\""
|
680 |
|
681 |
+
#: admin/options-page-general.php:227
|
682 |
msgid "URL settings"
|
683 |
msgstr "Opções de URL"
|
684 |
|
685 |
# @ wd-fb-og
|
686 |
+
#: admin/options-page-general.php:233
|
687 |
msgid "Add trailing slash at the end"
|
688 |
msgstr "Adicionar barra invertida no final"
|
689 |
|
690 |
+
#: admin/options-page-general.php:240
|
691 |
msgid "If missing, a trailing slash will be added at the end"
|
692 |
msgstr "Se em falta, será adicionada uma barra invertida no final"
|
693 |
|
694 |
+
#: admin/options-page-general.php:242
|
695 |
msgid "Homepage example:"
|
696 |
msgstr "Exemplo da Página Inicial:"
|
697 |
|
698 |
+
#: admin/options-page-general.php:251
|
699 |
msgid "Author settings"
|
700 |
msgstr "Opções de Autor"
|
701 |
|
702 |
+
#: admin/options-page-general.php:257
|
703 |
msgid "Hide Author on Pages"
|
704 |
msgstr "Esconder Autor nas Páginas"
|
705 |
|
706 |
+
#: admin/options-page-general.php:264
|
707 |
msgid "Hides all Author tags on Pages"
|
708 |
msgstr "Esconde todas as tags de Autor nas Páginas"
|
709 |
|
710 |
+
#: admin/options-page-general.php:273
|
711 |
msgid "Other settings"
|
712 |
msgstr "Outras opções"
|
713 |
|
714 |
+
#: admin/options-page-general.php:279
|
715 |
msgid "Keep data on uninstall"
|
716 |
msgstr "Manter opções ao desinstalar"
|
717 |
|
718 |
+
#: admin/options-page-general.php:286
|
719 |
msgid ""
|
720 |
"Keep the plugin settings on the database even if the plugin is uninstalled"
|
721 |
msgstr ""
|
956 |
msgid "3rd party"
|
957 |
msgstr "Integração"
|
958 |
|
959 |
+
#: public/class-webdados-fb-open-graph-public.php:206
|
960 |
msgid "Price"
|
961 |
msgstr "Preço"
|
962 |
|
963 |
+
#: public/class-webdados-fb-open-graph-public.php:276
|
964 |
msgid "Search for"
|
965 |
msgstr "Pesquisa por"
|
966 |
|
967 |
+
#: public/class-webdados-fb-open-graph-public.php:285
|
968 |
+
#: public/class-webdados-fb-open-graph-public.php:289
|
969 |
+
#: public/class-webdados-fb-open-graph-public.php:293
|
970 |
msgid "Archives"
|
971 |
msgstr "Arquivos"
|
972 |
|
985 |
"aplicações como o RSS Graffiti e o Twitterfeed façam partilha para o "
|
986 |
"Facebook com a imagem correcta."
|
987 |
|
988 |
+
#~ msgid ""
|
989 |
+
#~ "WPML users: Set the default language description here, save changes and "
|
990 |
+
#~ "then go to <a href=\"%s\" target=\"_blank\">WPML > String translation</"
|
991 |
+
#~ "a> to set it for other languages."
|
992 |
+
#~ msgstr ""
|
993 |
+
#~ "Utilizadores WPML: Defina aqui a descrição no idioma por omissão, guarde "
|
994 |
+
#~ "as alterações e vá a <a href=\"%s\" target=\"_blank\">WPML > Tradução "
|
995 |
+
#~ "de string</a> para defini-la noutros idiomas."
|
996 |
+
|
997 |
#~ msgid ""
|
998 |
#~ "Inserts Facebook Open Graph, Google+ / Schema.org and Twitter Card Tags "
|
999 |
#~ "into your WordPress Blog/Website for more effective and efficient "
|
lang/wd-fb-og.pot
CHANGED
@@ -2,8 +2,9 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
-
"Project-Id-Version: Facebook Open Graph, Google+ and Twitter Card Tags
|
6 |
-
"
|
|
|
7 |
"PO-Revision-Date: 2016-09-26 14:52+0100\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
@@ -20,69 +21,69 @@ msgstr ""
|
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
23 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
24 |
msgid "Settings"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
28 |
msgid "Google+"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
32 |
#: admin/options-page-twitter.php:106
|
33 |
msgid "Twitter username (without @)"
|
34 |
msgstr ""
|
35 |
|
36 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
37 |
msgid "Facebook profile URL"
|
38 |
msgstr ""
|
39 |
|
40 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
41 |
msgid "Use this image:"
|
42 |
msgstr ""
|
43 |
|
44 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
45 |
-
#: admin/options-page-general.php:
|
46 |
msgid "Upload/Choose"
|
47 |
msgstr ""
|
48 |
|
49 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
50 |
msgid "Clear field"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
54 |
-
#: admin/options-page-general.php:
|
55 |
#, php-format
|
56 |
msgid "Recommended size: %dx%dpx"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
60 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
61 |
msgid "Select image"
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
65 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
66 |
msgid "Use this image"
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
70 |
msgid "URL failed:"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
74 |
msgid "Facebook returned:"
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
78 |
msgid "Facebook Open Graph Tags cache updated/purged."
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
82 |
msgid "Share this on Facebook"
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
86 |
msgid "Error: Facebook Open Graph Tags cache NOT updated/purged."
|
87 |
msgstr ""
|
88 |
|
@@ -90,41 +91,79 @@ msgstr ""
|
|
90 |
msgid "Settings for 3rd party integration with other plugins."
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: admin/options-page-3rdparty.php:
|
94 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
msgstr ""
|
96 |
|
97 |
#: admin/options-page-3rdparty.php:46
|
|
|
|
|
|
|
|
|
98 |
msgid "Use Title, Canonical URL and Description generated by Yoast SEO"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: admin/options-page-3rdparty.php:
|
102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
#, php-format
|
104 |
msgid "You don't have %s installed or activated."
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: admin/options-page-3rdparty.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
msgid ""
|
109 |
"On the product page we will automatically set <i>og:type</i> to \"product\" "
|
110 |
"and <i>product:price</i> to the price including tax."
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: admin/options-page-3rdparty.php:
|
114 |
msgid "Use Product Gallery as Images"
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: admin/options-page-3rdparty.php:
|
118 |
msgid ""
|
119 |
"Sets each Product Gallery image as an additional <i>og:image</i> tag so "
|
120 |
"that, when a product is shared on Facebook, the user is given the choice "
|
121 |
"what image to display"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: admin/options-page-3rdparty.php:
|
125 |
#: admin/options-page-facebook.php:52 admin/options-page-facebook.php:66
|
126 |
#: admin/options-page-facebook.php:82 admin/options-page-facebook.php:114
|
127 |
-
#: admin/options-page-facebook.php:284 admin/options-page-general.php:
|
128 |
#: admin/options-page-schema.php:24 admin/options-page-schema.php:38
|
129 |
#: admin/options-page-schema.php:52 admin/options-page-schema.php:70
|
130 |
#: admin/options-page-seo.php:32 admin/options-page-seo.php:54
|
@@ -134,51 +173,51 @@ msgstr ""
|
|
134 |
msgid "You can change this value using the <i>%1$s</i> filter"
|
135 |
msgstr ""
|
136 |
|
137 |
-
#: admin/options-page-3rdparty.php:
|
138 |
msgid "Overlay PNG logo"
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: admin/options-page-3rdparty.php:
|
142 |
msgid "Also overlay the PNG logo on the Product Gallery images"
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: admin/options-page-3rdparty.php:
|
146 |
msgid "Use Category thumbnail as Image"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: admin/options-page-3rdparty.php:
|
150 |
msgid ""
|
151 |
"Recommended if you set large thumbnails for Product Categories and want to "
|
152 |
"use them as Open Graph Images on category listing pages"
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: admin/options-page-3rdparty.php:
|
156 |
msgid "Add SubHeading to Post/Page Title"
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: admin/options-page-3rdparty.php:
|
160 |
msgid "SubHeading position"
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: admin/options-page-3rdparty.php:
|
164 |
msgid "After"
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: admin/options-page-3rdparty.php:
|
168 |
msgid "Before"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: admin/options-page-3rdparty.php:
|
172 |
msgid "Use listing details"
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: admin/options-page-3rdparty.php:
|
176 |
msgid ""
|
177 |
"Use Business Directory Plugin listing details (Title, URL, Description and "
|
178 |
"Image) to populate tags"
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: admin/options-page-3rdparty.php:
|
182 |
msgid ""
|
183 |
"Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and "
|
184 |
"\"Include Image\" options is HIGHLY recommended"
|
@@ -384,98 +423,121 @@ msgid ""
|
|
384 |
"notice if this option is not checked"
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: admin/options-page-general.php:
|
388 |
msgid "General settings that will apply to all tags types."
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: admin/options-page-general.php:
|
392 |
msgid "Description settings"
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: admin/options-page-general.php:
|
396 |
msgid "Description maximum length"
|
397 |
msgstr ""
|
398 |
|
399 |
-
#: admin/options-page-general.php:
|
400 |
msgid "characters"
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: admin/options-page-general.php:
|
404 |
msgid "0 (zero) or blank for no maximum length"
|
405 |
msgstr ""
|
406 |
|
407 |
-
#: admin/options-page-general.php:
|
|
|
|
|
|
|
|
|
|
|
408 |
msgid "Homepage description"
|
409 |
msgstr ""
|
410 |
|
411 |
-
#: admin/options-page-general.php:
|
412 |
msgid "The description of your front page:"
|
413 |
msgstr ""
|
414 |
|
415 |
-
#: admin/options-page-general.php:
|
416 |
msgid "Website tagline"
|
417 |
msgstr ""
|
418 |
|
419 |
-
#: admin/options-page-general.php:
|
420 |
msgid "Custom text"
|
421 |
msgstr ""
|
422 |
|
423 |
-
#: admin/options-page-general.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
424 |
#, php-format
|
425 |
msgid ""
|
426 |
-
"WPML users: Set the
|
427 |
-
"go to <a href=\"%s\" target=\"_blank\">WPML > String translation</a>
|
428 |
-
"set it for other languages."
|
429 |
msgstr ""
|
430 |
|
431 |
-
#: admin/options-page-general.php:
|
432 |
msgid "Image settings"
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: admin/options-page-general.php:
|
436 |
msgid "Default image"
|
437 |
msgstr ""
|
438 |
|
439 |
-
#: admin/options-page-general.php:
|
440 |
msgid "URL (with http(s)://)"
|
441 |
msgstr ""
|
442 |
|
443 |
-
#: admin/options-page-general.php:
|
444 |
msgid "On Post/Page, use image from"
|
445 |
msgstr ""
|
446 |
|
447 |
-
#: admin/options-page-general.php:
|
448 |
msgid "\"Open Graph Image\" custom field on the post"
|
449 |
msgstr ""
|
450 |
|
451 |
-
#: admin/options-page-general.php:
|
452 |
msgid "Post/page featured image"
|
453 |
msgstr ""
|
454 |
|
455 |
-
#: admin/options-page-general.php:
|
456 |
msgid "First image from the post/page content"
|
457 |
msgstr ""
|
458 |
|
459 |
-
#: admin/options-page-general.php:
|
460 |
msgid "First image from the post/page media gallery"
|
461 |
msgstr ""
|
462 |
|
463 |
-
#: admin/options-page-general.php:
|
464 |
msgid "Default image specified above"
|
465 |
msgstr ""
|
466 |
|
467 |
-
#: admin/options-page-general.php:
|
468 |
msgid ""
|
469 |
"On posts/pages the first image found, using the priority above, will be "
|
470 |
"used. On the homepage, archives and other website sections the default image "
|
471 |
"is always used."
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: admin/options-page-general.php:
|
475 |
msgid "Experimental"
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: admin/options-page-general.php:
|
479 |
#, php-format
|
480 |
msgid ""
|
481 |
"The original image will be resized/cropped to %dx%dpx and the chosen PNG "
|
@@ -483,94 +545,94 @@ msgid ""
|
|
483 |
"for locally hosted images."
|
484 |
msgstr ""
|
485 |
|
486 |
-
#: admin/options-page-general.php:
|
487 |
#, php-format
|
488 |
msgid ""
|
489 |
"You can see an example of the end result <a href=\"%s\" target=\"_blank"
|
490 |
"\">here</a>"
|
491 |
msgstr ""
|
492 |
|
493 |
-
#: admin/options-page-general.php:
|
494 |
#, php-format
|
495 |
msgid ""
|
496 |
"If you activate this option globally, you can disable it based on your "
|
497 |
"conditions using the <i>%1$s</i> filter"
|
498 |
msgstr ""
|
499 |
|
500 |
-
#: admin/options-page-general.php:
|
501 |
msgid "PNG logo"
|
502 |
msgstr ""
|
503 |
|
504 |
-
#: admin/options-page-general.php:
|
505 |
#, php-format
|
506 |
msgid "Size: %dx%dpx"
|
507 |
msgstr ""
|
508 |
|
509 |
-
#: admin/options-page-general.php:
|
510 |
msgid "Add image to RSS/RSS2 feeds"
|
511 |
msgstr ""
|
512 |
|
513 |
-
#: admin/options-page-general.php:
|
514 |
msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
|
515 |
msgstr ""
|
516 |
|
517 |
-
#: admin/options-page-general.php:
|
518 |
msgid "Force getimagesize on local file"
|
519 |
msgstr ""
|
520 |
|
521 |
-
#: admin/options-page-general.php:
|
522 |
msgid ""
|
523 |
"This is an advanced option: Don't mess with this unless you know what you're "
|
524 |
"doing"
|
525 |
msgstr ""
|
526 |
|
527 |
-
#: admin/options-page-general.php:
|
528 |
msgid "Force getimagesize on local file even if allow_url_fopen=1"
|
529 |
msgstr ""
|
530 |
|
531 |
-
#: admin/options-page-general.php:
|
532 |
msgid ""
|
533 |
"May cause problems with some multisite configurations but fixes \"HTTP "
|
534 |
"request failed\" errors"
|
535 |
msgstr ""
|
536 |
|
537 |
-
#: admin/options-page-general.php:
|
538 |
msgid "URL settings"
|
539 |
msgstr ""
|
540 |
|
541 |
-
#: admin/options-page-general.php:
|
542 |
msgid "Add trailing slash at the end"
|
543 |
msgstr ""
|
544 |
|
545 |
-
#: admin/options-page-general.php:
|
546 |
msgid "If missing, a trailing slash will be added at the end"
|
547 |
msgstr ""
|
548 |
|
549 |
-
#: admin/options-page-general.php:
|
550 |
msgid "Homepage example:"
|
551 |
msgstr ""
|
552 |
|
553 |
-
#: admin/options-page-general.php:
|
554 |
msgid "Author settings"
|
555 |
msgstr ""
|
556 |
|
557 |
-
#: admin/options-page-general.php:
|
558 |
msgid "Hide Author on Pages"
|
559 |
msgstr ""
|
560 |
|
561 |
-
#: admin/options-page-general.php:
|
562 |
msgid "Hides all Author tags on Pages"
|
563 |
msgstr ""
|
564 |
|
565 |
-
#: admin/options-page-general.php:
|
566 |
msgid "Other settings"
|
567 |
msgstr ""
|
568 |
|
569 |
-
#: admin/options-page-general.php:
|
570 |
msgid "Keep data on uninstall"
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: admin/options-page-general.php:
|
574 |
msgid ""
|
575 |
"Keep the plugin settings on the database even if the plugin is uninstalled"
|
576 |
msgstr ""
|
@@ -785,17 +847,17 @@ msgstr ""
|
|
785 |
msgid "3rd party"
|
786 |
msgstr ""
|
787 |
|
788 |
-
#: public/class-webdados-fb-open-graph-public.php:
|
789 |
msgid "Price"
|
790 |
msgstr ""
|
791 |
|
792 |
-
#: public/class-webdados-fb-open-graph-public.php:
|
793 |
msgid "Search for"
|
794 |
msgstr ""
|
795 |
|
796 |
-
#: public/class-webdados-fb-open-graph-public.php:
|
797 |
-
#: public/class-webdados-fb-open-graph-public.php:
|
798 |
-
#: public/class-webdados-fb-open-graph-public.php:
|
799 |
msgid "Archives"
|
800 |
msgstr ""
|
801 |
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
+
"Project-Id-Version: Facebook Open Graph, Google+ and Twitter Card Tags "
|
6 |
+
"2.0.3\n"
|
7 |
+
"POT-Creation-Date: 2016-10-13 09:41+0100\n"
|
8 |
"PO-Revision-Date: 2016-09-26 14:52+0100\n"
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: \n"
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
23 |
|
24 |
+
#: admin/class-webdados-fb-open-graph-admin.php:44
|
25 |
msgid "Settings"
|
26 |
msgstr ""
|
27 |
|
28 |
+
#: admin/class-webdados-fb-open-graph-admin.php:55
|
29 |
msgid "Google+"
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: admin/class-webdados-fb-open-graph-admin.php:57
|
33 |
#: admin/options-page-twitter.php:106
|
34 |
msgid "Twitter username (without @)"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: admin/class-webdados-fb-open-graph-admin.php:59
|
38 |
msgid "Facebook profile URL"
|
39 |
msgstr ""
|
40 |
|
41 |
+
#: admin/class-webdados-fb-open-graph-admin.php:93
|
42 |
msgid "Use this image:"
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: admin/class-webdados-fb-open-graph-admin.php:96
|
46 |
+
#: admin/options-page-general.php:117 admin/options-page-general.php:183
|
47 |
msgid "Upload/Choose"
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: admin/class-webdados-fb-open-graph-admin.php:97
|
51 |
msgid "Clear field"
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: admin/class-webdados-fb-open-graph-admin.php:99
|
55 |
+
#: admin/options-page-general.php:124
|
56 |
#, php-format
|
57 |
msgid "Recommended size: %dx%dpx"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: admin/class-webdados-fb-open-graph-admin.php:115
|
61 |
+
#: admin/class-webdados-fb-open-graph-admin.php:241
|
62 |
msgid "Select image"
|
63 |
msgstr ""
|
64 |
|
65 |
+
#: admin/class-webdados-fb-open-graph-admin.php:116
|
66 |
+
#: admin/class-webdados-fb-open-graph-admin.php:242
|
67 |
msgid "Use this image"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: admin/class-webdados-fb-open-graph-admin.php:187
|
71 |
msgid "URL failed:"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: admin/class-webdados-fb-open-graph-admin.php:195
|
75 |
msgid "Facebook returned:"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: admin/class-webdados-fb-open-graph-admin.php:209
|
79 |
msgid "Facebook Open Graph Tags cache updated/purged."
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: admin/class-webdados-fb-open-graph-admin.php:209
|
83 |
msgid "Share this on Facebook"
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: admin/class-webdados-fb-open-graph-admin.php:217
|
87 |
msgid "Error: Facebook Open Graph Tags cache NOT updated/purged."
|
88 |
msgstr ""
|
89 |
|
91 |
msgid "Settings for 3rd party integration with other plugins."
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: admin/options-page-3rdparty.php:16 admin/options-page-3rdparty.php:60
|
95 |
+
#: admin/options-page-3rdparty.php:112
|
96 |
+
msgid "Attention"
|
97 |
+
msgstr ""
|
98 |
+
|
99 |
+
#: admin/options-page-3rdparty.php:18
|
100 |
+
msgid ""
|
101 |
+
"You currently have both Yoast SEO and All in One SEO Pack plugins active. "
|
102 |
+
"This is no recommended."
|
103 |
msgstr ""
|
104 |
|
105 |
#: admin/options-page-3rdparty.php:46
|
106 |
+
msgid "Use Title, URL and Description"
|
107 |
+
msgstr ""
|
108 |
+
|
109 |
+
#: admin/options-page-3rdparty.php:53
|
110 |
msgid "Use Title, Canonical URL and Description generated by Yoast SEO"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: admin/options-page-3rdparty.php:63
|
114 |
+
#, php-format
|
115 |
+
msgid ""
|
116 |
+
"Because you are using Yoast SEO, and to avoid duplicate social tags, you "
|
117 |
+
"should disable their social settings at <a href=\"%s\" target=\"_blank"
|
118 |
+
"\">Yoast SEO > Social</a>. If you cannot access that page, you must first "
|
119 |
+
"activate the \"Advanced settings pages\" at <a href=\"%s\" target=\"_blank"
|
120 |
+
"\">Yoast SEO > Dashboard > Features</a>."
|
121 |
+
msgstr ""
|
122 |
+
|
123 |
+
#: admin/options-page-3rdparty.php:77 admin/options-page-3rdparty.php:129
|
124 |
+
#: admin/options-page-3rdparty.php:192 admin/options-page-3rdparty.php:241
|
125 |
+
#: admin/options-page-3rdparty.php:279
|
126 |
#, php-format
|
127 |
msgid "You don't have %s installed or activated."
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: admin/options-page-3rdparty.php:98
|
131 |
+
msgid "Use Title and Description"
|
132 |
+
msgstr ""
|
133 |
+
|
134 |
+
#: admin/options-page-3rdparty.php:105
|
135 |
+
msgid "Use Title and Description generated by All in One SEO Pack"
|
136 |
+
msgstr ""
|
137 |
+
|
138 |
+
#: admin/options-page-3rdparty.php:115
|
139 |
+
#, php-format
|
140 |
+
msgid ""
|
141 |
+
"Because you are using All in One SEO Pack, and to avoid duplicate social "
|
142 |
+
"tags, you should disable their social settings at <a href=\"%s\" target="
|
143 |
+
"\"_blank\">MISSING LINK</a>."
|
144 |
+
msgstr ""
|
145 |
+
|
146 |
+
#: admin/options-page-3rdparty.php:145
|
147 |
msgid ""
|
148 |
"On the product page we will automatically set <i>og:type</i> to \"product\" "
|
149 |
"and <i>product:price</i> to the price including tax."
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: admin/options-page-3rdparty.php:150
|
153 |
msgid "Use Product Gallery as Images"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: admin/options-page-3rdparty.php:157
|
157 |
msgid ""
|
158 |
"Sets each Product Gallery image as an additional <i>og:image</i> tag so "
|
159 |
"that, when a product is shared on Facebook, the user is given the choice "
|
160 |
"what image to display"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: admin/options-page-3rdparty.php:159 admin/options-page-facebook.php:24
|
164 |
#: admin/options-page-facebook.php:52 admin/options-page-facebook.php:66
|
165 |
#: admin/options-page-facebook.php:82 admin/options-page-facebook.php:114
|
166 |
+
#: admin/options-page-facebook.php:284 admin/options-page-general.php:126
|
167 |
#: admin/options-page-schema.php:24 admin/options-page-schema.php:38
|
168 |
#: admin/options-page-schema.php:52 admin/options-page-schema.php:70
|
169 |
#: admin/options-page-seo.php:32 admin/options-page-seo.php:54
|
173 |
msgid "You can change this value using the <i>%1$s</i> filter"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: admin/options-page-3rdparty.php:164 admin/options-page-general.php:162
|
177 |
msgid "Overlay PNG logo"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: admin/options-page-3rdparty.php:171
|
181 |
msgid "Also overlay the PNG logo on the Product Gallery images"
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: admin/options-page-3rdparty.php:176
|
185 |
msgid "Use Category thumbnail as Image"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: admin/options-page-3rdparty.php:183
|
189 |
msgid ""
|
190 |
"Recommended if you set large thumbnails for Product Categories and want to "
|
191 |
"use them as Open Graph Images on category listing pages"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: admin/options-page-3rdparty.php:212
|
195 |
msgid "Add SubHeading to Post/Page Title"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: admin/options-page-3rdparty.php:223
|
199 |
msgid "SubHeading position"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: admin/options-page-3rdparty.php:226
|
203 |
msgid "After"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: admin/options-page-3rdparty.php:227
|
207 |
msgid "Before"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: admin/options-page-3rdparty.php:261
|
211 |
msgid "Use listing details"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: admin/options-page-3rdparty.php:268
|
215 |
msgid ""
|
216 |
"Use Business Directory Plugin listing details (Title, URL, Description and "
|
217 |
"Image) to populate tags"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: admin/options-page-3rdparty.php:270
|
221 |
msgid ""
|
222 |
"Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and "
|
223 |
"\"Include Image\" options is HIGHLY recommended"
|
423 |
"notice if this option is not checked"
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: admin/options-page-general.php:9
|
427 |
msgid "General settings that will apply to all tags types."
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: admin/options-page-general.php:11
|
431 |
msgid "Description settings"
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: admin/options-page-general.php:17
|
435 |
msgid "Description maximum length"
|
436 |
msgstr ""
|
437 |
|
438 |
+
#: admin/options-page-general.php:19
|
439 |
msgid "characters"
|
440 |
msgstr ""
|
441 |
|
442 |
+
#: admin/options-page-general.php:24
|
443 |
msgid "0 (zero) or blank for no maximum length"
|
444 |
msgstr ""
|
445 |
|
446 |
+
#: admin/options-page-general.php:27 admin/options-page-general.php:58
|
447 |
+
#: admin/options-page-general.php:89
|
448 |
+
msgid "Because Yoast SEO integration is active, this value may be overwritten"
|
449 |
+
msgstr ""
|
450 |
+
|
451 |
+
#: admin/options-page-general.php:34 admin/options-page-general.php:76
|
452 |
msgid "Homepage description"
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: admin/options-page-general.php:40
|
456 |
msgid "The description of your front page:"
|
457 |
msgstr ""
|
458 |
|
459 |
+
#: admin/options-page-general.php:45
|
460 |
msgid "Website tagline"
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: admin/options-page-general.php:46 admin/options-page-general.php:77
|
464 |
msgid "Custom text"
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: admin/options-page-general.php:64
|
468 |
+
#, php-format
|
469 |
+
msgid ""
|
470 |
+
"WPML users: Set the main language homepage description here, save changes "
|
471 |
+
"and then go to <a href=\"%s\" target=\"_blank\">WPML > String "
|
472 |
+
"translation</a> to set it for other languages."
|
473 |
+
msgstr ""
|
474 |
+
|
475 |
+
#: admin/options-page-general.php:73
|
476 |
+
msgid "Default description"
|
477 |
+
msgstr ""
|
478 |
+
|
479 |
+
#: admin/options-page-general.php:86
|
480 |
+
msgid ""
|
481 |
+
"The default description to be used on any post / page / cpt / archive / "
|
482 |
+
"search / ... that has a blank description"
|
483 |
+
msgstr ""
|
484 |
+
|
485 |
+
#: admin/options-page-general.php:95
|
486 |
#, php-format
|
487 |
msgid ""
|
488 |
+
"WPML users: Set the main language default description here, save changes and "
|
489 |
+
"then go to <a href=\"%s\" target=\"_blank\">WPML > String translation</a> "
|
490 |
+
"to set it for other languages."
|
491 |
msgstr ""
|
492 |
|
493 |
+
#: admin/options-page-general.php:108
|
494 |
msgid "Image settings"
|
495 |
msgstr ""
|
496 |
|
497 |
+
#: admin/options-page-general.php:114
|
498 |
msgid "Default image"
|
499 |
msgstr ""
|
500 |
|
501 |
+
#: admin/options-page-general.php:122 admin/options-page-general.php:188
|
502 |
msgid "URL (with http(s)://)"
|
503 |
msgstr ""
|
504 |
|
505 |
+
#: admin/options-page-general.php:131
|
506 |
msgid "On Post/Page, use image from"
|
507 |
msgstr ""
|
508 |
|
509 |
+
#: admin/options-page-general.php:135
|
510 |
msgid "\"Open Graph Image\" custom field on the post"
|
511 |
msgstr ""
|
512 |
|
513 |
+
#: admin/options-page-general.php:139
|
514 |
msgid "Post/page featured image"
|
515 |
msgstr ""
|
516 |
|
517 |
+
#: admin/options-page-general.php:143
|
518 |
msgid "First image from the post/page content"
|
519 |
msgstr ""
|
520 |
|
521 |
+
#: admin/options-page-general.php:147
|
522 |
msgid "First image from the post/page media gallery"
|
523 |
msgstr ""
|
524 |
|
525 |
+
#: admin/options-page-general.php:151
|
526 |
msgid "Default image specified above"
|
527 |
msgstr ""
|
528 |
|
529 |
+
#: admin/options-page-general.php:157
|
530 |
msgid ""
|
531 |
"On posts/pages the first image found, using the priority above, will be "
|
532 |
"used. On the homepage, archives and other website sections the default image "
|
533 |
"is always used."
|
534 |
msgstr ""
|
535 |
|
536 |
+
#: admin/options-page-general.php:169 admin/options-page-schema.php:66
|
537 |
msgid "Experimental"
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: admin/options-page-general.php:171
|
541 |
#, php-format
|
542 |
msgid ""
|
543 |
"The original image will be resized/cropped to %dx%dpx and the chosen PNG "
|
545 |
"for locally hosted images."
|
546 |
msgstr ""
|
547 |
|
548 |
+
#: admin/options-page-general.php:173
|
549 |
#, php-format
|
550 |
msgid ""
|
551 |
"You can see an example of the end result <a href=\"%s\" target=\"_blank"
|
552 |
"\">here</a>"
|
553 |
msgstr ""
|
554 |
|
555 |
+
#: admin/options-page-general.php:175
|
556 |
#, php-format
|
557 |
msgid ""
|
558 |
"If you activate this option globally, you can disable it based on your "
|
559 |
"conditions using the <i>%1$s</i> filter"
|
560 |
msgstr ""
|
561 |
|
562 |
+
#: admin/options-page-general.php:180
|
563 |
msgid "PNG logo"
|
564 |
msgstr ""
|
565 |
|
566 |
+
#: admin/options-page-general.php:190
|
567 |
#, php-format
|
568 |
msgid "Size: %dx%dpx"
|
569 |
msgstr ""
|
570 |
|
571 |
+
#: admin/options-page-general.php:195
|
572 |
msgid "Add image to RSS/RSS2 feeds"
|
573 |
msgstr ""
|
574 |
|
575 |
+
#: admin/options-page-general.php:202
|
576 |
msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
|
577 |
msgstr ""
|
578 |
|
579 |
+
#: admin/options-page-general.php:207
|
580 |
msgid "Force getimagesize on local file"
|
581 |
msgstr ""
|
582 |
|
583 |
+
#: admin/options-page-general.php:214
|
584 |
msgid ""
|
585 |
"This is an advanced option: Don't mess with this unless you know what you're "
|
586 |
"doing"
|
587 |
msgstr ""
|
588 |
|
589 |
+
#: admin/options-page-general.php:216
|
590 |
msgid "Force getimagesize on local file even if allow_url_fopen=1"
|
591 |
msgstr ""
|
592 |
|
593 |
+
#: admin/options-page-general.php:218
|
594 |
msgid ""
|
595 |
"May cause problems with some multisite configurations but fixes \"HTTP "
|
596 |
"request failed\" errors"
|
597 |
msgstr ""
|
598 |
|
599 |
+
#: admin/options-page-general.php:227
|
600 |
msgid "URL settings"
|
601 |
msgstr ""
|
602 |
|
603 |
+
#: admin/options-page-general.php:233
|
604 |
msgid "Add trailing slash at the end"
|
605 |
msgstr ""
|
606 |
|
607 |
+
#: admin/options-page-general.php:240
|
608 |
msgid "If missing, a trailing slash will be added at the end"
|
609 |
msgstr ""
|
610 |
|
611 |
+
#: admin/options-page-general.php:242
|
612 |
msgid "Homepage example:"
|
613 |
msgstr ""
|
614 |
|
615 |
+
#: admin/options-page-general.php:251
|
616 |
msgid "Author settings"
|
617 |
msgstr ""
|
618 |
|
619 |
+
#: admin/options-page-general.php:257
|
620 |
msgid "Hide Author on Pages"
|
621 |
msgstr ""
|
622 |
|
623 |
+
#: admin/options-page-general.php:264
|
624 |
msgid "Hides all Author tags on Pages"
|
625 |
msgstr ""
|
626 |
|
627 |
+
#: admin/options-page-general.php:273
|
628 |
msgid "Other settings"
|
629 |
msgstr ""
|
630 |
|
631 |
+
#: admin/options-page-general.php:279
|
632 |
msgid "Keep data on uninstall"
|
633 |
msgstr ""
|
634 |
|
635 |
+
#: admin/options-page-general.php:286
|
636 |
msgid ""
|
637 |
"Keep the plugin settings on the database even if the plugin is uninstalled"
|
638 |
msgstr ""
|
847 |
msgid "3rd party"
|
848 |
msgstr ""
|
849 |
|
850 |
+
#: public/class-webdados-fb-open-graph-public.php:206
|
851 |
msgid "Price"
|
852 |
msgstr ""
|
853 |
|
854 |
+
#: public/class-webdados-fb-open-graph-public.php:276
|
855 |
msgid "Search for"
|
856 |
msgstr ""
|
857 |
|
858 |
+
#: public/class-webdados-fb-open-graph-public.php:285
|
859 |
+
#: public/class-webdados-fb-open-graph-public.php:289
|
860 |
+
#: public/class-webdados-fb-open-graph-public.php:293
|
861 |
msgid "Archives"
|
862 |
msgstr ""
|
863 |
|
public/class-webdados-fb-open-graph-public.php
CHANGED
@@ -30,7 +30,6 @@ class Webdados_FB_Public {
|
|
30 |
|
31 |
/* Insert the tags on the header */
|
32 |
function get_post( $post ) {
|
33 |
-
global $webdados_fb;
|
34 |
if ( is_singular() ) {
|
35 |
$this->post = $post;
|
36 |
}
|
@@ -41,7 +40,7 @@ class Webdados_FB_Public {
|
|
41 |
|
42 |
/* Insert the tags on the header */
|
43 |
public function insert_meta_tags() {
|
44 |
-
global $webdados_fb;
|
45 |
|
46 |
//Also set Title Tag? - Needed??
|
47 |
$fb_set_title_tag=0;
|
@@ -68,6 +67,23 @@ class Webdados_FB_Public {
|
|
68 |
$fb_publisher_schema = trim($this->options['fb_publisher_schema']);
|
69 |
$fb_publisher_twitteruser = trim($this->options['fb_publisher_twitteruser']);
|
70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
//Open tag
|
72 |
$html='
|
73 |
<!-- START - '.WEBDADOS_FB_PLUGIN_NAME.' '.WEBDADOS_FB_VERSION.' -->
|
@@ -211,7 +227,6 @@ class Webdados_FB_Public {
|
|
211 |
|
212 |
} else {
|
213 |
|
214 |
-
global $wp_query;
|
215 |
//Other pages - Defaults
|
216 |
$fb_title = esc_attr( wp_strip_all_tags( stripslashes( get_bloginfo( 'name' ) ), true ) );
|
217 |
$fb_url = ( ( !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on' ) ? 'https://' : 'http://' ).$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; //Not really canonical but will work for now
|
@@ -225,23 +240,6 @@ class Webdados_FB_Public {
|
|
225 |
$this->options['fb_author_show_twitter'] = 0;
|
226 |
$this->options['fb_author_show_twitter'] = 0;
|
227 |
|
228 |
-
//Description
|
229 |
-
switch( $this->options['fb_desc_homepage'] ) {
|
230 |
-
case 'custom':
|
231 |
-
$fb_desc = $this->options['fb_desc_homepage_customtext'];
|
232 |
-
//WPML?
|
233 |
-
if ( $webdados_fb->is_wpml_active() ) {
|
234 |
-
global $sitepress;
|
235 |
-
if ( ICL_LANGUAGE_CODE != $sitepress->get_default_language() ) {
|
236 |
-
$fb_desc = icl_t( 'wd-fb-og', 'wd_fb_og_desc_homepage_customtext', $fb_desc );
|
237 |
-
}
|
238 |
-
}
|
239 |
-
break;
|
240 |
-
default:
|
241 |
-
$fb_desc = get_bloginfo( 'description' );
|
242 |
-
break;
|
243 |
-
}
|
244 |
-
|
245 |
//Category
|
246 |
if ( is_category() ) {
|
247 |
$fb_title = esc_attr( wp_strip_all_tags( stripslashes( single_cat_title( '', false ) ), true ) );
|
@@ -301,6 +299,7 @@ class Webdados_FB_Public {
|
|
301 |
if (is_front_page()) {
|
302 |
$fb_url = get_option('home').(intval($this->options['fb_url_add_trailing'])==1 ? '/' : '');
|
303 |
$fb_type = trim( $this->options['fb_type_homepage']=='' ? 'website' : $this->options['fb_type_homepage'] );
|
|
|
304 |
} else {
|
305 |
//Others... Defaults already set up there
|
306 |
}
|
@@ -321,6 +320,27 @@ class Webdados_FB_Public {
|
|
321 |
}
|
322 |
}
|
323 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
324 |
//Trim description
|
325 |
$fb_desc = (
|
326 |
intval($this->options['fb_desc_chars'])>0
|
@@ -335,9 +355,10 @@ class Webdados_FB_Public {
|
|
335 |
if ( $webdados_fb->is_yoast_seo_active() ) {
|
336 |
$wpseo = WPSEO_Frontend::get_instance();
|
337 |
//Title
|
338 |
-
$
|
|
|
339 |
//Title - SubHeading plugin
|
340 |
-
if ( $this->options['fb_show_subheading']==1 ) {
|
341 |
if ( $webdados_fb->is_subheading_plugin_active() ) {
|
342 |
if ( isset($this->options['fb_subheading_position']) && $this->options['fb_subheading_position']=='before' ) {
|
343 |
$fb_title = trim( trim( get_the_subheading() ).' - '.trim($fb_title), ' -');
|
@@ -347,13 +368,66 @@ class Webdados_FB_Public {
|
|
347 |
}
|
348 |
}
|
349 |
//URL
|
350 |
-
$
|
351 |
-
|
|
|
352 |
$fb_desc_temp = $wpseo->metadesc(false);
|
353 |
$fb_desc = wp_strip_all_tags( trim($fb_desc_temp)!='' ? trim($fb_desc_temp) : $fb_desc, true);
|
354 |
}
|
355 |
}
|
356 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
357 |
//Apply Filters
|
358 |
$fb_locale = apply_filters('fb_og_locale', $fb_locale);
|
359 |
$fb_title = apply_filters('fb_og_title', $fb_title);
|
@@ -413,7 +487,7 @@ class Webdados_FB_Public {
|
|
413 |
}
|
414 |
}
|
415 |
|
416 |
-
//If there's no description let's just add the title as a last resort
|
417 |
if ( trim($fb_desc)=='' ) $fb_desc = $fb_title;
|
418 |
|
419 |
//Print tags
|
30 |
|
31 |
/* Insert the tags on the header */
|
32 |
function get_post( $post ) {
|
|
|
33 |
if ( is_singular() ) {
|
34 |
$this->post = $post;
|
35 |
}
|
40 |
|
41 |
/* Insert the tags on the header */
|
42 |
public function insert_meta_tags() {
|
43 |
+
global $webdados_fb, $wp_query;
|
44 |
|
45 |
//Also set Title Tag? - Needed??
|
46 |
$fb_set_title_tag=0;
|
67 |
$fb_publisher_schema = trim($this->options['fb_publisher_schema']);
|
68 |
$fb_publisher_twitteruser = trim($this->options['fb_publisher_twitteruser']);
|
69 |
|
70 |
+
//Homepage Description
|
71 |
+
switch( $this->options['fb_desc_homepage'] ) {
|
72 |
+
case 'custom':
|
73 |
+
$fb_desc_homepage = $this->options['fb_desc_homepage_customtext'];
|
74 |
+
//WPML?
|
75 |
+
if ( $webdados_fb->is_wpml_active() ) {
|
76 |
+
global $sitepress;
|
77 |
+
if ( ICL_LANGUAGE_CODE != $sitepress->get_default_language() ) {
|
78 |
+
$fb_desc_homepage = icl_t( 'wd-fb-og', 'wd_fb_og_desc_homepage_customtext', $fb_desc_homepage );
|
79 |
+
}
|
80 |
+
}
|
81 |
+
break;
|
82 |
+
default:
|
83 |
+
$fb_desc_homepage = get_bloginfo( 'description' );
|
84 |
+
break;
|
85 |
+
}
|
86 |
+
|
87 |
//Open tag
|
88 |
$html='
|
89 |
<!-- START - '.WEBDADOS_FB_PLUGIN_NAME.' '.WEBDADOS_FB_VERSION.' -->
|
227 |
|
228 |
} else {
|
229 |
|
|
|
230 |
//Other pages - Defaults
|
231 |
$fb_title = esc_attr( wp_strip_all_tags( stripslashes( get_bloginfo( 'name' ) ), true ) );
|
232 |
$fb_url = ( ( !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on' ) ? 'https://' : 'http://' ).$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; //Not really canonical but will work for now
|
240 |
$this->options['fb_author_show_twitter'] = 0;
|
241 |
$this->options['fb_author_show_twitter'] = 0;
|
242 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
//Category
|
244 |
if ( is_category() ) {
|
245 |
$fb_title = esc_attr( wp_strip_all_tags( stripslashes( single_cat_title( '', false ) ), true ) );
|
299 |
if (is_front_page()) {
|
300 |
$fb_url = get_option('home').(intval($this->options['fb_url_add_trailing'])==1 ? '/' : '');
|
301 |
$fb_type = trim( $this->options['fb_type_homepage']=='' ? 'website' : $this->options['fb_type_homepage'] );
|
302 |
+
$fb_desc = $fb_desc_homepage;
|
303 |
} else {
|
304 |
//Others... Defaults already set up there
|
305 |
}
|
320 |
}
|
321 |
}
|
322 |
|
323 |
+
|
324 |
+
|
325 |
+
//Default description, if empty until now
|
326 |
+
if ( trim($fb_desc)=='' ) {
|
327 |
+
switch( $this->options['fb_desc_default_option'] ) {
|
328 |
+
case 'custom':
|
329 |
+
$fb_desc = $this->options['fb_desc_default'];
|
330 |
+
//WPML?
|
331 |
+
if ( $webdados_fb->is_wpml_active() ) {
|
332 |
+
global $sitepress;
|
333 |
+
if ( ICL_LANGUAGE_CODE != $sitepress->get_default_language() ) {
|
334 |
+
$fb_desc = icl_t( 'wd-fb-og', 'wd_fb_og_fb_desc_default', $fb_desc );
|
335 |
+
}
|
336 |
+
}
|
337 |
+
break;
|
338 |
+
default:
|
339 |
+
$fb_desc = $fb_desc_homepage;
|
340 |
+
break;
|
341 |
+
}
|
342 |
+
}
|
343 |
+
|
344 |
//Trim description
|
345 |
$fb_desc = (
|
346 |
intval($this->options['fb_desc_chars'])>0
|
355 |
if ( $webdados_fb->is_yoast_seo_active() ) {
|
356 |
$wpseo = WPSEO_Frontend::get_instance();
|
357 |
//Title
|
358 |
+
$fb_title_temp = $wpseo->title(false);
|
359 |
+
$fb_title = wp_strip_all_tags( trim($fb_title_temp)!='' ? trim($fb_title_temp) : $fb_title, true);
|
360 |
//Title - SubHeading plugin
|
361 |
+
if ( $fb_title_temp!='' && $this->options['fb_show_subheading']==1 ) {
|
362 |
if ( $webdados_fb->is_subheading_plugin_active() ) {
|
363 |
if ( isset($this->options['fb_subheading_position']) && $this->options['fb_subheading_position']=='before' ) {
|
364 |
$fb_title = trim( trim( get_the_subheading() ).' - '.trim($fb_title), ' -');
|
368 |
}
|
369 |
}
|
370 |
//URL
|
371 |
+
$fb_url_temp = $wpseo->canonical(false);
|
372 |
+
$fb_url = wp_strip_all_tags( trim($fb_url_temp)!='' ? trim($fb_url_temp) : $fb_url, true);
|
373 |
+
//Description
|
374 |
$fb_desc_temp = $wpseo->metadesc(false);
|
375 |
$fb_desc = wp_strip_all_tags( trim($fb_desc_temp)!='' ? trim($fb_desc_temp) : $fb_desc, true);
|
376 |
}
|
377 |
}
|
378 |
|
379 |
+
//All in One SEO Pack?
|
380 |
+
if ( $this->options['fb_show_aioseop']==1 ) {
|
381 |
+
if ( $webdados_fb->is_aioseop_active() ) {
|
382 |
+
global $aiosp;
|
383 |
+
//Title - Why are we getting the first post title on archives and homepage...?!?
|
384 |
+
$fb_title_temp = $aiosp->orig_title;
|
385 |
+
$fb_title = wp_strip_all_tags( trim($fb_title_temp)!='' ? trim($fb_title_temp) : $fb_title, true);
|
386 |
+
//Title - SubHeading plugin
|
387 |
+
if ( $fb_title_temp!='' && $this->options['fb_show_subheading']==1 ) {
|
388 |
+
if ( $webdados_fb->is_subheading_plugin_active() ) {
|
389 |
+
if ( isset($this->options['fb_subheading_position']) && $this->options['fb_subheading_position']=='before' ) {
|
390 |
+
$fb_title = trim( trim( get_the_subheading() ).' - '.trim($fb_title), ' -');
|
391 |
+
} else {
|
392 |
+
$fb_title = trim( trim( $fb_title ).' - '.trim( get_the_subheading() ), ' -');
|
393 |
+
}
|
394 |
+
}
|
395 |
+
}
|
396 |
+
//URL - See aioseop_class.php 3898 - We have a problem because wp_query is not the same right now
|
397 |
+
/*$fb_url_temp = '';
|
398 |
+
$aioseop_options = get_option( 'aioseop_options' );
|
399 |
+
$opts = $aiosp->meta_opts;
|
400 |
+
var_dump($wp_query);
|
401 |
+
$show_page = true;
|
402 |
+
if ( ! empty( $aioseop_options['aiosp_no_paged_canonical_links'] ) ) {
|
403 |
+
$show_page = false;
|
404 |
+
}
|
405 |
+
if ( $aioseop_options['aiosp_can'] ) {
|
406 |
+
if ( ! empty( $aioseop_options['aiosp_customize_canonical_links'] ) && ! empty( $opts['aiosp_custom_link'] ) ) {
|
407 |
+
$fb_url_temp = $opts['aiosp_custom_link'];
|
408 |
+
}
|
409 |
+
if ( empty( $url ) ) {
|
410 |
+
$fb_url_temp = $aiosp->aiosp_mrt_get_url( $wp_query, $show_page );
|
411 |
+
}
|
412 |
+
|
413 |
+
$fb_url_temp = $aiosp->validate_url_scheme( $fb_url_temp );
|
414 |
+
|
415 |
+
$fb_url_temp = apply_filters( 'aioseop_canonical_url', $fb_url_temp );
|
416 |
+
}
|
417 |
+
var_dump($fb_url_temp);
|
418 |
+
$fb_url = wp_strip_all_tags( trim($fb_url_temp)!='' ? trim($fb_url_temp) : $fb_url, true);*/
|
419 |
+
//Description - Why are we getting the first post description on archives and homepage...?!?
|
420 |
+
if ( is_home() && ! is_front_page() ) {
|
421 |
+
$post = aiosp_common::get_blog_page();
|
422 |
+
} else {
|
423 |
+
$post = $aiosp->get_queried_object();
|
424 |
+
}
|
425 |
+
$fb_desc_temp = apply_filters( 'aioseop_description', $aiosp->get_main_description( $post ) );
|
426 |
+
$fb_desc = wp_strip_all_tags( trim($fb_desc_temp)!='' ? trim($fb_desc_temp) : $fb_desc, true);
|
427 |
+
|
428 |
+
}
|
429 |
+
}
|
430 |
+
|
431 |
//Apply Filters
|
432 |
$fb_locale = apply_filters('fb_og_locale', $fb_locale);
|
433 |
$fb_title = apply_filters('fb_og_title', $fb_title);
|
487 |
}
|
488 |
}
|
489 |
|
490 |
+
//If there's still no description let's just add the title as a last resort
|
491 |
if ( trim($fb_desc)=='' ) $fb_desc = $fb_title;
|
492 |
|
493 |
//Print tags
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://blog.wonderm00n.com/2011/10/14/wordpress-plugin-simple-faceb
|
|
4 |
Tags: facebook, open graph, open graph protocol, share, social, meta, rss, twitter card, twitter, schema, google+, g+, google, google plus, image, like, seo, search engine optimization, woocommerce, yoast seo, wordpress seo, woocommerce, subheading, php7
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.6.1
|
7 |
-
Stable tag: 2.0.
|
8 |
Inserts Facebook Open Graph, Google+/Schema.org, Twitter and SEO Meta Tags into your WordPress Website for more efficient sharing results.
|
9 |
|
10 |
== Description ==
|
@@ -121,6 +121,12 @@ We DO NOT provide email support for this plugin. If you send us an email asking
|
|
121 |
|
122 |
== Changelog ==
|
123 |
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
= 2.0.2 =
|
125 |
* Fixed a PHP Notice on WPML root pages (Thanks @marcobecker)
|
126 |
* New experimental feature: Added the possibility to set `itemscope itemtype` to the HTML Tag in order to avoid W3C and Structured Data validation errors
|
4 |
Tags: facebook, open graph, open graph protocol, share, social, meta, rss, twitter card, twitter, schema, google+, g+, google, google plus, image, like, seo, search engine optimization, woocommerce, yoast seo, wordpress seo, woocommerce, subheading, php7
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.6.1
|
7 |
+
Stable tag: 2.0.3
|
8 |
Inserts Facebook Open Graph, Google+/Schema.org, Twitter and SEO Meta Tags into your WordPress Website for more efficient sharing results.
|
9 |
|
10 |
== Description ==
|
121 |
|
122 |
== Changelog ==
|
123 |
|
124 |
+
= 2.0.3 =
|
125 |
+
* Fixed WPML homepage custom description translation that was broken on 2.0
|
126 |
+
* New default description field (WPML translatable) to be used on any website post / page / cpt / archive / search / ... that has an empty description, instead of using the homepage description like we were using until now
|
127 |
+
* Fixed some PHP notices and warnings
|
128 |
+
* Small tweaks on the settings page
|
129 |
+
|
130 |
= 2.0.2 =
|
131 |
* Fixed a PHP Notice on WPML root pages (Thanks @marcobecker)
|
132 |
* New experimental feature: Added the possibility to set `itemscope itemtype` to the HTML Tag in order to avoid W3C and Structured Data validation errors
|
wonderm00n-open-graph.php
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Facebook Open Graph, Google+ and Twitter Card Tags
|
4 |
-
* @version 2.0.
|
5 |
*/
|
6 |
/*
|
7 |
Plugin Name: Facebook Open Graph, Google+ and Twitter Card Tags
|
8 |
Plugin URI: http://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/
|
9 |
Description: Inserts Facebook Open Graph, Google+/Schema.org, Twitter Card and SEO Meta Tags into your WordPress Blog/Website for more effective and efficient Facebook, Google+ and Twitter sharing results. You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and Twitterfeed post the image to Facebook correctly.
|
10 |
|
11 |
-
Version: 2.0.
|
12 |
Author: Webdados
|
13 |
Author URI: http://www.webdados.pt
|
14 |
Text Domain: wd-fb-og
|
@@ -17,7 +17,7 @@ Domain Path: /lang
|
|
17 |
|
18 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
19 |
|
20 |
-
define( 'WEBDADOS_FB_VERSION', '2.0.
|
21 |
define( 'WEBDADOS_FB_PLUGIN_NAME', 'Facebook Open Graph, Google+ and Twitter Card Tags' );
|
22 |
define( 'WEBDADOS_FB_W', 1200 );
|
23 |
define( 'WEBDADOS_FB_H', 630 );
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Facebook Open Graph, Google+ and Twitter Card Tags
|
4 |
+
* @version 2.0.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, Twitter Card and SEO Meta Tags into your WordPress Blog/Website for more effective and efficient Facebook, Google+ and Twitter sharing results. You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and Twitterfeed post the image to Facebook correctly.
|
10 |
|
11 |
+
Version: 2.0.3
|
12 |
Author: Webdados
|
13 |
Author URI: http://www.webdados.pt
|
14 |
Text Domain: wd-fb-og
|
17 |
|
18 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
19 |
|
20 |
+
define( 'WEBDADOS_FB_VERSION', '2.0.3' );
|
21 |
define( 'WEBDADOS_FB_PLUGIN_NAME', 'Facebook Open Graph, Google+ and Twitter Card Tags' );
|
22 |
define( 'WEBDADOS_FB_W', 1200 );
|
23 |
define( 'WEBDADOS_FB_H', 630 );
|