Version Description
- Add support for the PRO add-on
- Deprecation of Business Directory Plugin integration and other minor settings
- readme.txt full review
Download this release
Release Info
Developer | webdados |
Plugin | Open Graph for Facebook, Google+ and Twitter Card Tags |
Version | 3.0.0 |
Comparing to | |
See all releases |
Code changes from version 2.3.3 to 3.0.0
- admin/class-webdados-fb-open-graph-admin.php +1 -1
- admin/options-page-3rdparty.php +8 -1
- admin/options-page-facebook.php +7 -1
- admin/options-page-general.php +20 -8
- admin/options-page-schema.php +6 -0
- admin/options-page-seo.php +6 -0
- admin/options-page-tools.php +6 -2
- admin/options-page-twitter.php +6 -0
- admin/options-page.php +66 -68
- fbimg.php +5 -4
- includes/class-webdados-fb-open-graph.php +17 -4
- lang/wonderm00ns-simple-facebook-open-graph-tags.pot +203 -205
- public/class-webdados-fb-open-graph-public.php +1 -1
- readme.txt +58 -49
- wonderm00n-open-graph.php +3 -3
admin/class-webdados-fb-open-graph-admin.php
CHANGED
@@ -127,7 +127,7 @@ class Webdados_FB_Admin {
|
|
127 |
<input id="webdados_fb_open_graph_specific_image_button" class="button" type="button" value="<?php echo esc_attr( __('Upload/Choose','wonderm00ns-simple-facebook-open-graph-tags') ); ?>"/>
|
128 |
<input id="webdados_fb_open_graph_specific_image_button_clear" class="button" type="button" value="<?php echo esc_attr( __('Clear field','wonderm00ns-simple-facebook-open-graph-tags') ); ?>"/>
|
129 |
<br/>
|
130 |
-
<?php printf( __( 'Recommended size: %dx%dpx', 'wonderm00ns-simple-facebook-open-graph-tags' ),
|
131 |
<script type="text/javascript">
|
132 |
jQuery(document).ready(function($){
|
133 |
// Instantiates the variable that holds the media library frame.
|
127 |
<input id="webdados_fb_open_graph_specific_image_button" class="button" type="button" value="<?php echo esc_attr( __('Upload/Choose','wonderm00ns-simple-facebook-open-graph-tags') ); ?>"/>
|
128 |
<input id="webdados_fb_open_graph_specific_image_button_clear" class="button" type="button" value="<?php echo esc_attr( __('Clear field','wonderm00ns-simple-facebook-open-graph-tags') ); ?>"/>
|
129 |
<br/>
|
130 |
+
<?php printf( __( 'Recommended size: %dx%dpx', 'wonderm00ns-simple-facebook-open-graph-tags' ), $webdados_fb->img_w, $webdados_fb->img_h ); ?>
|
131 |
<script type="text/javascript">
|
132 |
jQuery(document).ready(function($){
|
133 |
// Instantiates the variable that holds the media library frame.
|
admin/options-page-3rdparty.php
CHANGED
@@ -7,6 +7,9 @@ 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.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></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() ) {
|
@@ -15,7 +18,7 @@ global $webdados_fb;
|
|
15 |
<i class="dashicons-before dashicons-warning"></i>
|
16 |
<strong><?php _e( 'Attention', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>:</strong>
|
17 |
<br/>
|
18 |
-
<?php _e( 'You currently have both Yoast SEO and All in One SEO Pack plugins active. This is
|
19 |
</p>
|
20 |
<?php
|
21 |
}
|
@@ -255,6 +258,7 @@ global $webdados_fb;
|
|
255 |
<h3 class="hndle">
|
256 |
<i class="dashicons-before dashicons-id"></i>
|
257 |
<a href="https://wordpress.org/plugins/business-directory-plugin/" target="_blank">Business Directory Plugin</a>
|
|
|
258 |
</h3>
|
259 |
<div class="inside">
|
260 |
<?php
|
@@ -288,4 +292,7 @@ global $webdados_fb;
|
|
288 |
?>
|
289 |
</div>
|
290 |
</div>
|
|
|
|
|
|
|
291 |
</div>
|
7 |
?>
|
8 |
<div class="menu_containt_div" id="tabs-6">
|
9 |
<p><?php _e( 'Settings for 3rd party integration with other plugins.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></p>
|
10 |
+
|
11 |
+
<?php do_action( 'fb_og_admin_settings_3rdparty_before' ); ?>
|
12 |
+
|
13 |
<!-- Yoast SEO and All in One SEO Pack? -->
|
14 |
<?php
|
15 |
if ( $webdados_fb->is_yoast_seo_active() && $webdados_fb->is_aioseop_active() ) {
|
18 |
<i class="dashicons-before dashicons-warning"></i>
|
19 |
<strong><?php _e( 'Attention', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>:</strong>
|
20 |
<br/>
|
21 |
+
<?php _e( 'You currently have both Yoast SEO and All in One SEO Pack plugins active. This is not recommended.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
22 |
</p>
|
23 |
<?php
|
24 |
}
|
258 |
<h3 class="hndle">
|
259 |
<i class="dashicons-before dashicons-id"></i>
|
260 |
<a href="https://wordpress.org/plugins/business-directory-plugin/" target="_blank">Business Directory Plugin</a>
|
261 |
+
(<?php _e( 'deprecated', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>)
|
262 |
</h3>
|
263 |
<div class="inside">
|
264 |
<?php
|
292 |
?>
|
293 |
</div>
|
294 |
</div>
|
295 |
+
|
296 |
+
<?php do_action( 'fb_og_admin_settings_3rdparty_after' ); ?>
|
297 |
+
|
298 |
</div>
|
admin/options-page-facebook.php
CHANGED
@@ -5,6 +5,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
5 |
?>
|
6 |
<div class="menu_containt_div" id="tabs-2">
|
7 |
<p><?php _e( 'Open Graph tags used by Facebook, and other social networks, to render link share posts.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></p>
|
|
|
|
|
|
|
8 |
<div class="postbox">
|
9 |
<h3 class="hndle"><i class="dashicons-before dashicons-facebook-alt"></i> <?php _e( 'Facebook Open Graph Tags', 'wonderm00ns-simple-facebook-open-graph-tags' ) ?></h3>
|
10 |
<div class="inside">
|
@@ -77,7 +80,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
77 |
<td colspan="2" class="info">
|
78 |
<i><meta property="og:image" content="..."/></i>
|
79 |
<br/>
|
80 |
-
- <?php printf( __('All images must have at least 200px on both dimensions in order to Facebook to load them at all. %dx%dpx for optimal results. Minimum of 600x315px is recommended.', 'wonderm00ns-simple-facebook-open-graph-tags' ),
|
81 |
<br/>
|
82 |
- <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wonderm00ns-simple-facebook-open-graph-tags' ), 'fb_og_image' ); ?>
|
83 |
</td>
|
@@ -419,4 +422,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
419 |
</table>
|
420 |
</div>
|
421 |
</div>
|
|
|
|
|
|
|
422 |
</div>
|
5 |
?>
|
6 |
<div class="menu_containt_div" id="tabs-2">
|
7 |
<p><?php _e( 'Open Graph tags used by Facebook, and other social networks, to render link share posts.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></p>
|
8 |
+
|
9 |
+
<?php do_action( 'fb_og_admin_settings_facebook_before' ); ?>
|
10 |
+
|
11 |
<div class="postbox">
|
12 |
<h3 class="hndle"><i class="dashicons-before dashicons-facebook-alt"></i> <?php _e( 'Facebook Open Graph Tags', 'wonderm00ns-simple-facebook-open-graph-tags' ) ?></h3>
|
13 |
<div class="inside">
|
80 |
<td colspan="2" class="info">
|
81 |
<i><meta property="og:image" content="..."/></i>
|
82 |
<br/>
|
83 |
+
- <?php printf( __('All images must have at least 200px on both dimensions in order to Facebook to load them at all. %dx%dpx for optimal results. Minimum of 600x315px is recommended.', 'wonderm00ns-simple-facebook-open-graph-tags' ), $webdados_fb->img_w, $webdados_fb->img_h );?>
|
84 |
<br/>
|
85 |
- <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wonderm00ns-simple-facebook-open-graph-tags' ), 'fb_og_image' ); ?>
|
86 |
</td>
|
422 |
</table>
|
423 |
</div>
|
424 |
</div>
|
425 |
+
|
426 |
+
<?php do_action( 'fb_og_admin_settings_facebook_after' ); ?>
|
427 |
+
|
428 |
</div>
|
admin/options-page-general.php
CHANGED
@@ -7,16 +7,19 @@ global $webdados_fb;
|
|
7 |
?>
|
8 |
<div class="menu_containt_div" id="tabs-1">
|
9 |
<p><?php _e( 'General settings that will apply to all tags types.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></p>
|
|
|
|
|
|
|
10 |
<div class="postbox">
|
11 |
<h3 class="hndle"><i class="dashicons-before dashicons-editor-alignleft"></i> <?php _e( 'Description settings', 'wonderm00ns-simple-facebook-open-graph-tags' ) ?></h3>
|
12 |
<div class="inside">
|
13 |
<table class="form-table">
|
14 |
<tbody>
|
15 |
-
|
16 |
<tr>
|
17 |
<th><?php _e( 'Description maximum length', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>:</th>
|
18 |
<td>
|
19 |
-
<input type="text" name="wonderm00n_open_graph_settings[fb_desc_chars]" id="fb_desc_chars" size="
|
20 |
</td>
|
21 |
</tr>
|
22 |
<tr>
|
@@ -109,6 +112,8 @@ global $webdados_fb;
|
|
109 |
<div class="inside">
|
110 |
<table class="form-table">
|
111 |
<tbody>
|
|
|
|
|
112 |
|
113 |
<tr>
|
114 |
<th><?php _e( 'Default image', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>:</th>
|
@@ -121,7 +126,7 @@ global $webdados_fb;
|
|
121 |
<td colspan="2" class="info">
|
122 |
- <?php _e( 'URL (with http(s)://)', 'wonderm00ns-simple-facebook-open-graph-tags' );?>
|
123 |
<br/>
|
124 |
-
- <?php printf( __( 'Recommended size: %dx%dpx', 'wonderm00ns-simple-facebook-open-graph-tags' ),
|
125 |
<br/>
|
126 |
- <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wonderm00ns-simple-facebook-open-graph-tags' ), 'fb_og_image' ); ?>
|
127 |
</td>
|
@@ -169,7 +174,7 @@ global $webdados_fb;
|
|
169 |
<tr>
|
170 |
<th><?php _e( 'Overlay PNG logo', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>:</th>
|
171 |
<td>
|
172 |
-
<?php if ( extension_loaded('gd') ) { ?>
|
173 |
<input type="checkbox" name="wonderm00n_open_graph_settings[fb_image_overlay]" id="fb_image_overlay" value="1" <?php echo (intval($options['fb_image_overlay'])==1 ? ' checked="checked"' : '' ); ?>/>
|
174 |
<?php } else { ?>
|
175 |
<?php _e( 'No', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
@@ -177,10 +182,10 @@ global $webdados_fb;
|
|
177 |
<?php } ?>
|
178 |
</td>
|
179 |
</tr>
|
180 |
-
<?php if ( extension_loaded('gd') ) { ?>
|
181 |
<tr>
|
182 |
<td colspan="2" class="info">
|
183 |
-
- <?php printf( __( 'The original image will be resized/cropped to %dx%dpx, or shrunk and centered, and the chosen PNG (that should also have this size) will be overlaid on it. It will only work for locally hosted images.', 'wonderm00ns-simple-facebook-open-graph-tags' ),
|
184 |
<br/>
|
185 |
- <?php printf( __( 'You can see an example of the end result <a href="%s" target="_blank">here</a>', '' ), 'https://www.flickr.com/photos/wonderm00n/29890263040/in/dateposted-public/' ); ?>
|
186 |
<br/>
|
@@ -199,7 +204,7 @@ global $webdados_fb;
|
|
199 |
<td colspan="2" class="info">
|
200 |
- <?php _e( 'URL (with http(s)://)', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
201 |
<br/>
|
202 |
-
- <?php printf( __( 'Size: %dx%dpx', 'wonderm00ns-simple-facebook-open-graph-tags' ),
|
203 |
</td>
|
204 |
</tr>
|
205 |
|
@@ -258,6 +263,8 @@ global $webdados_fb;
|
|
258 |
</tr>
|
259 |
<tr>
|
260 |
<td colspan="2" class="info">
|
|
|
|
|
261 |
- <strong><?php _e( 'This is an advanced option: Don\'t mess with this unless you know what you\'re doing', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></strong>
|
262 |
<br/>
|
263 |
- <?php _e( 'Force getimagesize on local file even if allow_url_fopen=1', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
@@ -274,6 +281,8 @@ global $webdados_fb;
|
|
274 |
</tr>
|
275 |
<tr>
|
276 |
<td colspan="2" class="info">
|
|
|
|
|
277 |
- <strong><?php _e( 'This is an advanced option: Don\'t mess with this unless you know what you\'re doing', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></strong>
|
278 |
<br/>
|
279 |
- <?php _e( 'You should only activate this option if you\'re getting fatal errors (white screen of death) and only keep it active if this options does solve those errors', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
@@ -284,7 +293,7 @@ global $webdados_fb;
|
|
284 |
</td>
|
285 |
</tr>
|
286 |
|
287 |
-
|
288 |
|
289 |
</tbody>
|
290 |
</table>
|
@@ -358,4 +367,7 @@ global $webdados_fb;
|
|
358 |
</table>
|
359 |
</div>
|
360 |
</div>
|
|
|
|
|
|
|
361 |
</div>
|
7 |
?>
|
8 |
<div class="menu_containt_div" id="tabs-1">
|
9 |
<p><?php _e( 'General settings that will apply to all tags types.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></p>
|
10 |
+
|
11 |
+
<?php do_action( 'fb_og_admin_settings_general_before' ); ?>
|
12 |
+
|
13 |
<div class="postbox">
|
14 |
<h3 class="hndle"><i class="dashicons-before dashicons-editor-alignleft"></i> <?php _e( 'Description settings', 'wonderm00ns-simple-facebook-open-graph-tags' ) ?></h3>
|
15 |
<div class="inside">
|
16 |
<table class="form-table">
|
17 |
<tbody>
|
18 |
+
|
19 |
<tr>
|
20 |
<th><?php _e( 'Description maximum length', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>:</th>
|
21 |
<td>
|
22 |
+
<input type="text" name="wonderm00n_open_graph_settings[fb_desc_chars]" id="fb_desc_chars" size="4" maxlength="3" value="<?php echo (intval($options['fb_desc_chars'])>0 ? intval($options['fb_desc_chars']) : '' ); ?>"/> <?php _e( 'characters', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
23 |
</td>
|
24 |
</tr>
|
25 |
<tr>
|
112 |
<div class="inside">
|
113 |
<table class="form-table">
|
114 |
<tbody>
|
115 |
+
|
116 |
+
<?php do_action( 'fb_og_admin_settings_general_image_before' ); ?>
|
117 |
|
118 |
<tr>
|
119 |
<th><?php _e( 'Default image', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>:</th>
|
126 |
<td colspan="2" class="info">
|
127 |
- <?php _e( 'URL (with http(s)://)', 'wonderm00ns-simple-facebook-open-graph-tags' );?>
|
128 |
<br/>
|
129 |
+
- <?php printf( __( 'Recommended size: %dx%dpx', 'wonderm00ns-simple-facebook-open-graph-tags' ), $webdados_fb->img_w, $webdados_fb->img_h ); ?>
|
130 |
<br/>
|
131 |
- <?php printf( __( 'You can change this value using the <i>%1$s</i> filter', 'wonderm00ns-simple-facebook-open-graph-tags' ), 'fb_og_image' ); ?>
|
132 |
</td>
|
174 |
<tr>
|
175 |
<th><?php _e( 'Overlay PNG logo', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>:</th>
|
176 |
<td>
|
177 |
+
<?php if ( extension_loaded( 'gd' ) ) { ?>
|
178 |
<input type="checkbox" name="wonderm00n_open_graph_settings[fb_image_overlay]" id="fb_image_overlay" value="1" <?php echo (intval($options['fb_image_overlay'])==1 ? ' checked="checked"' : '' ); ?>/>
|
179 |
<?php } else { ?>
|
180 |
<?php _e( 'No', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
182 |
<?php } ?>
|
183 |
</td>
|
184 |
</tr>
|
185 |
+
<?php if ( extension_loaded( 'gd' ) ) { ?>
|
186 |
<tr>
|
187 |
<td colspan="2" class="info">
|
188 |
+
- <?php printf( __( 'The original image will be resized/cropped to %dx%dpx, or shrunk and centered, and the chosen PNG (that should also have this size) will be overlaid on it. It will only work for locally hosted images.', 'wonderm00ns-simple-facebook-open-graph-tags' ), $webdados_fb->img_w, $webdados_fb->img_h );?>
|
189 |
<br/>
|
190 |
- <?php printf( __( 'You can see an example of the end result <a href="%s" target="_blank">here</a>', '' ), 'https://www.flickr.com/photos/wonderm00n/29890263040/in/dateposted-public/' ); ?>
|
191 |
<br/>
|
204 |
<td colspan="2" class="info">
|
205 |
- <?php _e( 'URL (with http(s)://)', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
206 |
<br/>
|
207 |
+
- <?php printf( __( 'Size: %dx%dpx', 'wonderm00ns-simple-facebook-open-graph-tags' ), $webdados_fb->img_w, $webdados_fb->img_h ); ?>
|
208 |
</td>
|
209 |
</tr>
|
210 |
|
263 |
</tr>
|
264 |
<tr>
|
265 |
<td colspan="2" class="info">
|
266 |
+
- <?php _e( 'Deprecated - (might be moved to the PRO add-on in the future)', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
267 |
+
<br/>
|
268 |
- <strong><?php _e( 'This is an advanced option: Don\'t mess with this unless you know what you\'re doing', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></strong>
|
269 |
<br/>
|
270 |
- <?php _e( 'Force getimagesize on local file even if allow_url_fopen=1', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
281 |
</tr>
|
282 |
<tr>
|
283 |
<td colspan="2" class="info">
|
284 |
+
- <?php _e( 'Deprecated - (might be moved to the PRO add-on in the future)', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
285 |
+
<br/>
|
286 |
- <strong><?php _e( 'This is an advanced option: Don\'t mess with this unless you know what you\'re doing', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></strong>
|
287 |
<br/>
|
288 |
- <?php _e( 'You should only activate this option if you\'re getting fatal errors (white screen of death) and only keep it active if this options does solve those errors', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
293 |
</td>
|
294 |
</tr>
|
295 |
|
296 |
+
<?php do_action( 'fb_og_admin_settings_general_image_after' ); ?>
|
297 |
|
298 |
</tbody>
|
299 |
</table>
|
367 |
</table>
|
368 |
</div>
|
369 |
</div>
|
370 |
+
|
371 |
+
<?php do_action( 'fb_og_admin_settings_general_after' ); ?>
|
372 |
+
|
373 |
</div>
|
admin/options-page-schema.php
CHANGED
@@ -6,6 +6,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
6 |
<div class="menu_containt_div" id="tabs-4">
|
7 |
<p><strong><?php _e( 'This feature is deprecated and will soon be removed.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></strong></p>
|
8 |
<p><?php _e( 'Schema.org tags used by Google+ to render link share posts.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></p>
|
|
|
|
|
|
|
9 |
<div class="postbox">
|
10 |
<h3 class="hndle"><i class="dashicons-before dashicons-googleplus"></i> <?php _e( 'Google+ / Schema.org Tags', 'wonderm00ns-simple-facebook-open-graph-tags' ) ?></h3>
|
11 |
<div class="inside">
|
@@ -176,4 +179,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
176 |
</table>
|
177 |
</div>
|
178 |
</div>
|
|
|
|
|
|
|
179 |
</div>
|
6 |
<div class="menu_containt_div" id="tabs-4">
|
7 |
<p><strong><?php _e( 'This feature is deprecated and will soon be removed.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></strong></p>
|
8 |
<p><?php _e( 'Schema.org tags used by Google+ to render link share posts.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></p>
|
9 |
+
|
10 |
+
<?php do_action( 'fb_og_admin_settings_schema_before' ); ?>
|
11 |
+
|
12 |
<div class="postbox">
|
13 |
<h3 class="hndle"><i class="dashicons-before dashicons-googleplus"></i> <?php _e( 'Google+ / Schema.org Tags', 'wonderm00ns-simple-facebook-open-graph-tags' ) ?></h3>
|
14 |
<div class="inside">
|
179 |
</table>
|
180 |
</div>
|
181 |
</div>
|
182 |
+
|
183 |
+
<?php do_action( 'fb_og_admin_settings_schema_after' ); ?>
|
184 |
+
|
185 |
</div>
|
admin/options-page-seo.php
CHANGED
@@ -5,6 +5,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
5 |
?>
|
6 |
<div class="menu_containt_div" id="tabs-5">
|
7 |
<p><?php _e( 'SEO Meta Tags that are recommended ONLY if no other plugin is setting them already.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></p>
|
|
|
|
|
|
|
8 |
<div class="postbox">
|
9 |
<h3 class="hndle"><i class="dashicons-before dashicons-admin-site"></i> <?php _e( 'SEO Meta Tags', 'wonderm00ns-simple-facebook-open-graph-tags' ) ?></h3>
|
10 |
<div class="inside">
|
@@ -87,4 +90,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
87 |
</table>
|
88 |
</div>
|
89 |
</div>
|
|
|
|
|
|
|
90 |
</div>
|
5 |
?>
|
6 |
<div class="menu_containt_div" id="tabs-5">
|
7 |
<p><?php _e( 'SEO Meta Tags that are recommended ONLY if no other plugin is setting them already.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></p>
|
8 |
+
|
9 |
+
<?php do_action( 'fb_og_admin_settings_seo_before' ); ?>
|
10 |
+
|
11 |
<div class="postbox">
|
12 |
<h3 class="hndle"><i class="dashicons-before dashicons-admin-site"></i> <?php _e( 'SEO Meta Tags', 'wonderm00ns-simple-facebook-open-graph-tags' ) ?></h3>
|
13 |
<div class="inside">
|
90 |
</table>
|
91 |
</div>
|
92 |
</div>
|
93 |
+
|
94 |
+
<?php do_action( 'fb_og_admin_settings_seo_after' ); ?>
|
95 |
+
|
96 |
</div>
|
admin/options-page-tools.php
CHANGED
@@ -5,6 +5,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
5 |
?>
|
6 |
<div class="menu_containt_div" id="tabs-7">
|
7 |
<p><?php _e( 'Just some random tools', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></p>
|
|
|
|
|
|
|
8 |
<div class="postbox">
|
9 |
<h3 class="hndle"><i class="dashicons-before dashicons-format-image"></i> <?php _e( 'Image tools', 'wonderm00ns-simple-facebook-open-graph-tags' ) ?></h3>
|
10 |
<div class="inside">
|
@@ -26,11 +29,12 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
26 |
- <?php _e( 'We use transients to cache the image sizes, so that we only have to calculate them once (a week). Because of some server issues it may happen that we cannot correctly get the image size and we\'ll cache that, meaning that we\'ll never try it again (for a week). This tool will delete ALL the transients and force the image size calculation to be done again for all images, as they\'re nedded.' , 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
27 |
</td>
|
28 |
</tr>
|
29 |
-
|
30 |
-
|
31 |
|
32 |
</tbody>
|
33 |
</table>
|
34 |
</div>
|
35 |
</div>
|
|
|
|
|
|
|
36 |
</div>
|
5 |
?>
|
6 |
<div class="menu_containt_div" id="tabs-7">
|
7 |
<p><?php _e( 'Just some random tools', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></p>
|
8 |
+
|
9 |
+
<?php do_action( 'fb_og_admin_settings_tools_before' ); ?>
|
10 |
+
|
11 |
<div class="postbox">
|
12 |
<h3 class="hndle"><i class="dashicons-before dashicons-format-image"></i> <?php _e( 'Image tools', 'wonderm00ns-simple-facebook-open-graph-tags' ) ?></h3>
|
13 |
<div class="inside">
|
29 |
- <?php _e( 'We use transients to cache the image sizes, so that we only have to calculate them once (a week). Because of some server issues it may happen that we cannot correctly get the image size and we\'ll cache that, meaning that we\'ll never try it again (for a week). This tool will delete ALL the transients and force the image size calculation to be done again for all images, as they\'re nedded.' , 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
30 |
</td>
|
31 |
</tr>
|
|
|
|
|
32 |
|
33 |
</tbody>
|
34 |
</table>
|
35 |
</div>
|
36 |
</div>
|
37 |
+
|
38 |
+
<?php do_action( 'fb_og_admin_settings_tools_after' ); ?>
|
39 |
+
|
40 |
</div>
|
admin/options-page-twitter.php
CHANGED
@@ -5,6 +5,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
5 |
?>
|
6 |
<div class="menu_containt_div" id="tabs-3">
|
7 |
<p><?php _e( 'Tags used by Twitter to render their Cards.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></p>
|
|
|
|
|
|
|
8 |
<div class="postbox">
|
9 |
<h3 class="hndle"><i class="dashicons-before dashicons-twitter"></i> <?php _e( 'Twitter Card Tags', 'wonderm00ns-simple-facebook-open-graph-tags' ) ?></h3>
|
10 |
<div class="inside">
|
@@ -128,4 +131,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
128 |
</table>
|
129 |
</div>
|
130 |
</div>
|
|
|
|
|
|
|
131 |
</div>
|
5 |
?>
|
6 |
<div class="menu_containt_div" id="tabs-3">
|
7 |
<p><?php _e( 'Tags used by Twitter to render their Cards.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></p>
|
8 |
+
|
9 |
+
<?php do_action( 'fb_og_admin_settings_twitter_before' ); ?>
|
10 |
+
|
11 |
<div class="postbox">
|
12 |
<h3 class="hndle"><i class="dashicons-before dashicons-twitter"></i> <?php _e( 'Twitter Card Tags', 'wonderm00ns-simple-facebook-open-graph-tags' ) ?></h3>
|
13 |
<div class="inside">
|
131 |
</table>
|
132 |
</div>
|
133 |
</div>
|
134 |
+
|
135 |
+
<?php do_action( 'fb_og_admin_settings_twitter_after' ); ?>
|
136 |
+
|
137 |
</div>
|
admin/options-page.php
CHANGED
@@ -10,92 +10,90 @@ $out_link_utm='?utm_source='.urlencode(home_url()).'&utm_medium=link&utm
|
|
10 |
<div class="wrap" id="webdados_fb_admin">
|
11 |
|
12 |
|
13 |
-
<h1
|
|
|
|
|
|
|
14 |
<p><?php _e( 'Please set some default values and which tags should, or should not, be included. It may be necessary to exclude some tags if other plugins are already including them.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></p>
|
15 |
|
16 |
<div class="columns-2 webdados_fb_admin_left" id="post-body">
|
17 |
<div class="menu_div metabox-holder" id="tabs">
|
18 |
<form id="webdados_fb_form" action="options.php" method="post">
|
19 |
-
|
20 |
<?php settings_fields( 'wonderm00n_open_graph_settings' ); ?>
|
21 |
-
|
|
|
22 |
<input type="hidden" name="wonderm00n_open_graph_settings[settings_last_tab]" id="settings_last_tab" value="<?php echo intval($options['settings_last_tab']); ?>"/>
|
23 |
<!-- Minimum image size -->
|
24 |
<input type="hidden" name="wonderm00n_open_graph_settings[fb_image_min_size]" value="<?php echo intval($options['fb_image_min_size']); ?>"/>
|
25 |
|
26 |
<h2 class="nav-tab-wrapper">
|
27 |
<ul>
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
<i class="dashicons-before dashicons-facebook-alt"></i>
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
<i class="dashicons-before dashicons-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
</ul>
|
72 |
</h2>
|
73 |
|
74 |
<div id="poststuff">
|
75 |
|
76 |
<div class="clear"></div>
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
<!-- Twitter Cards -->
|
86 |
-
<?php include 'options-page-twitter.php'; ?>
|
87 |
-
|
88 |
-
<!-- Google+ / Schema.org -->
|
89 |
-
<?php include 'options-page-schema.php'; ?>
|
90 |
-
|
91 |
-
<!-- SEO Meta Tags -->
|
92 |
-
<?php include 'options-page-seo.php'; ?>
|
93 |
-
|
94 |
-
<!-- 3rd party integrations -->
|
95 |
-
<?php include 'options-page-3rdparty.php'; ?>
|
96 |
-
|
97 |
-
<!-- Tools -->
|
98 |
-
<?php include 'options-page-tools.php'; ?>
|
99 |
|
100 |
<div class="clear"></div>
|
101 |
<?php submit_button(); ?>
|
10 |
<div class="wrap" id="webdados_fb_admin">
|
11 |
|
12 |
|
13 |
+
<h1>
|
14 |
+
<?php echo WEBDADOS_FB_PLUGIN_NAME ?> (<?php echo WEBDADOS_FB_VERSION; ?>)
|
15 |
+
<?php do_action( 'fb_og_admin_settings_title' ); ?>
|
16 |
+
</h1><br class="clear"/>
|
17 |
<p><?php _e( 'Please set some default values and which tags should, or should not, be included. It may be necessary to exclude some tags if other plugins are already including them.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></p>
|
18 |
|
19 |
<div class="columns-2 webdados_fb_admin_left" id="post-body">
|
20 |
<div class="menu_div metabox-holder" id="tabs">
|
21 |
<form id="webdados_fb_form" action="options.php" method="post">
|
22 |
+
|
23 |
<?php settings_fields( 'wonderm00n_open_graph_settings' ); ?>
|
24 |
+
|
25 |
+
<!-- Remember last active tab -->
|
26 |
<input type="hidden" name="wonderm00n_open_graph_settings[settings_last_tab]" id="settings_last_tab" value="<?php echo intval($options['settings_last_tab']); ?>"/>
|
27 |
<!-- Minimum image size -->
|
28 |
<input type="hidden" name="wonderm00n_open_graph_settings[fb_image_min_size]" value="<?php echo intval($options['fb_image_min_size']); ?>"/>
|
29 |
|
30 |
<h2 class="nav-tab-wrapper">
|
31 |
<ul>
|
32 |
+
<?php
|
33 |
+
$settings_tabs = array(
|
34 |
+
'1' => array(
|
35 |
+
'icon' => '<i class="dashicons-before dashicons-admin-generic"></i>',
|
36 |
+
'title' => __( 'General', 'wonderm00ns-simple-facebook-open-graph-tags' ),
|
37 |
+
'file' => 'options-page-general.php'
|
38 |
+
),
|
39 |
+
'2' => array(
|
40 |
+
'icon' => '<i class="dashicons-before dashicons-facebook-alt"></i>',
|
41 |
+
'title' => __( 'Open Graph', 'wonderm00ns-simple-facebook-open-graph-tags' ),
|
42 |
+
'file' => 'options-page-facebook.php'
|
43 |
+
),
|
44 |
+
'3' => array(
|
45 |
+
'icon' => '<i class="dashicons-before dashicons-twitter"></i>',
|
46 |
+
'title' => __( 'Cards', 'wonderm00ns-simple-facebook-open-graph-tags' ),
|
47 |
+
'file' => 'options-page-twitter.php'
|
48 |
+
),
|
49 |
+
/*'4' => array(
|
50 |
+
'icon' => '<i class="dashicons-before dashicons-googleplus"></i>',
|
51 |
+
'title' => __( 'Schema', 'wonderm00ns-simple-facebook-open-graph-tags' ).' ('.__( 'deprecated', 'wonderm00ns-simple-facebook-open-graph-tags' ).')',
|
52 |
+
'file' => 'options-page-schema.php'
|
53 |
+
),*/
|
54 |
+
'5' => array(
|
55 |
+
'icon' => '<i class="dashicons-before dashicons-admin-site"></i>',
|
56 |
+
'title' => __( 'SEO tags', 'wonderm00ns-simple-facebook-open-graph-tags' ),
|
57 |
+
'file' => 'options-page-seo.php'
|
58 |
+
),
|
59 |
+
'6' => array(
|
60 |
+
'icon' => '<i class="dashicons-before dashicons-layout"></i>',
|
61 |
+
'title' => __( '3rd party', 'wonderm00ns-simple-facebook-open-graph-tags' ),
|
62 |
+
'file' => 'options-page-3rdparty.php'
|
63 |
+
),
|
64 |
+
'7' => array(
|
65 |
+
'icon' => '<i class="dashicons-before dashicons-admin-tools"></i>',
|
66 |
+
'title' => __( 'Tools', 'wonderm00ns-simple-facebook-open-graph-tags' ),
|
67 |
+
'file' => 'options-page-tools.php'
|
68 |
+
)
|
69 |
+
);
|
70 |
+
//Show tabs
|
71 |
+
foreach ( $settings_tabs as $key => $tab ) {
|
72 |
+
$index = 0;
|
73 |
+
?>
|
74 |
+
<li>
|
75 |
+
<a class="nav-tab" href="#tabs-<?php echo esc_attr( $key ); ?>" data-tab-index="<?php echo intval( $index ); ?>">
|
76 |
+
<?php echo $tab['icon']; ?>
|
77 |
+
<?php echo $tab['title']; ?>
|
78 |
+
</a>
|
79 |
+
</li>
|
80 |
+
<?php
|
81 |
+
$index++;
|
82 |
+
}
|
83 |
+
?>
|
84 |
</ul>
|
85 |
</h2>
|
86 |
|
87 |
<div id="poststuff">
|
88 |
|
89 |
<div class="clear"></div>
|
90 |
+
|
91 |
+
<?php
|
92 |
+
//Include files
|
93 |
+
foreach ( $settings_tabs as $key => $tab ) {
|
94 |
+
require_once( $tab['file'] );
|
95 |
+
}
|
96 |
+
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
|
98 |
<div class="clear"></div>
|
99 |
<?php submit_button(); ?>
|
fbimg.php
CHANGED
@@ -15,9 +15,10 @@
|
|
15 |
if ( $url['host']==$_SERVER['HTTP_HOST'] ) {
|
16 |
|
17 |
if( $image=imagecreatefromfile($_SERVER['DOCUMENT_ROOT'].$url['path']) ) {
|
18 |
-
|
19 |
-
$
|
20 |
-
$
|
|
|
21 |
|
22 |
$width = imagesx($image);
|
23 |
$height = imagesy($image);
|
@@ -102,7 +103,7 @@
|
|
102 |
if ( trim($webdados_fb->options['fb_image_overlay_image'])!='' ) {
|
103 |
$barra_url = parse_url( apply_filters( 'fb_og_thumb_image', trim($webdados_fb->options['fb_image_overlay_image']), intval($_GET['post_id']) ) );
|
104 |
$barra = imagecreatefromfile($_SERVER['DOCUMENT_ROOT'].$barra_url['path']);
|
105 |
-
imagecopy($thumb, $barra, 0, 0, 0, 0, intval(
|
106 |
}
|
107 |
|
108 |
@header('HTTP/1.0 200 OK');
|
15 |
if ( $url['host']==$_SERVER['HTTP_HOST'] ) {
|
16 |
|
17 |
if( $image=imagecreatefromfile($_SERVER['DOCUMENT_ROOT'].$url['path']) ) {
|
18 |
+
|
19 |
+
$size = apply_filters( 'fb_og_image_size', array( $webdados_fb->img_w, $webdados_fb->img_h ) );
|
20 |
+
$thumb_width = intval( $size[0] );
|
21 |
+
$thumb_height = intval( $size[1] );
|
22 |
|
23 |
$width = imagesx($image);
|
24 |
$height = imagesy($image);
|
103 |
if ( trim($webdados_fb->options['fb_image_overlay_image'])!='' ) {
|
104 |
$barra_url = parse_url( apply_filters( 'fb_og_thumb_image', trim($webdados_fb->options['fb_image_overlay_image']), intval($_GET['post_id']) ) );
|
105 |
$barra = imagecreatefromfile($_SERVER['DOCUMENT_ROOT'].$barra_url['path']);
|
106 |
+
imagecopy( $thumb, $barra, 0, 0, 0, 0, intval( $thumb_width ), intval( $thumb_height ) );
|
107 |
}
|
108 |
|
109 |
@header('HTTP/1.0 200 OK');
|
includes/class-webdados-fb-open-graph.php
CHANGED
@@ -13,6 +13,10 @@ class Webdados_FB {
|
|
13 |
/* Database options */
|
14 |
public $options;
|
15 |
|
|
|
|
|
|
|
|
|
16 |
/* Public class */
|
17 |
//public $plugin_public; - Necessário?
|
18 |
|
@@ -30,7 +34,7 @@ class Webdados_FB {
|
|
30 |
|
31 |
/* Default options */
|
32 |
private function default_options() {
|
33 |
-
return array(
|
34 |
//System
|
35 |
'fb_keep_data_uninstall' => 1,
|
36 |
'fb_image_min_size' => 200,
|
@@ -79,12 +83,12 @@ class Webdados_FB {
|
|
79 |
'fb_show_aioseop' => 0,
|
80 |
'fb_wc_useproductgallery' => 1,
|
81 |
'fb_subheading_position' => 'after',
|
82 |
-
);
|
83 |
}
|
84 |
|
85 |
/* All Settings and sanitize function */
|
86 |
public function all_options() {
|
87 |
-
return array(
|
88 |
'fb_app_id_show' => 'intval',
|
89 |
'fb_app_id' => 'trim',
|
90 |
'fb_admin_id_show' => 'intval',
|
@@ -164,7 +168,7 @@ class Webdados_FB {
|
|
164 |
'fb_publisher_show_meta' => 'intval',
|
165 |
'fb_declaration_method' => 'trim',
|
166 |
'settings_last_tab' => 'intval',
|
167 |
-
);
|
168 |
}
|
169 |
|
170 |
/* Load Options */
|
@@ -220,6 +224,8 @@ class Webdados_FB {
|
|
220 |
private function call_global_hooks() {
|
221 |
//Update
|
222 |
add_action( 'plugins_loaded', array( $this, 'update_db_check' ) );
|
|
|
|
|
223 |
//Add excerpts to pages
|
224 |
add_action( 'init', array( $this, 'add_excerpts_to_pages' ) );
|
225 |
}
|
@@ -297,6 +303,13 @@ class Webdados_FB {
|
|
297 |
}
|
298 |
}
|
299 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
300 |
/* Add excerpt to pages */
|
301 |
public function add_excerpts_to_pages() {
|
302 |
add_post_type_support( 'page', 'excerpt' );
|
13 |
/* Database options */
|
14 |
public $options;
|
15 |
|
16 |
+
/* Image sizes */
|
17 |
+
public $img_w = WEBDADOS_FB_W;
|
18 |
+
public $img_h = WEBDADOS_FB_H;
|
19 |
+
|
20 |
/* Public class */
|
21 |
//public $plugin_public; - Necessário?
|
22 |
|
34 |
|
35 |
/* Default options */
|
36 |
private function default_options() {
|
37 |
+
return apply_filters( 'fb_og_default_options', array(
|
38 |
//System
|
39 |
'fb_keep_data_uninstall' => 1,
|
40 |
'fb_image_min_size' => 200,
|
83 |
'fb_show_aioseop' => 0,
|
84 |
'fb_wc_useproductgallery' => 1,
|
85 |
'fb_subheading_position' => 'after',
|
86 |
+
) );
|
87 |
}
|
88 |
|
89 |
/* All Settings and sanitize function */
|
90 |
public function all_options() {
|
91 |
+
return apply_filters( 'fb_og_all_options', array(
|
92 |
'fb_app_id_show' => 'intval',
|
93 |
'fb_app_id' => 'trim',
|
94 |
'fb_admin_id_show' => 'intval',
|
168 |
'fb_publisher_show_meta' => 'intval',
|
169 |
'fb_declaration_method' => 'trim',
|
170 |
'settings_last_tab' => 'intval',
|
171 |
+
) );
|
172 |
}
|
173 |
|
174 |
/* Load Options */
|
224 |
private function call_global_hooks() {
|
225 |
//Update
|
226 |
add_action( 'plugins_loaded', array( $this, 'update_db_check' ) );
|
227 |
+
//Image sizes - After PRO is loaded
|
228 |
+
add_action( 'plugins_loaded', array( $this, 'set_image_sizes' ), 12 );
|
229 |
//Add excerpts to pages
|
230 |
add_action( 'init', array( $this, 'add_excerpts_to_pages' ) );
|
231 |
}
|
303 |
}
|
304 |
}
|
305 |
|
306 |
+
/* Set image sizes */
|
307 |
+
public function set_image_sizes() {
|
308 |
+
$size = apply_filters( 'fb_og_image_size', array( $this->img_w, $this->img_h ) );
|
309 |
+
$this->img_w = $size[0];
|
310 |
+
$this->img_h = $size[1];
|
311 |
+
}
|
312 |
+
|
313 |
/* Add excerpt to pages */
|
314 |
public function add_excerpts_to_pages() {
|
315 |
add_post_type_support( 'page', 'excerpt' );
|
lang/wonderm00ns-simple-facebook-open-graph-tags.pot
CHANGED
@@ -4,14 +4,14 @@ 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: 2020-
|
8 |
"PO-Revision-Date: 2016-09-26 14:52+0100\n"
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: \n"
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
-
"X-Generator: Poedit 2.3\n"
|
15 |
"X-Poedit-Basepath: ..\n"
|
16 |
"X-Poedit-WPHeader: wonderm00n-open-graph.php\n"
|
17 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -30,7 +30,7 @@ msgid "Google+"
|
|
30 |
msgstr ""
|
31 |
|
32 |
#: admin/class-webdados-fb-open-graph-admin.php:64
|
33 |
-
#: admin/options-page-twitter.php:
|
34 |
msgid "Twitter username (without @)"
|
35 |
msgstr ""
|
36 |
|
@@ -45,7 +45,7 @@ msgid "Use this image"
|
|
45 |
msgstr ""
|
46 |
|
47 |
#: admin/class-webdados-fb-open-graph-admin.php:127
|
48 |
-
#: admin/options-page-general.php:
|
49 |
msgid "Upload/Choose"
|
50 |
msgstr ""
|
51 |
|
@@ -54,7 +54,7 @@ msgid "Clear field"
|
|
54 |
msgstr ""
|
55 |
|
56 |
#: admin/class-webdados-fb-open-graph-admin.php:130
|
57 |
-
#: admin/options-page-general.php:
|
58 |
#, php-format
|
59 |
msgid "Recommended size: %dx%dpx"
|
60 |
msgstr ""
|
@@ -150,26 +150,26 @@ msgstr ""
|
|
150 |
msgid "Settings for 3rd party integration with other plugins."
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: admin/options-page-3rdparty.php:
|
154 |
-
#: admin/options-page-3rdparty.php:
|
155 |
msgid "Attention"
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: admin/options-page-3rdparty.php:
|
159 |
msgid ""
|
160 |
"You currently have both Yoast SEO and All in One SEO Pack plugins active. "
|
161 |
"This is no recommended."
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: admin/options-page-3rdparty.php:
|
165 |
msgid "Use Title, URL and Description"
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: admin/options-page-3rdparty.php:
|
169 |
msgid "Use Title, Canonical URL and Description generated by Yoast SEO"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: admin/options-page-3rdparty.php:
|
173 |
#, php-format
|
174 |
msgid ""
|
175 |
"Because you are using Yoast SEO, and to avoid duplicate social tags, you "
|
@@ -179,22 +179,22 @@ msgid ""
|
|
179 |
"\">Yoast SEO > Dashboard > Features</a>."
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: admin/options-page-3rdparty.php:
|
183 |
-
#: admin/options-page-3rdparty.php:
|
184 |
-
#: admin/options-page-3rdparty.php:
|
185 |
#, php-format
|
186 |
msgid "You don't have %s installed or activated."
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: admin/options-page-3rdparty.php:
|
190 |
msgid "Use Title and Description"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: admin/options-page-3rdparty.php:
|
194 |
msgid "Use Title and Description generated by All in One SEO Pack"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: admin/options-page-3rdparty.php:
|
198 |
#, php-format
|
199 |
msgid ""
|
200 |
"Because you are using All in One SEO Pack, and to avoid duplicate social "
|
@@ -202,86 +202,90 @@ msgid ""
|
|
202 |
"\"_blank\">MISSING LINK</a>."
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: admin/options-page-3rdparty.php:
|
206 |
msgid ""
|
207 |
"On the product page we will automatically set <i>og:type</i> to \"product\" "
|
208 |
"and <i>product:price</i> to the price including tax."
|
209 |
msgstr ""
|
210 |
|
211 |
-
#: admin/options-page-3rdparty.php:
|
212 |
msgid "Use Product Gallery as Images"
|
213 |
msgstr ""
|
214 |
|
215 |
-
#: admin/options-page-3rdparty.php:
|
216 |
msgid ""
|
217 |
"Sets each Product Gallery image as an additional <i>og:image</i> tag so "
|
218 |
"that, when a product is shared on Facebook, the user is given the choice "
|
219 |
"what image to display"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: admin/options-page-3rdparty.php:
|
223 |
-
#: admin/options-page-facebook.php:
|
224 |
-
#: admin/options-page-facebook.php:
|
225 |
-
#: admin/options-page-facebook.php:
|
226 |
-
#: admin/options-page-schema.php:
|
227 |
-
#: admin/options-page-schema.php:
|
228 |
-
#: admin/options-page-seo.php:
|
229 |
-
#: admin/options-page-twitter.php:
|
230 |
-
#: admin/options-page-twitter.php:
|
231 |
#, php-format
|
232 |
msgid "You can change this value using the <i>%1$s</i> filter"
|
233 |
msgstr ""
|
234 |
|
235 |
-
#: admin/options-page-3rdparty.php:
|
236 |
msgid "Overlay PNG logo"
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: admin/options-page-3rdparty.php:
|
240 |
msgid "Also overlay the PNG logo on the Product Gallery images"
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: admin/options-page-3rdparty.php:
|
244 |
msgid "Use Category thumbnail as Image"
|
245 |
msgstr ""
|
246 |
|
247 |
-
#: admin/options-page-3rdparty.php:
|
248 |
msgid ""
|
249 |
"Recommended if you set large thumbnails for Product Categories and want to "
|
250 |
"use them as Open Graph Images on category listing pages"
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: admin/options-page-3rdparty.php:
|
254 |
msgid ""
|
255 |
"This setting also applies to brand pages if WooCommerce Brands is installed"
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: admin/options-page-3rdparty.php:
|
259 |
msgid "Add SubHeading to Post/Page Title"
|
260 |
msgstr ""
|
261 |
|
262 |
-
#: admin/options-page-3rdparty.php:
|
263 |
msgid "SubHeading position"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: admin/options-page-3rdparty.php:
|
267 |
msgid "After"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: admin/options-page-3rdparty.php:
|
271 |
msgid "Before"
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: admin/options-page-3rdparty.php:
|
|
|
|
|
|
|
|
|
275 |
msgid "Use listing details"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: admin/options-page-3rdparty.php:
|
279 |
msgid ""
|
280 |
"Use Business Directory Plugin listing details (Title, URL, Description and "
|
281 |
"Image) to populate tags"
|
282 |
msgstr ""
|
283 |
|
284 |
-
#: admin/options-page-3rdparty.php:
|
285 |
msgid ""
|
286 |
"Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and "
|
287 |
"\"Include Image\" options is HIGHLY recommended"
|
@@ -293,37 +297,37 @@ msgid ""
|
|
293 |
"share posts."
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: admin/options-page-facebook.php:
|
297 |
msgid "Facebook Open Graph Tags"
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: admin/options-page-facebook.php:
|
301 |
msgid "Include Post/Page Title"
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: admin/options-page-facebook.php:
|
305 |
msgid "Include Site Name"
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: admin/options-page-facebook.php:
|
309 |
msgid "From Settings > General > Site Title"
|
310 |
msgstr ""
|
311 |
|
312 |
-
#: admin/options-page-facebook.php:
|
313 |
msgid "Include URL"
|
314 |
msgstr ""
|
315 |
|
316 |
-
#: admin/options-page-facebook.php:
|
317 |
-
#: admin/options-page-twitter.php:
|
318 |
msgid "Include Description"
|
319 |
msgstr ""
|
320 |
|
321 |
-
#: admin/options-page-facebook.php:
|
322 |
-
#: admin/options-page-twitter.php:
|
323 |
msgid "Include Image"
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: admin/options-page-facebook.php:
|
327 |
#, php-format
|
328 |
msgid ""
|
329 |
"All images must have at least 200px on both dimensions in order to Facebook "
|
@@ -331,183 +335,183 @@ msgid ""
|
|
331 |
"recommended."
|
332 |
msgstr ""
|
333 |
|
334 |
-
#: admin/options-page-facebook.php:
|
335 |
msgid "Include Image Dimensions"
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: admin/options-page-facebook.php:
|
339 |
-
#: admin/options-page-schema.php:
|
340 |
msgid "and"
|
341 |
msgstr ""
|
342 |
|
343 |
-
#: admin/options-page-facebook.php:
|
344 |
msgid ""
|
345 |
"Recommended only if Facebook is having problems loading the image when the "
|
346 |
"post is shared for the first time, or else it adds extra unnecessary "
|
347 |
"processing time"
|
348 |
msgstr ""
|
349 |
|
350 |
-
#: admin/options-page-facebook.php:
|
351 |
msgid "Include Type"
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: admin/options-page-facebook.php:
|
355 |
#, php-format
|
356 |
msgid ""
|
357 |
"Will be \"%1$s\" for posts and pages and \"%2$s\" or \"%3$s\" for the "
|
358 |
"homepage"
|
359 |
msgstr ""
|
360 |
|
361 |
-
#: admin/options-page-facebook.php:
|
362 |
msgid "Additional types may be used depending on 3rd party integrations"
|
363 |
msgstr ""
|
364 |
|
365 |
-
#: admin/options-page-facebook.php:
|
366 |
msgid "Homepage Type"
|
367 |
msgstr ""
|
368 |
|
369 |
-
#: admin/options-page-facebook.php:
|
370 |
msgid ""
|
371 |
"Facebook does not support <i>blog</i> anymore, so we have to default to "
|
372 |
"<i>website</i>"
|
373 |
msgstr ""
|
374 |
|
375 |
-
#: admin/options-page-facebook.php:
|
376 |
-
#: admin/options-page-schema.php:
|
377 |
msgid "Include Post/Page Author"
|
378 |
msgstr ""
|
379 |
|
380 |
-
#: admin/options-page-facebook.php:
|
381 |
msgid "The user's Facebook URL must be filled in on his profile"
|
382 |
msgstr ""
|
383 |
|
384 |
-
#: admin/options-page-facebook.php:
|
385 |
msgid "Include Published/Modified Dates"
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: admin/options-page-facebook.php:
|
389 |
-
#: admin/options-page-schema.php:
|
390 |
msgid "For posts only"
|
391 |
msgstr ""
|
392 |
|
393 |
-
#: admin/options-page-facebook.php:
|
394 |
msgid "Include Article Sections"
|
395 |
msgstr ""
|
396 |
|
397 |
-
#: admin/options-page-facebook.php:
|
398 |
msgid "from the categories names"
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: admin/options-page-facebook.php:
|
402 |
-
#: admin/options-page-seo.php:
|
403 |
msgid "Include Publisher"
|
404 |
msgstr ""
|
405 |
|
406 |
-
#: admin/options-page-facebook.php:
|
407 |
msgid "The website's Facebook Page"
|
408 |
msgstr ""
|
409 |
|
410 |
-
#: admin/options-page-facebook.php:
|
411 |
msgid "Website's Facebook Page"
|
412 |
msgstr ""
|
413 |
|
414 |
-
#: admin/options-page-facebook.php:
|
415 |
msgid "Facebook Page URL (with https://)"
|
416 |
msgstr ""
|
417 |
|
418 |
-
#: admin/options-page-facebook.php:
|
419 |
msgid "Include Locale"
|
420 |
msgstr ""
|
421 |
|
422 |
-
#: admin/options-page-facebook.php:
|
423 |
msgid "Locale"
|
424 |
msgstr ""
|
425 |
|
426 |
-
#: admin/options-page-facebook.php:
|
427 |
msgid "WordPress current locale/language"
|
428 |
msgstr ""
|
429 |
|
430 |
-
#: admin/options-page-facebook.php:
|
431 |
msgid "List loaded from Facebook (online)"
|
432 |
msgstr ""
|
433 |
|
434 |
-
#: admin/options-page-facebook.php:
|
435 |
msgid "List loaded from local cache (offline)"
|
436 |
msgstr ""
|
437 |
|
438 |
-
#: admin/options-page-facebook.php:
|
439 |
msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
|
440 |
msgstr ""
|
441 |
|
442 |
-
#: admin/options-page-facebook.php:
|
443 |
msgid "Reload from Facebook"
|
444 |
msgstr ""
|
445 |
|
446 |
-
#: admin/options-page-facebook.php:
|
447 |
msgid "List not loaded"
|
448 |
msgstr ""
|
449 |
|
450 |
-
#: admin/options-page-facebook.php:
|
451 |
msgid "Include Facebook Admin(s) ID"
|
452 |
msgstr ""
|
453 |
|
454 |
-
#: admin/options-page-facebook.php:
|
455 |
msgid "Facebook Admin(s) ID"
|
456 |
msgstr ""
|
457 |
|
458 |
-
#: admin/options-page-facebook.php:
|
459 |
msgid "Comma separated if more than one"
|
460 |
msgstr ""
|
461 |
|
462 |
-
#: admin/options-page-facebook.php:
|
463 |
msgid "Include Facebook Platform App ID"
|
464 |
msgstr ""
|
465 |
|
466 |
-
#: admin/options-page-facebook.php:
|
467 |
msgid "Facebook Platform App ID"
|
468 |
msgstr ""
|
469 |
|
470 |
-
#: admin/options-page-facebook.php:
|
471 |
msgid "From your Facebook Developers dashboard"
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: admin/options-page-facebook.php:
|
475 |
msgid "Declaration Method"
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: admin/options-page-facebook.php:
|
479 |
msgid "or"
|
480 |
msgstr ""
|
481 |
|
482 |
-
#: admin/options-page-facebook.php:
|
483 |
msgid ""
|
484 |
"Prefix is recommended because it validates properly with the W3C validator, "
|
485 |
"xmlns is the legacy method"
|
486 |
msgstr ""
|
487 |
|
488 |
-
#: admin/options-page-facebook.php:
|
489 |
msgid "Facebook Open Graph Tags cache"
|
490 |
msgstr ""
|
491 |
|
492 |
-
#: admin/options-page-facebook.php:
|
493 |
msgid "Clear cache"
|
494 |
msgstr ""
|
495 |
|
496 |
-
#: admin/options-page-facebook.php:
|
497 |
msgid ""
|
498 |
"Try to clear the Facebook Open Graph Tags cache when saving a post or page, "
|
499 |
"so the link preview on Facebook is immediately updated"
|
500 |
msgstr ""
|
501 |
|
502 |
-
#: admin/options-page-facebook.php:
|
503 |
msgid "App ID"
|
504 |
msgstr ""
|
505 |
|
506 |
-
#: admin/options-page-facebook.php:
|
507 |
msgid "App Secret"
|
508 |
msgstr ""
|
509 |
|
510 |
-
#: admin/options-page-facebook.php:
|
511 |
#, php-format
|
512 |
msgid ""
|
513 |
"Facebook no longer allows updating the cache anonymously, so you have to use "
|
@@ -515,24 +519,24 @@ msgid ""
|
|
515 |
"how to do it."
|
516 |
msgstr ""
|
517 |
|
518 |
-
#: admin/options-page-facebook.php:
|
519 |
msgid ""
|
520 |
"If you are using the (now deprecated) <i>fb_og_update_cache_url</i> filter, "
|
521 |
"this ID and Secret will NOT be used. You should stop using the filter and "
|
522 |
"use these settings."
|
523 |
msgstr ""
|
524 |
|
525 |
-
#: admin/options-page-facebook.php:
|
526 |
msgid ""
|
527 |
"Please do not ask for support regarding this feature. Everything is "
|
528 |
"explained in the blog post linked above."
|
529 |
msgstr ""
|
530 |
|
531 |
-
#: admin/options-page-facebook.php:
|
532 |
msgid "Suppress cache notices"
|
533 |
msgstr ""
|
534 |
|
535 |
-
#: admin/options-page-facebook.php:
|
536 |
msgid ""
|
537 |
"Sometimes we aren't able to update the cache and the post author will see a "
|
538 |
"notice if this option is not checked"
|
@@ -542,44 +546,44 @@ msgstr ""
|
|
542 |
msgid "General settings that will apply to all tags types."
|
543 |
msgstr ""
|
544 |
|
545 |
-
#: admin/options-page-general.php:
|
546 |
msgid "Description settings"
|
547 |
msgstr ""
|
548 |
|
549 |
-
#: admin/options-page-general.php:
|
550 |
msgid "Description maximum length"
|
551 |
msgstr ""
|
552 |
|
553 |
-
#: admin/options-page-general.php:
|
554 |
msgid "characters"
|
555 |
msgstr ""
|
556 |
|
557 |
-
#: admin/options-page-general.php:
|
558 |
msgid "0 (zero) or blank for no maximum length"
|
559 |
msgstr ""
|
560 |
|
561 |
-
#: admin/options-page-general.php:
|
562 |
-
#: admin/options-page-general.php:
|
563 |
msgid "Because Yoast SEO integration is active, this value may be overwritten"
|
564 |
msgstr ""
|
565 |
|
566 |
-
#: admin/options-page-general.php:
|
567 |
msgid "Homepage description"
|
568 |
msgstr ""
|
569 |
|
570 |
-
#: admin/options-page-general.php:
|
571 |
msgid "The description of your front page:"
|
572 |
msgstr ""
|
573 |
|
574 |
-
#: admin/options-page-general.php:
|
575 |
msgid "Website tagline"
|
576 |
msgstr ""
|
577 |
|
578 |
-
#: admin/options-page-general.php:
|
579 |
msgid "Custom text"
|
580 |
msgstr ""
|
581 |
|
582 |
-
#: admin/options-page-general.php:
|
583 |
#, php-format
|
584 |
msgid ""
|
585 |
"WPML users: Set the main language homepage description here, save changes "
|
@@ -587,17 +591,17 @@ msgid ""
|
|
587 |
"translation</a> to set it for other languages."
|
588 |
msgstr ""
|
589 |
|
590 |
-
#: admin/options-page-general.php:
|
591 |
msgid "Default description"
|
592 |
msgstr ""
|
593 |
|
594 |
-
#: admin/options-page-general.php:
|
595 |
msgid ""
|
596 |
"The default description to be used on any post / page / cpt / archive / "
|
597 |
"search / ... that has a blank description"
|
598 |
msgstr ""
|
599 |
|
600 |
-
#: admin/options-page-general.php:
|
601 |
#, php-format
|
602 |
msgid ""
|
603 |
"WPML users: Set the main language default description here, save changes and "
|
@@ -605,58 +609,58 @@ msgid ""
|
|
605 |
"to set it for other languages."
|
606 |
msgstr ""
|
607 |
|
608 |
-
#: admin/options-page-general.php:
|
609 |
msgid "Image settings"
|
610 |
msgstr ""
|
611 |
|
612 |
-
#: admin/options-page-general.php:
|
613 |
msgid "Default image"
|
614 |
msgstr ""
|
615 |
|
616 |
-
#: admin/options-page-general.php:
|
617 |
msgid "URL (with http(s)://)"
|
618 |
msgstr ""
|
619 |
|
620 |
-
#: admin/options-page-general.php:
|
621 |
msgid "On Post/Page, use image from"
|
622 |
msgstr ""
|
623 |
|
624 |
-
#: admin/options-page-general.php:
|
625 |
msgid "\"Open Graph Image\" custom field on the post"
|
626 |
msgstr ""
|
627 |
|
628 |
-
#: admin/options-page-general.php:
|
629 |
msgid "Post/page featured image"
|
630 |
msgstr ""
|
631 |
|
632 |
-
#: admin/options-page-general.php:
|
633 |
msgid "First image from the post/page content"
|
634 |
msgstr ""
|
635 |
|
636 |
-
#: admin/options-page-general.php:
|
637 |
msgid "First image from the post/page media gallery"
|
638 |
msgstr ""
|
639 |
|
640 |
-
#: admin/options-page-general.php:
|
641 |
msgid "Default image specified above"
|
642 |
msgstr ""
|
643 |
|
644 |
-
#: admin/options-page-general.php:
|
645 |
msgid "Page screenshot (provided by WordPress.com mShots API)"
|
646 |
msgstr ""
|
647 |
|
648 |
-
#: admin/options-page-general.php:
|
649 |
msgid ""
|
650 |
"On posts/pages the first image found, using the priority above, will be "
|
651 |
"used. On the homepage, archives and other website sections the default image "
|
652 |
"is always used."
|
653 |
msgstr ""
|
654 |
|
655 |
-
#: admin/options-page-general.php:
|
656 |
msgid "No"
|
657 |
msgstr ""
|
658 |
|
659 |
-
#: admin/options-page-general.php:
|
660 |
#, php-format
|
661 |
msgid ""
|
662 |
"The original image will be resized/cropped to %dx%dpx, or shrunk and "
|
@@ -664,149 +668,153 @@ msgid ""
|
|
664 |
"overlaid on it. It will only work for locally hosted images."
|
665 |
msgstr ""
|
666 |
|
667 |
-
#: admin/options-page-general.php:
|
668 |
#, php-format
|
669 |
msgid ""
|
670 |
"You can see an example of the end result <a href=\"%s\" target=\"_blank"
|
671 |
"\">here</a>"
|
672 |
msgstr ""
|
673 |
|
674 |
-
#: admin/options-page-general.php:
|
675 |
#, php-format
|
676 |
msgid ""
|
677 |
"If you activate this option globally, you can disable it based on your "
|
678 |
"conditions using the <i>%1$s</i> filter"
|
679 |
msgstr ""
|
680 |
|
681 |
-
#: admin/options-page-general.php:
|
682 |
msgid "PNG logo"
|
683 |
msgstr ""
|
684 |
|
685 |
-
#: admin/options-page-general.php:
|
686 |
#, php-format
|
687 |
msgid "Size: %dx%dpx"
|
688 |
msgstr ""
|
689 |
|
690 |
-
#: admin/options-page-general.php:
|
691 |
msgid "Original image behavior"
|
692 |
msgstr ""
|
693 |
|
694 |
-
#: admin/options-page-general.php:
|
695 |
msgid "Resize and crop (default)"
|
696 |
msgstr ""
|
697 |
|
698 |
-
#: admin/options-page-general.php:
|
699 |
msgid "Shrink and center"
|
700 |
msgstr ""
|
701 |
|
702 |
-
#: admin/options-page-general.php:
|
703 |
msgid ""
|
704 |
"By default, the original image will be resized and cropped to fill the "
|
705 |
"entire canvas, but you can also choose to shrink and center it over a white "
|
706 |
"background"
|
707 |
msgstr ""
|
708 |
|
709 |
-
#: admin/options-page-general.php:
|
710 |
msgid "No overlay for default"
|
711 |
msgstr ""
|
712 |
|
713 |
-
#: admin/options-page-general.php:
|
714 |
msgid "Do not apply the overlay image to the default image set above"
|
715 |
msgstr ""
|
716 |
|
717 |
-
#: admin/options-page-general.php:
|
718 |
#, php-format
|
719 |
msgid ""
|
720 |
"You need the <a href=\"%s\" target=\"_blank\">PHP GD library</a> to use this "
|
721 |
"feature. Please ask your hosting company to enable it."
|
722 |
msgstr ""
|
723 |
|
724 |
-
#: admin/options-page-general.php:
|
725 |
msgid "Add image to RSS/RSS2 feeds"
|
726 |
msgstr ""
|
727 |
|
728 |
-
#: admin/options-page-general.php:
|
729 |
msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
|
730 |
msgstr ""
|
731 |
|
732 |
-
#: admin/options-page-general.php:
|
733 |
msgid "Force getimagesize on local file"
|
734 |
msgstr ""
|
735 |
|
736 |
-
#: admin/options-page-general.php:
|
|
|
|
|
|
|
|
|
737 |
msgid ""
|
738 |
"This is an advanced option: Don't mess with this unless you know what you're "
|
739 |
"doing"
|
740 |
msgstr ""
|
741 |
|
742 |
-
#: admin/options-page-general.php:
|
743 |
msgid "Force getimagesize on local file even if allow_url_fopen=1"
|
744 |
msgstr ""
|
745 |
|
746 |
-
#: admin/options-page-general.php:
|
747 |
msgid ""
|
748 |
"May cause problems with some multisite configurations but fixes \"HTTP "
|
749 |
"request failed\" errors"
|
750 |
msgstr ""
|
751 |
|
752 |
-
#: admin/options-page-general.php:
|
753 |
msgid "Do not get image size"
|
754 |
msgstr ""
|
755 |
|
756 |
-
#: admin/options-page-general.php:
|
757 |
msgid ""
|
758 |
"You should only activate this option if you're getting fatal errors (white "
|
759 |
"screen of death) and only keep it active if this options does solve those "
|
760 |
"errors"
|
761 |
msgstr ""
|
762 |
|
763 |
-
#: admin/options-page-general.php:
|
764 |
msgid "Should not be needed on version 2.2 and above"
|
765 |
msgstr ""
|
766 |
|
767 |
-
#: admin/options-page-general.php:
|
768 |
msgid ""
|
769 |
"This can render the \"Add image to RSS/RSS2 feeds\" and \"Open Graph - "
|
770 |
"Include Image Dimensions\" options useless"
|
771 |
msgstr ""
|
772 |
|
773 |
-
#: admin/options-page-general.php:
|
774 |
msgid "URL settings"
|
775 |
msgstr ""
|
776 |
|
777 |
-
#: admin/options-page-general.php:
|
778 |
msgid "Add trailing slash at the end"
|
779 |
msgstr ""
|
780 |
|
781 |
-
#: admin/options-page-general.php:
|
782 |
msgid "If missing, a trailing slash will be added at the end"
|
783 |
msgstr ""
|
784 |
|
785 |
-
#: admin/options-page-general.php:
|
786 |
msgid "Homepage example:"
|
787 |
msgstr ""
|
788 |
|
789 |
-
#: admin/options-page-general.php:
|
790 |
msgid "Author settings"
|
791 |
msgstr ""
|
792 |
|
793 |
-
#: admin/options-page-general.php:
|
794 |
msgid "Hide Author on Pages"
|
795 |
msgstr ""
|
796 |
|
797 |
-
#: admin/options-page-general.php:
|
798 |
msgid "Hides all Author tags on Pages"
|
799 |
msgstr ""
|
800 |
|
801 |
-
#: admin/options-page-general.php:
|
802 |
msgid "Other settings"
|
803 |
msgstr ""
|
804 |
|
805 |
-
#: admin/options-page-general.php:
|
806 |
msgid "Keep data on uninstall"
|
807 |
msgstr ""
|
808 |
|
809 |
-
#: admin/options-page-general.php:
|
810 |
msgid ""
|
811 |
"Keep the plugin settings on the database even if the plugin is uninstalled"
|
812 |
msgstr ""
|
@@ -898,45 +906,45 @@ msgstr ""
|
|
898 |
msgid "Schema.org tags used by Google+ to render link share posts."
|
899 |
msgstr ""
|
900 |
|
901 |
-
#: admin/options-page-schema.php:
|
902 |
msgid "Google+ / Schema.org Tags"
|
903 |
msgstr ""
|
904 |
|
905 |
-
#: admin/options-page-schema.php:
|
906 |
msgid "Include Title"
|
907 |
msgstr ""
|
908 |
|
909 |
-
#: admin/options-page-schema.php:
|
910 |
msgid "Experimental"
|
911 |
msgstr ""
|
912 |
|
913 |
-
#: admin/options-page-schema.php:
|
914 |
msgid ""
|
915 |
"Added to the HTML tag, if you want to avoid W3C and Structured Data "
|
916 |
"validation errors"
|
917 |
msgstr ""
|
918 |
|
919 |
-
#: admin/options-page-schema.php:
|
920 |
msgid "Default (including Post/Page) Type"
|
921 |
msgstr ""
|
922 |
|
923 |
-
#: admin/options-page-schema.php:
|
924 |
msgid "The user's Google+ URL must be filled in on his profile"
|
925 |
msgstr ""
|
926 |
|
927 |
-
#: admin/options-page-schema.php:
|
928 |
msgid "From the user Display name"
|
929 |
msgstr ""
|
930 |
|
931 |
-
#: admin/options-page-schema.php:
|
932 |
msgid "The website's Google+ Page"
|
933 |
msgstr ""
|
934 |
|
935 |
-
#: admin/options-page-schema.php:
|
936 |
msgid "Website's Google+ Page"
|
937 |
msgstr ""
|
938 |
|
939 |
-
#: admin/options-page-schema.php:
|
940 |
msgid "Google+ Page URL (with https://)"
|
941 |
msgstr ""
|
942 |
|
@@ -946,23 +954,23 @@ msgid ""
|
|
946 |
"already."
|
947 |
msgstr ""
|
948 |
|
949 |
-
#: admin/options-page-seo.php:
|
950 |
msgid "SEO Meta Tags"
|
951 |
msgstr ""
|
952 |
|
953 |
-
#: admin/options-page-seo.php:
|
954 |
msgid "Set Canonical URL"
|
955 |
msgstr ""
|
956 |
|
957 |
-
#: admin/options-page-seo.php:
|
958 |
msgid "Not recommended because you have Yoast SEO active"
|
959 |
msgstr ""
|
960 |
|
961 |
-
#: admin/options-page-seo.php:
|
962 |
msgid "Include Meta Description tag"
|
963 |
msgstr ""
|
964 |
|
965 |
-
#: admin/options-page-seo.php:
|
966 |
msgid "Include Post/Page Author name"
|
967 |
msgstr ""
|
968 |
|
@@ -970,25 +978,25 @@ msgstr ""
|
|
970 |
msgid "Just some random tools"
|
971 |
msgstr ""
|
972 |
|
973 |
-
#: admin/options-page-tools.php:
|
974 |
msgid "Image tools"
|
975 |
msgstr ""
|
976 |
|
977 |
-
#: admin/options-page-tools.php:
|
978 |
msgid "Clear all transients"
|
979 |
msgstr ""
|
980 |
|
981 |
-
#: admin/options-page-tools.php:
|
982 |
msgid "Do it"
|
983 |
msgstr ""
|
984 |
|
985 |
-
#: admin/options-page-tools.php:
|
986 |
msgid ""
|
987 |
"This is an advanced tool: Don't mess with this unless you know what you're "
|
988 |
"doing"
|
989 |
msgstr ""
|
990 |
|
991 |
-
#: admin/options-page-tools.php:
|
992 |
msgid ""
|
993 |
"We use transients to cache the image sizes, so that we only have to "
|
994 |
"calculate them once (a week). Because of some server issues it may happen "
|
@@ -1002,74 +1010,66 @@ msgstr ""
|
|
1002 |
msgid "Tags used by Twitter to render their Cards."
|
1003 |
msgstr ""
|
1004 |
|
1005 |
-
#: admin/options-page-twitter.php:
|
1006 |
msgid "Twitter Card Tags"
|
1007 |
msgstr ""
|
1008 |
|
1009 |
-
#: admin/options-page-twitter.php:
|
1010 |
msgid "The user's Twitter Username must be filled in on his profile"
|
1011 |
msgstr ""
|
1012 |
|
1013 |
-
#: admin/options-page-twitter.php:
|
1014 |
msgid "The website's Twitter Username"
|
1015 |
msgstr ""
|
1016 |
|
1017 |
-
#: admin/options-page-twitter.php:
|
1018 |
msgid "Website's Twitter Username"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
-
#: admin/options-page-twitter.php:
|
1022 |
msgid "Card Type"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
-
#: admin/options-page-twitter.php:
|
1026 |
msgid "Summary Card"
|
1027 |
msgstr ""
|
1028 |
|
1029 |
-
#: admin/options-page-twitter.php:
|
1030 |
msgid "Summary Card with Large Image"
|
1031 |
msgstr ""
|
1032 |
|
1033 |
-
#: admin/options-page-twitter.php:
|
1034 |
msgid "The type of Twitter Card shown on the timeline"
|
1035 |
msgstr ""
|
1036 |
|
1037 |
-
#: admin/options-page.php:
|
1038 |
msgid ""
|
1039 |
"Please set some default values and which tags should, or should not, be "
|
1040 |
"included. It may be necessary to exclude some tags if other plugins are "
|
1041 |
"already including them."
|
1042 |
msgstr ""
|
1043 |
|
1044 |
-
#: admin/options-page.php:
|
1045 |
msgid "General"
|
1046 |
msgstr ""
|
1047 |
|
1048 |
-
#: admin/options-page.php:
|
1049 |
msgid "Open Graph"
|
1050 |
msgstr ""
|
1051 |
|
1052 |
-
#: admin/options-page.php:
|
1053 |
msgid "Cards"
|
1054 |
msgstr ""
|
1055 |
|
1056 |
-
#: admin/options-page.php:49
|
1057 |
-
msgid "Schema"
|
1058 |
-
msgstr ""
|
1059 |
-
|
1060 |
-
#: admin/options-page.php:50
|
1061 |
-
msgid "deprecated"
|
1062 |
-
msgstr ""
|
1063 |
-
|
1064 |
#: admin/options-page.php:56
|
1065 |
msgid "SEO tags"
|
1066 |
msgstr ""
|
1067 |
|
1068 |
-
#: admin/options-page.php:
|
1069 |
msgid "3rd party"
|
1070 |
msgstr ""
|
1071 |
|
1072 |
-
#: admin/options-page.php:
|
1073 |
msgid "Tools"
|
1074 |
msgstr ""
|
1075 |
|
@@ -1099,11 +1099,9 @@ msgstr ""
|
|
1099 |
|
1100 |
#. Description of the plugin/theme
|
1101 |
msgid ""
|
1102 |
-
"
|
1103 |
-
"Tags
|
1104 |
-
"
|
1105 |
-
"the \"enclosure\" and \"media:content\" tags to the RSS feeds, so that apps "
|
1106 |
-
"like RSS Graffiti and Twitterfeed post the image to Facebook correctly."
|
1107 |
msgstr ""
|
1108 |
|
1109 |
#. Author of the plugin/theme
|
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: 2020-06-02 18:01+0100\n"
|
8 |
"PO-Revision-Date: 2016-09-26 14:52+0100\n"
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: \n"
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
+
"X-Generator: Poedit 2.3.1\n"
|
15 |
"X-Poedit-Basepath: ..\n"
|
16 |
"X-Poedit-WPHeader: wonderm00n-open-graph.php\n"
|
17 |
"X-Poedit-SourceCharset: UTF-8\n"
|
30 |
msgstr ""
|
31 |
|
32 |
#: admin/class-webdados-fb-open-graph-admin.php:64
|
33 |
+
#: admin/options-page-twitter.php:109
|
34 |
msgid "Twitter username (without @)"
|
35 |
msgstr ""
|
36 |
|
45 |
msgstr ""
|
46 |
|
47 |
#: admin/class-webdados-fb-open-graph-admin.php:127
|
48 |
+
#: admin/options-page-general.php:122 admin/options-page-general.php:200
|
49 |
msgid "Upload/Choose"
|
50 |
msgstr ""
|
51 |
|
54 |
msgstr ""
|
55 |
|
56 |
#: admin/class-webdados-fb-open-graph-admin.php:130
|
57 |
+
#: admin/options-page-general.php:129
|
58 |
#, php-format
|
59 |
msgid "Recommended size: %dx%dpx"
|
60 |
msgstr ""
|
150 |
msgid "Settings for 3rd party integration with other plugins."
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: admin/options-page-3rdparty.php:19 admin/options-page-3rdparty.php:67
|
154 |
+
#: admin/options-page-3rdparty.php:119
|
155 |
msgid "Attention"
|
156 |
msgstr ""
|
157 |
|
158 |
+
#: admin/options-page-3rdparty.php:21
|
159 |
msgid ""
|
160 |
"You currently have both Yoast SEO and All in One SEO Pack plugins active. "
|
161 |
"This is no recommended."
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: admin/options-page-3rdparty.php:53
|
165 |
msgid "Use Title, URL and Description"
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: admin/options-page-3rdparty.php:60
|
169 |
msgid "Use Title, Canonical URL and Description generated by Yoast SEO"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: admin/options-page-3rdparty.php:70
|
173 |
#, php-format
|
174 |
msgid ""
|
175 |
"Because you are using Yoast SEO, and to avoid duplicate social tags, you "
|
179 |
"\">Yoast SEO > Dashboard > Features</a>."
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: admin/options-page-3rdparty.php:84 admin/options-page-3rdparty.php:136
|
183 |
+
#: admin/options-page-3rdparty.php:201 admin/options-page-3rdparty.php:250
|
184 |
+
#: admin/options-page-3rdparty.php:289
|
185 |
#, php-format
|
186 |
msgid "You don't have %s installed or activated."
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: admin/options-page-3rdparty.php:105
|
190 |
msgid "Use Title and Description"
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: admin/options-page-3rdparty.php:112
|
194 |
msgid "Use Title and Description generated by All in One SEO Pack"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: admin/options-page-3rdparty.php:122
|
198 |
#, php-format
|
199 |
msgid ""
|
200 |
"Because you are using All in One SEO Pack, and to avoid duplicate social "
|
202 |
"\"_blank\">MISSING LINK</a>."
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: admin/options-page-3rdparty.php:152
|
206 |
msgid ""
|
207 |
"On the product page we will automatically set <i>og:type</i> to \"product\" "
|
208 |
"and <i>product:price</i> to the price including tax."
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: admin/options-page-3rdparty.php:157
|
212 |
msgid "Use Product Gallery as Images"
|
213 |
msgstr ""
|
214 |
|
215 |
+
#: admin/options-page-3rdparty.php:164
|
216 |
msgid ""
|
217 |
"Sets each Product Gallery image as an additional <i>og:image</i> tag so "
|
218 |
"that, when a product is shared on Facebook, the user is given the choice "
|
219 |
"what image to display"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: admin/options-page-3rdparty.php:166 admin/options-page-facebook.php:27
|
223 |
+
#: admin/options-page-facebook.php:55 admin/options-page-facebook.php:69
|
224 |
+
#: admin/options-page-facebook.php:85 admin/options-page-facebook.php:117
|
225 |
+
#: admin/options-page-facebook.php:296 admin/options-page-general.php:131
|
226 |
+
#: admin/options-page-schema.php:28 admin/options-page-schema.php:42
|
227 |
+
#: admin/options-page-schema.php:56 admin/options-page-schema.php:74
|
228 |
+
#: admin/options-page-seo.php:35 admin/options-page-seo.php:57
|
229 |
+
#: admin/options-page-twitter.php:27 admin/options-page-twitter.php:41
|
230 |
+
#: admin/options-page-twitter.php:55 admin/options-page-twitter.php:69
|
231 |
#, php-format
|
232 |
msgid "You can change this value using the <i>%1$s</i> filter"
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: admin/options-page-3rdparty.php:171 admin/options-page-general.php:175
|
236 |
msgid "Overlay PNG logo"
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: admin/options-page-3rdparty.php:178
|
240 |
msgid "Also overlay the PNG logo on the Product Gallery images"
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: admin/options-page-3rdparty.php:183
|
244 |
msgid "Use Category thumbnail as Image"
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: admin/options-page-3rdparty.php:190
|
248 |
msgid ""
|
249 |
"Recommended if you set large thumbnails for Product Categories and want to "
|
250 |
"use them as Open Graph Images on category listing pages"
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: admin/options-page-3rdparty.php:192
|
254 |
msgid ""
|
255 |
"This setting also applies to brand pages if WooCommerce Brands is installed"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: admin/options-page-3rdparty.php:221
|
259 |
msgid "Add SubHeading to Post/Page Title"
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: admin/options-page-3rdparty.php:232
|
263 |
msgid "SubHeading position"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: admin/options-page-3rdparty.php:235
|
267 |
msgid "After"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: admin/options-page-3rdparty.php:236
|
271 |
msgid "Before"
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: admin/options-page-3rdparty.php:261
|
275 |
+
msgid "deprecated"
|
276 |
+
msgstr ""
|
277 |
+
|
278 |
+
#: admin/options-page-3rdparty.php:271
|
279 |
msgid "Use listing details"
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: admin/options-page-3rdparty.php:278
|
283 |
msgid ""
|
284 |
"Use Business Directory Plugin listing details (Title, URL, Description and "
|
285 |
"Image) to populate tags"
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: admin/options-page-3rdparty.php:280
|
289 |
msgid ""
|
290 |
"Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and "
|
291 |
"\"Include Image\" options is HIGHLY recommended"
|
297 |
"share posts."
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: admin/options-page-facebook.php:12
|
301 |
msgid "Facebook Open Graph Tags"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: admin/options-page-facebook.php:18
|
305 |
msgid "Include Post/Page Title"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: admin/options-page-facebook.php:32
|
309 |
msgid "Include Site Name"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: admin/options-page-facebook.php:41 admin/options-page-seo.php:85
|
313 |
msgid "From Settings > General > Site Title"
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: admin/options-page-facebook.php:46 admin/options-page-twitter.php:32
|
317 |
msgid "Include URL"
|
318 |
msgstr ""
|
319 |
|
320 |
+
#: admin/options-page-facebook.php:60 admin/options-page-schema.php:33
|
321 |
+
#: admin/options-page-twitter.php:46
|
322 |
msgid "Include Description"
|
323 |
msgstr ""
|
324 |
|
325 |
+
#: admin/options-page-facebook.php:74 admin/options-page-schema.php:47
|
326 |
+
#: admin/options-page-twitter.php:60
|
327 |
msgid "Include Image"
|
328 |
msgstr ""
|
329 |
|
330 |
+
#: admin/options-page-facebook.php:83
|
331 |
#, php-format
|
332 |
msgid ""
|
333 |
"All images must have at least 200px on both dimensions in order to Facebook "
|
335 |
"recommended."
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: admin/options-page-facebook.php:90
|
339 |
msgid "Include Image Dimensions"
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: admin/options-page-facebook.php:97 admin/options-page-facebook.php:160
|
343 |
+
#: admin/options-page-schema.php:26 admin/options-page-schema.php:146
|
344 |
msgid "and"
|
345 |
msgstr ""
|
346 |
|
347 |
+
#: admin/options-page-facebook.php:99
|
348 |
msgid ""
|
349 |
"Recommended only if Facebook is having problems loading the image when the "
|
350 |
"post is shared for the first time, or else it adds extra unnecessary "
|
351 |
"processing time"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: admin/options-page-facebook.php:104 admin/options-page-schema.php:61
|
355 |
msgid "Include Type"
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: admin/options-page-facebook.php:113
|
359 |
#, php-format
|
360 |
msgid ""
|
361 |
"Will be \"%1$s\" for posts and pages and \"%2$s\" or \"%3$s\" for the "
|
362 |
"homepage"
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: admin/options-page-facebook.php:115
|
366 |
msgid "Additional types may be used depending on 3rd party integrations"
|
367 |
msgstr ""
|
368 |
|
369 |
+
#: admin/options-page-facebook.php:122 admin/options-page-schema.php:79
|
370 |
msgid "Homepage Type"
|
371 |
msgstr ""
|
372 |
|
373 |
+
#: admin/options-page-facebook.php:134
|
374 |
msgid ""
|
375 |
"Facebook does not support <i>blog</i> anymore, so we have to default to "
|
376 |
"<i>website</i>"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: admin/options-page-facebook.php:139 admin/options-page-schema.php:111
|
380 |
+
#: admin/options-page-schema.php:125 admin/options-page-twitter.php:74
|
381 |
msgid "Include Post/Page Author"
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: admin/options-page-facebook.php:148
|
385 |
msgid "The user's Facebook URL must be filled in on his profile"
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: admin/options-page-facebook.php:153 admin/options-page-schema.php:139
|
389 |
msgid "Include Published/Modified Dates"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: admin/options-page-facebook.php:162 admin/options-page-facebook.php:176
|
393 |
+
#: admin/options-page-schema.php:148
|
394 |
msgid "For posts only"
|
395 |
msgstr ""
|
396 |
|
397 |
+
#: admin/options-page-facebook.php:167
|
398 |
msgid "Include Article Sections"
|
399 |
msgstr ""
|
400 |
|
401 |
+
#: admin/options-page-facebook.php:176
|
402 |
msgid "from the categories names"
|
403 |
msgstr ""
|
404 |
|
405 |
+
#: admin/options-page-facebook.php:181 admin/options-page-schema.php:153
|
406 |
+
#: admin/options-page-seo.php:76 admin/options-page-twitter.php:88
|
407 |
msgid "Include Publisher"
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: admin/options-page-facebook.php:190 admin/options-page-facebook.php:216
|
411 |
msgid "The website's Facebook Page"
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: admin/options-page-facebook.php:195
|
415 |
msgid "Website's Facebook Page"
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: admin/options-page-facebook.php:202
|
419 |
msgid "Facebook Page URL (with https://)"
|
420 |
msgstr ""
|
421 |
|
422 |
+
#: admin/options-page-facebook.php:207
|
423 |
msgid "Include Locale"
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: admin/options-page-facebook.php:221
|
427 |
msgid "Locale"
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: admin/options-page-facebook.php:263
|
431 |
msgid "WordPress current locale/language"
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: admin/options-page-facebook.php:284
|
435 |
msgid "List loaded from Facebook (online)"
|
436 |
msgstr ""
|
437 |
|
438 |
+
#: admin/options-page-facebook.php:287
|
439 |
msgid "List loaded from local cache (offline)"
|
440 |
msgstr ""
|
441 |
|
442 |
+
#: admin/options-page-facebook.php:288
|
443 |
msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
|
444 |
msgstr ""
|
445 |
|
446 |
+
#: admin/options-page-facebook.php:288
|
447 |
msgid "Reload from Facebook"
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: admin/options-page-facebook.php:291
|
451 |
msgid "List not loaded"
|
452 |
msgstr ""
|
453 |
|
454 |
+
#: admin/options-page-facebook.php:301
|
455 |
msgid "Include Facebook Admin(s) ID"
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: admin/options-page-facebook.php:313
|
459 |
msgid "Facebook Admin(s) ID"
|
460 |
msgstr ""
|
461 |
|
462 |
+
#: admin/options-page-facebook.php:320
|
463 |
msgid "Comma separated if more than one"
|
464 |
msgstr ""
|
465 |
|
466 |
+
#: admin/options-page-facebook.php:325
|
467 |
msgid "Include Facebook Platform App ID"
|
468 |
msgstr ""
|
469 |
|
470 |
+
#: admin/options-page-facebook.php:337
|
471 |
msgid "Facebook Platform App ID"
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: admin/options-page-facebook.php:344
|
475 |
msgid "From your Facebook Developers dashboard"
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: admin/options-page-facebook.php:348
|
479 |
msgid "Declaration Method"
|
480 |
msgstr ""
|
481 |
|
482 |
+
#: admin/options-page-facebook.php:358
|
483 |
msgid "or"
|
484 |
msgstr ""
|
485 |
|
486 |
+
#: admin/options-page-facebook.php:360
|
487 |
msgid ""
|
488 |
"Prefix is recommended because it validates properly with the W3C validator, "
|
489 |
"xmlns is the legacy method"
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: admin/options-page-facebook.php:369
|
493 |
msgid "Facebook Open Graph Tags cache"
|
494 |
msgstr ""
|
495 |
|
496 |
+
#: admin/options-page-facebook.php:375
|
497 |
msgid "Clear cache"
|
498 |
msgstr ""
|
499 |
|
500 |
+
#: admin/options-page-facebook.php:382
|
501 |
msgid ""
|
502 |
"Try to clear the Facebook Open Graph Tags cache when saving a post or page, "
|
503 |
"so the link preview on Facebook is immediately updated"
|
504 |
msgstr ""
|
505 |
|
506 |
+
#: admin/options-page-facebook.php:387
|
507 |
msgid "App ID"
|
508 |
msgstr ""
|
509 |
|
510 |
+
#: admin/options-page-facebook.php:394
|
511 |
msgid "App Secret"
|
512 |
msgstr ""
|
513 |
|
514 |
+
#: admin/options-page-facebook.php:401
|
515 |
#, php-format
|
516 |
msgid ""
|
517 |
"Facebook no longer allows updating the cache anonymously, so you have to use "
|
519 |
"how to do it."
|
520 |
msgstr ""
|
521 |
|
522 |
+
#: admin/options-page-facebook.php:403
|
523 |
msgid ""
|
524 |
"If you are using the (now deprecated) <i>fb_og_update_cache_url</i> filter, "
|
525 |
"this ID and Secret will NOT be used. You should stop using the filter and "
|
526 |
"use these settings."
|
527 |
msgstr ""
|
528 |
|
529 |
+
#: admin/options-page-facebook.php:405
|
530 |
msgid ""
|
531 |
"Please do not ask for support regarding this feature. Everything is "
|
532 |
"explained in the blog post linked above."
|
533 |
msgstr ""
|
534 |
|
535 |
+
#: admin/options-page-facebook.php:410
|
536 |
msgid "Suppress cache notices"
|
537 |
msgstr ""
|
538 |
|
539 |
+
#: admin/options-page-facebook.php:417
|
540 |
msgid ""
|
541 |
"Sometimes we aren't able to update the cache and the post author will see a "
|
542 |
"notice if this option is not checked"
|
546 |
msgid "General settings that will apply to all tags types."
|
547 |
msgstr ""
|
548 |
|
549 |
+
#: admin/options-page-general.php:14
|
550 |
msgid "Description settings"
|
551 |
msgstr ""
|
552 |
|
553 |
+
#: admin/options-page-general.php:20
|
554 |
msgid "Description maximum length"
|
555 |
msgstr ""
|
556 |
|
557 |
+
#: admin/options-page-general.php:22
|
558 |
msgid "characters"
|
559 |
msgstr ""
|
560 |
|
561 |
+
#: admin/options-page-general.php:27
|
562 |
msgid "0 (zero) or blank for no maximum length"
|
563 |
msgstr ""
|
564 |
|
565 |
+
#: admin/options-page-general.php:30 admin/options-page-general.php:61
|
566 |
+
#: admin/options-page-general.php:92
|
567 |
msgid "Because Yoast SEO integration is active, this value may be overwritten"
|
568 |
msgstr ""
|
569 |
|
570 |
+
#: admin/options-page-general.php:37 admin/options-page-general.php:79
|
571 |
msgid "Homepage description"
|
572 |
msgstr ""
|
573 |
|
574 |
+
#: admin/options-page-general.php:43
|
575 |
msgid "The description of your front page:"
|
576 |
msgstr ""
|
577 |
|
578 |
+
#: admin/options-page-general.php:48
|
579 |
msgid "Website tagline"
|
580 |
msgstr ""
|
581 |
|
582 |
+
#: admin/options-page-general.php:49 admin/options-page-general.php:80
|
583 |
msgid "Custom text"
|
584 |
msgstr ""
|
585 |
|
586 |
+
#: admin/options-page-general.php:67
|
587 |
#, php-format
|
588 |
msgid ""
|
589 |
"WPML users: Set the main language homepage description here, save changes "
|
591 |
"translation</a> to set it for other languages."
|
592 |
msgstr ""
|
593 |
|
594 |
+
#: admin/options-page-general.php:76
|
595 |
msgid "Default description"
|
596 |
msgstr ""
|
597 |
|
598 |
+
#: admin/options-page-general.php:89
|
599 |
msgid ""
|
600 |
"The default description to be used on any post / page / cpt / archive / "
|
601 |
"search / ... that has a blank description"
|
602 |
msgstr ""
|
603 |
|
604 |
+
#: admin/options-page-general.php:98
|
605 |
#, php-format
|
606 |
msgid ""
|
607 |
"WPML users: Set the main language default description here, save changes and "
|
609 |
"to set it for other languages."
|
610 |
msgstr ""
|
611 |
|
612 |
+
#: admin/options-page-general.php:111
|
613 |
msgid "Image settings"
|
614 |
msgstr ""
|
615 |
|
616 |
+
#: admin/options-page-general.php:119
|
617 |
msgid "Default image"
|
618 |
msgstr ""
|
619 |
|
620 |
+
#: admin/options-page-general.php:127 admin/options-page-general.php:205
|
621 |
msgid "URL (with http(s)://)"
|
622 |
msgstr ""
|
623 |
|
624 |
+
#: admin/options-page-general.php:136
|
625 |
msgid "On Post/Page, use image from"
|
626 |
msgstr ""
|
627 |
|
628 |
+
#: admin/options-page-general.php:140
|
629 |
msgid "\"Open Graph Image\" custom field on the post"
|
630 |
msgstr ""
|
631 |
|
632 |
+
#: admin/options-page-general.php:144
|
633 |
msgid "Post/page featured image"
|
634 |
msgstr ""
|
635 |
|
636 |
+
#: admin/options-page-general.php:148
|
637 |
msgid "First image from the post/page content"
|
638 |
msgstr ""
|
639 |
|
640 |
+
#: admin/options-page-general.php:152
|
641 |
msgid "First image from the post/page media gallery"
|
642 |
msgstr ""
|
643 |
|
644 |
+
#: admin/options-page-general.php:156
|
645 |
msgid "Default image specified above"
|
646 |
msgstr ""
|
647 |
|
648 |
+
#: admin/options-page-general.php:164
|
649 |
msgid "Page screenshot (provided by WordPress.com mShots API)"
|
650 |
msgstr ""
|
651 |
|
652 |
+
#: admin/options-page-general.php:170
|
653 |
msgid ""
|
654 |
"On posts/pages the first image found, using the priority above, will be "
|
655 |
"used. On the homepage, archives and other website sections the default image "
|
656 |
"is always used."
|
657 |
msgstr ""
|
658 |
|
659 |
+
#: admin/options-page-general.php:180
|
660 |
msgid "No"
|
661 |
msgstr ""
|
662 |
|
663 |
+
#: admin/options-page-general.php:188
|
664 |
#, php-format
|
665 |
msgid ""
|
666 |
"The original image will be resized/cropped to %dx%dpx, or shrunk and "
|
668 |
"overlaid on it. It will only work for locally hosted images."
|
669 |
msgstr ""
|
670 |
|
671 |
+
#: admin/options-page-general.php:190
|
672 |
#, php-format
|
673 |
msgid ""
|
674 |
"You can see an example of the end result <a href=\"%s\" target=\"_blank"
|
675 |
"\">here</a>"
|
676 |
msgstr ""
|
677 |
|
678 |
+
#: admin/options-page-general.php:192
|
679 |
#, php-format
|
680 |
msgid ""
|
681 |
"If you activate this option globally, you can disable it based on your "
|
682 |
"conditions using the <i>%1$s</i> filter"
|
683 |
msgstr ""
|
684 |
|
685 |
+
#: admin/options-page-general.php:197
|
686 |
msgid "PNG logo"
|
687 |
msgstr ""
|
688 |
|
689 |
+
#: admin/options-page-general.php:207
|
690 |
#, php-format
|
691 |
msgid "Size: %dx%dpx"
|
692 |
msgstr ""
|
693 |
|
694 |
+
#: admin/options-page-general.php:212
|
695 |
msgid "Original image behavior"
|
696 |
msgstr ""
|
697 |
|
698 |
+
#: admin/options-page-general.php:215
|
699 |
msgid "Resize and crop (default)"
|
700 |
msgstr ""
|
701 |
|
702 |
+
#: admin/options-page-general.php:216
|
703 |
msgid "Shrink and center"
|
704 |
msgstr ""
|
705 |
|
706 |
+
#: admin/options-page-general.php:222
|
707 |
msgid ""
|
708 |
"By default, the original image will be resized and cropped to fill the "
|
709 |
"entire canvas, but you can also choose to shrink and center it over a white "
|
710 |
"background"
|
711 |
msgstr ""
|
712 |
|
713 |
+
#: admin/options-page-general.php:227
|
714 |
msgid "No overlay for default"
|
715 |
msgstr ""
|
716 |
|
717 |
+
#: admin/options-page-general.php:234
|
718 |
msgid "Do not apply the overlay image to the default image set above"
|
719 |
msgstr ""
|
720 |
|
721 |
+
#: admin/options-page-general.php:241
|
722 |
#, php-format
|
723 |
msgid ""
|
724 |
"You need the <a href=\"%s\" target=\"_blank\">PHP GD library</a> to use this "
|
725 |
"feature. Please ask your hosting company to enable it."
|
726 |
msgstr ""
|
727 |
|
728 |
+
#: admin/options-page-general.php:247
|
729 |
msgid "Add image to RSS/RSS2 feeds"
|
730 |
msgstr ""
|
731 |
|
732 |
+
#: admin/options-page-general.php:254
|
733 |
msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
|
734 |
msgstr ""
|
735 |
|
736 |
+
#: admin/options-page-general.php:259
|
737 |
msgid "Force getimagesize on local file"
|
738 |
msgstr ""
|
739 |
|
740 |
+
#: admin/options-page-general.php:266 admin/options-page-general.php:284
|
741 |
+
msgid "Deprecated - (might be moved to the PRO add-on in the future)"
|
742 |
+
msgstr ""
|
743 |
+
|
744 |
+
#: admin/options-page-general.php:268 admin/options-page-general.php:286
|
745 |
msgid ""
|
746 |
"This is an advanced option: Don't mess with this unless you know what you're "
|
747 |
"doing"
|
748 |
msgstr ""
|
749 |
|
750 |
+
#: admin/options-page-general.php:270
|
751 |
msgid "Force getimagesize on local file even if allow_url_fopen=1"
|
752 |
msgstr ""
|
753 |
|
754 |
+
#: admin/options-page-general.php:272
|
755 |
msgid ""
|
756 |
"May cause problems with some multisite configurations but fixes \"HTTP "
|
757 |
"request failed\" errors"
|
758 |
msgstr ""
|
759 |
|
760 |
+
#: admin/options-page-general.php:277
|
761 |
msgid "Do not get image size"
|
762 |
msgstr ""
|
763 |
|
764 |
+
#: admin/options-page-general.php:288
|
765 |
msgid ""
|
766 |
"You should only activate this option if you're getting fatal errors (white "
|
767 |
"screen of death) and only keep it active if this options does solve those "
|
768 |
"errors"
|
769 |
msgstr ""
|
770 |
|
771 |
+
#: admin/options-page-general.php:290
|
772 |
msgid "Should not be needed on version 2.2 and above"
|
773 |
msgstr ""
|
774 |
|
775 |
+
#: admin/options-page-general.php:292
|
776 |
msgid ""
|
777 |
"This can render the \"Add image to RSS/RSS2 feeds\" and \"Open Graph - "
|
778 |
"Include Image Dimensions\" options useless"
|
779 |
msgstr ""
|
780 |
|
781 |
+
#: admin/options-page-general.php:303
|
782 |
msgid "URL settings"
|
783 |
msgstr ""
|
784 |
|
785 |
+
#: admin/options-page-general.php:309
|
786 |
msgid "Add trailing slash at the end"
|
787 |
msgstr ""
|
788 |
|
789 |
+
#: admin/options-page-general.php:316
|
790 |
msgid "If missing, a trailing slash will be added at the end"
|
791 |
msgstr ""
|
792 |
|
793 |
+
#: admin/options-page-general.php:318
|
794 |
msgid "Homepage example:"
|
795 |
msgstr ""
|
796 |
|
797 |
+
#: admin/options-page-general.php:327
|
798 |
msgid "Author settings"
|
799 |
msgstr ""
|
800 |
|
801 |
+
#: admin/options-page-general.php:333
|
802 |
msgid "Hide Author on Pages"
|
803 |
msgstr ""
|
804 |
|
805 |
+
#: admin/options-page-general.php:340
|
806 |
msgid "Hides all Author tags on Pages"
|
807 |
msgstr ""
|
808 |
|
809 |
+
#: admin/options-page-general.php:349
|
810 |
msgid "Other settings"
|
811 |
msgstr ""
|
812 |
|
813 |
+
#: admin/options-page-general.php:355
|
814 |
msgid "Keep data on uninstall"
|
815 |
msgstr ""
|
816 |
|
817 |
+
#: admin/options-page-general.php:362
|
818 |
msgid ""
|
819 |
"Keep the plugin settings on the database even if the plugin is uninstalled"
|
820 |
msgstr ""
|
906 |
msgid "Schema.org tags used by Google+ to render link share posts."
|
907 |
msgstr ""
|
908 |
|
909 |
+
#: admin/options-page-schema.php:13
|
910 |
msgid "Google+ / Schema.org Tags"
|
911 |
msgstr ""
|
912 |
|
913 |
+
#: admin/options-page-schema.php:19 admin/options-page-twitter.php:18
|
914 |
msgid "Include Title"
|
915 |
msgstr ""
|
916 |
|
917 |
+
#: admin/options-page-schema.php:70
|
918 |
msgid "Experimental"
|
919 |
msgstr ""
|
920 |
|
921 |
+
#: admin/options-page-schema.php:72
|
922 |
msgid ""
|
923 |
"Added to the HTML tag, if you want to avoid W3C and Structured Data "
|
924 |
"validation errors"
|
925 |
msgstr ""
|
926 |
|
927 |
+
#: admin/options-page-schema.php:93
|
928 |
msgid "Default (including Post/Page) Type"
|
929 |
msgstr ""
|
930 |
|
931 |
+
#: admin/options-page-schema.php:120
|
932 |
msgid "The user's Google+ URL must be filled in on his profile"
|
933 |
msgstr ""
|
934 |
|
935 |
+
#: admin/options-page-schema.php:134 admin/options-page-seo.php:71
|
936 |
msgid "From the user Display name"
|
937 |
msgstr ""
|
938 |
|
939 |
+
#: admin/options-page-schema.php:162
|
940 |
msgid "The website's Google+ Page"
|
941 |
msgstr ""
|
942 |
|
943 |
+
#: admin/options-page-schema.php:167
|
944 |
msgid "Website's Google+ Page"
|
945 |
msgstr ""
|
946 |
|
947 |
+
#: admin/options-page-schema.php:174
|
948 |
msgid "Google+ Page URL (with https://)"
|
949 |
msgstr ""
|
950 |
|
954 |
"already."
|
955 |
msgstr ""
|
956 |
|
957 |
+
#: admin/options-page-seo.php:12
|
958 |
msgid "SEO Meta Tags"
|
959 |
msgstr ""
|
960 |
|
961 |
+
#: admin/options-page-seo.php:18
|
962 |
msgid "Set Canonical URL"
|
963 |
msgstr ""
|
964 |
|
965 |
+
#: admin/options-page-seo.php:30 admin/options-page-seo.php:52
|
966 |
msgid "Not recommended because you have Yoast SEO active"
|
967 |
msgstr ""
|
968 |
|
969 |
+
#: admin/options-page-seo.php:40
|
970 |
msgid "Include Meta Description tag"
|
971 |
msgstr ""
|
972 |
|
973 |
+
#: admin/options-page-seo.php:62
|
974 |
msgid "Include Post/Page Author name"
|
975 |
msgstr ""
|
976 |
|
978 |
msgid "Just some random tools"
|
979 |
msgstr ""
|
980 |
|
981 |
+
#: admin/options-page-tools.php:12
|
982 |
msgid "Image tools"
|
983 |
msgstr ""
|
984 |
|
985 |
+
#: admin/options-page-tools.php:18
|
986 |
msgid "Clear all transients"
|
987 |
msgstr ""
|
988 |
|
989 |
+
#: admin/options-page-tools.php:22
|
990 |
msgid "Do it"
|
991 |
msgstr ""
|
992 |
|
993 |
+
#: admin/options-page-tools.php:27
|
994 |
msgid ""
|
995 |
"This is an advanced tool: Don't mess with this unless you know what you're "
|
996 |
"doing"
|
997 |
msgstr ""
|
998 |
|
999 |
+
#: admin/options-page-tools.php:29
|
1000 |
msgid ""
|
1001 |
"We use transients to cache the image sizes, so that we only have to "
|
1002 |
"calculate them once (a week). Because of some server issues it may happen "
|
1010 |
msgid "Tags used by Twitter to render their Cards."
|
1011 |
msgstr ""
|
1012 |
|
1013 |
+
#: admin/options-page-twitter.php:12
|
1014 |
msgid "Twitter Card Tags"
|
1015 |
msgstr ""
|
1016 |
|
1017 |
+
#: admin/options-page-twitter.php:83
|
1018 |
msgid "The user's Twitter Username must be filled in on his profile"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
+
#: admin/options-page-twitter.php:97
|
1022 |
msgid "The website's Twitter Username"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
+
#: admin/options-page-twitter.php:102
|
1026 |
msgid "Website's Twitter Username"
|
1027 |
msgstr ""
|
1028 |
|
1029 |
+
#: admin/options-page-twitter.php:114
|
1030 |
msgid "Card Type"
|
1031 |
msgstr ""
|
1032 |
|
1033 |
+
#: admin/options-page-twitter.php:117
|
1034 |
msgid "Summary Card"
|
1035 |
msgstr ""
|
1036 |
|
1037 |
+
#: admin/options-page-twitter.php:118
|
1038 |
msgid "Summary Card with Large Image"
|
1039 |
msgstr ""
|
1040 |
|
1041 |
+
#: admin/options-page-twitter.php:126
|
1042 |
msgid "The type of Twitter Card shown on the timeline"
|
1043 |
msgstr ""
|
1044 |
|
1045 |
+
#: admin/options-page.php:17
|
1046 |
msgid ""
|
1047 |
"Please set some default values and which tags should, or should not, be "
|
1048 |
"included. It may be necessary to exclude some tags if other plugins are "
|
1049 |
"already including them."
|
1050 |
msgstr ""
|
1051 |
|
1052 |
+
#: admin/options-page.php:36
|
1053 |
msgid "General"
|
1054 |
msgstr ""
|
1055 |
|
1056 |
+
#: admin/options-page.php:41
|
1057 |
msgid "Open Graph"
|
1058 |
msgstr ""
|
1059 |
|
1060 |
+
#: admin/options-page.php:46
|
1061 |
msgid "Cards"
|
1062 |
msgstr ""
|
1063 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1064 |
#: admin/options-page.php:56
|
1065 |
msgid "SEO tags"
|
1066 |
msgstr ""
|
1067 |
|
1068 |
+
#: admin/options-page.php:61
|
1069 |
msgid "3rd party"
|
1070 |
msgstr ""
|
1071 |
|
1072 |
+
#: admin/options-page.php:66
|
1073 |
msgid "Tools"
|
1074 |
msgstr ""
|
1075 |
|
1099 |
|
1100 |
#. Description of the plugin/theme
|
1101 |
msgid ""
|
1102 |
+
"Improve social media sharing by inserting Facebook Open Graph, Twitter Card "
|
1103 |
+
"and SEO Meta Tags on your WordPress website pages, posts, WooCommerce "
|
1104 |
+
"products, or any other custom post type."
|
|
|
|
|
1105 |
msgstr ""
|
1106 |
|
1107 |
#. Author of the plugin/theme
|
public/class-webdados-fb-open-graph-public.php
CHANGED
@@ -618,7 +618,7 @@ class Webdados_FB_Public {
|
|
618 |
$fb_image = $temp_fb_image_overlay['fb_image'];
|
619 |
//We know the exact size now. We better just show it, right?
|
620 |
$this->options['fb_image_size_show'] = 1;
|
621 |
-
$fb_image_size = array(
|
622 |
}
|
623 |
//Additional
|
624 |
if ( isset($fb_image_additional) && is_array($fb_image_additional) && count($fb_image_additional)>0 ) {
|
618 |
$fb_image = $temp_fb_image_overlay['fb_image'];
|
619 |
//We know the exact size now. We better just show it, right?
|
620 |
$this->options['fb_image_size_show'] = 1;
|
621 |
+
$fb_image_size = array( $webdados_fb->img_w, $webdados_fb->img_h );
|
622 |
}
|
623 |
//Additional
|
624 |
if ( isset($fb_image_additional) && is_array($fb_image_additional) && count($fb_image_additional)>0 ) {
|
readme.txt
CHANGED
@@ -1,38 +1,37 @@
|
|
1 |
=== Open Graph and Twitter Card Tags ===
|
2 |
Contributors: webdados, wonderm00n
|
3 |
Donate link: http://bit.ly/donate_fb_opengraph
|
4 |
-
Tags: facebook, open graph, twitter card, social media, open graph protocol, share, social, meta, rss, twitter,
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.5
|
7 |
-
Stable tag:
|
8 |
|
9 |
-
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
-
This plugin
|
14 |
|
15 |
-
It also allows you to add the Twitter Card tags for more effective and efficient Twitter sharing results.
|
16 |
-
|
17 |
-
It also allows you to add the Meta Description tag and Schema.org Name, Description and Image tags for more effective and efficient Google+ sharing results.
|
18 |
|
19 |
**This plugin is not, in any way, affiliated or endorsed by Facebook, Twitter, Google or any other 3rd party.**
|
20 |
|
21 |
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.
|
22 |
|
23 |
-
It allows the user to choose which tags are
|
24 |
|
25 |
-
|
|
|
26 |
|
27 |
-
Our settings page is discreetly kept under "Options"
|
28 |
|
29 |
-
= The (Facebook) Open Graph Tags
|
30 |
|
31 |
* **og:title**: From post/page/archive/tag/... title.
|
32 |
* **og:site_name**: From blog title.
|
33 |
* **og:url**: From the post/page permalink.
|
34 |
-
* **og:description**: From our specific custom field of the post/page, or if not set post/page excerpt if it exist, or from post/page content. From category/tag description on
|
35 |
-
* **og:image**: From our specific custom field of the post/page, or if not set from the post/page featured/thumbnail image, or if it doesn
|
36 |
* **og:image:url**: Same as **og:image**.
|
37 |
* **og:image:secure_url**: Same as **og:image** if SSL is being used.
|
38 |
* **og:image:width** and **og:image:height**: Image dimensions.
|
@@ -47,7 +46,7 @@ Our settings page is discreetly kept under "Options", as it should, instead of t
|
|
47 |
* **fb:app_id**: From settings on the options screen.
|
48 |
* **og:price:amount** and **og:price:currency**: Price on WooCommerce products.
|
49 |
|
50 |
-
= The Twitter Card Tags
|
51 |
|
52 |
* **twitter:title**: Same as `og:title`.
|
53 |
* **twitter:url**: Sames as `og:url`.
|
@@ -57,17 +56,6 @@ Our settings page is discreetly kept under "Options", as it should, instead of t
|
|
57 |
* **twitter:site**: The website Twitter account.
|
58 |
* **twitter:card**: With value "summary_large_image" or "summary".
|
59 |
|
60 |
-
= The (Google+) Schema.org Tags that this plugin inserts are: =
|
61 |
-
|
62 |
-
* **name**: Same as `og:title`.
|
63 |
-
* **headline**: Same as `og:title`.
|
64 |
-
* **description**: Same as `og:description`.
|
65 |
-
* **image**: Same as `og:image`.
|
66 |
-
* **author**: From the user (post author) Display Name.
|
67 |
-
* **datePublished**: Article published date (for posts only)
|
68 |
-
* **dateModified**: Article modified time (for posts only)
|
69 |
-
* **publisher**: The website Google+ Page URL.
|
70 |
-
|
71 |
= Other Tags: =
|
72 |
|
73 |
* **canonical**: Same as `og:url`.
|
@@ -79,12 +67,27 @@ Our settings page is discreetly kept under "Options", as it should, instead of t
|
|
79 |
|
80 |
= 3rd Party Integration: =
|
81 |
|
82 |
-
* **[Yoast SEO](https://wordpress.org/plugins/wordpress-seo/)**: Allows you to use title,
|
|
|
83 |
* **[WooCommerce](https://wordpress.org/plugins/woocommerce/)**: On product pages sets `og:type` to "product" and adds the price including tax to the `product:price` and `product:availability` tags. Also allows you to use the Product Category thumbnails as Open Graph Image and have Product Gallery images as additional Open Graph Images
|
84 |
* **[WooCommerce Brands](https://woocommerce.com/products/brands/)**: On brand pages uses the brand image as Open Graph Image
|
85 |
* **[SubHeading](https://wordpress.org/extend/plugins/subheading/)**: Add the SubHeading to the post/page title.
|
86 |
-
* **[Business Directory Plugin](https://wordpress.org/extend/plugins/business-directory-plugin/)
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
|
89 |
== Installation ==
|
90 |
|
@@ -94,7 +97,7 @@ Our settings page is discreetly kept under "Options", as it should, instead of t
|
|
94 |
|
95 |
== Frequently Asked Questions ==
|
96 |
|
97 |
-
= Why aren
|
98 |
|
99 |
Because of other commercial projects, including WordPress and WooCommerce plugins, we haven’t been able to reply to support tickets neither release new versions of this plugin, for which we are sorry.
|
100 |
|
@@ -103,24 +106,26 @@ We will fix any security issue that might arise but, at this moment, we cannot p
|
|
103 |
If you reach us by email or any other direct contact means, we’ll assume you are in need of urgent, premium, and of course, paid-for support.
|
104 |
|
105 |
If some company wants to make a proposal to take ownership of this plugin, please contact us to info @ webdados .pt
|
106 |
-
We’ll not pass ownership of the plugin to anyone (person or company) that does not have a solid roadmap and business model for this plugin,
|
|
|
|
|
107 |
|
108 |
= Facebook is not showing up the correct image when I share a post. What can I do? =
|
109 |
|
110 |
1. Are you using a big enough image? The minimum image size is 200x200 pixels but we recommend 1200x630.
|
111 |
-
2. Are you sure you only have one `og:image` tag on the source code? Make sure you
|
112 |
-
3. Go to the [Facebook Sharing Debugger](https://developers.facebook.com/tools/debug/), insert your URL, click `Debug`. Then click on `Scrape Again` to make sure Facebook gets the current version of your HTML code and not a cached version. If the image that shows up on the preview (bottom of the page) is the correct one, then the tags are well set and it "should" be the one that Facebook uses when sharing the post. If it still does not use the correct image when sharing, despite the debugger shows it correctly, there
|
113 |
|
114 |
= What is the "Manually update Facebook cache" button on the "Post updated" notice? =
|
115 |
|
116 |
-
It
|
117 |
|
118 |
= When I save/edit my post I get the "Facebook Open Graph Tags cache NOT updated/purged" error. Should I worry? =
|
119 |
|
120 |
-
Each time you edit a post, if the option "Try to update Facebook Open Graph Tags cache when saving the post" is activated, we
|
121 |
-
If this is a new post and it
|
122 |
-
If this is not a new post and it
|
123 |
-
Sometimes the plugin just can
|
124 |
|
125 |
= Can I authenticate the call to Facebook, with my own app, when trying to update the cache, so I get rid of the "An access token is required to request this resource" error? =
|
126 |
|
@@ -134,38 +139,42 @@ No. Move along.
|
|
134 |
= How can I share my posts or products as Rich Pins on Pinterest? =
|
135 |
|
136 |
Pinterest can read Open Graph tags, so no extra tags are needed to share your articles or WooCommerce products as Rich Pins.
|
137 |
-
|
138 |
-
You need however to apply in order to whitelist your domain on Pinterest. Head to [this page](https://developers.pinterest.com/docs/rich-pins/overview/) and follow the instructions starting with "Set up". When in the validator, enter your URL, hit "Validate" and then choose "HTML tags" and hit "Apply now". It's then up to Pinterest to accept your application or not.
|
139 |
|
140 |
= Can this plugin get content from "random plugin"? =
|
141 |
|
142 |
-
If there
|
143 |
If you are a plugin or theme author you can always use our filters `fb_og_title`, `fb_og_desc`, `fb_og_url`, `fb_og_type`, `fb_type_schema`, `fb_og_image`, `fb_og_image_additional`, `fb_og_image_overlay`, `fb_og_locale`, `fb_og_app_id`, `fb_og_thumb_fill_color`, `fb_og_output` and `fb_og_enabled` to customize the Open Graph (and other) meta tags output.
|
144 |
|
145 |
= What is the array structure for the `fb_og_image_additional` filter?
|
146 |
|
147 |
Check out this [code snippet](https://gist.github.com/webdados/ef5d5db01f01bee6041c2b2e0950d73a).
|
148 |
|
149 |
-
= I
|
150 |
|
151 |
Go to the plugin settings and check the `Do not get image size` option.
|
152 |
-
This happens on some edge cases we haven
|
153 |
Update: Probably fixed for some users on 2.1.4.5 and completely on 2.2 (pending confirmation)
|
154 |
|
155 |
-
= Yoast SEO shows up a big
|
156 |
|
157 |
-
No it isn
|
158 |
-
You can (and, in our opinion, you should) use both plugins. If you want to use Yoast SEO for your SEO needs and our plugin for social media meta tags you just have to go to "SEO > Social" and disable settings for Facebook
|
159 |
-
If you don
|
160 |
-
Then set up our plugin as you wish and you
|
161 |
-
We like to work with everybody, so (if you want to) our plugin can even integrate with Yoast SEO and use it
|
162 |
|
163 |
-
= There
|
164 |
|
165 |
-
It
|
166 |
|
167 |
== Changelog ==
|
168 |
|
|
|
|
|
|
|
|
|
|
|
169 |
= 2.3.3 =
|
170 |
* Technical support clarification
|
171 |
* Tested with WordPress 5.5-alpha-47761 and WooCommerce 4.1.0
|
1 |
=== Open Graph and Twitter Card Tags ===
|
2 |
Contributors: webdados, wonderm00n
|
3 |
Donate link: http://bit.ly/donate_fb_opengraph
|
4 |
+
Tags: facebook, open graph, twitter card, social media, open graph protocol, share, social, meta, rss, twitter, google, image, like, seo, search engine optimization, woocommerce, yoast seo, wordpress seo, woocommerce, subheading, php7, webdados
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.5
|
7 |
+
Stable tag: 3.0.0
|
8 |
|
9 |
+
Improve social media sharing by inserting Facebook Open Graph, Twitter Card, and SEO Meta Tags on your WordPress website pages, posts, WooCommerce products, or any other custom post type.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
+
This plugin improves the sharing of your WordPress pages, posts, WooCommerce products, or any other post type on social media, by setting the correct Facebook Open Graph Tags.
|
14 |
|
15 |
+
It also allows you to add the Twitter Card tags for more effective and efficient Twitter sharing results, as well as the Meta Description and Canonical tags if no other SEO plugin is setting them.
|
|
|
|
|
16 |
|
17 |
**This plugin is not, in any way, affiliated or endorsed by Facebook, Twitter, Google or any other 3rd party.**
|
18 |
|
19 |
You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and twitterfeed post the image to Facebook correctly.
|
20 |
|
21 |
+
It allows the user to choose which tags are included, and also the default image if the post/page doesn’t have one.
|
22 |
|
23 |
+
It’s also possible to add an overlay logo/watermark to the image. The plugin will resize and crop the original image to 1200x630 and then overlay the chosen 1200x630 PNG file over it.
|
24 |
+
It be usefull to add your brand to the image that shows up on Facebook shared links.
|
25 |
|
26 |
+
Our settings page is discreetly kept under "Options".
|
27 |
|
28 |
+
= The generated (Facebook) Open Graph Tags are: =
|
29 |
|
30 |
* **og:title**: From post/page/archive/tag/... title.
|
31 |
* **og:site_name**: From blog title.
|
32 |
* **og:url**: From the post/page permalink.
|
33 |
+
* **og:description**: From our specific custom field of the post/page, or if not set post/page excerpt if it exist, or from post/page content. From category/tag description on its pages, if it exist. From tagline, or custom text, on all the others.
|
34 |
+
* **og:image**: From our specific custom field of the post/page, or if not set from the post/page featured/thumbnail image, or if it doesn’t exist from the first image in the post content, or if it doesn’t exist from the first image on the post media gallery, or if it doesn’t exist from the default image defined on the options menu. The same image chosen here will be used and enclosure/media:content on the RSS feed.
|
35 |
* **og:image:url**: Same as **og:image**.
|
36 |
* **og:image:secure_url**: Same as **og:image** if SSL is being used.
|
37 |
* **og:image:width** and **og:image:height**: Image dimensions.
|
46 |
* **fb:app_id**: From settings on the options screen.
|
47 |
* **og:price:amount** and **og:price:currency**: Price on WooCommerce products.
|
48 |
|
49 |
+
= The generated Twitter Card Tags are: =
|
50 |
|
51 |
* **twitter:title**: Same as `og:title`.
|
52 |
* **twitter:url**: Sames as `og:url`.
|
56 |
* **twitter:site**: The website Twitter account.
|
57 |
* **twitter:card**: With value "summary_large_image" or "summary".
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
= Other Tags: =
|
60 |
|
61 |
* **canonical**: Same as `og:url`.
|
67 |
|
68 |
= 3rd Party Integration: =
|
69 |
|
70 |
+
* **[Yoast SEO](https://wordpress.org/plugins/wordpress-seo/)**: Allows you to use the title, URL (canonical), and description from the Yoast SEO plugin.
|
71 |
+
* **[Rank Math](https://wordpress.org/plugins/seo-by-rank-math/)**: Allows you to use the title, URL (canonical), and description from the Rank Math plugin [only with the PRO add-on](https://shop.webdados.com/product/open-graph-and-twitter-card-tags-pro-add-on/)
|
72 |
* **[WooCommerce](https://wordpress.org/plugins/woocommerce/)**: On product pages sets `og:type` to "product" and adds the price including tax to the `product:price` and `product:availability` tags. Also allows you to use the Product Category thumbnails as Open Graph Image and have Product Gallery images as additional Open Graph Images
|
73 |
* **[WooCommerce Brands](https://woocommerce.com/products/brands/)**: On brand pages uses the brand image as Open Graph Image
|
74 |
* **[SubHeading](https://wordpress.org/extend/plugins/subheading/)**: Add the SubHeading to the post/page title.
|
75 |
+
* **[Business Directory Plugin](https://wordpress.org/extend/plugins/business-directory-plugin/)** (deprecated): Allows you to use BDP listing contents as Open Graph Tags.
|
76 |
+
|
77 |
+
= NEW PRO add-on: =
|
78 |
+
|
79 |
+
To implement new features, we’ve released a new [PRO add-on](https://shop.webdados.com/product/open-graph-and-twitter-card-tags-pro-add-on/) that you can use alongside this plugin.
|
80 |
+
|
81 |
+
From version 3.0.0 forward, for sustainability reasons, some advanced functionalities might be removed from the free plugin and move to the PRO add-on, with the proper deprecation notice with some versions in advance.
|
82 |
|
83 |
+
The current PRO add-on features are:
|
84 |
+
|
85 |
+
* [Rank Math](https://wordpress.org/plugins/seo-by-rank-math/) integration: title, description and canonical
|
86 |
+
* Set different image size (instead of 1200x630)
|
87 |
+
* Technical support (limited to the PRO add-on features)
|
88 |
+
* Good karma and support the development of new features
|
89 |
+
|
90 |
+
[Get it now for the promotional price of 20€](https://shop.webdados.com/product/open-graph-and-twitter-card-tags-pro-add-on/) on the first year (and 12€ on renewals), or as low as 10€ on the first year (and 6€ on renewals) if you buy a license for 10 websites.
|
91 |
|
92 |
== Installation ==
|
93 |
|
97 |
|
98 |
== Frequently Asked Questions ==
|
99 |
|
100 |
+
= Why aren’t you active on the support forums? =
|
101 |
|
102 |
Because of other commercial projects, including WordPress and WooCommerce plugins, we haven’t been able to reply to support tickets neither release new versions of this plugin, for which we are sorry.
|
103 |
|
106 |
If you reach us by email or any other direct contact means, we’ll assume you are in need of urgent, premium, and of course, paid-for support.
|
107 |
|
108 |
If some company wants to make a proposal to take ownership of this plugin, please contact us to info @ webdados .pt
|
109 |
+
We’ll not pass ownership of the plugin to anyone (person or company) that does not have a solid roadmap and business model for this plugin, to guarantee the current users that development and support will be resumed.
|
110 |
+
|
111 |
+
We also released a [PRO add-on](https://shop.webdados.com/product/open-graph-and-twitter-card-tags-pro-add-on/) with some extra features and technical support (except for the free plugin features).
|
112 |
|
113 |
= Facebook is not showing up the correct image when I share a post. What can I do? =
|
114 |
|
115 |
1. Are you using a big enough image? The minimum image size is 200x200 pixels but we recommend 1200x630.
|
116 |
+
2. Are you sure you only have one `og:image` tag on the source code? Make sure you’re not using more than one plugin to set OG tags?
|
117 |
+
3. Go to the [Facebook Sharing Debugger](https://developers.facebook.com/tools/debug/), insert your URL, click `Debug`. Then click on `Scrape Again` to make sure Facebook gets the current version of your HTML code and not a cached version. If the image that shows up on the preview (bottom of the page) is the correct one, then the tags are well set and it "should" be the one that Facebook uses when sharing the post. If it still does not use the correct image when sharing, despite the debugger shows it correctly, there’s nothing more we can do about that. That’s just Facebook being Facebook.
|
118 |
|
119 |
= What is the "Manually update Facebook cache" button on the "Post updated" notice? =
|
120 |
|
121 |
+
It’s a shortcut to the Facebook Sharing Debugger, where you should click on `Scrape Again` to make sure Facebook gets the current version of your post or page.
|
122 |
|
123 |
= When I save/edit my post I get the "Facebook Open Graph Tags cache NOT updated/purged" error. Should I worry? =
|
124 |
|
125 |
+
Each time you edit a post, if the option "Try to update Facebook Open Graph Tags cache when saving the post" is activated, we’ll try to notify Facebook of the changes so it clears up its cache and read the new Open Graph tags of this specific URL.
|
126 |
+
If this is a new post and it’s the first time you’re saving it, the error is "normal" and you should ignore it (we’re looking at a workaround to not show you this error).
|
127 |
+
If this is not a new post and it’s not the first time you’re saving it, and if this happens always, then maybe your server does not support calling remote URLs with PHP and you should disable the "Try to update Facebook Open Graph Tags cache when saving the post" option. In that scenario we recommend you use the [Facebook Sharing Debugger](https://developers.facebook.com/tools/debug/) to `Scrape Again` each time you update your post.
|
128 |
+
Sometimes the plugin just can’t update the Facebook cache itself and you may need to do it manually on the link provided above.
|
129 |
|
130 |
= Can I authenticate the call to Facebook, with my own app, when trying to update the cache, so I get rid of the "An access token is required to request this resource" error? =
|
131 |
|
139 |
= How can I share my posts or products as Rich Pins on Pinterest? =
|
140 |
|
141 |
Pinterest can read Open Graph tags, so no extra tags are needed to share your articles or WooCommerce products as Rich Pins.
|
142 |
+
You need however to apply to whitelist your domain on Pinterest. Head to [this page](https://developers.pinterest.com/docs/rich-pins/overview/) and follow the instructions starting with "Set up". When in the validator, enter your URL, hit "Validate" and then choose "HTML tags" and hit "Apply now". It’s then up to Pinterest to accept your application or not.
|
|
|
143 |
|
144 |
= Can this plugin get content from "random plugin"? =
|
145 |
|
146 |
+
If there’s a popular plugin you think we could get content from to use on the meta tags, use the support forum to tell us that.
|
147 |
If you are a plugin or theme author you can always use our filters `fb_og_title`, `fb_og_desc`, `fb_og_url`, `fb_og_type`, `fb_type_schema`, `fb_og_image`, `fb_og_image_additional`, `fb_og_image_overlay`, `fb_og_locale`, `fb_og_app_id`, `fb_og_thumb_fill_color`, `fb_og_output` and `fb_og_enabled` to customize the Open Graph (and other) meta tags output.
|
148 |
|
149 |
= What is the array structure for the `fb_og_image_additional` filter?
|
150 |
|
151 |
Check out this [code snippet](https://gist.github.com/webdados/ef5d5db01f01bee6041c2b2e0950d73a).
|
152 |
|
153 |
+
= I’m getting a white screen of death / truncated HTML =
|
154 |
|
155 |
Go to the plugin settings and check the `Do not get image size` option.
|
156 |
+
This happens on some edge cases we haven’t yet been able to identify.
|
157 |
Update: Probably fixed for some users on 2.1.4.5 and completely on 2.2 (pending confirmation)
|
158 |
|
159 |
+
= Yoast SEO shows up a big warning if both plugins are active. Is the world in danger if I keep both plugins active? =
|
160 |
|
161 |
+
No, it isn’t.
|
162 |
+
You can (and, in our opinion, you should) use both plugins. If you want to use Yoast SEO for your SEO needs and our plugin for social media meta tags you just have to go to "SEO > Social" and disable settings for Facebook and Twitter.
|
163 |
+
If you don’t find that option, because they’ve now made it harder to reach, you have to go to "SEO > Dashboard > Features > Advanced settings pages > choose Enabled and Save changes". Then you can reach "SEO > Social".
|
164 |
+
Then set up our plugin as you wish and you’re ready to go.
|
165 |
+
We like to work with everybody, so (if you want to) our plugin can even integrate with Yoast SEO and use it’s title, description and canonical URL on the Facebook and Twitter tags.
|
166 |
|
167 |
+
= There’s a similar plugin on the repository, by Heateor. Is this the same? =
|
168 |
|
169 |
+
It’s similar, yes. They’ve forked our plugin and gave no credits whatsoever for our original work.
|
170 |
|
171 |
== Changelog ==
|
172 |
|
173 |
+
= 3.0.0 =
|
174 |
+
* Add support for the PRO add-on
|
175 |
+
* Deprecation of Business Directory Plugin integration and other minor settings
|
176 |
+
* readme.txt full review
|
177 |
+
|
178 |
= 2.3.3 =
|
179 |
* Technical support clarification
|
180 |
* Tested with WordPress 5.5-alpha-47761 and WooCommerce 4.1.0
|
wonderm00n-open-graph.php
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
/*
|
3 |
Plugin Name: Open Graph and Twitter Card Tags
|
4 |
Plugin URI: https://www.webdados.pt/wordpress/plugins/facebook-open-graph-meta-tags-wordpress/
|
5 |
-
Description:
|
6 |
-
Version:
|
7 |
Author: Webdados
|
8 |
Author URI: https://www.webdados.pt
|
9 |
Text Domain: wonderm00ns-simple-facebook-open-graph-tags
|
@@ -13,7 +13,7 @@ WC tested up to: 4.1.0
|
|
13 |
|
14 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
15 |
|
16 |
-
define( 'WEBDADOS_FB_VERSION', '
|
17 |
define( 'WEBDADOS_FB_PLUGIN_NAME', 'Open Graph and Twitter Card Tags' );
|
18 |
define( 'WEBDADOS_FB_W', 1200 );
|
19 |
define( 'WEBDADOS_FB_H', 630 );
|
2 |
/*
|
3 |
Plugin Name: Open Graph and Twitter Card Tags
|
4 |
Plugin URI: https://www.webdados.pt/wordpress/plugins/facebook-open-graph-meta-tags-wordpress/
|
5 |
+
Description: Improve social media sharing by inserting Facebook Open Graph, Twitter Card and SEO Meta Tags on your WordPress website pages, posts, WooCommerce products, or any other custom post type.
|
6 |
+
Version: 3.0.0
|
7 |
Author: Webdados
|
8 |
Author URI: https://www.webdados.pt
|
9 |
Text Domain: wonderm00ns-simple-facebook-open-graph-tags
|
13 |
|
14 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
15 |
|
16 |
+
define( 'WEBDADOS_FB_VERSION', '3.0.0' );
|
17 |
define( 'WEBDADOS_FB_PLUGIN_NAME', 'Open Graph and Twitter Card Tags' );
|
18 |
define( 'WEBDADOS_FB_W', 1200 );
|
19 |
define( 'WEBDADOS_FB_H', 630 );
|