Version Description
- Added article published and modified date/time tags
- Added "article:section" tag
- Several fixes regarding getting the content or media gallery image size
- Several fixes on the way the defaults and settings are loaded to avoid php warnings and notices
- Some changes on the default values for first time users
Download this release
Release Info
Developer | webdados |
Plugin | Open Graph for Facebook, Google+ and Twitter Card Tags |
Version | 1.4 |
Comparing to | |
See all releases |
Code changes from version 1.3.4 to 1.4
- includes/settings-page.php +293 -246
- lang/wd-fb-og-pt_PT.mo +0 -0
- lang/wd-fb-og-pt_PT.po +154 -112
- lang/wd-fb-og.pot +143 -111
- readme.txt +13 -3
- wonderm00n-open-graph.php +198 -77
includes/settings-page.php
CHANGED
@@ -31,6 +31,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
31 |
$usersettings['fb_url_add_trailing']= intval(wonderm00n_open_graph_post('fb_url_add_trailing'));
|
32 |
$usersettings['fb_type_show']= intval(wonderm00n_open_graph_post('fb_type_show'));
|
33 |
$usersettings['fb_type_homepage']= trim(wonderm00n_open_graph_post('fb_type_homepage'));
|
|
|
|
|
34 |
$usersettings['fb_publisher_show']= intval(wonderm00n_open_graph_post('fb_publisher_show'));
|
35 |
$usersettings['fb_publisher']= trim(wonderm00n_open_graph_post('fb_publisher'));
|
36 |
$usersettings['fb_publisher_show_schema']= intval(wonderm00n_open_graph_post('fb_publisher_show_schema'));
|
@@ -60,7 +62,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
60 |
$usersettings['fb_image_use_default']= intval(wonderm00n_open_graph_post('fb_image_use_default'));
|
61 |
$usersettings['fb_show_wpseoyoast']= intval(wonderm00n_open_graph_post('fb_show_wpseoyoast'));
|
62 |
$usersettings['fb_show_subheading']= intval(wonderm00n_open_graph_post('fb_show_subheading'));
|
63 |
-
$usersettings['fb_show_businessdirectoryplugin']=
|
|
|
64 |
//Update
|
65 |
update_option('webdados_fb_open_graph_settings', $usersettings);
|
66 |
}
|
@@ -84,302 +87,325 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
84 |
<div class="postbox-container og_left_col">
|
85 |
<div id="poststuff">
|
86 |
<form name="form1" method="post">
|
|
|
87 |
<div id="wonderm00n_open_graph-settings" class="postbox">
|
88 |
<h3 id="settings"><?php _e('Settings'); ?></h3>
|
89 |
<div class="inside">
|
90 |
<table width="100%" class="form-table">
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
}
|
156 |
}
|
157 |
-
curl_close($ch);
|
158 |
}
|
|
|
159 |
}
|
160 |
}
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
}
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
}
|
178 |
}
|
179 |
-
?>
|
180 |
-
</select>
|
181 |
-
<br/>
|
182 |
-
<?php
|
183 |
-
if ($loadedOnline) {
|
184 |
-
_e('List loaded from Facebook (online)', 'wd-fb-og');
|
185 |
-
} else {
|
186 |
-
if ($loadedOffline) {
|
187 |
-
_e('List loaded from local cache (offline)', 'wd-fb-og'); ?> - <a href="?page=wonderm00n-open-graph.php&localeOnline=1" onClick="return(confirm('<?php _e('You\\\'l lose any changes you haven\\\'t saved. Are you sure?', 'wd-fb-og'); ?>'));"><?php _e('Reload from Facebook', 'wd-fb-og'); ?></a><?php
|
188 |
-
} else {
|
189 |
-
_e('List not loaded', 'wd-fb-og');
|
190 |
}
|
191 |
-
}
|
192 |
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
</td>
|
194 |
</tr>
|
195 |
-
<tr>
|
196 |
-
<
|
197 |
-
</tr>
|
198 |
-
<tr>
|
199 |
-
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Site Name (og:site_name) tag', 'wd-fb-og');?></th>
|
200 |
<td>
|
201 |
-
<input type="
|
|
|
|
|
202 |
</td>
|
203 |
</tr>
|
204 |
<tr>
|
205 |
-
<
|
206 |
-
</tr>
|
207 |
-
<tr>
|
208 |
-
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Post/Page title (og:title) tag', 'wd-fb-og');?></th>
|
209 |
<td>
|
210 |
-
<input type="checkbox" name="
|
|
|
|
|
211 |
</td>
|
212 |
</tr>
|
213 |
-
<tr class="
|
214 |
-
<th scope="row"><i class="dashicons-before dashicons-googleplus"></i><?php _e('
|
215 |
<td>
|
216 |
-
<input type="
|
217 |
<br/>
|
218 |
-
|
219 |
-
<br/>
|
220 |
-
<?php _e('Recommended for Google+ sharing purposes if no other plugin is setting it already', 'wd-fb-og');?>
|
221 |
</td>
|
222 |
</tr>
|
223 |
-
<tr
|
224 |
-
<th scope="row"><i class="dashicons-before dashicons-twitter"></i><?php _e('Include Twitter Card
|
225 |
<td>
|
226 |
-
<input type="checkbox" name="
|
227 |
-
<br/>
|
228 |
-
<i><meta name="twitter:title" content=..."/></i>
|
229 |
<br/>
|
230 |
-
<?php _e('
|
231 |
</td>
|
232 |
</tr>
|
233 |
-
<tr>
|
234 |
-
<
|
235 |
-
</tr>
|
236 |
-
<tr>
|
237 |
-
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include URL (og:url) tag', 'wd-fb-og');?></th>
|
238 |
<td>
|
239 |
-
<input type="
|
|
|
|
|
240 |
</td>
|
241 |
</tr>
|
242 |
<tr>
|
243 |
-
<
|
244 |
-
<td>
|
245 |
-
<input type="checkbox" name="fb_url_show_twitter" id="fb_url_show_twitter" value="1" <?php echo (intval($fb_url_show_twitter)==1 ? ' checked="checked"' : ''); ?>/>
|
246 |
-
</td>
|
247 |
</tr>
|
248 |
-
|
249 |
-
|
|
|
250 |
<td>
|
251 |
-
<input type="checkbox" name="
|
252 |
<br/>
|
253 |
-
<?php _e('
|
254 |
</td>
|
255 |
</tr>
|
256 |
-
<tr class="
|
257 |
-
<th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('
|
258 |
<td>
|
259 |
-
<input type="checkbox" name="
|
|
|
|
|
260 |
<br/>
|
261 |
-
|
262 |
</td>
|
263 |
</tr>
|
264 |
-
<tr>
|
265 |
-
<
|
266 |
-
</tr>
|
267 |
-
<tr>
|
268 |
-
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Type (og:type) tag', 'wd-fb-og');?></th>
|
269 |
<td>
|
270 |
-
<input type="checkbox" name="
|
|
|
|
|
271 |
<br/>
|
272 |
-
<?php
|
273 |
</td>
|
274 |
</tr>
|
275 |
-
<tr class="
|
276 |
-
<th scope="row"><i class="dashicons-before dashicons-
|
277 |
<td>
|
278 |
-
<?php
|
279 |
-
<
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
</td>
|
284 |
</tr>
|
285 |
<tr>
|
286 |
<td colspan="2"><hr/></td>
|
287 |
</tr>
|
288 |
-
<tr>
|
289 |
-
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Publisher Page (article:publisher) tag', 'wd-fb-og');?></th>
|
290 |
-
<td>
|
291 |
-
<input type="checkbox" name="fb_publisher_show" id="fb_publisher_show" value="1" <?php echo (intval($fb_publisher_show)==1 ? ' checked="checked"' : ''); ?> onclick="showPublisherOptions();"/>
|
292 |
-
<br/>
|
293 |
-
<?php _e('Links the website to the publisher Facebook Page.', 'wd-fb-og');?>
|
294 |
-
</td>
|
295 |
-
</tr>
|
296 |
-
<tr class="fb_publisher_options">
|
297 |
-
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Website\'s Facebook Page', 'wd-fb-og');?>:</th>
|
298 |
-
<td>
|
299 |
-
<input type="text" name="fb_publisher" id="fb_publisher" size="50" value="<?php echo trim(esc_attr($fb_publisher)); ?>"/>
|
300 |
-
<br/>
|
301 |
-
<?php _e('Full URL with http://', 'wd-fb-og');?>
|
302 |
-
</td>
|
303 |
-
</tr>
|
304 |
-
<tr>
|
305 |
-
<th scope="row"><i class="dashicons-before dashicons-googleplus"></i><?php _e('Include Google+ "publisher" tag', 'wd-fb-og');?>:</th>
|
306 |
-
<td>
|
307 |
-
<input type="checkbox" name="fb_publisher_show_schema" id="fb_publisher_show_schema" value="1" <?php echo (intval($fb_publisher_show_schema)==1 ? ' checked="checked"' : ''); ?> onclick="showPublisherSchemaOptions();"/>
|
308 |
-
<br/>
|
309 |
-
<?php _e('Links the website to the publisher Google+ Page.', 'wd-fb-og');?>
|
310 |
-
</td>
|
311 |
-
</tr>
|
312 |
-
<tr class="fb_publisher_schema_options">
|
313 |
-
<th scope="row"><i class="dashicons-before dashicons-googleplus"></i><?php _e('Website\'s Google+ Page', 'wd-fb-og');?>:</th>
|
314 |
-
<td>
|
315 |
-
<input type="text" name="fb_publisher_schema" id="fb_publisher_schema" size="50" value="<?php echo trim(esc_attr($fb_publisher_schema)); ?>"/>
|
316 |
-
<br/>
|
317 |
-
<?php _e('Full URL with http://', 'wd-fb-og');?>
|
318 |
-
</td>
|
319 |
-
</tr>
|
320 |
-
<tr>
|
321 |
-
<th scope="row"><i class="dashicons-before dashicons-twitter"></i><?php _e('Include Twitter Card Website Username tag', 'wd-fb-og');?>:</th>
|
322 |
-
<td>
|
323 |
-
<input type="checkbox" name="fb_publisher_show_twitter" id="fb_publisher_show_twitter" value="1" <?php echo (intval($fb_publisher_show_twitter)==1 ? ' checked="checked"' : ''); ?> onclick="showPublisherTwitterOptions();"/>
|
324 |
-
<br/>
|
325 |
-
<?php _e('Links the website to the publisher Twitter Username.', 'wd-fb-og');?>
|
326 |
-
</td>
|
327 |
-
</tr>
|
328 |
-
<tr class="fb_publisher_twitter_options">
|
329 |
-
<th scope="row"><i class="dashicons-before dashicons-twitter"></i><?php _e('Website\'s Twitter Username', 'wd-fb-og');?>:</th>
|
330 |
-
<td>
|
331 |
-
<input type="text" name="fb_publisher_twitteruser" id="fb_publisher_twitteruser" size="20" value="<?php echo trim(esc_attr($fb_publisher_twitteruser)); ?>"/>
|
332 |
-
<br/>
|
333 |
-
<?php _e('Twitter username (without @)', 'wd-fb-og');?>
|
334 |
-
</td>
|
335 |
-
</tr>
|
336 |
-
<tr>
|
337 |
-
<td colspan="2"><hr/></td>
|
338 |
-
</tr>
|
339 |
|
340 |
-
|
341 |
-
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Author Profile (article:author) tag', 'wd-fb-og');?></th>
|
342 |
-
<td>
|
343 |
-
<input type="checkbox" name="fb_author_show" id="fb_author_show" value="1" <?php echo (intval($fb_author_show)==1 ? ' checked="checked"' : ''); ?> onclick="showAuthorOptions();"/>
|
344 |
-
<br/>
|
345 |
-
<?php _e('Links the article to the author Facebook Profile. The user\'s Facebook profile URL must be filled in.', 'wd-fb-og');?>
|
346 |
-
</td>
|
347 |
-
</tr>
|
348 |
-
<tr class="fb_author_options">
|
349 |
-
<th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('Include Meta Author tag', 'wd-fb-og');?></th>
|
350 |
-
<td>
|
351 |
-
<input type="checkbox" name="fb_author_show_meta" id="fb_author_show_meta" value="1" <?php echo (intval($fb_author_show_meta)==1 ? ' checked="checked"' : ''); ?>/>
|
352 |
-
<br/>
|
353 |
-
<i><meta name="author" content="..."/></i>
|
354 |
-
<br/>
|
355 |
-
<?php _e('Sets the article author name', 'wd-fb-og');?>
|
356 |
-
</td>
|
357 |
-
</tr>
|
358 |
-
<tr class="fb_author_options">
|
359 |
-
<th scope="row"><i class="dashicons-before dashicons-googleplus"></i><?php _e('Include Google+ link rel "author" tag', 'wd-fb-og');?></th>
|
360 |
-
<td>
|
361 |
-
<input type="checkbox" name="fb_author_show_linkrelgp" id="fb_author_show_linkrelgp" value="1" <?php echo (intval($fb_author_show_linkrelgp)==1 ? ' checked="checked"' : ''); ?>/>
|
362 |
-
<br/>
|
363 |
-
<i><link rel="author" href="..."/></i>
|
364 |
-
<br/>
|
365 |
-
<?php _e('Links the article to the author Google+ Profile (authorship). The user\'s Google+ profile URL must be filled in.', 'wd-fb-og');?>
|
366 |
-
</td>
|
367 |
-
</tr>
|
368 |
-
<tr class="fb_author_options">
|
369 |
-
<th scope="row"><i class="dashicons-before dashicons-twitter"></i><?php _e('Include Twitter Card Creator tag', 'wd-fb-og');?></th>
|
370 |
-
<td>
|
371 |
-
<input type="checkbox" name="fb_author_show_twitter" id="fb_author_show_twitter" value="1" <?php echo (intval($fb_author_show_twitter)==1 ? ' checked="checked"' : ''); ?>/>
|
372 |
-
<br/>
|
373 |
-
<i><meta name="twitter:creator" content="@..."/></i>
|
374 |
-
<br/>
|
375 |
-
<?php _e('Links the article to the author Twitter profile. The user\'s Twitter user must be filled in.', 'wd-fb-og');?>
|
376 |
-
</td>
|
377 |
-
</tr>
|
378 |
-
<tr>
|
379 |
-
<td colspan="2"><hr/></td>
|
380 |
-
</tr>
|
381 |
-
|
382 |
-
<tr>
|
383 |
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Description (og:description) tag', 'wd-fb-og');?></th>
|
384 |
<td>
|
385 |
<input type="checkbox" name="fb_desc_show" id="fb_desc_show" value="1" <?php echo (intval($fb_desc_show)==1 ? ' checked="checked"' : ''); ?> onclick="showDescriptionOptions();"/>
|
@@ -522,6 +548,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
522 |
</table>
|
523 |
</div>
|
524 |
</div>
|
|
|
525 |
<div id="wonderm00n_open_graph-thirdparty" class="postbox">
|
526 |
<h3 id="thirdparty"><?php _e('3rd Party Integration', 'wd-fb-og');?></h3>
|
527 |
<div class="inside">
|
@@ -593,10 +620,29 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
593 |
?>
|
594 |
</div>
|
595 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
596 |
<p class="submit">
|
597 |
<input type="hidden" name="action" value="save"/>
|
598 |
-
|
599 |
-
|
|
|
600 |
</form>
|
601 |
</div>
|
602 |
</div>
|
@@ -864,7 +910,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
864 |
table.form-table .dashicons-rss {
|
865 |
color: #FF6600;
|
866 |
}
|
867 |
-
table.form-table .dashicons-admin-site
|
|
|
868 |
color: #666;
|
869 |
}
|
870 |
</style>
|
31 |
$usersettings['fb_url_add_trailing']= intval(wonderm00n_open_graph_post('fb_url_add_trailing'));
|
32 |
$usersettings['fb_type_show']= intval(wonderm00n_open_graph_post('fb_type_show'));
|
33 |
$usersettings['fb_type_homepage']= trim(wonderm00n_open_graph_post('fb_type_homepage'));
|
34 |
+
$usersettings['fb_article_dates_show']= intval(wonderm00n_open_graph_post('fb_article_dates_show'));
|
35 |
+
$usersettings['fb_article_sections_show']= intval(wonderm00n_open_graph_post('fb_article_sections_show'));
|
36 |
$usersettings['fb_publisher_show']= intval(wonderm00n_open_graph_post('fb_publisher_show'));
|
37 |
$usersettings['fb_publisher']= trim(wonderm00n_open_graph_post('fb_publisher'));
|
38 |
$usersettings['fb_publisher_show_schema']= intval(wonderm00n_open_graph_post('fb_publisher_show_schema'));
|
62 |
$usersettings['fb_image_use_default']= intval(wonderm00n_open_graph_post('fb_image_use_default'));
|
63 |
$usersettings['fb_show_wpseoyoast']= intval(wonderm00n_open_graph_post('fb_show_wpseoyoast'));
|
64 |
$usersettings['fb_show_subheading']= intval(wonderm00n_open_graph_post('fb_show_subheading'));
|
65 |
+
$usersettings['fb_show_businessdirectoryplugin']= intval(wonderm00n_open_graph_post('fb_show_businessdirectoryplugin'));
|
66 |
+
$usersettings['fb_adv_force_local']= intval(wonderm00n_open_graph_post('fb_adv_force_local'));
|
67 |
//Update
|
68 |
update_option('webdados_fb_open_graph_settings', $usersettings);
|
69 |
}
|
87 |
<div class="postbox-container og_left_col">
|
88 |
<div id="poststuff">
|
89 |
<form name="form1" method="post">
|
90 |
+
|
91 |
<div id="wonderm00n_open_graph-settings" class="postbox">
|
92 |
<h3 id="settings"><?php _e('Settings'); ?></h3>
|
93 |
<div class="inside">
|
94 |
<table width="100%" class="form-table">
|
95 |
+
<tr>
|
96 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Facebook Platform App ID (fb:app_id) tag', 'wd-fb-og'); ?></th>
|
97 |
+
<td>
|
98 |
+
<input type="checkbox" name="fb_app_id_show" id="fb_app_id_show" value="1" <?php echo (intval($fb_app_id_show)==1 ? ' checked="checked"' : ''); ?> onclick="showAppidOptions();"/>
|
99 |
+
</td>
|
100 |
+
</tr>
|
101 |
+
<tr class="fb_app_id_options">
|
102 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Facebook Platform App ID', 'wd-fb-og'); ?>:</th>
|
103 |
+
<td>
|
104 |
+
<input type="text" name="fb_app_id" id="fb_app_id" size="30" value="<?php echo trim(esc_attr($fb_app_id)); ?>"/>
|
105 |
+
</td>
|
106 |
+
</tr>
|
107 |
+
<tr>
|
108 |
+
<td colspan="2"><hr/></td>
|
109 |
+
</tr>
|
110 |
+
<tr>
|
111 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Facebook Admin(s) ID (fb:admins) tag', 'wd-fb-og'); ?></th>
|
112 |
+
<td>
|
113 |
+
<input type="checkbox" name="fb_admin_id_show" id="fb_admin_id_show" value="1" <?php echo (intval($fb_admin_id_show)==1 ? ' checked="checked"' : ''); ?> onclick="showAdminOptions();"/>
|
114 |
+
</td>
|
115 |
+
</tr>
|
116 |
+
<tr class="fb_admin_id_options">
|
117 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Facebook Admin(s) ID', 'wd-fb-og'); ?>:</th>
|
118 |
+
<td>
|
119 |
+
<input type="text" name="fb_admin_id" id="fb_admin_id" size="30" value="<?php echo trim(esc_attr($fb_admin_id)); ?>"/>
|
120 |
+
<br/>
|
121 |
+
<?php _e('Comma separated if more than one', 'wd-fb-og'); ?>
|
122 |
+
</td>
|
123 |
+
</tr>
|
124 |
+
<tr>
|
125 |
+
<td colspan="2"><hr/></td>
|
126 |
+
</tr>
|
127 |
+
<tr>
|
128 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include locale (fb:locale) tag', 'wd-fb-og'); ?></th>
|
129 |
+
<td>
|
130 |
+
<input type="checkbox" name="fb_locale_show" id="fb_locale_show" value="1" <?php echo (intval($fb_locale_show)==1 ? ' checked="checked"' : ''); ?> onclick="showLocaleOptions();"/>
|
131 |
+
</td>
|
132 |
+
</tr>
|
133 |
+
<tr class="fb_locale_options">
|
134 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Locale', 'wd-fb-og'); ?>:</th>
|
135 |
+
<td>
|
136 |
+
<select name="fb_locale" id="fb_locale">
|
137 |
+
<option value=""<?php if (trim($fb_locale)=='') echo ' selected="selected"'; ?>><?php _e('WordPress current locale/language', 'wd-fb-og'); ?> (<?php echo get_locale(); ?>) </option>
|
138 |
+
<?php
|
139 |
+
$listLocales=false;
|
140 |
+
$loadedOnline=false;
|
141 |
+
$loadedOffline=false;
|
142 |
+
//Online
|
143 |
+
if (!empty($_GET['localeOnline'])) {
|
144 |
+
if (intval($_GET['localeOnline'])==1) {
|
145 |
+
if ($ch = curl_init('http://www.facebook.com/translations/FacebookLocales.xml')) {
|
146 |
+
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
147 |
+
$fb_locales=curl_exec($ch);
|
148 |
+
if (curl_errno($ch)) {
|
149 |
+
//echo curl_error($ch);
|
150 |
+
} else {
|
151 |
+
$info = curl_getinfo($ch);
|
152 |
+
if (intval($info['http_code'])==200) {
|
153 |
+
//Save the file locally
|
154 |
+
$fh = fopen(ABSPATH . 'wp-content/plugins/wonderm00ns-simple-facebook-open-graph-tags/includes/FacebookLocales.xml', 'w') or die("Can't open file");
|
155 |
+
fwrite($fh, $fb_locales);
|
156 |
+
fclose($fh);
|
157 |
+
$listLocales=true;
|
158 |
+
$loadedOnline=true;
|
|
|
159 |
}
|
|
|
160 |
}
|
161 |
+
curl_close($ch);
|
162 |
}
|
163 |
}
|
164 |
+
}
|
165 |
+
//Offline
|
166 |
+
if (!$listLocales) {
|
167 |
+
if ($fb_locales=file_get_contents(ABSPATH . 'wp-content/plugins/wonderm00ns-simple-facebook-open-graph-tags/includes/FacebookLocales.xml')) {
|
168 |
+
$listLocales=true;
|
169 |
+
$loadedOffline=true;
|
170 |
}
|
171 |
+
}
|
172 |
+
//OK
|
173 |
+
if ($listLocales) {
|
174 |
+
$xml=simplexml_load_string($fb_locales);
|
175 |
+
$json = json_encode($xml);
|
176 |
+
$locales = json_decode($json,TRUE);
|
177 |
+
if (is_array($locales['locale'])) {
|
178 |
+
foreach ($locales['locale'] as $locale) {
|
179 |
+
?><option value="<?php echo $locale['codes']['code']['standard']['representation']; ?>"<?php if (trim($fb_locale)==trim($locale['codes']['code']['standard']['representation'])) echo ' selected="selected"'; ?>><?php echo $locale['englishName']; ?> (<?php echo $locale['codes']['code']['standard']['representation']; ?>)</option><?php
|
180 |
}
|
181 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
}
|
|
|
183 |
?>
|
184 |
+
</select>
|
185 |
+
<br/>
|
186 |
+
<?php
|
187 |
+
if ($loadedOnline) {
|
188 |
+
_e('List loaded from Facebook (online)', 'wd-fb-og');
|
189 |
+
} else {
|
190 |
+
if ($loadedOffline) {
|
191 |
+
_e('List loaded from local cache (offline)', 'wd-fb-og'); ?> - <a href="?page=wonderm00n-open-graph.php&localeOnline=1" onClick="return(confirm('<?php _e('You\\\'l lose any changes you haven\\\'t saved. Are you sure?', 'wd-fb-og'); ?>'));"><?php _e('Reload from Facebook', 'wd-fb-og'); ?></a><?php
|
192 |
+
} else {
|
193 |
+
_e('List not loaded', 'wd-fb-og');
|
194 |
+
}
|
195 |
+
}
|
196 |
+
?>
|
197 |
+
</td>
|
198 |
+
</tr>
|
199 |
+
<tr>
|
200 |
+
<td colspan="2"><hr/></td>
|
201 |
+
</tr>
|
202 |
+
<tr>
|
203 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Site Name (og:site_name) tag', 'wd-fb-og');?></th>
|
204 |
+
<td>
|
205 |
+
<input type="checkbox" name="fb_sitename_show" id="fb_sitename_show" value="1" <?php echo (intval($fb_sitename_show)==1 ? ' checked="checked"' : ''); ?>/>
|
206 |
+
</td>
|
207 |
+
</tr>
|
208 |
+
<tr>
|
209 |
+
<td colspan="2"><hr/></td>
|
210 |
+
</tr>
|
211 |
+
<tr>
|
212 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Post/Page title (og:title) tag', 'wd-fb-og');?></th>
|
213 |
+
<td>
|
214 |
+
<input type="checkbox" name="fb_title_show" id="fb_title_show" value="1" <?php echo (intval($fb_title_show)==1 ? ' checked="checked"' : ''); ?> onclick="showTitleOptions();"/>
|
215 |
+
</td>
|
216 |
+
</tr>
|
217 |
+
<tr class="fb_title_options">
|
218 |
+
<th scope="row"><i class="dashicons-before dashicons-googleplus"></i><?php _e('Include Schema.org "itemprop" Name tag', 'wd-fb-og');?></th>
|
219 |
+
<td>
|
220 |
+
<input type="checkbox" name="fb_title_show_schema" id="fb_title_show_schema" value="1" <?php echo (intval($fb_title_show_schema)==1 ? ' checked="checked"' : ''); ?>/>
|
221 |
+
<br/>
|
222 |
+
<i><meta itemprop="name" content="..."/></i>
|
223 |
+
<br/>
|
224 |
+
<?php _e('Recommended for Google+ sharing purposes if no other plugin is setting it already', 'wd-fb-og');?>
|
225 |
+
</td>
|
226 |
+
</tr>
|
227 |
+
<tr class="fb_title_options">
|
228 |
+
<th scope="row"><i class="dashicons-before dashicons-twitter"></i><?php _e('Include Twitter Card Title tag', 'wd-fb-og');?></th>
|
229 |
+
<td>
|
230 |
+
<input type="checkbox" name="fb_title_show_twitter" id="fb_title_show_twitter" value="1" <?php echo (intval($fb_title_show_twitter)==1 ? ' checked="checked"' : ''); ?>/>
|
231 |
+
<br/>
|
232 |
+
<i><meta name="twitter:title" content=..."/></i>
|
233 |
+
<br/>
|
234 |
+
<?php _e('Recommended for Twitter sharing purposes if no other plugin is setting it already', 'wd-fb-og');?>
|
235 |
+
</td>
|
236 |
+
</tr>
|
237 |
+
<tr>
|
238 |
+
<td colspan="2"><hr/></td>
|
239 |
+
</tr>
|
240 |
+
<tr>
|
241 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include URL (og:url) tag', 'wd-fb-og');?></th>
|
242 |
+
<td>
|
243 |
+
<input type="checkbox" name="fb_url_show" id="fb_url_show" value="1" <?php echo (intval($fb_url_show)==1 ? ' checked="checked"' : ''); ?> onclick="showUrlOptions();"/>
|
244 |
+
</td>
|
245 |
+
</tr>
|
246 |
+
<tr>
|
247 |
+
<th scope="row"><i class="dashicons-before dashicons-twitter"></i><?php _e('Include Twitter Card URL tag', 'wd-fb-og');?></th>
|
248 |
+
<td>
|
249 |
+
<input type="checkbox" name="fb_url_show_twitter" id="fb_url_show_twitter" value="1" <?php echo (intval($fb_url_show_twitter)==1 ? ' checked="checked"' : ''); ?>/>
|
250 |
+
</td>
|
251 |
+
</tr>
|
252 |
+
<tr class="fb_url_options">
|
253 |
+
<th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('Add trailing slash at the end', 'wd-fb-og');?>:</th>
|
254 |
+
<td>
|
255 |
+
<input type="checkbox" name="fb_url_add_trailing" id="fb_url_add_trailing" value="1" <?php echo (intval($fb_url_add_trailing)==1 ? ' checked="checked"' : ''); ?> onclick="showUrlTrail();"/>
|
256 |
+
<br/>
|
257 |
+
<?php _e('On the homepage will be', 'wd-fb-og');?>: <i><?php echo get_option('siteurl'); ?><span id="fb_url_add_trailing_example">/</span></i>
|
258 |
+
</td>
|
259 |
+
</tr>
|
260 |
+
<tr class="fb_url_options">
|
261 |
+
<th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('Set Canonical URL', 'wd-fb-og');?>:</th>
|
262 |
+
<td>
|
263 |
+
<input type="checkbox" name="fb_url_canonical" id="fb_url_canonical" value="1" <?php echo (intval($fb_url_canonical)==1 ? ' checked="checked"' : ''); ?>/>
|
264 |
+
<br/>
|
265 |
+
<i><link rel="canonical" href="..."/></i>
|
266 |
+
</td>
|
267 |
+
</tr>
|
268 |
+
<tr>
|
269 |
+
<td colspan="2"><hr/></td>
|
270 |
+
</tr>
|
271 |
+
<tr>
|
272 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Type (og:type) tag', 'wd-fb-og');?></th>
|
273 |
+
<td>
|
274 |
+
<input type="checkbox" name="fb_type_show" id="fb_type_show" value="1" <?php echo (intval($fb_type_show)==1 ? ' checked="checked"' : ''); ?> onclick="showTypeOptions();"/>
|
275 |
+
<br/>
|
276 |
+
<?php printf( __('Will be "%1$s" for posts and pages and "%2$s" or "%3$s"; for the homepage', 'wd-fb-og'), 'article', 'website', 'blog' );?>
|
277 |
+
</td>
|
278 |
+
</tr>
|
279 |
+
<tr class="fb_type_options">
|
280 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Homepage type', 'wd-fb-og');?>:</th>
|
281 |
+
<td>
|
282 |
+
<?php _e('Use', 'wd-fb-og');?>
|
283 |
+
<select name="fb_type_homepage" id="fb_type_homepage">
|
284 |
+
<option value="website"<?php if (trim($fb_type_homepage)=='' || trim($fb_type_homepage)=='website') echo ' selected="selected"'; ?>>website </option>
|
285 |
+
<option value="blog"<?php if (trim($fb_type_homepage)=='blog') echo ' selected="selected"'; ?>>blog </option>
|
286 |
+
</select>
|
287 |
+
</td>
|
288 |
+
</tr>
|
289 |
+
<tr>
|
290 |
+
<td colspan="2"><hr/></td>
|
291 |
+
</tr>
|
292 |
+
<tr>
|
293 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include published and modified dates (article:published_time, article:modified_time and og:updated_time) tags', 'wd-fb-og');?></th>
|
294 |
+
<td>
|
295 |
+
<input type="checkbox" name="fb_article_dates_show" id="fb_article_dates_show" value="1" <?php echo (intval($fb_article_dates_show)==1 ? ' checked="checked"' : ''); ?>/>
|
296 |
+
<br/>
|
297 |
+
<?php _e('Works for posts only', 'wd-fb-og'); ?>
|
298 |
+
</td>
|
299 |
+
</tr>
|
300 |
+
<tr>
|
301 |
+
<td colspan="2"><hr/></td>
|
302 |
+
</tr>
|
303 |
+
<tr>
|
304 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include article section (article:section) tags', 'wd-fb-og');?></th>
|
305 |
+
<td>
|
306 |
+
<input type="checkbox" name="fb_article_sections_show" id="fb_article_sections_show" value="1" <?php echo (intval($fb_article_sections_show)==1 ? ' checked="checked"' : ''); ?>/>
|
307 |
+
<br/>
|
308 |
+
<?php _e('Works for posts only', 'wd-fb-og'); ?>, <?php _e('from the categories', 'wd-fb-og'); ?>
|
309 |
+
</td>
|
310 |
+
</tr>
|
311 |
+
<tr>
|
312 |
+
<td colspan="2"><hr/></td>
|
313 |
+
</tr>
|
314 |
+
<tr>
|
315 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Publisher Page (article:publisher) tag', 'wd-fb-og');?></th>
|
316 |
+
<td>
|
317 |
+
<input type="checkbox" name="fb_publisher_show" id="fb_publisher_show" value="1" <?php echo (intval($fb_publisher_show)==1 ? ' checked="checked"' : ''); ?> onclick="showPublisherOptions();"/>
|
318 |
+
<br/>
|
319 |
+
<?php _e('Links the website to the publisher Facebook Page.', 'wd-fb-og');?>
|
320 |
</td>
|
321 |
</tr>
|
322 |
+
<tr class="fb_publisher_options">
|
323 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Website\'s Facebook Page', 'wd-fb-og');?>:</th>
|
|
|
|
|
|
|
324 |
<td>
|
325 |
+
<input type="text" name="fb_publisher" id="fb_publisher" size="50" value="<?php echo trim(esc_attr($fb_publisher)); ?>"/>
|
326 |
+
<br/>
|
327 |
+
<?php _e('Full URL with http://', 'wd-fb-og');?>
|
328 |
</td>
|
329 |
</tr>
|
330 |
<tr>
|
331 |
+
<th scope="row"><i class="dashicons-before dashicons-googleplus"></i><?php _e('Include Google+ "publisher" tag', 'wd-fb-og');?>:</th>
|
|
|
|
|
|
|
332 |
<td>
|
333 |
+
<input type="checkbox" name="fb_publisher_show_schema" id="fb_publisher_show_schema" value="1" <?php echo (intval($fb_publisher_show_schema)==1 ? ' checked="checked"' : ''); ?> onclick="showPublisherSchemaOptions();"/>
|
334 |
+
<br/>
|
335 |
+
<?php _e('Links the website to the publisher Google+ Page.', 'wd-fb-og');?>
|
336 |
</td>
|
337 |
</tr>
|
338 |
+
<tr class="fb_publisher_schema_options">
|
339 |
+
<th scope="row"><i class="dashicons-before dashicons-googleplus"></i><?php _e('Website\'s Google+ Page', 'wd-fb-og');?>:</th>
|
340 |
<td>
|
341 |
+
<input type="text" name="fb_publisher_schema" id="fb_publisher_schema" size="50" value="<?php echo trim(esc_attr($fb_publisher_schema)); ?>"/>
|
342 |
<br/>
|
343 |
+
<?php _e('Full URL with http://', 'wd-fb-og');?>
|
|
|
|
|
344 |
</td>
|
345 |
</tr>
|
346 |
+
<tr>
|
347 |
+
<th scope="row"><i class="dashicons-before dashicons-twitter"></i><?php _e('Include Twitter Card Website Username tag', 'wd-fb-og');?>:</th>
|
348 |
<td>
|
349 |
+
<input type="checkbox" name="fb_publisher_show_twitter" id="fb_publisher_show_twitter" value="1" <?php echo (intval($fb_publisher_show_twitter)==1 ? ' checked="checked"' : ''); ?> onclick="showPublisherTwitterOptions();"/>
|
|
|
|
|
350 |
<br/>
|
351 |
+
<?php _e('Links the website to the publisher Twitter Username.', 'wd-fb-og');?>
|
352 |
</td>
|
353 |
</tr>
|
354 |
+
<tr class="fb_publisher_twitter_options">
|
355 |
+
<th scope="row"><i class="dashicons-before dashicons-twitter"></i><?php _e('Website\'s Twitter Username', 'wd-fb-og');?>:</th>
|
|
|
|
|
|
|
356 |
<td>
|
357 |
+
<input type="text" name="fb_publisher_twitteruser" id="fb_publisher_twitteruser" size="20" value="<?php echo trim(esc_attr($fb_publisher_twitteruser)); ?>"/>
|
358 |
+
<br/>
|
359 |
+
<?php _e('Twitter username (without @)', 'wd-fb-og');?>
|
360 |
</td>
|
361 |
</tr>
|
362 |
<tr>
|
363 |
+
<td colspan="2"><hr/></td>
|
|
|
|
|
|
|
364 |
</tr>
|
365 |
+
|
366 |
+
<tr>
|
367 |
+
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Author Profile (article:author) tag', 'wd-fb-og');?></th>
|
368 |
<td>
|
369 |
+
<input type="checkbox" name="fb_author_show" id="fb_author_show" value="1" <?php echo (intval($fb_author_show)==1 ? ' checked="checked"' : ''); ?> onclick="showAuthorOptions();"/>
|
370 |
<br/>
|
371 |
+
<?php _e('Links the article to the author Facebook Profile. The user\'s Facebook profile URL must be filled in.', 'wd-fb-og');?>
|
372 |
</td>
|
373 |
</tr>
|
374 |
+
<tr class="fb_author_options">
|
375 |
+
<th scope="row"><i class="dashicons-before dashicons-admin-site"></i><?php _e('Include Meta Author tag', 'wd-fb-og');?></th>
|
376 |
<td>
|
377 |
+
<input type="checkbox" name="fb_author_show_meta" id="fb_author_show_meta" value="1" <?php echo (intval($fb_author_show_meta)==1 ? ' checked="checked"' : ''); ?>/>
|
378 |
+
<br/>
|
379 |
+
<i><meta name="author" content="..."/></i>
|
380 |
<br/>
|
381 |
+
<?php _e('Sets the article author name', 'wd-fb-og');?>
|
382 |
</td>
|
383 |
</tr>
|
384 |
+
<tr class="fb_author_options">
|
385 |
+
<th scope="row"><i class="dashicons-before dashicons-googleplus"></i><?php _e('Include Google+ link rel "author" tag', 'wd-fb-og');?></th>
|
|
|
|
|
|
|
386 |
<td>
|
387 |
+
<input type="checkbox" name="fb_author_show_linkrelgp" id="fb_author_show_linkrelgp" value="1" <?php echo (intval($fb_author_show_linkrelgp)==1 ? ' checked="checked"' : ''); ?>/>
|
388 |
+
<br/>
|
389 |
+
<i><link rel="author" href="..."/></i>
|
390 |
<br/>
|
391 |
+
<?php _e('Links the article to the author Google+ Profile (authorship). The user\'s Google+ profile URL must be filled in.', 'wd-fb-og');?>
|
392 |
</td>
|
393 |
</tr>
|
394 |
+
<tr class="fb_author_options">
|
395 |
+
<th scope="row"><i class="dashicons-before dashicons-twitter"></i><?php _e('Include Twitter Card Creator tag', 'wd-fb-og');?></th>
|
396 |
<td>
|
397 |
+
<input type="checkbox" name="fb_author_show_twitter" id="fb_author_show_twitter" value="1" <?php echo (intval($fb_author_show_twitter)==1 ? ' checked="checked"' : ''); ?>/>
|
398 |
+
<br/>
|
399 |
+
<i><meta name="twitter:creator" content="@..."/></i>
|
400 |
+
<br/>
|
401 |
+
<?php _e('Links the article to the author Twitter profile. The user\'s Twitter user must be filled in.', 'wd-fb-og');?>
|
402 |
</td>
|
403 |
</tr>
|
404 |
<tr>
|
405 |
<td colspan="2"><hr/></td>
|
406 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
407 |
|
408 |
+
<tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
409 |
<th scope="row"><i class="dashicons-before dashicons-facebook-alt"></i><?php _e('Include Description (og:description) tag', 'wd-fb-og');?></th>
|
410 |
<td>
|
411 |
<input type="checkbox" name="fb_desc_show" id="fb_desc_show" value="1" <?php echo (intval($fb_desc_show)==1 ? ' checked="checked"' : ''); ?> onclick="showDescriptionOptions();"/>
|
548 |
</table>
|
549 |
</div>
|
550 |
</div>
|
551 |
+
|
552 |
<div id="wonderm00n_open_graph-thirdparty" class="postbox">
|
553 |
<h3 id="thirdparty"><?php _e('3rd Party Integration', 'wd-fb-og');?></h3>
|
554 |
<div class="inside">
|
620 |
?>
|
621 |
</div>
|
622 |
</div>
|
623 |
+
|
624 |
+
<div id="wonderm00n_open_graph-advanced" class="postbox">
|
625 |
+
<h3 id="advanced"><?php _e('Advanced settings', 'wd-fb-og');?></h3>
|
626 |
+
<div class="inside">
|
627 |
+
<p><?php _e('Don\'t mess with this unless you know what you\'re doing', 'wd-fb-og');?></p>
|
628 |
+
<table width="100%" class="form-table">
|
629 |
+
<tr>
|
630 |
+
<th scope="row"><i class="dashicons-before dashicons-admin-generic"></i><?php _e('Force getimagesize on local file even if allow_url_fopen=1', 'wd-fb-og'); ?></th>
|
631 |
+
<td>
|
632 |
+
<input type="checkbox" name="fb_adv_force_local" id="fb_adv_force_local" value="1" <?php echo (intval($fb_adv_force_local)==1 ? ' checked="checked"' : ''); ?>/>
|
633 |
+
<br/>
|
634 |
+
<?php _e('May cause problems with some multisite configurations but fix "HTTP request failed" errors', 'wd-fb-og');?>
|
635 |
+
</td>
|
636 |
+
</tr>
|
637 |
+
</table>
|
638 |
+
</div>
|
639 |
+
</div>
|
640 |
+
|
641 |
<p class="submit">
|
642 |
<input type="hidden" name="action" value="save"/>
|
643 |
+
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
|
644 |
+
</p>
|
645 |
+
|
646 |
</form>
|
647 |
</div>
|
648 |
</div>
|
910 |
table.form-table .dashicons-rss {
|
911 |
color: #FF6600;
|
912 |
}
|
913 |
+
table.form-table .dashicons-admin-site,
|
914 |
+
table.form-table .dashicons-admin-generic {
|
915 |
color: #666;
|
916 |
}
|
917 |
</style>
|
lang/wd-fb-og-pt_PT.mo
CHANGED
Binary file
|
lang/wd-fb-og-pt_PT.po
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Facebook Open Graph Meta Tags for WordPress v1.
|
4 |
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wonderm00ns-simple-"
|
5 |
"facebook-open-graph-tags\n"
|
6 |
-
"POT-Creation-Date: 2014-
|
7 |
-
"PO-Revision-Date: 2014-
|
8 |
"Last-Translator: Wonderm00n <wonderm00n@gmail.com>\n"
|
9 |
"Language-Team: Webdados <info@webdados.pt>\n"
|
10 |
"Language: pt_PT\n"
|
@@ -12,7 +12,7 @@ msgstr ""
|
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
-
"X-Generator: Poedit 1.
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
18 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
@@ -21,7 +21,7 @@ msgstr ""
|
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
|
23 |
# @ wd-fb-og
|
24 |
-
#: includes/settings-page.php:
|
25 |
msgid ""
|
26 |
"Please set some default values and which tags should, or should not, be "
|
27 |
"included. It may be necessary to exclude some tags if other plugins are "
|
@@ -32,89 +32,89 @@ msgstr ""
|
|
32 |
"estão a incluir."
|
33 |
|
34 |
# @ wd-fb-og
|
35 |
-
#: includes/settings-page.php:
|
36 |
msgid "Include Facebook Platform App ID (fb:app_id) tag"
|
37 |
msgstr "Incluir tag \"Facebook Platform App ID\" (fb:app_id)"
|
38 |
|
39 |
# @ wd-fb-og
|
40 |
-
#: includes/settings-page.php:
|
41 |
msgid "Facebook Platform App ID"
|
42 |
msgstr "Facebook Platform App ID"
|
43 |
|
44 |
# @ wd-fb-og
|
45 |
-
#: includes/settings-page.php:
|
46 |
msgid "Include Facebook Admin(s) ID (fb:admins) tag"
|
47 |
msgstr "Incluir tag com ID dos admin de Facebook (fb:admins)"
|
48 |
|
49 |
# @ wd-fb-og
|
50 |
-
#: includes/settings-page.php:
|
51 |
msgid "Facebook Admin(s) ID"
|
52 |
msgstr "ID do(s) Admin(s) no Facebook"
|
53 |
|
54 |
# @ wd-fb-og
|
55 |
-
#: includes/settings-page.php:
|
56 |
msgid "Comma separated if more than one"
|
57 |
msgstr "Separados por vírgulas se mais do que um"
|
58 |
|
59 |
# @ wd-fb-og
|
60 |
-
#: includes/settings-page.php:
|
61 |
msgid "Include locale (fb:locale) tag"
|
62 |
msgstr "Incluir tag \"Locale\" (fb:locale)"
|
63 |
|
64 |
# @ wd-fb-og
|
65 |
-
#: includes/settings-page.php:
|
66 |
msgid "Locale"
|
67 |
msgstr "Locale"
|
68 |
|
69 |
# @ wd-fb-og
|
70 |
-
#: includes/settings-page.php:
|
71 |
msgid "WordPress current locale/language"
|
72 |
msgstr "O \"locale\"/idíoma actual do WordPress"
|
73 |
|
74 |
# @ wd-fb-og
|
75 |
-
#: includes/settings-page.php:
|
76 |
msgid "List loaded from Facebook (online)"
|
77 |
msgstr "Lista carregada do Facebook (online)"
|
78 |
|
79 |
# @ wd-fb-og
|
80 |
-
#: includes/settings-page.php:
|
81 |
msgid "List loaded from local cache (offline)"
|
82 |
msgstr "Lista carregada da cache local (offline)"
|
83 |
|
84 |
# @ wd-fb-og
|
85 |
-
#: includes/settings-page.php:
|
86 |
msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
|
87 |
msgstr ""
|
88 |
"Vai perder quaisquer modificações que não tenha gravado. Tem a certeza?"
|
89 |
|
90 |
# @ wd-fb-og
|
91 |
-
#: includes/settings-page.php:
|
92 |
msgid "Reload from Facebook"
|
93 |
msgstr "(Re)carregar a partir do Facebook"
|
94 |
|
95 |
# @ wd-fb-og
|
96 |
-
#: includes/settings-page.php:
|
97 |
msgid "List not loaded"
|
98 |
msgstr "Lista não carregada"
|
99 |
|
100 |
# @ wd-fb-og
|
101 |
-
#: includes/settings-page.php:
|
102 |
msgid "Include Site Name (og:site_name) tag"
|
103 |
msgstr "Incluir tag Nome do site (og:site_name)"
|
104 |
|
105 |
# @ wd-fb-og
|
106 |
-
#: includes/settings-page.php:
|
107 |
msgid "Include Post/Page title (og:title) tag"
|
108 |
msgstr "Incluir tag Título do artigo/página (og:title)"
|
109 |
|
110 |
# @ wd-fb-og
|
111 |
-
#: includes/settings-page.php:
|
112 |
msgid "Include Schema.org \"itemprop\" Name tag"
|
113 |
msgstr "Incluir a tag \"itemprop Name\" do Schema.org"
|
114 |
|
115 |
# @ wd-fb-og
|
116 |
-
#: includes/settings-page.php:
|
117 |
-
#: includes/settings-page.php:
|
118 |
msgid ""
|
119 |
"Recommended for Google+ sharing purposes if no other plugin is setting it "
|
120 |
"already"
|
@@ -123,13 +123,13 @@ msgstr ""
|
|
123 |
"está a definir"
|
124 |
|
125 |
# @ wd-fb-og
|
126 |
-
#: includes/settings-page.php:
|
127 |
msgid "Include Twitter Card Title tag"
|
128 |
msgstr "Incluir tag Título do \"Twitter Card\""
|
129 |
|
130 |
# @ wd-fb-og
|
131 |
-
#: includes/settings-page.php:
|
132 |
-
#: includes/settings-page.php:
|
133 |
msgid ""
|
134 |
"Recommended for Twitter sharing purposes if no other plugin is setting it "
|
135 |
"already"
|
@@ -138,36 +138,36 @@ msgstr ""
|
|
138 |
"está a definir"
|
139 |
|
140 |
# @ wd-fb-og
|
141 |
-
#: includes/settings-page.php:
|
142 |
msgid "Include URL (og:url) tag"
|
143 |
msgstr "Incluir tag URL (og:url)"
|
144 |
|
145 |
-
#: includes/settings-page.php:
|
146 |
msgid "Include Twitter Card URL tag"
|
147 |
msgstr "Incluir tag URL do \"Twitter Card\""
|
148 |
|
149 |
# @ wd-fb-og
|
150 |
-
#: includes/settings-page.php:
|
151 |
msgid "Add trailing slash at the end"
|
152 |
msgstr "Adicionar barra invertida no final"
|
153 |
|
154 |
# @ wd-fb-og
|
155 |
-
#: includes/settings-page.php:
|
156 |
msgid "On the homepage will be"
|
157 |
msgstr "Na página inicial será"
|
158 |
|
159 |
# @ wd-fb-og
|
160 |
-
#: includes/settings-page.php:
|
161 |
msgid "Set Canonical URL"
|
162 |
msgstr "Incluir a tag URL Canónico"
|
163 |
|
164 |
# @ wd-fb-og
|
165 |
-
#: includes/settings-page.php:
|
166 |
msgid "Include Type (og:type) tag"
|
167 |
msgstr "Incluir tag Tipo (og:type)"
|
168 |
|
169 |
# @ wd-fb-og
|
170 |
-
#: includes/settings-page.php:
|
171 |
msgid ""
|
172 |
"Will be \"%1$s\" for posts and pages and \"%2$s\" or \"%3$s\"; for the "
|
173 |
"homepage"
|
@@ -176,68 +176,89 @@ msgstr ""
|
|
176 |
"inicial"
|
177 |
|
178 |
# @ wd-fb-og
|
179 |
-
#: includes/settings-page.php:
|
180 |
msgid "Homepage type"
|
181 |
msgstr "Tipo para a página inicial"
|
182 |
|
183 |
# @ wd-fb-og
|
184 |
-
#: includes/settings-page.php:
|
185 |
msgid "Use"
|
186 |
msgstr "Utilizar"
|
187 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
# @ wd-fb-og
|
189 |
-
#: includes/settings-page.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
190 |
msgid "Include Publisher Page (article:publisher) tag"
|
191 |
msgstr "Incluir tag \"Publisher\" (article:publisher)"
|
192 |
|
193 |
-
#: includes/settings-page.php:
|
194 |
msgid "Links the website to the publisher Facebook Page."
|
195 |
msgstr "Associa o website à Página Facebook do mesmo"
|
196 |
|
197 |
-
#: includes/settings-page.php:
|
198 |
msgid "Website's Facebook Page"
|
199 |
msgstr "Página de Facebook do Website"
|
200 |
|
201 |
# @ wd-fb-og
|
202 |
-
#: includes/settings-page.php:
|
203 |
-
#: includes/settings-page.php:
|
204 |
msgid "Full URL with http://"
|
205 |
msgstr "URL completo com http://"
|
206 |
|
207 |
-
#: includes/settings-page.php:
|
208 |
msgid "Include Google+ \"publisher\" tag"
|
209 |
msgstr "Incluir tag \"Google+ publisher\""
|
210 |
|
211 |
-
#: includes/settings-page.php:
|
212 |
msgid "Links the website to the publisher Google+ Page."
|
213 |
msgstr "Associa o website à Página Google+ do mesmo"
|
214 |
|
215 |
-
#: includes/settings-page.php:
|
216 |
msgid "Website's Google+ Page"
|
217 |
msgstr "Página Google+ do Website"
|
218 |
|
219 |
# @ wd-fb-og
|
220 |
-
#: includes/settings-page.php:
|
221 |
msgid "Include Twitter Card Website Username tag"
|
222 |
msgstr "Incluir tag Username Twitter do Website do \"Twitter Card\""
|
223 |
|
224 |
-
#: includes/settings-page.php:
|
225 |
msgid "Links the website to the publisher Twitter Username."
|
226 |
msgstr "Associa o website ao Username Twitter do mesmo"
|
227 |
|
228 |
-
#: includes/settings-page.php:
|
229 |
msgid "Website's Twitter Username"
|
230 |
msgstr "Utilizador Twitter do Website"
|
231 |
|
232 |
-
#: includes/settings-page.php:
|
233 |
msgid "Twitter username (without @)"
|
234 |
msgstr "Utilizador do Twitter (sem @)"
|
235 |
|
236 |
-
#: includes/settings-page.php:
|
237 |
msgid "Include Author Profile (article:author) tag"
|
238 |
msgstr "Incluir tag \"Autor do artigo\" (article:author)"
|
239 |
|
240 |
-
#: includes/settings-page.php:
|
241 |
msgid ""
|
242 |
"Links the article to the author Facebook Profile. The user's Facebook "
|
243 |
"profile URL must be filled in."
|
@@ -246,19 +267,19 @@ msgstr ""
|
|
246 |
"Facebook do utilizador tem de estar preenchido."
|
247 |
|
248 |
# @ wd-fb-og
|
249 |
-
#: includes/settings-page.php:
|
250 |
msgid "Include Meta Author tag"
|
251 |
msgstr "Incluir a tag \"Meta Author\""
|
252 |
|
253 |
-
#: includes/settings-page.php:
|
254 |
msgid "Sets the article author name"
|
255 |
msgstr "Define o nome do autor do artigo"
|
256 |
|
257 |
-
#: includes/settings-page.php:
|
258 |
msgid "Include Google+ link rel \"author\" tag"
|
259 |
msgstr "Incluir tag \"Google+ link rel author\""
|
260 |
|
261 |
-
#: includes/settings-page.php:
|
262 |
msgid ""
|
263 |
"Links the article to the author Google+ Profile (authorship). The user's "
|
264 |
"Google+ profile URL must be filled in."
|
@@ -266,11 +287,11 @@ msgstr ""
|
|
266 |
"Associa o artigo ao perfil Google+ do autor do mesmo. O URL de Perfil Google"
|
267 |
"+ do utilizador tem de estar preenchido."
|
268 |
|
269 |
-
#: includes/settings-page.php:
|
270 |
msgid "Include Twitter Card Creator tag"
|
271 |
msgstr "Incluir tag Autor do \"Twitter Card\""
|
272 |
|
273 |
-
#: includes/settings-page.php:
|
274 |
msgid ""
|
275 |
"Links the article to the author Twitter profile. The user's Twitter user "
|
276 |
"must be filled in."
|
@@ -279,69 +300,69 @@ msgstr ""
|
|
279 |
"tem de estar preenchido."
|
280 |
|
281 |
# @ wd-fb-og
|
282 |
-
#: includes/settings-page.php:
|
283 |
msgid "Include Description (og:description) tag"
|
284 |
msgstr "Incluir tag Descrição (og:description)"
|
285 |
|
286 |
# @ wd-fb-og
|
287 |
-
#: includes/settings-page.php:
|
288 |
msgid "Include Meta Description tag"
|
289 |
msgstr "Incluir a tag \"Meta Description\""
|
290 |
|
291 |
# @ wd-fb-og
|
292 |
-
#: includes/settings-page.php:
|
293 |
msgid "Recommended for SEO purposes if no other plugin is setting it already"
|
294 |
msgstr ""
|
295 |
"Recomendado para efeitos de Optimização para Motores de Busca, se outro "
|
296 |
"plugin ainda não a está a definir"
|
297 |
|
298 |
# @ wd-fb-og
|
299 |
-
#: includes/settings-page.php:
|
300 |
msgid "Include Schema.org \"itemprop\" Description tag"
|
301 |
msgstr "Incluir a tag \"itemprop Description\" do Schema.org"
|
302 |
|
303 |
# @ wd-fb-og
|
304 |
-
#: includes/settings-page.php:
|
305 |
msgid "Include Twitter Card Description tag"
|
306 |
msgstr "Incluir tag Descrição do \"Twitter Card\""
|
307 |
|
308 |
# @ wd-fb-og
|
309 |
-
#: includes/settings-page.php:
|
310 |
msgid "Description maximum length"
|
311 |
msgstr "Comprimento máximo da descrição"
|
312 |
|
313 |
# @ wd-fb-og
|
314 |
-
#: includes/settings-page.php:
|
315 |
msgid "0 or blank for no maximum length"
|
316 |
msgstr "0 ou em branco para não definir máximo"
|
317 |
|
318 |
# @ wd-fb-og
|
319 |
-
#: includes/settings-page.php:
|
320 |
msgid "Homepage description"
|
321 |
msgstr "Descrição da página inicial"
|
322 |
|
323 |
# @ wd-fb-og
|
324 |
-
#: includes/settings-page.php:
|
325 |
msgid "The description of your front page:"
|
326 |
msgstr "A descrição da sua página inicial:"
|
327 |
|
328 |
# @ wd-fb-og
|
329 |
-
#: includes/settings-page.php:
|
330 |
msgid "Website tagline"
|
331 |
msgstr "Descrição do site"
|
332 |
|
333 |
# @ wd-fb-og
|
334 |
-
#: includes/settings-page.php:
|
335 |
msgid "Custom text"
|
336 |
msgstr "Texto personalizado"
|
337 |
|
338 |
# @ wd-fb-og
|
339 |
-
#: includes/settings-page.php:
|
340 |
msgid "Include Image (og:image) tag"
|
341 |
msgstr "Incluir tag Imagem (og:image)"
|
342 |
|
343 |
# @ wd-fb-og
|
344 |
-
#: includes/settings-page.php:
|
345 |
msgid ""
|
346 |
"All images MUST have at least 200px on both dimensions in order to Facebook "
|
347 |
"to load them at all.<br/>1200x630px for optimal results.<br/>Minimum of "
|
@@ -352,43 +373,43 @@ msgstr ""
|
|
352 |
"mínimo de 600x315px é recomendado."
|
353 |
|
354 |
# @ wd-fb-og
|
355 |
-
#: includes/settings-page.php:
|
356 |
msgid "Include Schema.org \"itemprop\" Image tag"
|
357 |
msgstr "Incluir a tag \"itemprop Image\" do Schema.org"
|
358 |
|
359 |
# @ wd-fb-og
|
360 |
-
#: includes/settings-page.php:
|
361 |
msgid "Include Twitter Card Image tag"
|
362 |
msgstr "Incluir tag Imagem do \"Twitter Card\""
|
363 |
|
364 |
# @ wd-fb-og
|
365 |
-
#: includes/settings-page.php:
|
366 |
msgid "Default image"
|
367 |
msgstr "Imagem por omissão"
|
368 |
|
369 |
# @ wd-fb-og
|
370 |
-
#: includes/settings-page.php:
|
371 |
msgid "Recommended size: 1200x630px"
|
372 |
msgstr "Tamanho recomendado: 1200x630px"
|
373 |
|
374 |
# @ wd-fb-og
|
375 |
-
#: includes/settings-page.php:
|
376 |
msgid "Add image to RSS/RSS2 feeds"
|
377 |
msgstr "Incluir a imagem aos feeds RSS/RSS2"
|
378 |
|
379 |
# @ wd-fb-og
|
380 |
-
#: includes/settings-page.php:
|
381 |
msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
|
382 |
msgstr ""
|
383 |
"Para aplicação de posts automáticos como o RSS Graffitti, twitterfeed, etc..."
|
384 |
|
385 |
# @ wd-fb-og
|
386 |
-
#: includes/settings-page.php:
|
387 |
msgid "On posts/pages"
|
388 |
msgstr "Nos artigos/páginas"
|
389 |
|
390 |
# @ wd-fb-og
|
391 |
-
#: includes/settings-page.php:
|
392 |
msgid ""
|
393 |
"Image will be fetched from the specific \"Open Graph Image\" custom field on "
|
394 |
"the post"
|
@@ -397,7 +418,7 @@ msgstr ""
|
|
397 |
"no artigo"
|
398 |
|
399 |
# @ wd-fb-og
|
400 |
-
#: includes/settings-page.php:
|
401 |
msgid ""
|
402 |
"If it's not set, image will be fetched from post/page featured/thumbnail "
|
403 |
"picture"
|
@@ -406,30 +427,30 @@ msgstr ""
|
|
406 |
"página"
|
407 |
|
408 |
# @ wd-fb-og
|
409 |
-
#: includes/settings-page.php:
|
410 |
msgid "If it doesn't exist, use the first image from the post/page content"
|
411 |
msgstr ""
|
412 |
"Se não existir, será utilizada a primeira imagem no conteúdo do artigo/página"
|
413 |
|
414 |
# @ wd-fb-og
|
415 |
-
#: includes/settings-page.php:
|
416 |
msgid "If it doesn't exist, use first image from the post/page media gallery"
|
417 |
msgstr ""
|
418 |
"Se não existir, será usada a primeira imagem na galeria multimédia do artigo/"
|
419 |
"página"
|
420 |
|
421 |
# @ wd-fb-og
|
422 |
-
#: includes/settings-page.php:
|
423 |
msgid "If it doesn't exist, use the default image above"
|
424 |
msgstr "Se não existir, utilizar a imagem por omissão em cima"
|
425 |
|
426 |
# @ wd-fb-og
|
427 |
-
#: includes/settings-page.php:
|
428 |
msgid "3rd Party Integration"
|
429 |
msgstr "Integração com outros plugins"
|
430 |
|
431 |
# @ wd-fb-og
|
432 |
-
#: includes/settings-page.php:
|
433 |
msgid ""
|
434 |
"It's HIGHLY recommended to go to <a href=\"admin.php?page=wpseo_social\" "
|
435 |
"target=\"_blank\">SEO > Social</a> and disable \"Add Open Graph meta data"
|
@@ -441,7 +462,7 @@ msgstr ""
|
|
441 |
"\"Acrescentar metadados Twitter card\" e \"Add Google+ specific post meta "
|
442 |
"data\""
|
443 |
|
444 |
-
#: includes/settings-page.php:
|
445 |
msgid ""
|
446 |
"even if you don't enable integration bellow. You will get duplicate tags if "
|
447 |
"you don't do this."
|
@@ -450,22 +471,22 @@ msgstr ""
|
|
450 |
"fizer."
|
451 |
|
452 |
# @ wd-fb-og
|
453 |
-
#: includes/settings-page.php:
|
454 |
msgid "Use title, url (canonical) and description from WPSEO"
|
455 |
msgstr "Utilizar título, url (canónico) e descrição do WPSEO"
|
456 |
|
457 |
# @ wd-fb-og
|
458 |
-
#: includes/settings-page.php:
|
459 |
msgid "Add SubHeading to Post/Page title"
|
460 |
msgstr "Adicionar \"SubHeading\" ao título do artigo/página"
|
461 |
|
462 |
# @ wd-fb-og
|
463 |
-
#: includes/settings-page.php:
|
464 |
msgid "Use BDP listing contents as OG tags"
|
465 |
msgstr "Utilizar o conteúdo dos anúncios BDP como tags OG"
|
466 |
|
467 |
# @ wd-fb-og
|
468 |
-
#: includes/settings-page.php:
|
469 |
msgid ""
|
470 |
"Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and "
|
471 |
"\"Include Image\" options above is HIGHLY recommended"
|
@@ -475,85 +496,106 @@ msgstr ""
|
|
475 |
"image)\" é ALTAMENTE recomendado"
|
476 |
|
477 |
# @ wd-fb-og
|
478 |
-
#: includes/settings-page.php:
|
479 |
msgid "You don't have any compatible 3rd Party plugin installed/active."
|
480 |
msgstr "Não tem nenhum plugin compatível instalado/activo."
|
481 |
|
482 |
# @ wd-fb-og
|
483 |
-
#: includes/settings-page.php:
|
484 |
msgid "This plugin is currently compatible with:"
|
485 |
msgstr "Este plugin é actualmente compatível com:"
|
486 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
487 |
# @ wd-fb-og
|
488 |
-
#: includes/settings-page.php:
|
489 |
msgid "Test your URLs at Facebook URL Linter / Debugger"
|
490 |
msgstr "Teste os seus URLs no \"Facebook URL Linter / Debugger\""
|
491 |
|
492 |
-
#: includes/settings-page.php:
|
493 |
msgid "Test (and request approval for) your URLs at Twitter Card validator"
|
494 |
msgstr "Teste (e solicite aprovação dos) URLs no \"Twitter Card validator\""
|
495 |
|
496 |
# @ wd-fb-og
|
497 |
-
#: includes/settings-page.php:
|
498 |
msgid "About the Open Graph Protocol (on Facebook)"
|
499 |
msgstr "Sobre o Protocolo Open Graph (no Facebook)"
|
500 |
|
501 |
# @ wd-fb-og
|
502 |
-
#: includes/settings-page.php:
|
503 |
msgid "The Open Graph Protocol (official website)"
|
504 |
msgstr "O Protocolo Open Graph (website oficial)"
|
505 |
|
506 |
-
#: includes/settings-page.php:
|
507 |
msgid "About Twitter Cards"
|
508 |
msgstr "Sobre os \"Twitter Cards\""
|
509 |
|
510 |
# @ wd-fb-og
|
511 |
-
#: includes/settings-page.php:
|
512 |
msgid "Plugin official URL"
|
513 |
msgstr "URL oficial do plugin"
|
514 |
|
515 |
# @ wd-fb-og
|
516 |
-
#: includes/settings-page.php:
|
517 |
msgid "Author's website: Webdados"
|
518 |
msgstr "Website do autor: Webdados"
|
519 |
|
520 |
# @ wd-fb-og
|
521 |
-
#: includes/settings-page.php:
|
522 |
msgid "Author's Facebook page: Webdados"
|
523 |
msgstr "Página Facebook do autor: Webdados"
|
524 |
|
525 |
# @ wd-fb-og
|
526 |
-
#: includes/settings-page.php:
|
527 |
msgid "Author's Twitter account: @Wonderm00n<br/>(Webdados founder)"
|
528 |
msgstr "Conta Twitter do autor: @Wonderm00n<br/>(fundador da Webdados)"
|
529 |
|
530 |
# @ wd-fb-og
|
531 |
-
#: includes/settings-page.php:
|
532 |
msgid "Rate this plugin"
|
533 |
msgstr "Avalie este plugin"
|
534 |
|
535 |
# @ wd-fb-og
|
536 |
-
#: includes/settings-page.php:
|
537 |
msgid "If you like this plugin,"
|
538 |
msgstr "Se gosta deste plugin,"
|
539 |
|
540 |
# @ wd-fb-og
|
541 |
-
#: includes/settings-page.php:
|
542 |
msgid "please give it a high Rating"
|
543 |
msgstr "dê-lhe uma nota elevada"
|
544 |
|
545 |
# @ wd-fb-og
|
546 |
-
#: includes/settings-page.php:
|
547 |
msgid "Useful links"
|
548 |
msgstr "Links úteis"
|
549 |
|
550 |
# @ wd-fb-og
|
551 |
-
#: includes/settings-page.php:
|
552 |
msgid "Donate"
|
553 |
msgstr "Doar"
|
554 |
|
555 |
# @ wd-fb-og
|
556 |
-
#: includes/settings-page.php:
|
557 |
msgid ""
|
558 |
"If you find this plugin useful and want to make a contribution towards "
|
559 |
"future development please consider making a small, or big ;-), donation."
|
@@ -563,34 +605,34 @@ msgstr ""
|
|
563 |
"doação."
|
564 |
|
565 |
# @ wd-fb-og
|
566 |
-
#: wonderm00n-open-graph.php:
|
567 |
msgid "Use this image:"
|
568 |
msgstr "Utilizar esta imagem:"
|
569 |
|
570 |
# @ wd-fb-og
|
571 |
-
#: wonderm00n-open-graph.php:
|
572 |
msgid "Upload/Choose Open Graph Image"
|
573 |
msgstr "Carregar/Escolher Imagem Open Graph"
|
574 |
|
575 |
# @ wd-fb-og
|
576 |
-
#: wonderm00n-open-graph.php:
|
577 |
msgid "Clear field"
|
578 |
msgstr "Limpar campo"
|
579 |
|
580 |
# @ wd-fb-og
|
581 |
-
#: wonderm00n-open-graph.php:
|
582 |
msgid "Use as Image Open Graph Tag"
|
583 |
msgstr "Utilizar como Imagem Open Graph"
|
584 |
|
585 |
-
#: wonderm00n-open-graph.php:
|
586 |
msgid "Google+"
|
587 |
msgstr "Google+"
|
588 |
|
589 |
-
#: wonderm00n-open-graph.php:
|
590 |
msgid "Facebook profile URL"
|
591 |
msgstr "URL de Perfil Facebook"
|
592 |
|
593 |
-
#: wonderm00n-open-graph.php:
|
594 |
msgid ""
|
595 |
"Please ignore the (dumb) Yoast WordPress SEO warning regarding open graph "
|
596 |
"issues with this plugin. Just disable WPSEO Social settings at"
|
@@ -599,7 +641,7 @@ msgstr ""
|
|
599 |
"problemas \"open graph\" com este plugin. Simplesmente inactive as "
|
600 |
"definições Social do WPSEO em"
|
601 |
|
602 |
-
#: wonderm00n-open-graph.php:
|
603 |
msgid "SEO > Social"
|
604 |
msgstr "SEO > Social"
|
605 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Facebook Open Graph Meta Tags for WordPress v1.4\n"
|
4 |
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wonderm00ns-simple-"
|
5 |
"facebook-open-graph-tags\n"
|
6 |
+
"POT-Creation-Date: 2014-12-09 18:22:50+00:00\n"
|
7 |
+
"PO-Revision-Date: 2014-12-09 18:31-0000\n"
|
8 |
"Last-Translator: Wonderm00n <wonderm00n@gmail.com>\n"
|
9 |
"Language-Team: Webdados <info@webdados.pt>\n"
|
10 |
"Language: pt_PT\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
+
"X-Generator: Poedit 1.6.10\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
18 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
|
23 |
# @ wd-fb-og
|
24 |
+
#: includes/settings-page.php:81
|
25 |
msgid ""
|
26 |
"Please set some default values and which tags should, or should not, be "
|
27 |
"included. It may be necessary to exclude some tags if other plugins are "
|
32 |
"estão a incluir."
|
33 |
|
34 |
# @ wd-fb-og
|
35 |
+
#: includes/settings-page.php:96
|
36 |
msgid "Include Facebook Platform App ID (fb:app_id) tag"
|
37 |
msgstr "Incluir tag \"Facebook Platform App ID\" (fb:app_id)"
|
38 |
|
39 |
# @ wd-fb-og
|
40 |
+
#: includes/settings-page.php:102
|
41 |
msgid "Facebook Platform App ID"
|
42 |
msgstr "Facebook Platform App ID"
|
43 |
|
44 |
# @ wd-fb-og
|
45 |
+
#: includes/settings-page.php:111
|
46 |
msgid "Include Facebook Admin(s) ID (fb:admins) tag"
|
47 |
msgstr "Incluir tag com ID dos admin de Facebook (fb:admins)"
|
48 |
|
49 |
# @ wd-fb-og
|
50 |
+
#: includes/settings-page.php:117
|
51 |
msgid "Facebook Admin(s) ID"
|
52 |
msgstr "ID do(s) Admin(s) no Facebook"
|
53 |
|
54 |
# @ wd-fb-og
|
55 |
+
#: includes/settings-page.php:121
|
56 |
msgid "Comma separated if more than one"
|
57 |
msgstr "Separados por vírgulas se mais do que um"
|
58 |
|
59 |
# @ wd-fb-og
|
60 |
+
#: includes/settings-page.php:128
|
61 |
msgid "Include locale (fb:locale) tag"
|
62 |
msgstr "Incluir tag \"Locale\" (fb:locale)"
|
63 |
|
64 |
# @ wd-fb-og
|
65 |
+
#: includes/settings-page.php:134
|
66 |
msgid "Locale"
|
67 |
msgstr "Locale"
|
68 |
|
69 |
# @ wd-fb-og
|
70 |
+
#: includes/settings-page.php:137
|
71 |
msgid "WordPress current locale/language"
|
72 |
msgstr "O \"locale\"/idíoma actual do WordPress"
|
73 |
|
74 |
# @ wd-fb-og
|
75 |
+
#: includes/settings-page.php:188
|
76 |
msgid "List loaded from Facebook (online)"
|
77 |
msgstr "Lista carregada do Facebook (online)"
|
78 |
|
79 |
# @ wd-fb-og
|
80 |
+
#: includes/settings-page.php:191
|
81 |
msgid "List loaded from local cache (offline)"
|
82 |
msgstr "Lista carregada da cache local (offline)"
|
83 |
|
84 |
# @ wd-fb-og
|
85 |
+
#: includes/settings-page.php:191
|
86 |
msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
|
87 |
msgstr ""
|
88 |
"Vai perder quaisquer modificações que não tenha gravado. Tem a certeza?"
|
89 |
|
90 |
# @ wd-fb-og
|
91 |
+
#: includes/settings-page.php:191
|
92 |
msgid "Reload from Facebook"
|
93 |
msgstr "(Re)carregar a partir do Facebook"
|
94 |
|
95 |
# @ wd-fb-og
|
96 |
+
#: includes/settings-page.php:193
|
97 |
msgid "List not loaded"
|
98 |
msgstr "Lista não carregada"
|
99 |
|
100 |
# @ wd-fb-og
|
101 |
+
#: includes/settings-page.php:203
|
102 |
msgid "Include Site Name (og:site_name) tag"
|
103 |
msgstr "Incluir tag Nome do site (og:site_name)"
|
104 |
|
105 |
# @ wd-fb-og
|
106 |
+
#: includes/settings-page.php:212
|
107 |
msgid "Include Post/Page title (og:title) tag"
|
108 |
msgstr "Incluir tag Título do artigo/página (og:title)"
|
109 |
|
110 |
# @ wd-fb-og
|
111 |
+
#: includes/settings-page.php:218
|
112 |
msgid "Include Schema.org \"itemprop\" Name tag"
|
113 |
msgstr "Incluir a tag \"itemprop Name\" do Schema.org"
|
114 |
|
115 |
# @ wd-fb-og
|
116 |
+
#: includes/settings-page.php:224 includes/settings-page.php:431
|
117 |
+
#: includes/settings-page.php:491
|
118 |
msgid ""
|
119 |
"Recommended for Google+ sharing purposes if no other plugin is setting it "
|
120 |
"already"
|
123 |
"está a definir"
|
124 |
|
125 |
# @ wd-fb-og
|
126 |
+
#: includes/settings-page.php:228
|
127 |
msgid "Include Twitter Card Title tag"
|
128 |
msgstr "Incluir tag Título do \"Twitter Card\""
|
129 |
|
130 |
# @ wd-fb-og
|
131 |
+
#: includes/settings-page.php:234 includes/settings-page.php:441
|
132 |
+
#: includes/settings-page.php:501
|
133 |
msgid ""
|
134 |
"Recommended for Twitter sharing purposes if no other plugin is setting it "
|
135 |
"already"
|
138 |
"está a definir"
|
139 |
|
140 |
# @ wd-fb-og
|
141 |
+
#: includes/settings-page.php:241
|
142 |
msgid "Include URL (og:url) tag"
|
143 |
msgstr "Incluir tag URL (og:url)"
|
144 |
|
145 |
+
#: includes/settings-page.php:247
|
146 |
msgid "Include Twitter Card URL tag"
|
147 |
msgstr "Incluir tag URL do \"Twitter Card\""
|
148 |
|
149 |
# @ wd-fb-og
|
150 |
+
#: includes/settings-page.php:253
|
151 |
msgid "Add trailing slash at the end"
|
152 |
msgstr "Adicionar barra invertida no final"
|
153 |
|
154 |
# @ wd-fb-og
|
155 |
+
#: includes/settings-page.php:257
|
156 |
msgid "On the homepage will be"
|
157 |
msgstr "Na página inicial será"
|
158 |
|
159 |
# @ wd-fb-og
|
160 |
+
#: includes/settings-page.php:261
|
161 |
msgid "Set Canonical URL"
|
162 |
msgstr "Incluir a tag URL Canónico"
|
163 |
|
164 |
# @ wd-fb-og
|
165 |
+
#: includes/settings-page.php:272
|
166 |
msgid "Include Type (og:type) tag"
|
167 |
msgstr "Incluir tag Tipo (og:type)"
|
168 |
|
169 |
# @ wd-fb-og
|
170 |
+
#: includes/settings-page.php:276
|
171 |
msgid ""
|
172 |
"Will be \"%1$s\" for posts and pages and \"%2$s\" or \"%3$s\"; for the "
|
173 |
"homepage"
|
176 |
"inicial"
|
177 |
|
178 |
# @ wd-fb-og
|
179 |
+
#: includes/settings-page.php:280
|
180 |
msgid "Homepage type"
|
181 |
msgstr "Tipo para a página inicial"
|
182 |
|
183 |
# @ wd-fb-og
|
184 |
+
#: includes/settings-page.php:282 includes/settings-page.php:462
|
185 |
msgid "Use"
|
186 |
msgstr "Utilizar"
|
187 |
|
188 |
+
#: includes/settings-page.php:293
|
189 |
+
msgid ""
|
190 |
+
"Include published and modified dates (article:published_time, article:"
|
191 |
+
"modified_time and og:updated_time) tags"
|
192 |
+
msgstr ""
|
193 |
+
"Incluir tags com datas de publicação e modificação (article:published_time, "
|
194 |
+
"article:modified_time e og:updated_time)"
|
195 |
+
|
196 |
+
#: includes/settings-page.php:297 includes/settings-page.php:308
|
197 |
+
msgid "Works for posts only"
|
198 |
+
msgstr "Funciona apenas para \"artigos\" (posts)"
|
199 |
+
|
200 |
# @ wd-fb-og
|
201 |
+
#: includes/settings-page.php:304
|
202 |
+
msgid "Include article section (article:section) tags"
|
203 |
+
msgstr "Incluir tags Secção do artigo (article:section)"
|
204 |
+
|
205 |
+
#: includes/settings-page.php:308
|
206 |
+
msgid "from the categories"
|
207 |
+
msgstr "a partir das categorias"
|
208 |
+
|
209 |
+
# @ wd-fb-og
|
210 |
+
#: includes/settings-page.php:315
|
211 |
msgid "Include Publisher Page (article:publisher) tag"
|
212 |
msgstr "Incluir tag \"Publisher\" (article:publisher)"
|
213 |
|
214 |
+
#: includes/settings-page.php:319
|
215 |
msgid "Links the website to the publisher Facebook Page."
|
216 |
msgstr "Associa o website à Página Facebook do mesmo"
|
217 |
|
218 |
+
#: includes/settings-page.php:323
|
219 |
msgid "Website's Facebook Page"
|
220 |
msgstr "Página de Facebook do Website"
|
221 |
|
222 |
# @ wd-fb-og
|
223 |
+
#: includes/settings-page.php:327 includes/settings-page.php:343
|
224 |
+
#: includes/settings-page.php:510
|
225 |
msgid "Full URL with http://"
|
226 |
msgstr "URL completo com http://"
|
227 |
|
228 |
+
#: includes/settings-page.php:331
|
229 |
msgid "Include Google+ \"publisher\" tag"
|
230 |
msgstr "Incluir tag \"Google+ publisher\""
|
231 |
|
232 |
+
#: includes/settings-page.php:335
|
233 |
msgid "Links the website to the publisher Google+ Page."
|
234 |
msgstr "Associa o website à Página Google+ do mesmo"
|
235 |
|
236 |
+
#: includes/settings-page.php:339
|
237 |
msgid "Website's Google+ Page"
|
238 |
msgstr "Página Google+ do Website"
|
239 |
|
240 |
# @ wd-fb-og
|
241 |
+
#: includes/settings-page.php:347
|
242 |
msgid "Include Twitter Card Website Username tag"
|
243 |
msgstr "Incluir tag Username Twitter do Website do \"Twitter Card\""
|
244 |
|
245 |
+
#: includes/settings-page.php:351
|
246 |
msgid "Links the website to the publisher Twitter Username."
|
247 |
msgstr "Associa o website ao Username Twitter do mesmo"
|
248 |
|
249 |
+
#: includes/settings-page.php:355
|
250 |
msgid "Website's Twitter Username"
|
251 |
msgstr "Utilizador Twitter do Website"
|
252 |
|
253 |
+
#: includes/settings-page.php:359 wonderm00n-open-graph.php:828
|
254 |
msgid "Twitter username (without @)"
|
255 |
msgstr "Utilizador do Twitter (sem @)"
|
256 |
|
257 |
+
#: includes/settings-page.php:367
|
258 |
msgid "Include Author Profile (article:author) tag"
|
259 |
msgstr "Incluir tag \"Autor do artigo\" (article:author)"
|
260 |
|
261 |
+
#: includes/settings-page.php:371
|
262 |
msgid ""
|
263 |
"Links the article to the author Facebook Profile. The user's Facebook "
|
264 |
"profile URL must be filled in."
|
267 |
"Facebook do utilizador tem de estar preenchido."
|
268 |
|
269 |
# @ wd-fb-og
|
270 |
+
#: includes/settings-page.php:375
|
271 |
msgid "Include Meta Author tag"
|
272 |
msgstr "Incluir a tag \"Meta Author\""
|
273 |
|
274 |
+
#: includes/settings-page.php:381
|
275 |
msgid "Sets the article author name"
|
276 |
msgstr "Define o nome do autor do artigo"
|
277 |
|
278 |
+
#: includes/settings-page.php:385
|
279 |
msgid "Include Google+ link rel \"author\" tag"
|
280 |
msgstr "Incluir tag \"Google+ link rel author\""
|
281 |
|
282 |
+
#: includes/settings-page.php:391
|
283 |
msgid ""
|
284 |
"Links the article to the author Google+ Profile (authorship). The user's "
|
285 |
"Google+ profile URL must be filled in."
|
287 |
"Associa o artigo ao perfil Google+ do autor do mesmo. O URL de Perfil Google"
|
288 |
"+ do utilizador tem de estar preenchido."
|
289 |
|
290 |
+
#: includes/settings-page.php:395
|
291 |
msgid "Include Twitter Card Creator tag"
|
292 |
msgstr "Incluir tag Autor do \"Twitter Card\""
|
293 |
|
294 |
+
#: includes/settings-page.php:401
|
295 |
msgid ""
|
296 |
"Links the article to the author Twitter profile. The user's Twitter user "
|
297 |
"must be filled in."
|
300 |
"tem de estar preenchido."
|
301 |
|
302 |
# @ wd-fb-og
|
303 |
+
#: includes/settings-page.php:409
|
304 |
msgid "Include Description (og:description) tag"
|
305 |
msgstr "Incluir tag Descrição (og:description)"
|
306 |
|
307 |
# @ wd-fb-og
|
308 |
+
#: includes/settings-page.php:415
|
309 |
msgid "Include Meta Description tag"
|
310 |
msgstr "Incluir a tag \"Meta Description\""
|
311 |
|
312 |
# @ wd-fb-og
|
313 |
+
#: includes/settings-page.php:421
|
314 |
msgid "Recommended for SEO purposes if no other plugin is setting it already"
|
315 |
msgstr ""
|
316 |
"Recomendado para efeitos de Optimização para Motores de Busca, se outro "
|
317 |
"plugin ainda não a está a definir"
|
318 |
|
319 |
# @ wd-fb-og
|
320 |
+
#: includes/settings-page.php:425
|
321 |
msgid "Include Schema.org \"itemprop\" Description tag"
|
322 |
msgstr "Incluir a tag \"itemprop Description\" do Schema.org"
|
323 |
|
324 |
# @ wd-fb-og
|
325 |
+
#: includes/settings-page.php:435
|
326 |
msgid "Include Twitter Card Description tag"
|
327 |
msgstr "Incluir tag Descrição do \"Twitter Card\""
|
328 |
|
329 |
# @ wd-fb-og
|
330 |
+
#: includes/settings-page.php:445
|
331 |
msgid "Description maximum length"
|
332 |
msgstr "Comprimento máximo da descrição"
|
333 |
|
334 |
# @ wd-fb-og
|
335 |
+
#: includes/settings-page.php:449
|
336 |
msgid "0 or blank for no maximum length"
|
337 |
msgstr "0 ou em branco para não definir máximo"
|
338 |
|
339 |
# @ wd-fb-og
|
340 |
+
#: includes/settings-page.php:453
|
341 |
msgid "Homepage description"
|
342 |
msgstr "Descrição da página inicial"
|
343 |
|
344 |
# @ wd-fb-og
|
345 |
+
#: includes/settings-page.php:459
|
346 |
msgid "The description of your front page:"
|
347 |
msgstr "A descrição da sua página inicial:"
|
348 |
|
349 |
# @ wd-fb-og
|
350 |
+
#: includes/settings-page.php:464
|
351 |
msgid "Website tagline"
|
352 |
msgstr "Descrição do site"
|
353 |
|
354 |
# @ wd-fb-og
|
355 |
+
#: includes/settings-page.php:465
|
356 |
msgid "Custom text"
|
357 |
msgstr "Texto personalizado"
|
358 |
|
359 |
# @ wd-fb-og
|
360 |
+
#: includes/settings-page.php:477
|
361 |
msgid "Include Image (og:image) tag"
|
362 |
msgstr "Incluir tag Imagem (og:image)"
|
363 |
|
364 |
# @ wd-fb-og
|
365 |
+
#: includes/settings-page.php:481
|
366 |
msgid ""
|
367 |
"All images MUST have at least 200px on both dimensions in order to Facebook "
|
368 |
"to load them at all.<br/>1200x630px for optimal results.<br/>Minimum of "
|
373 |
"mínimo de 600x315px é recomendado."
|
374 |
|
375 |
# @ wd-fb-og
|
376 |
+
#: includes/settings-page.php:485
|
377 |
msgid "Include Schema.org \"itemprop\" Image tag"
|
378 |
msgstr "Incluir a tag \"itemprop Image\" do Schema.org"
|
379 |
|
380 |
# @ wd-fb-og
|
381 |
+
#: includes/settings-page.php:495
|
382 |
msgid "Include Twitter Card Image tag"
|
383 |
msgstr "Incluir tag Imagem do \"Twitter Card\""
|
384 |
|
385 |
# @ wd-fb-og
|
386 |
+
#: includes/settings-page.php:505
|
387 |
msgid "Default image"
|
388 |
msgstr "Imagem por omissão"
|
389 |
|
390 |
# @ wd-fb-og
|
391 |
+
#: includes/settings-page.php:512 wonderm00n-open-graph.php:725
|
392 |
msgid "Recommended size: 1200x630px"
|
393 |
msgstr "Tamanho recomendado: 1200x630px"
|
394 |
|
395 |
# @ wd-fb-og
|
396 |
+
#: includes/settings-page.php:516
|
397 |
msgid "Add image to RSS/RSS2 feeds"
|
398 |
msgstr "Incluir a imagem aos feeds RSS/RSS2"
|
399 |
|
400 |
# @ wd-fb-og
|
401 |
+
#: includes/settings-page.php:520
|
402 |
msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
|
403 |
msgstr ""
|
404 |
"Para aplicação de posts automáticos como o RSS Graffitti, twitterfeed, etc..."
|
405 |
|
406 |
# @ wd-fb-og
|
407 |
+
#: includes/settings-page.php:524
|
408 |
msgid "On posts/pages"
|
409 |
msgstr "Nos artigos/páginas"
|
410 |
|
411 |
# @ wd-fb-og
|
412 |
+
#: includes/settings-page.php:528
|
413 |
msgid ""
|
414 |
"Image will be fetched from the specific \"Open Graph Image\" custom field on "
|
415 |
"the post"
|
418 |
"no artigo"
|
419 |
|
420 |
# @ wd-fb-og
|
421 |
+
#: includes/settings-page.php:532
|
422 |
msgid ""
|
423 |
"If it's not set, image will be fetched from post/page featured/thumbnail "
|
424 |
"picture"
|
427 |
"página"
|
428 |
|
429 |
# @ wd-fb-og
|
430 |
+
#: includes/settings-page.php:536
|
431 |
msgid "If it doesn't exist, use the first image from the post/page content"
|
432 |
msgstr ""
|
433 |
"Se não existir, será utilizada a primeira imagem no conteúdo do artigo/página"
|
434 |
|
435 |
# @ wd-fb-og
|
436 |
+
#: includes/settings-page.php:540
|
437 |
msgid "If it doesn't exist, use first image from the post/page media gallery"
|
438 |
msgstr ""
|
439 |
"Se não existir, será usada a primeira imagem na galeria multimédia do artigo/"
|
440 |
"página"
|
441 |
|
442 |
# @ wd-fb-og
|
443 |
+
#: includes/settings-page.php:544
|
444 |
msgid "If it doesn't exist, use the default image above"
|
445 |
msgstr "Se não existir, utilizar a imagem por omissão em cima"
|
446 |
|
447 |
# @ wd-fb-og
|
448 |
+
#: includes/settings-page.php:553
|
449 |
msgid "3rd Party Integration"
|
450 |
msgstr "Integração com outros plugins"
|
451 |
|
452 |
# @ wd-fb-og
|
453 |
+
#: includes/settings-page.php:564
|
454 |
msgid ""
|
455 |
"It's HIGHLY recommended to go to <a href=\"admin.php?page=wpseo_social\" "
|
456 |
"target=\"_blank\">SEO > Social</a> and disable \"Add Open Graph meta data"
|
462 |
"\"Acrescentar metadados Twitter card\" e \"Add Google+ specific post meta "
|
463 |
"data\""
|
464 |
|
465 |
+
#: includes/settings-page.php:564
|
466 |
msgid ""
|
467 |
"even if you don't enable integration bellow. You will get duplicate tags if "
|
468 |
"you don't do this."
|
471 |
"fizer."
|
472 |
|
473 |
# @ wd-fb-og
|
474 |
+
#: includes/settings-page.php:567
|
475 |
msgid "Use title, url (canonical) and description from WPSEO"
|
476 |
msgstr "Utilizar título, url (canónico) e descrição do WPSEO"
|
477 |
|
478 |
# @ wd-fb-og
|
479 |
+
#: includes/settings-page.php:583
|
480 |
msgid "Add SubHeading to Post/Page title"
|
481 |
msgstr "Adicionar \"SubHeading\" ao título do artigo/página"
|
482 |
|
483 |
# @ wd-fb-og
|
484 |
+
#: includes/settings-page.php:599
|
485 |
msgid "Use BDP listing contents as OG tags"
|
486 |
msgstr "Utilizar o conteúdo dos anúncios BDP como tags OG"
|
487 |
|
488 |
# @ wd-fb-og
|
489 |
+
#: includes/settings-page.php:603
|
490 |
msgid ""
|
491 |
"Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and "
|
492 |
"\"Include Image\" options above is HIGHLY recommended"
|
496 |
"image)\" é ALTAMENTE recomendado"
|
497 |
|
498 |
# @ wd-fb-og
|
499 |
+
#: includes/settings-page.php:611
|
500 |
msgid "You don't have any compatible 3rd Party plugin installed/active."
|
501 |
msgstr "Não tem nenhum plugin compatível instalado/activo."
|
502 |
|
503 |
# @ wd-fb-og
|
504 |
+
#: includes/settings-page.php:612
|
505 |
msgid "This plugin is currently compatible with:"
|
506 |
msgstr "Este plugin é actualmente compatível com:"
|
507 |
|
508 |
+
#: includes/settings-page.php:625
|
509 |
+
msgid "Advanced settings"
|
510 |
+
msgstr "Definições avançadas"
|
511 |
+
|
512 |
+
#: includes/settings-page.php:627
|
513 |
+
msgid "Don't mess with this unless you know what you're doing"
|
514 |
+
msgstr "Não mexer nestas configurações se não souber o que está a fazer"
|
515 |
+
|
516 |
+
#: includes/settings-page.php:630
|
517 |
+
msgid "Force getimagesize on local file even if allow_url_fopen=1"
|
518 |
+
msgstr ""
|
519 |
+
"Forçar o \"getimagesize\" no ficheiro local mesmo que allow_url_fopen=1"
|
520 |
+
|
521 |
+
#: includes/settings-page.php:634
|
522 |
+
msgid ""
|
523 |
+
"May cause problems with some multisite configurations but fix \"HTTP request "
|
524 |
+
"failed\" errors"
|
525 |
+
msgstr ""
|
526 |
+
"Pode causar problemas com algumas configurações \"multisite\" mas corrige "
|
527 |
+
"erros \"HTTP request failed\""
|
528 |
+
|
529 |
# @ wd-fb-og
|
530 |
+
#: includes/settings-page.php:651
|
531 |
msgid "Test your URLs at Facebook URL Linter / Debugger"
|
532 |
msgstr "Teste os seus URLs no \"Facebook URL Linter / Debugger\""
|
533 |
|
534 |
+
#: includes/settings-page.php:654
|
535 |
msgid "Test (and request approval for) your URLs at Twitter Card validator"
|
536 |
msgstr "Teste (e solicite aprovação dos) URLs no \"Twitter Card validator\""
|
537 |
|
538 |
# @ wd-fb-og
|
539 |
+
#: includes/settings-page.php:657
|
540 |
msgid "About the Open Graph Protocol (on Facebook)"
|
541 |
msgstr "Sobre o Protocolo Open Graph (no Facebook)"
|
542 |
|
543 |
# @ wd-fb-og
|
544 |
+
#: includes/settings-page.php:660
|
545 |
msgid "The Open Graph Protocol (official website)"
|
546 |
msgstr "O Protocolo Open Graph (website oficial)"
|
547 |
|
548 |
+
#: includes/settings-page.php:663
|
549 |
msgid "About Twitter Cards"
|
550 |
msgstr "Sobre os \"Twitter Cards\""
|
551 |
|
552 |
# @ wd-fb-og
|
553 |
+
#: includes/settings-page.php:666
|
554 |
msgid "Plugin official URL"
|
555 |
msgstr "URL oficial do plugin"
|
556 |
|
557 |
# @ wd-fb-og
|
558 |
+
#: includes/settings-page.php:669
|
559 |
msgid "Author's website: Webdados"
|
560 |
msgstr "Website do autor: Webdados"
|
561 |
|
562 |
# @ wd-fb-og
|
563 |
+
#: includes/settings-page.php:672
|
564 |
msgid "Author's Facebook page: Webdados"
|
565 |
msgstr "Página Facebook do autor: Webdados"
|
566 |
|
567 |
# @ wd-fb-og
|
568 |
+
#: includes/settings-page.php:675
|
569 |
msgid "Author's Twitter account: @Wonderm00n<br/>(Webdados founder)"
|
570 |
msgstr "Conta Twitter do autor: @Wonderm00n<br/>(fundador da Webdados)"
|
571 |
|
572 |
# @ wd-fb-og
|
573 |
+
#: includes/settings-page.php:682
|
574 |
msgid "Rate this plugin"
|
575 |
msgstr "Avalie este plugin"
|
576 |
|
577 |
# @ wd-fb-og
|
578 |
+
#: includes/settings-page.php:684
|
579 |
msgid "If you like this plugin,"
|
580 |
msgstr "Se gosta deste plugin,"
|
581 |
|
582 |
# @ wd-fb-og
|
583 |
+
#: includes/settings-page.php:684
|
584 |
msgid "please give it a high Rating"
|
585 |
msgstr "dê-lhe uma nota elevada"
|
586 |
|
587 |
# @ wd-fb-og
|
588 |
+
#: includes/settings-page.php:691
|
589 |
msgid "Useful links"
|
590 |
msgstr "Links úteis"
|
591 |
|
592 |
# @ wd-fb-og
|
593 |
+
#: includes/settings-page.php:704
|
594 |
msgid "Donate"
|
595 |
msgstr "Doar"
|
596 |
|
597 |
# @ wd-fb-og
|
598 |
+
#: includes/settings-page.php:706
|
599 |
msgid ""
|
600 |
"If you find this plugin useful and want to make a contribution towards "
|
601 |
"future development please consider making a small, or big ;-), donation."
|
605 |
"doação."
|
606 |
|
607 |
# @ wd-fb-og
|
608 |
+
#: wonderm00n-open-graph.php:720
|
609 |
msgid "Use this image:"
|
610 |
msgstr "Utilizar esta imagem:"
|
611 |
|
612 |
# @ wd-fb-og
|
613 |
+
#: wonderm00n-open-graph.php:723
|
614 |
msgid "Upload/Choose Open Graph Image"
|
615 |
msgstr "Carregar/Escolher Imagem Open Graph"
|
616 |
|
617 |
# @ wd-fb-og
|
618 |
+
#: wonderm00n-open-graph.php:724
|
619 |
msgid "Clear field"
|
620 |
msgstr "Limpar campo"
|
621 |
|
622 |
# @ wd-fb-og
|
623 |
+
#: wonderm00n-open-graph.php:807
|
624 |
msgid "Use as Image Open Graph Tag"
|
625 |
msgstr "Utilizar como Imagem Open Graph"
|
626 |
|
627 |
+
#: wonderm00n-open-graph.php:826
|
628 |
msgid "Google+"
|
629 |
msgstr "Google+"
|
630 |
|
631 |
+
#: wonderm00n-open-graph.php:830
|
632 |
msgid "Facebook profile URL"
|
633 |
msgstr "URL de Perfil Facebook"
|
634 |
|
635 |
+
#: wonderm00n-open-graph.php:848
|
636 |
msgid ""
|
637 |
"Please ignore the (dumb) Yoast WordPress SEO warning regarding open graph "
|
638 |
"issues with this plugin. Just disable WPSEO Social settings at"
|
641 |
"problemas \"open graph\" com este plugin. Simplesmente inactive as "
|
642 |
"definições Social do WPSEO em"
|
643 |
|
644 |
+
#: wonderm00n-open-graph.php:849
|
645 |
msgid "SEO > Social"
|
646 |
msgstr "SEO > Social"
|
647 |
|
lang/wd-fb-og.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Open Graph, Google+ and Twitter Card Tags package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook Open Graph, Google+ and Twitter Card Tags 1.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wonderm00ns-simple-facebook-open-graph-tags\n"
|
7 |
-
"POT-Creation-Date: 2014-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -12,429 +12,461 @@ msgstr ""
|
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
-
#: includes/settings-page.php:
|
16 |
msgid "Please set some default values and which tags should, or should not, be included. It may be necessary to exclude some tags if other plugins are already including them."
|
17 |
msgstr ""
|
18 |
|
19 |
-
#: includes/settings-page.php:
|
20 |
msgid "Include Facebook Platform App ID (fb:app_id) tag"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: includes/settings-page.php:
|
24 |
msgid "Facebook Platform App ID"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: includes/settings-page.php:
|
28 |
msgid "Include Facebook Admin(s) ID (fb:admins) tag"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: includes/settings-page.php:
|
32 |
msgid "Facebook Admin(s) ID"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: includes/settings-page.php:
|
36 |
msgid "Comma separated if more than one"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: includes/settings-page.php:
|
40 |
msgid "Include locale (fb:locale) tag"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: includes/settings-page.php:
|
44 |
msgid "Locale"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: includes/settings-page.php:
|
48 |
msgid "WordPress current locale/language"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: includes/settings-page.php:
|
52 |
msgid "List loaded from Facebook (online)"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: includes/settings-page.php:
|
56 |
msgid "List loaded from local cache (offline)"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: includes/settings-page.php:
|
60 |
msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: includes/settings-page.php:
|
64 |
msgid "Reload from Facebook"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: includes/settings-page.php:
|
68 |
msgid "List not loaded"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: includes/settings-page.php:
|
72 |
msgid "Include Site Name (og:site_name) tag"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: includes/settings-page.php:
|
76 |
msgid "Include Post/Page title (og:title) tag"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: includes/settings-page.php:
|
80 |
msgid "Include Schema.org \"itemprop\" Name tag"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: includes/settings-page.php:
|
84 |
-
#: includes/settings-page.php:
|
85 |
msgid "Recommended for Google+ sharing purposes if no other plugin is setting it already"
|
86 |
msgstr ""
|
87 |
|
88 |
-
#: includes/settings-page.php:
|
89 |
msgid "Include Twitter Card Title tag"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: includes/settings-page.php:
|
93 |
-
#: includes/settings-page.php:
|
94 |
msgid "Recommended for Twitter sharing purposes if no other plugin is setting it already"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: includes/settings-page.php:
|
98 |
msgid "Include URL (og:url) tag"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: includes/settings-page.php:
|
102 |
msgid "Include Twitter Card URL tag"
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: includes/settings-page.php:
|
106 |
msgid "Add trailing slash at the end"
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: includes/settings-page.php:
|
110 |
msgid "On the homepage will be"
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: includes/settings-page.php:
|
114 |
msgid "Set Canonical URL"
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: includes/settings-page.php:
|
118 |
msgid "Include Type (og:type) tag"
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: includes/settings-page.php:
|
122 |
msgid "Will be \"%1$s\" for posts and pages and \"%2$s\" or \"%3$s\"; for the homepage"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: includes/settings-page.php:
|
126 |
msgid "Homepage type"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: includes/settings-page.php:
|
130 |
msgid "Use"
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: includes/settings-page.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
msgid "Include Publisher Page (article:publisher) tag"
|
135 |
msgstr ""
|
136 |
|
137 |
-
#: includes/settings-page.php:
|
138 |
msgid "Links the website to the publisher Facebook Page."
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: includes/settings-page.php:
|
142 |
msgid "Website's Facebook Page"
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: includes/settings-page.php:
|
146 |
-
#: includes/settings-page.php:
|
147 |
msgid "Full URL with http://"
|
148 |
msgstr ""
|
149 |
|
150 |
-
#: includes/settings-page.php:
|
151 |
msgid "Include Google+ \"publisher\" tag"
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: includes/settings-page.php:
|
155 |
msgid "Links the website to the publisher Google+ Page."
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: includes/settings-page.php:
|
159 |
msgid "Website's Google+ Page"
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: includes/settings-page.php:
|
163 |
msgid "Include Twitter Card Website Username tag"
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: includes/settings-page.php:
|
167 |
msgid "Links the website to the publisher Twitter Username."
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: includes/settings-page.php:
|
171 |
msgid "Website's Twitter Username"
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: includes/settings-page.php:
|
175 |
msgid "Twitter username (without @)"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: includes/settings-page.php:
|
179 |
msgid "Include Author Profile (article:author) tag"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: includes/settings-page.php:
|
183 |
msgid "Links the article to the author Facebook Profile. The user's Facebook profile URL must be filled in."
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: includes/settings-page.php:
|
187 |
msgid "Include Meta Author tag"
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: includes/settings-page.php:
|
191 |
msgid "Sets the article author name"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: includes/settings-page.php:
|
195 |
msgid "Include Google+ link rel \"author\" tag"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: includes/settings-page.php:
|
199 |
msgid "Links the article to the author Google+ Profile (authorship). The user's Google+ profile URL must be filled in."
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: includes/settings-page.php:
|
203 |
msgid "Include Twitter Card Creator tag"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: includes/settings-page.php:
|
207 |
msgid "Links the article to the author Twitter profile. The user's Twitter user must be filled in."
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: includes/settings-page.php:
|
211 |
msgid "Include Description (og:description) tag"
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: includes/settings-page.php:
|
215 |
msgid "Include Meta Description tag"
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: includes/settings-page.php:
|
219 |
msgid "Recommended for SEO purposes if no other plugin is setting it already"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: includes/settings-page.php:
|
223 |
msgid "Include Schema.org \"itemprop\" Description tag"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: includes/settings-page.php:
|
227 |
msgid "Include Twitter Card Description tag"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: includes/settings-page.php:
|
231 |
msgid "Description maximum length"
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: includes/settings-page.php:
|
235 |
msgid "0 or blank for no maximum length"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: includes/settings-page.php:
|
239 |
msgid "Homepage description"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: includes/settings-page.php:
|
243 |
msgid "The description of your front page:"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: includes/settings-page.php:
|
247 |
msgid "Website tagline"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: includes/settings-page.php:
|
251 |
msgid "Custom text"
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: includes/settings-page.php:
|
255 |
msgid "Include Image (og:image) tag"
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: includes/settings-page.php:
|
259 |
msgid "All images MUST have at least 200px on both dimensions in order to Facebook to load them at all.<br/>1200x630px for optimal results.<br/>Minimum of 600x315px is recommended."
|
260 |
msgstr ""
|
261 |
|
262 |
-
#: includes/settings-page.php:
|
263 |
msgid "Include Schema.org \"itemprop\" Image tag"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: includes/settings-page.php:
|
267 |
msgid "Include Twitter Card Image tag"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: includes/settings-page.php:
|
271 |
msgid "Default image"
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: includes/settings-page.php:
|
275 |
msgid "Recommended size: 1200x630px"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: includes/settings-page.php:
|
279 |
msgid "Add image to RSS/RSS2 feeds"
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: includes/settings-page.php:
|
283 |
msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: includes/settings-page.php:
|
287 |
msgid "On posts/pages"
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: includes/settings-page.php:
|
291 |
msgid "Image will be fetched from the specific \"Open Graph Image\" custom field on the post"
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: includes/settings-page.php:
|
295 |
msgid "If it's not set, image will be fetched from post/page featured/thumbnail picture"
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: includes/settings-page.php:
|
299 |
msgid "If it doesn't exist, use the first image from the post/page content"
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: includes/settings-page.php:
|
303 |
msgid "If it doesn't exist, use first image from the post/page media gallery"
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: includes/settings-page.php:
|
307 |
msgid "If it doesn't exist, use the default image above"
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: includes/settings-page.php:
|
311 |
msgid "3rd Party Integration"
|
312 |
msgstr ""
|
313 |
|
314 |
-
#: includes/settings-page.php:
|
315 |
msgid "It's HIGHLY recommended to go to <a href=\"admin.php?page=wpseo_social\" target=\"_blank\">SEO > Social</a> and disable \"Add Open Graph meta data\", \"Add Twitter card meta data\" and \"Add Google+ specific post meta data\""
|
316 |
msgstr ""
|
317 |
|
318 |
-
#: includes/settings-page.php:
|
319 |
msgid "even if you don't enable integration bellow. You will get duplicate tags if you don't do this."
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: includes/settings-page.php:
|
323 |
msgid "Use title, url (canonical) and description from WPSEO"
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: includes/settings-page.php:
|
327 |
msgid "Add SubHeading to Post/Page title"
|
328 |
msgstr ""
|
329 |
|
330 |
-
#: includes/settings-page.php:
|
331 |
msgid "Use BDP listing contents as OG tags"
|
332 |
msgstr ""
|
333 |
|
334 |
-
#: includes/settings-page.php:
|
335 |
msgid "Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and \"Include Image\" options above is HIGHLY recommended"
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: includes/settings-page.php:
|
339 |
msgid "You don't have any compatible 3rd Party plugin installed/active."
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: includes/settings-page.php:
|
343 |
msgid "This plugin is currently compatible with:"
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: includes/settings-page.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
347 |
msgid "Test your URLs at Facebook URL Linter / Debugger"
|
348 |
msgstr ""
|
349 |
|
350 |
-
#: includes/settings-page.php:
|
351 |
msgid "Test (and request approval for) your URLs at Twitter Card validator"
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: includes/settings-page.php:
|
355 |
msgid "About the Open Graph Protocol (on Facebook)"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: includes/settings-page.php:
|
359 |
msgid "The Open Graph Protocol (official website)"
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: includes/settings-page.php:
|
363 |
msgid "About Twitter Cards"
|
364 |
msgstr ""
|
365 |
|
366 |
-
#: includes/settings-page.php:
|
367 |
msgid "Plugin official URL"
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: includes/settings-page.php:
|
371 |
msgid "Author's website: Webdados"
|
372 |
msgstr ""
|
373 |
|
374 |
-
#: includes/settings-page.php:
|
375 |
msgid "Author's Facebook page: Webdados"
|
376 |
msgstr ""
|
377 |
|
378 |
-
#: includes/settings-page.php:
|
379 |
msgid "Author's Twitter account: @Wonderm00n<br/>(Webdados founder)"
|
380 |
msgstr ""
|
381 |
|
382 |
-
#: includes/settings-page.php:
|
383 |
msgid "Rate this plugin"
|
384 |
msgstr ""
|
385 |
|
386 |
-
#: includes/settings-page.php:
|
387 |
msgid "If you like this plugin,"
|
388 |
msgstr ""
|
389 |
|
390 |
-
#: includes/settings-page.php:
|
391 |
msgid "please give it a high Rating"
|
392 |
msgstr ""
|
393 |
|
394 |
-
#: includes/settings-page.php:
|
395 |
msgid "Useful links"
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: includes/settings-page.php:
|
399 |
msgid "Donate"
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: includes/settings-page.php:
|
403 |
msgid "If you find this plugin useful and want to make a contribution towards future development please consider making a small, or big ;-), donation."
|
404 |
msgstr ""
|
405 |
|
406 |
-
#: wonderm00n-open-graph.php:
|
407 |
msgid "Use this image:"
|
408 |
msgstr ""
|
409 |
|
410 |
-
#: wonderm00n-open-graph.php:
|
411 |
msgid "Upload/Choose Open Graph Image"
|
412 |
msgstr ""
|
413 |
|
414 |
-
#: wonderm00n-open-graph.php:
|
415 |
msgid "Clear field"
|
416 |
msgstr ""
|
417 |
|
418 |
-
#: wonderm00n-open-graph.php:
|
419 |
msgid "Use as Image Open Graph Tag"
|
420 |
msgstr ""
|
421 |
|
422 |
-
#: wonderm00n-open-graph.php:
|
423 |
msgid "Google+"
|
424 |
msgstr ""
|
425 |
|
426 |
-
#: wonderm00n-open-graph.php:
|
427 |
msgid "Facebook profile URL"
|
428 |
msgstr ""
|
429 |
|
430 |
-
#: wonderm00n-open-graph.php:
|
431 |
msgid "Please ignore the (dumb) Yoast WordPress SEO warning regarding open graph issues with this plugin. Just disable WPSEO Social settings at"
|
432 |
msgstr ""
|
433 |
|
434 |
-
#: wonderm00n-open-graph.php:
|
435 |
msgid "SEO > Social"
|
436 |
msgstr ""
|
437 |
|
438 |
#. Description of the plugin/theme
|
439 |
msgid "Inserts Facebook Open Graph, Google+ / Schema.org and Twitter Card Tags into your WordPress Blog/Website for more effective and efficient Facebook, Google+ and Twitter sharing results. You can also choose to insert the \"enclosure\" and \"media:content\" tags to the RSS feeds, so that apps like RSS Graffiti and twitterfeed post the image to Facebook correctly."
|
440 |
-
msgstr ""
|
2 |
# This file is distributed under the same license as the Facebook Open Graph, Google+ and Twitter Card Tags package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook Open Graph, Google+ and Twitter Card Tags 1.4\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wonderm00ns-simple-facebook-open-graph-tags\n"
|
7 |
+
"POT-Creation-Date: 2014-12-09 18:22:50+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
+
#: includes/settings-page.php:81
|
16 |
msgid "Please set some default values and which tags should, or should not, be included. It may be necessary to exclude some tags if other plugins are already including them."
|
17 |
msgstr ""
|
18 |
|
19 |
+
#: includes/settings-page.php:96
|
20 |
msgid "Include Facebook Platform App ID (fb:app_id) tag"
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: includes/settings-page.php:102
|
24 |
msgid "Facebook Platform App ID"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: includes/settings-page.php:111
|
28 |
msgid "Include Facebook Admin(s) ID (fb:admins) tag"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: includes/settings-page.php:117
|
32 |
msgid "Facebook Admin(s) ID"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: includes/settings-page.php:121
|
36 |
msgid "Comma separated if more than one"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: includes/settings-page.php:128
|
40 |
msgid "Include locale (fb:locale) tag"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: includes/settings-page.php:134
|
44 |
msgid "Locale"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: includes/settings-page.php:137
|
48 |
msgid "WordPress current locale/language"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: includes/settings-page.php:188
|
52 |
msgid "List loaded from Facebook (online)"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: includes/settings-page.php:191
|
56 |
msgid "List loaded from local cache (offline)"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: includes/settings-page.php:191
|
60 |
msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: includes/settings-page.php:191
|
64 |
msgid "Reload from Facebook"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: includes/settings-page.php:193
|
68 |
msgid "List not loaded"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: includes/settings-page.php:203
|
72 |
msgid "Include Site Name (og:site_name) tag"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: includes/settings-page.php:212
|
76 |
msgid "Include Post/Page title (og:title) tag"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: includes/settings-page.php:218
|
80 |
msgid "Include Schema.org \"itemprop\" Name tag"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: includes/settings-page.php:224 includes/settings-page.php:431
|
84 |
+
#: includes/settings-page.php:491
|
85 |
msgid "Recommended for Google+ sharing purposes if no other plugin is setting it already"
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: includes/settings-page.php:228
|
89 |
msgid "Include Twitter Card Title tag"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: includes/settings-page.php:234 includes/settings-page.php:441
|
93 |
+
#: includes/settings-page.php:501
|
94 |
msgid "Recommended for Twitter sharing purposes if no other plugin is setting it already"
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: includes/settings-page.php:241
|
98 |
msgid "Include URL (og:url) tag"
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: includes/settings-page.php:247
|
102 |
msgid "Include Twitter Card URL tag"
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: includes/settings-page.php:253
|
106 |
msgid "Add trailing slash at the end"
|
107 |
msgstr ""
|
108 |
|
109 |
+
#: includes/settings-page.php:257
|
110 |
msgid "On the homepage will be"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: includes/settings-page.php:261
|
114 |
msgid "Set Canonical URL"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: includes/settings-page.php:272
|
118 |
msgid "Include Type (og:type) tag"
|
119 |
msgstr ""
|
120 |
|
121 |
+
#: includes/settings-page.php:276
|
122 |
msgid "Will be \"%1$s\" for posts and pages and \"%2$s\" or \"%3$s\"; for the homepage"
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: includes/settings-page.php:280
|
126 |
msgid "Homepage type"
|
127 |
msgstr ""
|
128 |
|
129 |
+
#: includes/settings-page.php:282 includes/settings-page.php:462
|
130 |
msgid "Use"
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: includes/settings-page.php:293
|
134 |
+
msgid "Include published and modified dates (article:published_time, article:modified_time and og:updated_time) tags"
|
135 |
+
msgstr ""
|
136 |
+
|
137 |
+
#: includes/settings-page.php:297 includes/settings-page.php:308
|
138 |
+
msgid "Works for posts only"
|
139 |
+
msgstr ""
|
140 |
+
|
141 |
+
#: includes/settings-page.php:304
|
142 |
+
msgid "Include article section (article:section) tags"
|
143 |
+
msgstr ""
|
144 |
+
|
145 |
+
#: includes/settings-page.php:308
|
146 |
+
msgid "from the categories"
|
147 |
+
msgstr ""
|
148 |
+
|
149 |
+
#: includes/settings-page.php:315
|
150 |
msgid "Include Publisher Page (article:publisher) tag"
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: includes/settings-page.php:319
|
154 |
msgid "Links the website to the publisher Facebook Page."
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: includes/settings-page.php:323
|
158 |
msgid "Website's Facebook Page"
|
159 |
msgstr ""
|
160 |
|
161 |
+
#: includes/settings-page.php:327 includes/settings-page.php:343
|
162 |
+
#: includes/settings-page.php:510
|
163 |
msgid "Full URL with http://"
|
164 |
msgstr ""
|
165 |
|
166 |
+
#: includes/settings-page.php:331
|
167 |
msgid "Include Google+ \"publisher\" tag"
|
168 |
msgstr ""
|
169 |
|
170 |
+
#: includes/settings-page.php:335
|
171 |
msgid "Links the website to the publisher Google+ Page."
|
172 |
msgstr ""
|
173 |
|
174 |
+
#: includes/settings-page.php:339
|
175 |
msgid "Website's Google+ Page"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: includes/settings-page.php:347
|
179 |
msgid "Include Twitter Card Website Username tag"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: includes/settings-page.php:351
|
183 |
msgid "Links the website to the publisher Twitter Username."
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: includes/settings-page.php:355
|
187 |
msgid "Website's Twitter Username"
|
188 |
msgstr ""
|
189 |
|
190 |
+
#: includes/settings-page.php:359 wonderm00n-open-graph.php:828
|
191 |
msgid "Twitter username (without @)"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: includes/settings-page.php:367
|
195 |
msgid "Include Author Profile (article:author) tag"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: includes/settings-page.php:371
|
199 |
msgid "Links the article to the author Facebook Profile. The user's Facebook profile URL must be filled in."
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: includes/settings-page.php:375
|
203 |
msgid "Include Meta Author tag"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: includes/settings-page.php:381
|
207 |
msgid "Sets the article author name"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: includes/settings-page.php:385
|
211 |
msgid "Include Google+ link rel \"author\" tag"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: includes/settings-page.php:391
|
215 |
msgid "Links the article to the author Google+ Profile (authorship). The user's Google+ profile URL must be filled in."
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: includes/settings-page.php:395
|
219 |
msgid "Include Twitter Card Creator tag"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: includes/settings-page.php:401
|
223 |
msgid "Links the article to the author Twitter profile. The user's Twitter user must be filled in."
|
224 |
msgstr ""
|
225 |
|
226 |
+
#: includes/settings-page.php:409
|
227 |
msgid "Include Description (og:description) tag"
|
228 |
msgstr ""
|
229 |
|
230 |
+
#: includes/settings-page.php:415
|
231 |
msgid "Include Meta Description tag"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: includes/settings-page.php:421
|
235 |
msgid "Recommended for SEO purposes if no other plugin is setting it already"
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: includes/settings-page.php:425
|
239 |
msgid "Include Schema.org \"itemprop\" Description tag"
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: includes/settings-page.php:435
|
243 |
msgid "Include Twitter Card Description tag"
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: includes/settings-page.php:445
|
247 |
msgid "Description maximum length"
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: includes/settings-page.php:449
|
251 |
msgid "0 or blank for no maximum length"
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: includes/settings-page.php:453
|
255 |
msgid "Homepage description"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: includes/settings-page.php:459
|
259 |
msgid "The description of your front page:"
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: includes/settings-page.php:464
|
263 |
msgid "Website tagline"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: includes/settings-page.php:465
|
267 |
msgid "Custom text"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: includes/settings-page.php:477
|
271 |
msgid "Include Image (og:image) tag"
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: includes/settings-page.php:481
|
275 |
msgid "All images MUST have at least 200px on both dimensions in order to Facebook to load them at all.<br/>1200x630px for optimal results.<br/>Minimum of 600x315px is recommended."
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: includes/settings-page.php:485
|
279 |
msgid "Include Schema.org \"itemprop\" Image tag"
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: includes/settings-page.php:495
|
283 |
msgid "Include Twitter Card Image tag"
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: includes/settings-page.php:505
|
287 |
msgid "Default image"
|
288 |
msgstr ""
|
289 |
|
290 |
+
#: includes/settings-page.php:512 wonderm00n-open-graph.php:725
|
291 |
msgid "Recommended size: 1200x630px"
|
292 |
msgstr ""
|
293 |
|
294 |
+
#: includes/settings-page.php:516
|
295 |
msgid "Add image to RSS/RSS2 feeds"
|
296 |
msgstr ""
|
297 |
|
298 |
+
#: includes/settings-page.php:520
|
299 |
msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: includes/settings-page.php:524
|
303 |
msgid "On posts/pages"
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: includes/settings-page.php:528
|
307 |
msgid "Image will be fetched from the specific \"Open Graph Image\" custom field on the post"
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: includes/settings-page.php:532
|
311 |
msgid "If it's not set, image will be fetched from post/page featured/thumbnail picture"
|
312 |
msgstr ""
|
313 |
|
314 |
+
#: includes/settings-page.php:536
|
315 |
msgid "If it doesn't exist, use the first image from the post/page content"
|
316 |
msgstr ""
|
317 |
|
318 |
+
#: includes/settings-page.php:540
|
319 |
msgid "If it doesn't exist, use first image from the post/page media gallery"
|
320 |
msgstr ""
|
321 |
|
322 |
+
#: includes/settings-page.php:544
|
323 |
msgid "If it doesn't exist, use the default image above"
|
324 |
msgstr ""
|
325 |
|
326 |
+
#: includes/settings-page.php:553
|
327 |
msgid "3rd Party Integration"
|
328 |
msgstr ""
|
329 |
|
330 |
+
#: includes/settings-page.php:564
|
331 |
msgid "It's HIGHLY recommended to go to <a href=\"admin.php?page=wpseo_social\" target=\"_blank\">SEO > Social</a> and disable \"Add Open Graph meta data\", \"Add Twitter card meta data\" and \"Add Google+ specific post meta data\""
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: includes/settings-page.php:564
|
335 |
msgid "even if you don't enable integration bellow. You will get duplicate tags if you don't do this."
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: includes/settings-page.php:567
|
339 |
msgid "Use title, url (canonical) and description from WPSEO"
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: includes/settings-page.php:583
|
343 |
msgid "Add SubHeading to Post/Page title"
|
344 |
msgstr ""
|
345 |
|
346 |
+
#: includes/settings-page.php:599
|
347 |
msgid "Use BDP listing contents as OG tags"
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: includes/settings-page.php:603
|
351 |
msgid "Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and \"Include Image\" options above is HIGHLY recommended"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: includes/settings-page.php:611
|
355 |
msgid "You don't have any compatible 3rd Party plugin installed/active."
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: includes/settings-page.php:612
|
359 |
msgid "This plugin is currently compatible with:"
|
360 |
msgstr ""
|
361 |
|
362 |
+
#: includes/settings-page.php:625
|
363 |
+
msgid "Advanced settings"
|
364 |
+
msgstr ""
|
365 |
+
|
366 |
+
#: includes/settings-page.php:627
|
367 |
+
msgid "Don't mess with this unless you know what you're doing"
|
368 |
+
msgstr ""
|
369 |
+
|
370 |
+
#: includes/settings-page.php:630
|
371 |
+
msgid "Force getimagesize on local file even if allow_url_fopen=1"
|
372 |
+
msgstr ""
|
373 |
+
|
374 |
+
#: includes/settings-page.php:634
|
375 |
+
msgid "May cause problems with some multisite configurations but fix \"HTTP request failed\" errors"
|
376 |
+
msgstr ""
|
377 |
+
|
378 |
+
#: includes/settings-page.php:651
|
379 |
msgid "Test your URLs at Facebook URL Linter / Debugger"
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: includes/settings-page.php:654
|
383 |
msgid "Test (and request approval for) your URLs at Twitter Card validator"
|
384 |
msgstr ""
|
385 |
|
386 |
+
#: includes/settings-page.php:657
|
387 |
msgid "About the Open Graph Protocol (on Facebook)"
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: includes/settings-page.php:660
|
391 |
msgid "The Open Graph Protocol (official website)"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: includes/settings-page.php:663
|
395 |
msgid "About Twitter Cards"
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: includes/settings-page.php:666
|
399 |
msgid "Plugin official URL"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: includes/settings-page.php:669
|
403 |
msgid "Author's website: Webdados"
|
404 |
msgstr ""
|
405 |
|
406 |
+
#: includes/settings-page.php:672
|
407 |
msgid "Author's Facebook page: Webdados"
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: includes/settings-page.php:675
|
411 |
msgid "Author's Twitter account: @Wonderm00n<br/>(Webdados founder)"
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: includes/settings-page.php:682
|
415 |
msgid "Rate this plugin"
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: includes/settings-page.php:684
|
419 |
msgid "If you like this plugin,"
|
420 |
msgstr ""
|
421 |
|
422 |
+
#: includes/settings-page.php:684
|
423 |
msgid "please give it a high Rating"
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: includes/settings-page.php:691
|
427 |
msgid "Useful links"
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: includes/settings-page.php:704
|
431 |
msgid "Donate"
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: includes/settings-page.php:706
|
435 |
msgid "If you find this plugin useful and want to make a contribution towards future development please consider making a small, or big ;-), donation."
|
436 |
msgstr ""
|
437 |
|
438 |
+
#: wonderm00n-open-graph.php:720
|
439 |
msgid "Use this image:"
|
440 |
msgstr ""
|
441 |
|
442 |
+
#: wonderm00n-open-graph.php:723
|
443 |
msgid "Upload/Choose Open Graph Image"
|
444 |
msgstr ""
|
445 |
|
446 |
+
#: wonderm00n-open-graph.php:724
|
447 |
msgid "Clear field"
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: wonderm00n-open-graph.php:807
|
451 |
msgid "Use as Image Open Graph Tag"
|
452 |
msgstr ""
|
453 |
|
454 |
+
#: wonderm00n-open-graph.php:826
|
455 |
msgid "Google+"
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: wonderm00n-open-graph.php:830
|
459 |
msgid "Facebook profile URL"
|
460 |
msgstr ""
|
461 |
|
462 |
+
#: wonderm00n-open-graph.php:848
|
463 |
msgid "Please ignore the (dumb) Yoast WordPress SEO warning regarding open graph issues with this plugin. Just disable WPSEO Social settings at"
|
464 |
msgstr ""
|
465 |
|
466 |
+
#: wonderm00n-open-graph.php:849
|
467 |
msgid "SEO > Social"
|
468 |
msgstr ""
|
469 |
|
470 |
#. Description of the plugin/theme
|
471 |
msgid "Inserts Facebook Open Graph, Google+ / Schema.org and Twitter Card Tags into your WordPress Blog/Website for more effective and efficient Facebook, Google+ and Twitter sharing results. You can also choose to insert the \"enclosure\" and \"media:content\" tags to the RSS feeds, so that apps like RSS Graffiti and twitterfeed post the image to Facebook correctly."
|
472 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://blog.wonderm00n.com/2011/10/14/wordpress-plugin-simple-faceb
|
|
4 |
Tags: facebook, open graph, open graph protocol, seo, share, social, meta, twitter card, twitter, schema, google+, g+, google, google plus, image, like, meta, search engine optimization
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.0.1
|
7 |
-
Stable tag: 1.
|
8 |
|
9 |
Inserts Facebook Open Graph, Google+/Schema.org, Twitter and other Meta Tags into your WordPress Website for more efficient sharing results.
|
10 |
|
@@ -20,7 +20,7 @@ You can also choose to insert the "enclosure" and "media:content" tags to the RS
|
|
20 |
|
21 |
It allows the user to choose which tags are, or not, included and also the default image if the post/page doesn't have one.
|
22 |
|
23 |
-
= The Facebook Open Graph Tags that this plugin inserts are: =
|
24 |
|
25 |
* **fb:app_id**: From settings on the options screen.
|
26 |
* **fb:admins**: From settings on the options screen.
|
@@ -29,12 +29,15 @@ It allows the user to choose which tags are, or not, included and also the defau
|
|
29 |
* **og:title**: From post/page/archive/tag/... title.
|
30 |
* **og:url**: From the post/page permalink.
|
31 |
* **og:type**: "website" or "blog" for the homepage and "article" for all the others.
|
|
|
|
|
32 |
* **article:publisher**: From settings on the options screen.
|
|
|
33 |
* **article:author**: From the user (post author) Faceboook Profile URL.
|
34 |
* **og:description**: From post/page excerpt if it exist, or from post/page content. From category/tag description on it's pages, if it exist. From tagline, or custom text, on all the others.
|
35 |
* **og:image**: From a specific custom field of the post/page, or if not set from the post/page featured/thumbnail image, or if it doesn't exist from the first image in the post content, or if it doesn't exist from the first image on the post media gallery, or if it doesn't exist from the default image defined on the options menu. The same image chosen here will be used and enclosure/media:content on the RSS feed.
|
36 |
|
37 |
-
= The Schema.org Tags that this plugin inserts are: =
|
38 |
|
39 |
* **name**: Same as "og:title".
|
40 |
* **author**: From the user (post author) Google+ profile URL.
|
@@ -74,6 +77,13 @@ It allows the user to choose which tags are, or not, included and also the defau
|
|
74 |
|
75 |
== Changelog ==
|
76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
= 1.3.4 =
|
78 |
* Fix getting image size when a remote image is used on the post content (thanks contemplate and Steve)
|
79 |
* Change the way the default settings are load so that even settings that are not user defined will be available (like the new image minimum size which is, for now, "hardcoded")
|
4 |
Tags: facebook, open graph, open graph protocol, seo, share, social, meta, twitter card, twitter, schema, google+, g+, google, google plus, image, like, meta, search engine optimization
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.0.1
|
7 |
+
Stable tag: 1.4
|
8 |
|
9 |
Inserts Facebook Open Graph, Google+/Schema.org, Twitter and other Meta Tags into your WordPress Website for more efficient sharing results.
|
10 |
|
20 |
|
21 |
It allows the user to choose which tags are, or not, included and also the default image if the post/page doesn't have one.
|
22 |
|
23 |
+
= The (Facebook) Open Graph Tags that this plugin inserts are: =
|
24 |
|
25 |
* **fb:app_id**: From settings on the options screen.
|
26 |
* **fb:admins**: From settings on the options screen.
|
29 |
* **og:title**: From post/page/archive/tag/... title.
|
30 |
* **og:url**: From the post/page permalink.
|
31 |
* **og:type**: "website" or "blog" for the homepage and "article" for all the others.
|
32 |
+
* **article:published_time**: Article published time (for posts only)
|
33 |
+
* **article:modified_time** and **og:updated_time**: Article modified time (for posts only)
|
34 |
* **article:publisher**: From settings on the options screen.
|
35 |
+
* **article:section**: From post categories.
|
36 |
* **article:author**: From the user (post author) Faceboook Profile URL.
|
37 |
* **og:description**: From post/page excerpt if it exist, or from post/page content. From category/tag description on it's pages, if it exist. From tagline, or custom text, on all the others.
|
38 |
* **og:image**: From a specific custom field of the post/page, or if not set from the post/page featured/thumbnail image, or if it doesn't exist from the first image in the post content, or if it doesn't exist from the first image on the post media gallery, or if it doesn't exist from the default image defined on the options menu. The same image chosen here will be used and enclosure/media:content on the RSS feed.
|
39 |
|
40 |
+
= The (Google+) Schema.org Tags that this plugin inserts are: =
|
41 |
|
42 |
* **name**: Same as "og:title".
|
43 |
* **author**: From the user (post author) Google+ profile URL.
|
77 |
|
78 |
== Changelog ==
|
79 |
|
80 |
+
= 1.4 =
|
81 |
+
* Added article published and modified date/time tags
|
82 |
+
* Added "article:section" tag
|
83 |
+
* Several fixes regarding getting the content or media gallery image size
|
84 |
+
* Several fixes on the way the defaults and settings are loaded to avoid php warnings and notices
|
85 |
+
* Some changes on the default values for first time users
|
86 |
+
|
87 |
= 1.3.4 =
|
88 |
* Fix getting image size when a remote image is used on the post content (thanks contemplate and Steve)
|
89 |
* Change the way the default settings are load so that even settings that are not user defined will be available (like the new image minimum size which is, for now, "hardcoded")
|
wonderm00n-open-graph.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Facebook Open Graph, Google+ and Twitter Card Tags
|
4 |
-
* @version 1.
|
5 |
*/
|
6 |
/*
|
7 |
Plugin Name: Facebook Open Graph, Google+ and Twitter Card Tags
|
8 |
Plugin URI: http://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/
|
9 |
Description: Inserts Facebook Open Graph, Google+ / Schema.org and Twitter Card Tags into your WordPress Blog/Website for more effective and efficient Facebook, Google+ and Twitter sharing results. You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and twitterfeed post the image to Facebook correctly.
|
10 |
-
Version: 1.
|
11 |
Author: Webdados
|
12 |
Author URI: http://www.webdados.pt
|
13 |
Text Domain: wd-fb-og
|
@@ -16,7 +16,7 @@ Domain Path: /lang
|
|
16 |
|
17 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
18 |
|
19 |
-
$wonderm00n_open_graph_plugin_version='1.
|
20 |
$wonderm00n_open_graph_plugin_name='Facebook Open Graph, Google+ and Twitter Card Tags';
|
21 |
$wonderm00n_open_graph_plugin_settings=array(
|
22 |
'fb_app_id_show',
|
@@ -35,8 +35,10 @@ $wonderm00n_open_graph_plugin_settings=array(
|
|
35 |
'fb_url_add_trailing',
|
36 |
'fb_type_show',
|
37 |
'fb_type_homepage',
|
38 |
-
'
|
39 |
-
'
|
|
|
|
|
40 |
'fb_publisher_show_schema',
|
41 |
'fb_publisher_schema',
|
42 |
'fb_publisher_show_twitter',
|
@@ -66,14 +68,16 @@ $wonderm00n_open_graph_plugin_settings=array(
|
|
66 |
'fb_show_wpseoyoast',
|
67 |
'fb_show_subheading',
|
68 |
'fb_show_businessdirectoryplugin',
|
69 |
-
'fb_keep_data_uninstall'
|
|
|
70 |
);
|
71 |
|
72 |
//We have to remove canonical NOW because the plugin runs too late - We're also loading the settings which is cool
|
73 |
-
$webdados_fb_open_graph_settings=wonderm00n_open_graph_load_settings()
|
74 |
-
if (intval($webdados_fb_open_graph_settings['fb_url_show'])==1) {
|
75 |
-
|
76 |
-
|
|
|
77 |
}
|
78 |
}
|
79 |
|
@@ -138,6 +142,21 @@ function wonderm00n_open_graph() {
|
|
138 |
$fb_author_linkrelgp=get_the_author_meta('googleplus', $author_id);
|
139 |
$fb_author_twitter=get_the_author_meta('twitter', $author_id);
|
140 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
141 |
//Business Directory Plugin
|
142 |
if ($fb_show_businessdirectoryplugin==1) {
|
143 |
@include_once(ABSPATH . 'wp-admin/includes/plugin.php');
|
@@ -204,7 +223,7 @@ function wonderm00n_open_graph() {
|
|
204 |
//Other pages - Defaults
|
205 |
$fb_title=esc_attr(strip_tags(stripslashes(get_bloginfo('name'))));
|
206 |
//$fb_url=get_option('home').(intval($fb_url_add_trailing)==1 ? '/' : ''); //2013-11-4 changed from 'siteurl' to 'home'
|
207 |
-
$fb_url=((!empty($
|
208 |
|
209 |
switch(trim($fb_desc_homepage)) {
|
210 |
case 'custom':
|
@@ -335,7 +354,18 @@ function wonderm00n_open_graph() {
|
|
335 |
';
|
336 |
if (intval($fb_type_show)==1) $html.='<meta property="og:type" content="'.trim(esc_attr($fb_type)).'"/>
|
337 |
';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
338 |
if (intval($fb_publisher_show)==1 && trim($fb_publisher)!='') $html.='<meta property="article:publisher" content="'.trim(esc_attr($fb_publisher)).'"/>
|
|
|
339 |
';
|
340 |
if (intval($fb_publisher_show_schema)==1 && trim($fb_publisher_schema)!='') $html.='<link rel="publisher" href="'.trim(esc_attr($fb_publisher_schema)).'"/>
|
341 |
';
|
@@ -418,7 +448,7 @@ function wonderm00n_open_graph_images_on_feed_image() {
|
|
418 |
$filesize=$header['Content-Length'];
|
419 |
$url=$fb_image;
|
420 |
}
|
421 |
-
list($width, $height, $type, $attr) =
|
422 |
echo '<enclosure url="' . $fb_image . '" length="' . $filesize . '" type="'.image_type_to_mime_type($type).'"/>';
|
423 |
echo '<media:content url="'.$fb_image.'" width="'.$width.'" height="'.$height.'" medium="image" type="'.image_type_to_mime_type($type).'"/>';
|
424 |
}
|
@@ -463,21 +493,29 @@ function wonderm00n_open_graph_post_image($fb_image_use_specific=1,$fb_image_use
|
|
463 |
//There's an image on the content
|
464 |
$pos = strpos($image, site_url());
|
465 |
if ($pos === false) {
|
466 |
-
if (stristr($image, 'http://') || stristr($image, 'https://')) {
|
|
|
467 |
//Complete URL - offsite
|
468 |
-
if (intval(ini_get('allow_url_fopen'))==1) {
|
469 |
$imagetemp=$image;
|
470 |
$imagetempsize=$imagetemp;
|
471 |
-
} else {
|
472 |
//If it's offsite we can't getimagesize'it, so we won't use it
|
473 |
//We could save a temporary version locally and then getimagesize'it but do we want to do this every single time?
|
474 |
-
}
|
475 |
} else {
|
|
|
476 |
$imagetemp=site_url().$image;
|
477 |
$imagetempsize=(
|
478 |
intval(ini_get('allow_url_fopen'))==1
|
479 |
?
|
480 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
481 |
:
|
482 |
ABSPATH.str_replace(trailingslashit(site_url()), '', $imagetemp)
|
483 |
);
|
@@ -488,17 +526,24 @@ function wonderm00n_open_graph_post_image($fb_image_use_specific=1,$fb_image_use
|
|
488 |
$imagetempsize=(
|
489 |
intval(ini_get('allow_url_fopen'))==1
|
490 |
?
|
491 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
492 |
:
|
493 |
ABSPATH.str_replace(trailingslashit(site_url()), '', $imagetemp)
|
494 |
);
|
495 |
}
|
496 |
if ($imagetemp) {
|
497 |
-
$img_size =
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
|
|
502 |
}
|
503 |
}
|
504 |
}
|
@@ -515,15 +560,22 @@ function wonderm00n_open_graph_post_image($fb_image_use_specific=1,$fb_image_use
|
|
515 |
$imagetempsize=(
|
516 |
intval(ini_get('allow_url_fopen'))==1
|
517 |
?
|
518 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
519 |
:
|
520 |
ABSPATH.str_replace(trailingslashit(site_url()), '', $imagetemp)
|
521 |
);
|
522 |
-
$img_size =
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
|
|
527 |
}
|
528 |
}
|
529 |
}
|
@@ -542,8 +594,63 @@ function wonderm00n_open_graph_post_image($fb_image_use_specific=1,$fb_image_use
|
|
542 |
return $fb_image;
|
543 |
}
|
544 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
545 |
//Admin
|
546 |
-
if (
|
547 |
|
548 |
add_action('admin_menu', 'wonderm00n_open_graph_add_options');
|
549 |
|
@@ -560,7 +667,7 @@ if ( is_admin() ) {
|
|
560 |
//Clear WPSEO notices
|
561 |
global $wpdb;
|
562 |
$wpdb->query(
|
563 |
-
$wpdb->prepare("DELETE FROM
|
564 |
);
|
565 |
}
|
566 |
|
@@ -598,9 +705,9 @@ if ( is_admin() ) {
|
|
598 |
add_meta_box(
|
599 |
'webdados_fb_open_graph',
|
600 |
$wonderm00n_open_graph_plugin_name,
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
}
|
605 |
}
|
606 |
function wonderm00n_open_graph_add_posts_options_box() {
|
@@ -610,7 +717,7 @@ if ( is_admin() ) {
|
|
610 |
// Current value
|
611 |
$value = get_post_meta($post->ID, '_webdados_fb_open_graph_specific_image', true);
|
612 |
echo '<label for="webdados_fb_open_graph_specific_image">';
|
613 |
-
|
614 |
echo '</label> ';
|
615 |
echo '<input type="text" id="webdados_fb_open_graph_specific_image" name="webdados_fb_open_graph_specific_image" value="' . esc_attr( $value ) . '" size="75"/>
|
616 |
<input id="webdados_fb_open_graph_specific_image_button" class="button" type="button" value="'.__('Upload/Choose Open Graph Image','wd-fb-og').'"/>
|
@@ -637,28 +744,28 @@ if ( is_admin() ) {
|
|
637 |
|
638 |
// Check if our nonce is set.
|
639 |
if ( ! isset( $_POST['webdados_fb_open_graph_custom_box_nonce'] ) )
|
640 |
-
|
641 |
|
642 |
$nonce = $_POST['webdados_fb_open_graph_custom_box_nonce'];
|
643 |
|
644 |
// Verify that the nonce is valid.
|
645 |
if ( ! wp_verify_nonce( $nonce, 'webdados_fb_open_graph_custom_box' ) )
|
646 |
-
|
647 |
|
648 |
// If this is an autosave, our form has not been submitted, so we don't want to do anything.
|
649 |
if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE )
|
650 |
-
|
651 |
|
652 |
// Check the user's permissions.
|
653 |
if ( 'page' == $_POST['post_type'] ) {
|
654 |
|
655 |
-
|
656 |
-
|
657 |
|
658 |
} else {
|
659 |
|
660 |
-
|
661 |
-
|
662 |
}
|
663 |
|
664 |
/* OK, its safe for us to save the data now. */
|
@@ -682,7 +789,7 @@ if ( is_admin() ) {
|
|
682 |
}
|
683 |
</script>
|
684 |
<style type="text/css">
|
685 |
-
|
686 |
</style>
|
687 |
<?php
|
688 |
}
|
@@ -701,19 +808,19 @@ if ( is_admin() ) {
|
|
701 |
);
|
702 |
return $form_fields;
|
703 |
}
|
704 |
-
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
-
|
713 |
-
|
714 |
-
|
715 |
-
|
716 |
-
|
717 |
if (defined('WPSEO_VERSION')) {
|
718 |
//Google+
|
719 |
$usercontacts['googleplus'] = __('Google+', 'wd-fb-og');
|
@@ -770,12 +877,16 @@ function wonderm00n_open_graph_default_values() {
|
|
770 |
'fb_locale_show' => 1,
|
771 |
'fb_sitename_show' => 1,
|
772 |
'fb_title_show' => 1,
|
|
|
773 |
'fb_url_show' => 1,
|
774 |
-
'fb_url_canonical' => 1,
|
775 |
'fb_type_show' => 1,
|
|
|
|
|
776 |
'fb_desc_show' => 1,
|
|
|
777 |
'fb_desc_chars' => 300,
|
778 |
'fb_image_show' => 1,
|
|
|
779 |
'fb_image_use_specific' => 1,
|
780 |
'fb_image_use_featured' => 1,
|
781 |
'fb_image_use_content' => 1,
|
@@ -787,35 +898,47 @@ function wonderm00n_open_graph_default_values() {
|
|
787 |
}
|
788 |
function wonderm00n_open_graph_load_settings() {
|
789 |
global $wonderm00n_open_graph_plugin_settings;
|
790 |
-
$
|
791 |
-
|
792 |
-
|
793 |
-
|
794 |
-
|
795 |
-
|
796 |
-
if (
|
|
|
|
|
|
|
|
|
|
|
|
|
797 |
if (!empty($defaults[$key])) {
|
798 |
$usersettings[$key]=$defaults[$key];
|
|
|
|
|
799 |
}
|
800 |
}
|
801 |
-
} else {
|
802 |
-
if (!empty($defaults[$key])) {
|
803 |
-
$usersettings[$key]=$defaults[$key];
|
804 |
-
}
|
805 |
}
|
806 |
-
|
807 |
-
|
808 |
-
|
809 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
810 |
if (!empty($defaults[$key])) {
|
811 |
$usersettings[$key]=$defaults[$key];
|
|
|
|
|
812 |
}
|
813 |
}
|
814 |
-
}
|
|
|
815 |
} else {
|
816 |
-
|
817 |
}
|
818 |
-
return $usersettings;
|
819 |
}
|
820 |
|
821 |
function wonderm00n_open_graph_upgrade() {
|
@@ -865,5 +988,3 @@ function wonderm00n_open_graph_uninstall() {
|
|
865 |
function wonderm00n_open_graph_post($var, $default='') {
|
866 |
return isset($_POST[$var]) ? $_POST[$var] : $default;
|
867 |
}
|
868 |
-
|
869 |
-
?>
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Facebook Open Graph, Google+ and Twitter Card Tags
|
4 |
+
* @version 1.4
|
5 |
*/
|
6 |
/*
|
7 |
Plugin Name: Facebook Open Graph, Google+ and Twitter Card Tags
|
8 |
Plugin URI: http://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/
|
9 |
Description: Inserts Facebook Open Graph, Google+ / Schema.org and Twitter Card Tags into your WordPress Blog/Website for more effective and efficient Facebook, Google+ and Twitter sharing results. You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and twitterfeed post the image to Facebook correctly.
|
10 |
+
Version: 1.4
|
11 |
Author: Webdados
|
12 |
Author URI: http://www.webdados.pt
|
13 |
Text Domain: wd-fb-og
|
16 |
|
17 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
18 |
|
19 |
+
$wonderm00n_open_graph_plugin_version='1.4';
|
20 |
$wonderm00n_open_graph_plugin_name='Facebook Open Graph, Google+ and Twitter Card Tags';
|
21 |
$wonderm00n_open_graph_plugin_settings=array(
|
22 |
'fb_app_id_show',
|
35 |
'fb_url_add_trailing',
|
36 |
'fb_type_show',
|
37 |
'fb_type_homepage',
|
38 |
+
'fb_article_dates_show',
|
39 |
+
'fb_article_sections_show',
|
40 |
+
'fb_publisher_show',
|
41 |
+
'fb_publisher',
|
42 |
'fb_publisher_show_schema',
|
43 |
'fb_publisher_schema',
|
44 |
'fb_publisher_show_twitter',
|
68 |
'fb_show_wpseoyoast',
|
69 |
'fb_show_subheading',
|
70 |
'fb_show_businessdirectoryplugin',
|
71 |
+
'fb_keep_data_uninstall',
|
72 |
+
'fb_adv_force_local'
|
73 |
);
|
74 |
|
75 |
//We have to remove canonical NOW because the plugin runs too late - We're also loading the settings which is cool
|
76 |
+
if ($webdados_fb_open_graph_settings=wonderm00n_open_graph_load_settings()) { //To avoid activation errors
|
77 |
+
if (intval($webdados_fb_open_graph_settings['fb_url_show'])==1) {
|
78 |
+
if (intval($webdados_fb_open_graph_settings['fb_url_canonical'])==1) {
|
79 |
+
remove_action('wp_head', 'rel_canonical');
|
80 |
+
}
|
81 |
}
|
82 |
}
|
83 |
|
142 |
$fb_author_linkrelgp=get_the_author_meta('googleplus', $author_id);
|
143 |
$fb_author_twitter=get_the_author_meta('twitter', $author_id);
|
144 |
}
|
145 |
+
//Published and Modified time
|
146 |
+
if (is_singular('post')) {
|
147 |
+
$fb_article_pub_date=get_the_date('c');
|
148 |
+
$fb_article_mod_date=get_the_modified_date('c');
|
149 |
+
}
|
150 |
+
//Categories
|
151 |
+
if (is_singular('post')) {
|
152 |
+
$cats = get_the_category();
|
153 |
+
if (!is_wp_error($cats) && (is_array($cats) && count($cats)>0)) {
|
154 |
+
$fb_sections=array();
|
155 |
+
foreach ($cats as $cat) {
|
156 |
+
$fb_sections[]=$cat->name;
|
157 |
+
}
|
158 |
+
}
|
159 |
+
}
|
160 |
//Business Directory Plugin
|
161 |
if ($fb_show_businessdirectoryplugin==1) {
|
162 |
@include_once(ABSPATH . 'wp-admin/includes/plugin.php');
|
223 |
//Other pages - Defaults
|
224 |
$fb_title=esc_attr(strip_tags(stripslashes(get_bloginfo('name'))));
|
225 |
//$fb_url=get_option('home').(intval($fb_url_add_trailing)==1 ? '/' : ''); //2013-11-4 changed from 'siteurl' to 'home'
|
226 |
+
$fb_url=((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https://' : 'http://').$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; //Not really canonical but will work for now
|
227 |
|
228 |
switch(trim($fb_desc_homepage)) {
|
229 |
case 'custom':
|
354 |
';
|
355 |
if (intval($fb_type_show)==1) $html.='<meta property="og:type" content="'.trim(esc_attr($fb_type)).'"/>
|
356 |
';
|
357 |
+
if (intval($fb_article_dates_show)==1) $html.='<meta property="article:published_time" content="'.trim(esc_attr($fb_article_pub_date)).'"/>
|
358 |
+
<meta property="article:modified_time" content="'.trim(esc_attr($fb_article_mod_date)).'" />
|
359 |
+
<meta property="og:updated_time" content="'.trim(esc_attr($fb_article_mod_date)).'" />
|
360 |
+
';
|
361 |
+
if (intval($fb_article_sections_show)==1 && is_array($fb_sections) && count($fb_sections)>0) {
|
362 |
+
foreach($fb_sections as $fb_section) {
|
363 |
+
$html.='<meta property="article:section" content="'.trim(esc_attr($fb_section)).'"/>
|
364 |
+
';
|
365 |
+
}
|
366 |
+
}
|
367 |
if (intval($fb_publisher_show)==1 && trim($fb_publisher)!='') $html.='<meta property="article:publisher" content="'.trim(esc_attr($fb_publisher)).'"/>
|
368 |
+
}
|
369 |
';
|
370 |
if (intval($fb_publisher_show_schema)==1 && trim($fb_publisher_schema)!='') $html.='<link rel="publisher" href="'.trim(esc_attr($fb_publisher_schema)).'"/>
|
371 |
';
|
448 |
$filesize=$header['Content-Length'];
|
449 |
$url=$fb_image;
|
450 |
}
|
451 |
+
list($width, $height, $type, $attr) = wonderm00n_open_graph_getimagesize($url);
|
452 |
echo '<enclosure url="' . $fb_image . '" length="' . $filesize . '" type="'.image_type_to_mime_type($type).'"/>';
|
453 |
echo '<media:content url="'.$fb_image.'" width="'.$width.'" height="'.$height.'" medium="image" type="'.image_type_to_mime_type($type).'"/>';
|
454 |
}
|
493 |
//There's an image on the content
|
494 |
$pos = strpos($image, site_url());
|
495 |
if ($pos === false) {
|
496 |
+
if (stristr($image, 'http://') || stristr($image, 'https://') || substr($image, 0, 2)=='//') {
|
497 |
+
if (substr($image, 0, 2)=='//') $image=((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https:' : 'http:').$image;
|
498 |
//Complete URL - offsite
|
499 |
+
//if (intval(ini_get('allow_url_fopen'))==1) {
|
500 |
$imagetemp=$image;
|
501 |
$imagetempsize=$imagetemp;
|
502 |
+
//} else {
|
503 |
//If it's offsite we can't getimagesize'it, so we won't use it
|
504 |
//We could save a temporary version locally and then getimagesize'it but do we want to do this every single time?
|
505 |
+
//}
|
506 |
} else {
|
507 |
+
//Partial URL - we guess it's onsite because no http(s)://
|
508 |
$imagetemp=site_url().$image;
|
509 |
$imagetempsize=(
|
510 |
intval(ini_get('allow_url_fopen'))==1
|
511 |
?
|
512 |
+
(
|
513 |
+
intval($webdados_fb_open_graph_settings['fb_adv_force_local'])==1
|
514 |
+
?
|
515 |
+
ABSPATH.str_replace(trailingslashit(site_url()), '', $imagetemp)
|
516 |
+
:
|
517 |
+
$imagetemp
|
518 |
+
)
|
519 |
:
|
520 |
ABSPATH.str_replace(trailingslashit(site_url()), '', $imagetemp)
|
521 |
);
|
526 |
$imagetempsize=(
|
527 |
intval(ini_get('allow_url_fopen'))==1
|
528 |
?
|
529 |
+
(
|
530 |
+
intval($webdados_fb_open_graph_settings['fb_adv_force_local'])==1
|
531 |
+
?
|
532 |
+
ABSPATH.str_replace(trailingslashit(site_url()), '', $imagetemp)
|
533 |
+
:
|
534 |
+
$imagetemp
|
535 |
+
)
|
536 |
:
|
537 |
ABSPATH.str_replace(trailingslashit(site_url()), '', $imagetemp)
|
538 |
);
|
539 |
}
|
540 |
if ($imagetemp) {
|
541 |
+
if ($img_size = wonderm00n_open_graph_getimagesize($imagetempsize)) {
|
542 |
+
if ($img_size[0] >= $minsize && $img_size[1] >= $minsize) {
|
543 |
+
$fb_image=$imagetemp;
|
544 |
+
$thumbdone=true;
|
545 |
+
break;
|
546 |
+
}
|
547 |
}
|
548 |
}
|
549 |
}
|
560 |
$imagetempsize=(
|
561 |
intval(ini_get('allow_url_fopen'))==1
|
562 |
?
|
563 |
+
(
|
564 |
+
intval($webdados_fb_open_graph_settings['fb_adv_force_local'])==1
|
565 |
+
?
|
566 |
+
ABSPATH.str_replace(trailingslashit(site_url()), '', $imagetemp)
|
567 |
+
:
|
568 |
+
$imagetemp
|
569 |
+
)
|
570 |
:
|
571 |
ABSPATH.str_replace(trailingslashit(site_url()), '', $imagetemp)
|
572 |
);
|
573 |
+
if ($img_size = wonderm00n_open_graph_getimagesize($imagetempsize)) {
|
574 |
+
if ($img_size[0] >= $minsize && $img_size[1] >= $minsize) {
|
575 |
+
$fb_image=$imagetemp;
|
576 |
+
$thumbdone=true;
|
577 |
+
break;
|
578 |
+
}
|
579 |
}
|
580 |
}
|
581 |
}
|
594 |
return $fb_image;
|
595 |
}
|
596 |
|
597 |
+
//Get image size
|
598 |
+
function wonderm00n_open_graph_getimagesize($image) {
|
599 |
+
echo $image;
|
600 |
+
if (stristr($image, 'http://') || stristr($image, 'https://') || substr($image, 0, 2)=='//') {
|
601 |
+
if (function_exists('curl_version')) {
|
602 |
+
//We'll get just a part of the image to speed things up. From http://stackoverflow.com/questions/4635936/super-fast-getimagesize-in-php
|
603 |
+
$headers = array(
|
604 |
+
"Range: bytes=0-32768"
|
605 |
+
);
|
606 |
+
$curl = curl_init($image);
|
607 |
+
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
|
608 |
+
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
|
609 |
+
if ($data = curl_exec($curl)) {
|
610 |
+
$im = @imagecreatefromstring($data); //Mute errors because we're not loading the all image
|
611 |
+
if ($x=imagesx($im)) {
|
612 |
+
//We have to fake the image type - For RSS
|
613 |
+
$ext = pathinfo($image, PATHINFO_EXTENSION);
|
614 |
+
switch(strtolower($ext)) {
|
615 |
+
case 'gif':
|
616 |
+
$type=1;
|
617 |
+
break;
|
618 |
+
case 'jpg':
|
619 |
+
case 'jpeg':
|
620 |
+
$type=2;
|
621 |
+
break;
|
622 |
+
case 'png':
|
623 |
+
$type=3;
|
624 |
+
break;
|
625 |
+
default:
|
626 |
+
$type=2;
|
627 |
+
break;
|
628 |
+
}
|
629 |
+
$img_size=array($x, imagesy($im), $type, '');
|
630 |
+
} else {
|
631 |
+
$img_size=false;
|
632 |
+
}
|
633 |
+
} else {
|
634 |
+
$img_size=false;
|
635 |
+
}
|
636 |
+
curl_close($curl);
|
637 |
+
} else {
|
638 |
+
if (intval(ini_get('allow_url_fopen'))==1) {
|
639 |
+
$img_size=getimagesize($image);
|
640 |
+
} else {
|
641 |
+
//We give up!
|
642 |
+
$img_size=false;
|
643 |
+
}
|
644 |
+
}
|
645 |
+
} else {
|
646 |
+
//Local path
|
647 |
+
$img_size=getimagesize($image);
|
648 |
+
}
|
649 |
+
return $img_size;
|
650 |
+
}
|
651 |
+
|
652 |
//Admin
|
653 |
+
if (is_admin()) {
|
654 |
|
655 |
add_action('admin_menu', 'wonderm00n_open_graph_add_options');
|
656 |
|
667 |
//Clear WPSEO notices
|
668 |
global $wpdb;
|
669 |
$wpdb->query(
|
670 |
+
$wpdb->prepare("DELETE FROM ".$wpdb->usermeta." WHERE meta_key LIKE %s", 'wd_fb_og_wpseo_notice_ignore')
|
671 |
);
|
672 |
}
|
673 |
|
705 |
add_meta_box(
|
706 |
'webdados_fb_open_graph',
|
707 |
$wonderm00n_open_graph_plugin_name,
|
708 |
+
'wonderm00n_open_graph_add_posts_options_box',
|
709 |
+
$post->post_type
|
710 |
+
);
|
711 |
}
|
712 |
}
|
713 |
function wonderm00n_open_graph_add_posts_options_box() {
|
717 |
// Current value
|
718 |
$value = get_post_meta($post->ID, '_webdados_fb_open_graph_specific_image', true);
|
719 |
echo '<label for="webdados_fb_open_graph_specific_image">';
|
720 |
+
_e('Use this image:', 'wd-fb-og');
|
721 |
echo '</label> ';
|
722 |
echo '<input type="text" id="webdados_fb_open_graph_specific_image" name="webdados_fb_open_graph_specific_image" value="' . esc_attr( $value ) . '" size="75"/>
|
723 |
<input id="webdados_fb_open_graph_specific_image_button" class="button" type="button" value="'.__('Upload/Choose Open Graph Image','wd-fb-og').'"/>
|
744 |
|
745 |
// Check if our nonce is set.
|
746 |
if ( ! isset( $_POST['webdados_fb_open_graph_custom_box_nonce'] ) )
|
747 |
+
return $post_id;
|
748 |
|
749 |
$nonce = $_POST['webdados_fb_open_graph_custom_box_nonce'];
|
750 |
|
751 |
// Verify that the nonce is valid.
|
752 |
if ( ! wp_verify_nonce( $nonce, 'webdados_fb_open_graph_custom_box' ) )
|
753 |
+
return $post_id;
|
754 |
|
755 |
// If this is an autosave, our form has not been submitted, so we don't want to do anything.
|
756 |
if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE )
|
757 |
+
return $post_id;
|
758 |
|
759 |
// Check the user's permissions.
|
760 |
if ( 'page' == $_POST['post_type'] ) {
|
761 |
|
762 |
+
if ( ! current_user_can( 'edit_page', $post_id ) )
|
763 |
+
return $post_id;
|
764 |
|
765 |
} else {
|
766 |
|
767 |
+
if ( ! current_user_can( 'edit_post', $post_id ) )
|
768 |
+
return $post_id;
|
769 |
}
|
770 |
|
771 |
/* OK, its safe for us to save the data now. */
|
789 |
}
|
790 |
</script>
|
791 |
<style type="text/css">
|
792 |
+
tr.submit, .ml-submit, #save, #media-items .A1B1 p:last-child { display: none; }
|
793 |
</style>
|
794 |
<?php
|
795 |
}
|
808 |
);
|
809 |
return $form_fields;
|
810 |
}
|
811 |
+
if ( (isset( $_GET['context'] ) && $_GET['context'] == 'webdados_fb_open_graph_specific_image_button')
|
812 |
+
|| (isset( $_SERVER['HTTP_REFERER'] )
|
813 |
+
&& strpos( $_SERVER['HTTP_REFERER'],
|
814 |
+
'context=webdados_fb_open_graph_specific_image_button' ) !== false)
|
815 |
+
) {
|
816 |
+
// Add button
|
817 |
+
add_filter( 'attachment_fields_to_edit', 'webdados_fb_open_graph_media_fields_to_edit_filter', 9999, 2 );
|
818 |
+
// Add JS
|
819 |
+
add_action( 'admin_head', 'webdados_fb_open_graph_media_admin_head' );
|
820 |
+
}
|
821 |
+
|
822 |
+
//Facebook, Google+ and Twitter user fields
|
823 |
+
function webdados_fb_open_graph_add_usercontacts($usercontacts) {
|
824 |
if (defined('WPSEO_VERSION')) {
|
825 |
//Google+
|
826 |
$usercontacts['googleplus'] = __('Google+', 'wd-fb-og');
|
877 |
'fb_locale_show' => 1,
|
878 |
'fb_sitename_show' => 1,
|
879 |
'fb_title_show' => 1,
|
880 |
+
'fb_title_show_schema' => 1,
|
881 |
'fb_url_show' => 1,
|
|
|
882 |
'fb_type_show' => 1,
|
883 |
+
'fb_article_dates_show' => 1,
|
884 |
+
'fb_article_sections_show' => 1,
|
885 |
'fb_desc_show' => 1,
|
886 |
+
'fb_desc_show_schema' => 1,
|
887 |
'fb_desc_chars' => 300,
|
888 |
'fb_image_show' => 1,
|
889 |
+
'fb_image_show_schema' => 1,
|
890 |
'fb_image_use_specific' => 1,
|
891 |
'fb_image_use_featured' => 1,
|
892 |
'fb_image_use_content' => 1,
|
898 |
}
|
899 |
function wonderm00n_open_graph_load_settings() {
|
900 |
global $wonderm00n_open_graph_plugin_settings;
|
901 |
+
if (is_array($wonderm00n_open_graph_plugin_settings)) { //To avoid activation errors
|
902 |
+
$defaults=wonderm00n_open_graph_default_values();
|
903 |
+
//Load the user settings (if they exist)
|
904 |
+
if ($usersettings=get_option('webdados_fb_open_graph_settings')) {
|
905 |
+
//Merge the settings "all together now" (yes, it's a Beatles reference)
|
906 |
+
foreach($wonderm00n_open_graph_plugin_settings as $key) {
|
907 |
+
if (isset($usersettings[$key])) {
|
908 |
+
if (strlen(trim($usersettings[$key]))==0) {
|
909 |
+
if (!empty($defaults[$key])) {
|
910 |
+
$usersettings[$key]=$defaults[$key];
|
911 |
+
}
|
912 |
+
}
|
913 |
+
} else {
|
914 |
if (!empty($defaults[$key])) {
|
915 |
$usersettings[$key]=$defaults[$key];
|
916 |
+
} else {
|
917 |
+
$usersettings[$key]=''; //Avoid notices
|
918 |
}
|
919 |
}
|
|
|
|
|
|
|
|
|
920 |
}
|
921 |
+
/*foreach($usersettings as $key => $value) {
|
922 |
+
//if ($value=='') {
|
923 |
+
if (strlen(trim($value))==0) {
|
924 |
+
if (!empty($defaults[$key])) {
|
925 |
+
$usersettings[$key]=$defaults[$key];
|
926 |
+
}
|
927 |
+
}
|
928 |
+
}*/
|
929 |
+
} else {
|
930 |
+
foreach($wonderm00n_open_graph_plugin_settings as $key) {
|
931 |
if (!empty($defaults[$key])) {
|
932 |
$usersettings[$key]=$defaults[$key];
|
933 |
+
} else {
|
934 |
+
$usersettings[$key]=''; //Avoid notices
|
935 |
}
|
936 |
}
|
937 |
+
}
|
938 |
+
return $usersettings;
|
939 |
} else {
|
940 |
+
return false; //To avoid activation errors
|
941 |
}
|
|
|
942 |
}
|
943 |
|
944 |
function wonderm00n_open_graph_upgrade() {
|
988 |
function wonderm00n_open_graph_post($var, $default='') {
|
989 |
return isset($_POST[$var]) ? $_POST[$var] : $default;
|
990 |
}
|
|
|
|