SEOPress - Version 1.7.6

Version Description

  • FIX some text domain translations
  • FIX Block SEO and Google Structured Data Types metaboxes for user roles
  • FIX Google Analytics Stats in WordPress Dashboard (PRO Only)
  • FIX Undefined variable seopress_google_analytics_auth
  • FIX Redirect licence manager
  • FIX XML Image Sitemaps (thanks to @mikyjoseph)
Download this release

Release Info

Developer rainbowgeek
Plugin Icon 128x128 SEOPress
Version 1.7.6
Comparing to
See all releases

Code changes from version 1.7.5 to 1.7.6

inc/admin/admin-metaboxes.php CHANGED
@@ -16,384 +16,391 @@ function seopress_advanced_security_metaboxe_role_hook_option() {
16
  }
17
  }
18
 
19
- if (is_user_logged_in()) {
20
- global $wp_roles;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
 
22
- //Get current user role
23
- if(isset(wp_get_current_user()->roles[0])) {
24
- $seopress_user_role = wp_get_current_user()->roles[0];
25
- //If current user role matchs values from Security settings then apply
26
- if (function_exists('seopress_advanced_security_metaboxe_role_hook_option') && seopress_advanced_security_metaboxe_role_hook_option() !='') {
27
- if( array_key_exists( $seopress_user_role, seopress_advanced_security_metaboxe_role_hook_option())) {
28
- //do nothing
 
 
 
 
29
  }
30
- } else {
31
- ///////////////////////////////////////////////////////////////////////////////////////////////////
32
- //Display metabox in Custom Post Type
33
- ///////////////////////////////////////////////////////////////////////////////////////////////////
34
- add_action('add_meta_boxes','seopress_init_metabox');
35
- function seopress_init_metabox(){
36
- foreach (seopress_get_post_types() as $key => $value) {
37
- add_meta_box('seopress_cpt', __('SEO','wp-seopress'), 'seopress_cpt', $key, 'normal', 'high');
38
- }
39
- add_meta_box('seopress_cpt', __('SEO','wp-seopress'), 'seopress_cpt', 'seopress_404', 'normal', 'high');
 
 
 
 
 
 
40
  }
 
41
 
42
- function seopress_cpt($post){
43
- global $typenow;
44
- $seopress_titles_title = get_post_meta($post->ID,'_seopress_titles_title',true);
45
- $seopress_titles_desc = get_post_meta($post->ID,'_seopress_titles_desc',true);
46
- $seopress_robots_index = get_post_meta($post->ID,'_seopress_robots_index',true);
47
- $seopress_robots_follow = get_post_meta($post->ID,'_seopress_robots_follow',true);
48
- $seopress_robots_odp = get_post_meta($post->ID,'_seopress_robots_odp',true);
49
- $seopress_robots_imageindex = get_post_meta($post->ID,'_seopress_robots_imageindex',true);
50
- $seopress_robots_archive = get_post_meta($post->ID,'_seopress_robots_archive',true);
51
- $seopress_robots_snippet = get_post_meta($post->ID,'_seopress_robots_snippet',true);
52
- $seopress_robots_canonical = get_post_meta($post->ID,'_seopress_robots_canonical',true);
53
- $seopress_social_fb_title = get_post_meta($post->ID,'_seopress_social_fb_title',true);
54
- $seopress_social_fb_desc = get_post_meta($post->ID,'_seopress_social_fb_desc',true);
55
- $seopress_social_fb_img = get_post_meta($post->ID,'_seopress_social_fb_img',true);
56
- $seopress_social_twitter_title = get_post_meta($post->ID,'_seopress_social_twitter_title',true);
57
- $seopress_social_twitter_desc = get_post_meta($post->ID,'_seopress_social_twitter_desc',true);
58
- $seopress_social_twitter_img = get_post_meta($post->ID,'_seopress_social_twitter_img',true);
59
- $seopress_redirections_enabled = get_post_meta($post->ID,'_seopress_redirections_enabled',true);
60
- $seopress_redirections_type = get_post_meta($post->ID,'_seopress_redirections_type',true);
61
- $seopress_redirections_value = get_post_meta($post->ID,'_seopress_redirections_value',true);
62
- $seopress_news_disabled = get_post_meta($post->ID,'_seopress_news_disabled',true);
63
- $seopress_news_genres = get_post_meta($post->ID,'_seopress_news_genres',true);
64
- $seopress_news_keyboard = get_post_meta($post->ID,'_seopress_news_keyboard',true);
65
-
66
- function seopress_titles_title($seopress_titles_title) {
67
- if ($seopress_titles_title !='') {
68
- return $seopress_titles_title;
69
- } else {
70
- return get_the_title().' - '.get_bloginfo('name');
71
- }
72
- }
73
-
74
- function seopress_titles_single_desc_option() {
75
- global $post;
76
- $seopress_get_current_cpt = get_post_type($post);
77
-
78
- $seopress_titles_single_desc_option = get_option("seopress_titles_option_name");
79
- if ( ! empty ( $seopress_titles_single_desc_option ) ) {
80
- foreach ($seopress_titles_single_desc_option as $key => $seopress_titles_single_desc_value)
81
- $options[$key] = $seopress_titles_single_desc_value;
82
- if (isset($seopress_titles_single_desc_option['seopress_titles_single_titles'][$seopress_get_current_cpt]['description'])) {
83
- return $seopress_titles_single_desc_option['seopress_titles_single_titles'][$seopress_get_current_cpt]['description'];
84
- }
85
- }
86
- }
87
-
88
- function seopress_titles_desc($seopress_titles_desc) {
89
- if ($seopress_titles_desc !='') {
90
- return $seopress_titles_desc;
91
- } else {
92
- global $post;
93
- if (seopress_titles_single_desc_option() !='') {
94
- return seopress_titles_single_desc_option();
95
- } elseif ( has_excerpt( $post->ID ) ) {
96
- // This post has excerpt
97
- return substr(wp_strip_all_tags($post->post_excerpt, true), 0, 160);
98
- } else {
99
- // This post has no excerpt
100
- return substr(wp_strip_all_tags($post->post_content, true), 0, 160);
101
- }
102
- }
103
- }
104
 
105
- function seopress_titles_single_cpt_date_option() {
106
- global $post;
107
- $seopress_get_current_cpt = get_post_type($post);
 
 
 
 
 
 
108
 
109
- $seopress_titles_single_cpt_date_option = get_option("seopress_titles_option_name");
110
- if ( ! empty ( $seopress_titles_single_cpt_date_option ) ) {
111
- foreach ($seopress_titles_single_cpt_date_option as $key => $seopress_titles_single_cpt_date_value)
112
- $options[$key] = $seopress_titles_single_cpt_date_value;
113
- if (isset($seopress_titles_single_cpt_date_option['seopress_titles_single_titles'][$seopress_get_current_cpt]['date'])) {
114
- return $seopress_titles_single_cpt_date_option['seopress_titles_single_titles'][$seopress_get_current_cpt]['date'];
115
- }
116
- }
117
- };
118
 
119
- function seopress_display_date_snippet() {
120
- if (seopress_titles_single_cpt_date_option()) {
121
- return '<div class="snippet-date">'.get_the_date('M j, Y').' - </div>';
122
- }
123
- }
124
 
125
- function seopress_redirections_value($seopress_redirections_value) {
126
- if ($seopress_redirections_value !='') {
127
- return $seopress_redirections_value;
 
 
 
128
  }
129
- }
130
-
131
- echo '<div id="seopress-tabs">';
132
- echo'<ul>';
133
- if ("seopress_404" != $typenow) {
134
- echo '<li><a href="#tabs-1"><span class="dashicons dashicons-editor-table"></span>'. __( 'Titles settings', 'wp-seopress' ) .'</a></li>
135
- <li><a href="#tabs-2"><span class="dashicons dashicons-admin-generic"></span>'. __( 'Advanced', 'wp-seopress' ) .'</a></li>
136
- <li><a href="#tabs-3"><span class="dashicons dashicons-share"></span>'. __( 'Social', 'wp-seopress' ) .'</a></li>';
137
- }
138
- echo '<li><a href="#tabs-4"><span class="dashicons dashicons-admin-links"></span>'. __( 'Redirection', 'wp-seopress' ) .'</a></li>';
139
- if (is_plugin_active( 'wp-seopress-pro/seopress-pro.php' )) {
140
- if ("seopress_404" != $typenow) {
141
- echo '<li><a href="#tabs-5"><span class="dashicons dashicons-admin-post"></span>'. __( 'Google News', 'wp-seopress-pro' ) .'</a></li>';
142
- }
143
- }
144
- echo '</ul>';
145
-
146
  if ("seopress_404" != $typenow) {
147
- echo '<div id="tabs-1">
148
- <div class="box-left">
149
- <p>
150
- <label for="seopress_titles_title_meta">'. __( 'Title', 'wp-seopress' ) .'</label>
151
- <input id="seopress_titles_title_meta" type="text" name="seopress_titles_title" placeholder="'.__('Enter your title','wp-seopress').'" value="'.$seopress_titles_title.'" />
152
- </p>
153
- <div class="wrap-seopress-counters">
154
- <div id="seopress_titles_title_counters"></div>
155
- '.__('(maximum recommended limit)','wp-seopress').'
156
- </div>
157
- <p>
158
- <label for="seopress_titles_desc_meta">'. __( 'Meta description', 'wp-seopress' ) .'</label>
159
- <textarea id="seopress_titles_desc_meta" style="width:100%" name="seopress_titles_desc" placeholder="'.__('Enter your meta description','wp-seopress').'" value="'.$seopress_titles_desc.'">'.$seopress_titles_desc.'</textarea>
160
- </p>
161
- <div class="wrap-seopress-counters">
162
- <div id="seopress_titles_desc_counters"></div>
163
- '.__('(maximum recommended limit)','wp-seopress').'
164
- </div>
165
- </div>
166
- <div class="box-right">
167
- <div class="google-snippet-preview">
168
- <h3>'.__('Google Snippet Preview','wp-seopress').'</h3>
169
- <p>'.__('This is what your page will look like in Google search results','wp-seopress').'</p>
170
- <div class="snippet-title">'.seopress_titles_title($seopress_titles_title).'</div>
171
- <div class="snippet-title-custom" style="display:none"></div>
172
- <div class="snippet-title-default" style="display:none">'.get_the_title().' - '.get_bloginfo('name').'</div>
173
- <div class="snippet-permalink">'.get_permalink().'</div>';
174
- echo seopress_display_date_snippet();
175
- echo '<div class="snippet-description">'.seopress_titles_desc($seopress_titles_desc).'...</div>
176
- <div class="snippet-description-custom" style="display:none"></div>
177
- <div class="snippet-description-default" style="display:none">'.seopress_titles_desc($seopress_titles_desc).'</div>';
178
- echo '</div>
179
- </div>
180
- </div>
181
- <div id="tabs-2">
182
- <p>
183
- <label for="seopress_robots_index_meta">
184
- <input type="checkbox" name="seopress_robots_index" id="seopress_robots_index_meta" value="yes" '. checked( $seopress_robots_index, 'yes', false ) .' />
185
- '. __( 'noindex', 'wp-seopress' ) .'
186
- </label><span class="dashicons dashicons-info" title="'.esc_html(__('Do not display all pages of the site in Google search results and do not display "Cached" links in search results.','wp-seopress')).'"></span>
187
- </p>
188
- <p>
189
- <label for="seopress_robots_follow_meta">
190
- <input type="checkbox" name="seopress_robots_follow" id="seopress_robots_follow_meta" value="yes" '. checked( $seopress_robots_follow, 'yes', false ) .' />
191
- '. __( 'nofollow', 'wp-seopress' ) .'
192
- </label><span class="dashicons dashicons-info" title="'.esc_html(__('Do not follow links for all pages.','wp-seopress')).'"></span>
193
- </p>
194
- <p>
195
- <label for="seopress_robots_odp_meta">
196
- <input type="checkbox" name="seopress_robots_odp" id="seopress_robots_odp_meta" value="yes" '. checked( $seopress_robots_odp, 'yes', false ) .' />
197
- '. __( 'noodp', 'wp-seopress' ) .'
198
- </label><span class="dashicons dashicons-info" title="'.esc_html(__('Do not use Open Directory project metadata for titles or excerpts for all pages.','wp-seopress')).'"></span>
199
- </p>
200
- <p>
201
- <label for="seopress_robots_imageindex_meta">
202
- <input type="checkbox" name="seopress_robots_imageindex" id="seopress_robots_imageindex_meta" value="yes" '. checked( $seopress_robots_imageindex, 'yes', false ) .' />
203
- '. __( 'noimageindex', 'wp-seopress' ) .'
204
- </label><span class="dashicons dashicons-info" title="'.esc_html(__('Do not index images from the entire site.','wp-seopress')).'"></span>
205
- </p>
206
- <p>
207
- <label for="seopress_robots_archive_meta">
208
- <input type="checkbox" name="seopress_robots_archive" id="seopress_robots_archive_meta" value="yes" '. checked( $seopress_robots_archive, 'yes', false ) .' />
209
- '. __( 'noarchive', 'wp-seopress' ) .'
210
- </label><span class="dashicons dashicons-info" title="'.esc_html(__('Do not display a "Cached" link in the Google search results.','wp-seopress')).'"></span>
211
- </p>
212
- <p>
213
- <label for="seopress_robots_snippet_meta">
214
- <input type="checkbox" name="seopress_robots_snippet" id="seopress_robots_snippet_meta" value="yes" '. checked( $seopress_robots_snippet, 'yes', false ) .' />
215
- '. __( 'nosnippet', 'wp-seopress' ) .'
216
- </label><span class="dashicons dashicons-info" title="'.esc_html(__('Do not display a description in the Google search results for all pages.','wp-seopress')).'"></span>
217
- </p>
218
- <p>
219
- <label for="seopress_robots_canonical_meta">'. __( 'Canonical URL', 'wp-seopress' ) .'</label>
220
- <input id="seopress_robots_canonical_meta" type="text" name="seopress_robots_canonical" placeholder="'.__('Default value: ','wp-seopress').get_permalink().'" value="'.$seopress_robots_canonical.'" />
221
- </p>
222
- </div>
223
- <div id="tabs-3">
224
- <span class="dashicons dashicons-facebook-alt"></span>
225
- <p>
226
- <label for="seopress_social_fb_title_meta">'. __( 'Facebook Title', 'wp-seopress' ) .'</label>
227
- <input id="seopress_social_fb_title_meta" type="text" name="seopress_social_fb_title" placeholder="'.__('Enter your Facebook title','wp-seopress').'" value="'.$seopress_social_fb_title.'" />
228
- </p>
229
- <p>
230
- <label for="seopress_social_fb_desc_meta">'. __( 'Facebook description', 'wp-seopress' ) .'</label>
231
- <textarea id="seopress_social_fb_desc_meta" name="seopress_social_fb_desc" placeholder="'.__('Enter your Facebook description','wp-seopress').'" value="'.$seopress_social_fb_desc.'">'.$seopress_social_fb_desc.'</textarea>
232
- </p>
233
- <p>
234
- <label for="seopress_social_fb_img_meta">'. __( 'Facebook Thumbnail', 'wp-seopress' ) .'</label>
235
- <span class="advise">'. __('Minimum size: 200x200px', 'wp-seopress') .'</span>
236
- <input id="seopress_social_fb_img_meta" type="text" name="seopress_social_fb_img" placeholder="'.__('Select your default thumbnail','wp-seopress').'" value="'.$seopress_social_fb_img.'" />
237
- <input id="seopress_social_fb_img_upload" class="button" type="button" value="'.__('Upload an Image','wp-seopress').'" />
238
- </p>
239
- <br/>
240
- <span class="dashicons dashicons-twitter"></span>
241
- <p>
242
- <label for="seopress_social_twitter_title_meta">'. __( 'Twitter Title', 'wp-seopress' ) .'</label>
243
- <input id="seopress_social_twitter_title_meta" type="text" name="seopress_social_twitter_title" placeholder="'.__('Enter your Twitter title','wp-seopress').'" value="'.$seopress_social_twitter_title.'" />
244
- </p>
245
- <p>
246
- <label for="seopress_social_twitter_desc_meta">'. __( 'Twitter description', 'wp-seopress' ) .'</label>
247
- <textarea id="seopress_social_twitter_desc_meta" name="seopress_social_twitter_desc" placeholder="'.__('Enter your Twitter description','wp-seopress').'" value="'.$seopress_social_twitter_desc.'">'.$seopress_social_twitter_desc.'</textarea>
248
- </p>
249
- <p>
250
- <label for="seopress_social_twitter_img_meta">'. __( 'Twitter Thumbnail', 'wp-seopress' ) .'</label>
251
- <span class="advise">'. __('Minimum size: 160x160px', 'wp-seopress') .'</span>
252
- <input id="seopress_social_twitter_img_meta" type="text" name="seopress_social_twitter_img" placeholder="'.__('Select your default thumbnail','wp-seopress').'" value="'.$seopress_social_twitter_img.'" />
253
- <input id="seopress_social_twitter_img_upload" class="button" type="button" value="'.__('Upload an Image','wp-seopress').'" />
254
- </p>
255
- </div>';
256
- }
257
-
258
- echo '<div id="tabs-4">
259
- <p>
260
- <label for="seopress_redirections_enabled_meta" id="seopress_redirections_enabled">
261
- <input type="checkbox" name="seopress_redirections_enabled" id="seopress_redirections_enabled_meta" value="yes" '. checked( $seopress_redirections_enabled, 'yes', false ) .' />
262
- '. __( 'Enable redirection?', 'wp-seopress' ) .'
263
- </label>
264
- </p>
265
- <p>
266
- <label for="seopress_redirections_value_meta">'. __( 'URL redirection', 'wp-seopress' ) .'</label>
267
- <select name="seopress_redirections_type">
268
- <option ' . selected( '301', $seopress_redirections_type, false ) . ' value="301">'. __( '301 Moved Permanently', 'wp-seopress' ) .'</option>
269
- <option ' . selected( '302', $seopress_redirections_type, false ) . ' value="302">'. __( '302 Found (HTTP 1.1) / Moved Temporarily (HTTP 1.0)', 'wp-seopress' ) .'</option>
270
- <option ' . selected( '307', $seopress_redirections_type, false ) . ' value="307">'. __( '307 Moved Temporarily (HTTP 1.1 Only)', 'wp-seopress' ) .'</option>
271
- </select>
272
- <input id="seopress_redirections_value_meta" type="text" name="seopress_redirections_value" placeholder="'.__('Enter your new URL','wp-seopress').'" value="'.$seopress_redirections_value.'" />
273
- <br><br>';
274
- if ($seopress_redirections_value !='') {
275
- echo '<a href="'.seopress_redirections_value($seopress_redirections_value).'" id="seopress_redirections_value_default" class="button" target="_blank">'.__('Test your URL','wp-seopress').'</a>';
276
- }
277
- echo '<a href="" id="seopress_redirections_value_live" class="button" target="_blank" style="display: none">'.__('Test your URL','wp-seopress').'</a>
278
- </p>
279
- </div>';
280
- if (is_plugin_active( 'wp-seopress-pro/seopress-pro.php' )) {
281
- if ("seopress_404" != $typenow) {
282
- echo '<div id="tabs-5">
283
- <p>
284
- <label for="seopress_news_disabled_meta" id="seopress_news_disabled">
285
- <input type="checkbox" name="seopress_news_disabled" id="seopress_news_disabled_meta" value="yes" '. checked( $seopress_news_disabled, 'yes', false ) .' />
286
- '. __( 'Exclude this post from Google News Sitemap?', 'wp-seopress' ) .'
287
- </label>
288
- </p>
289
- <p>
290
- <label for="seopress_news_genres_meta">'. __( 'Google News Genres', 'wp-seopress' ) .'</label>
291
- <select name="seopress_news_genres">
292
- <option ' . selected( 'none', $seopress_news_genres, false ) . ' value="none">'. __( 'None', 'wp-seopress' ) .'</option>
293
- <option ' . selected( 'pressrelease', $seopress_news_genres, false ) . ' value="pressrelease">'. __( 'Press Release', 'wp-seopress' ) .'</option>
294
- <option ' . selected( 'satire', $seopress_news_genres, false ) . ' value="satire">'. __( 'Satire', 'wp-seopress' ) .'</option>
295
- <option ' . selected( 'blog', $seopress_news_genres, false ) . ' value="blog">'. __( 'Blog', 'wp-seopress' ) .'</option>
296
- <option ' . selected( 'oped', $seopress_news_genres, false ) . ' value="oped">'. __( 'OpEd', 'wp-seopress' ) .'</option>
297
- <option ' . selected( 'opinion', $seopress_news_genres, false ) . ' value="opinion">'. __( 'Opinion', 'wp-seopress' ) .'</option>
298
- <option ' . selected( 'usergenerated', $seopress_news_genres, false ) . ' value="usergenerated">'. __( 'UserGenerated', 'wp-seopress' ) .'</option>
299
- </select>
300
- </p>
301
- <p>
302
- <label for="seopress_news_keyboard_meta" id="seopress_news_keyboard">
303
- '. __( 'Google News Keywords <em>(max recommended limit: 12)</em>', 'wp-seopress' ) .'</label>
304
- <input id="seopress_news_keyboard_meta" type="text" name="seopress_news_keyboard" placeholder="'.__('Enter your Google News Keywords','wp-seopress').'" value="'.$seopress_news_keyboard.'" />
305
- </p>
306
- </div>';
307
  }
308
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
309
  echo '</div>
310
- ';
311
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
312
 
313
- add_action('save_post','seopress_save_metabox');
314
- function seopress_save_metabox($post_id){
315
- if ( 'attachment' !== get_post_type($post_id)) {
316
- if(isset($_POST['seopress_titles_title'])){
317
- update_post_meta($post_id, '_seopress_titles_title', esc_html($_POST['seopress_titles_title']));
318
- }
319
- if(isset($_POST['seopress_titles_desc'])){
320
- update_post_meta($post_id, '_seopress_titles_desc', esc_html($_POST['seopress_titles_desc']));
321
- }
322
- if( isset( $_POST[ 'seopress_robots_index' ] ) ) {
323
- update_post_meta( $post_id, '_seopress_robots_index', 'yes' );
324
- } else {
325
- delete_post_meta( $post_id, '_seopress_robots_index', '' );
326
- }
327
- if( isset( $_POST[ 'seopress_robots_follow' ] ) ) {
328
- update_post_meta( $post_id, '_seopress_robots_follow', 'yes' );
329
- } else {
330
- delete_post_meta( $post_id, '_seopress_robots_follow', '' );
331
- }
332
- if( isset( $_POST[ 'seopress_robots_odp' ] ) ) {
333
- update_post_meta( $post_id, '_seopress_robots_odp', 'yes' );
334
- } else {
335
- delete_post_meta( $post_id, '_seopress_robots_odp', '' );
336
- }
337
- if( isset( $_POST[ 'seopress_robots_imageindex' ] ) ) {
338
- update_post_meta( $post_id, '_seopress_robots_imageindex', 'yes' );
339
- } else {
340
- delete_post_meta( $post_id, '_seopress_robots_imageindex', '' );
341
- }
342
- if( isset( $_POST[ 'seopress_robots_archive' ] ) ) {
343
- update_post_meta( $post_id, '_seopress_robots_archive', 'yes' );
344
- } else {
345
- delete_post_meta( $post_id, '_seopress_robots_archive', '' );
346
- }
347
- if( isset( $_POST[ 'seopress_robots_snippet' ] ) ) {
348
- update_post_meta( $post_id, '_seopress_robots_snippet', 'yes' );
349
- } else {
350
- delete_post_meta( $post_id, '_seopress_robots_snippet', '' );
351
- }
352
- if(isset($_POST['seopress_robots_canonical'])){
353
- update_post_meta($post_id, '_seopress_robots_canonical', esc_html($_POST['seopress_robots_canonical']));
354
- }
355
- if(isset($_POST['seopress_social_fb_title'])){
356
- update_post_meta($post_id, '_seopress_social_fb_title', esc_html($_POST['seopress_social_fb_title']));
357
- }
358
- if(isset($_POST['seopress_social_fb_desc'])){
359
- update_post_meta($post_id, '_seopress_social_fb_desc', esc_html($_POST['seopress_social_fb_desc']));
360
- }
361
- if(isset($_POST['seopress_social_fb_img'])){
362
- update_post_meta($post_id, '_seopress_social_fb_img', esc_html($_POST['seopress_social_fb_img']));
363
- }
364
- if(isset($_POST['seopress_social_twitter_title'])){
365
- update_post_meta($post_id, '_seopress_social_twitter_title', esc_html($_POST['seopress_social_twitter_title']));
366
- }
367
- if(isset($_POST['seopress_social_twitter_desc'])){
368
- update_post_meta($post_id, '_seopress_social_twitter_desc', esc_html($_POST['seopress_social_twitter_desc']));
369
- }
370
- if(isset($_POST['seopress_social_twitter_img'])){
371
- update_post_meta($post_id, '_seopress_social_twitter_img', esc_html($_POST['seopress_social_twitter_img']));
372
- }
373
- if(isset($_POST['seopress_redirections_type'])){
374
- update_post_meta($post_id, '_seopress_redirections_type', $_POST['seopress_redirections_type']);
375
- }
376
- if(isset($_POST['seopress_redirections_value'])){
377
- update_post_meta($post_id, '_seopress_redirections_value', esc_html($_POST['seopress_redirections_value']));
378
- }
379
- if( isset( $_POST[ 'seopress_redirections_enabled' ] ) ) {
380
- update_post_meta( $post_id, '_seopress_redirections_enabled', 'yes' );
381
- } else {
382
- delete_post_meta( $post_id, '_seopress_redirections_enabled', '' );
383
- }
384
- if( isset( $_POST[ 'seopress_news_disabled' ] ) ) {
385
- update_post_meta( $post_id, '_seopress_news_disabled', 'yes' );
386
- } else {
387
- delete_post_meta( $post_id, '_seopress_news_disabled', '' );
388
- }
389
- if(isset($_POST['seopress_news_genres'])){
390
- update_post_meta($post_id, '_seopress_news_genres', $_POST['seopress_news_genres']);
391
- }
392
- if(isset($_POST['seopress_news_keyboard'])){
393
- update_post_meta($post_id, '_seopress_news_keyboard', esc_html($_POST['seopress_news_keyboard']));
394
- }
395
  }
396
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
397
  }
398
  }
399
  }
16
  }
17
  }
18
 
19
+ ///////////////////////////////////////////////////////////////////////////////////////////////////
20
+ //Display metabox in Custom Post Type
21
+ ///////////////////////////////////////////////////////////////////////////////////////////////////
22
+ function seopress_display_seo_metaboxe() {
23
+ add_action('add_meta_boxes','seopress_init_metabox');
24
+ function seopress_init_metabox(){
25
+ foreach (seopress_get_post_types() as $key => $value) {
26
+ add_meta_box('seopress_cpt', __('SEO','wp-seopress'), 'seopress_cpt', $key, 'normal', 'high');
27
+ }
28
+ add_meta_box('seopress_cpt', __('SEO','wp-seopress'), 'seopress_cpt', 'seopress_404', 'normal', 'high');
29
+ }
30
+
31
+ function seopress_cpt($post){
32
+ global $typenow;
33
+ $seopress_titles_title = get_post_meta($post->ID,'_seopress_titles_title',true);
34
+ $seopress_titles_desc = get_post_meta($post->ID,'_seopress_titles_desc',true);
35
+ $seopress_robots_index = get_post_meta($post->ID,'_seopress_robots_index',true);
36
+ $seopress_robots_follow = get_post_meta($post->ID,'_seopress_robots_follow',true);
37
+ $seopress_robots_odp = get_post_meta($post->ID,'_seopress_robots_odp',true);
38
+ $seopress_robots_imageindex = get_post_meta($post->ID,'_seopress_robots_imageindex',true);
39
+ $seopress_robots_archive = get_post_meta($post->ID,'_seopress_robots_archive',true);
40
+ $seopress_robots_snippet = get_post_meta($post->ID,'_seopress_robots_snippet',true);
41
+ $seopress_robots_canonical = get_post_meta($post->ID,'_seopress_robots_canonical',true);
42
+ $seopress_social_fb_title = get_post_meta($post->ID,'_seopress_social_fb_title',true);
43
+ $seopress_social_fb_desc = get_post_meta($post->ID,'_seopress_social_fb_desc',true);
44
+ $seopress_social_fb_img = get_post_meta($post->ID,'_seopress_social_fb_img',true);
45
+ $seopress_social_twitter_title = get_post_meta($post->ID,'_seopress_social_twitter_title',true);
46
+ $seopress_social_twitter_desc = get_post_meta($post->ID,'_seopress_social_twitter_desc',true);
47
+ $seopress_social_twitter_img = get_post_meta($post->ID,'_seopress_social_twitter_img',true);
48
+ $seopress_redirections_enabled = get_post_meta($post->ID,'_seopress_redirections_enabled',true);
49
+ $seopress_redirections_type = get_post_meta($post->ID,'_seopress_redirections_type',true);
50
+ $seopress_redirections_value = get_post_meta($post->ID,'_seopress_redirections_value',true);
51
+ $seopress_news_disabled = get_post_meta($post->ID,'_seopress_news_disabled',true);
52
+ $seopress_news_genres = get_post_meta($post->ID,'_seopress_news_genres',true);
53
+ $seopress_news_keyboard = get_post_meta($post->ID,'_seopress_news_keyboard',true);
54
+
55
+ function seopress_titles_title($seopress_titles_title) {
56
+ if ($seopress_titles_title !='') {
57
+ return $seopress_titles_title;
58
+ } else {
59
+ return get_the_title().' - '.get_bloginfo('name');
60
+ }
61
+ }
62
 
63
+ function seopress_titles_single_desc_option() {
64
+ global $post;
65
+ $seopress_get_current_cpt = get_post_type($post);
66
+
67
+ $seopress_titles_single_desc_option = get_option("seopress_titles_option_name");
68
+ if ( ! empty ( $seopress_titles_single_desc_option ) ) {
69
+ foreach ($seopress_titles_single_desc_option as $key => $seopress_titles_single_desc_value)
70
+ $options[$key] = $seopress_titles_single_desc_value;
71
+ if (isset($seopress_titles_single_desc_option['seopress_titles_single_titles'][$seopress_get_current_cpt]['description'])) {
72
+ return $seopress_titles_single_desc_option['seopress_titles_single_titles'][$seopress_get_current_cpt]['description'];
73
+ }
74
  }
75
+ }
76
+
77
+ function seopress_titles_desc($seopress_titles_desc) {
78
+ if ($seopress_titles_desc !='') {
79
+ return $seopress_titles_desc;
80
+ } else {
81
+ global $post;
82
+ if (seopress_titles_single_desc_option() !='') {
83
+ return seopress_titles_single_desc_option();
84
+ } elseif ( has_excerpt( $post->ID ) ) {
85
+ // This post has excerpt
86
+ return substr(wp_strip_all_tags($post->post_excerpt, true), 0, 160);
87
+ } else {
88
+ // This post has no excerpt
89
+ return substr(wp_strip_all_tags($post->post_content, true), 0, 160);
90
+ }
91
  }
92
+ }
93
 
94
+ function seopress_titles_single_cpt_date_option() {
95
+ global $post;
96
+ $seopress_get_current_cpt = get_post_type($post);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
 
98
+ $seopress_titles_single_cpt_date_option = get_option("seopress_titles_option_name");
99
+ if ( ! empty ( $seopress_titles_single_cpt_date_option ) ) {
100
+ foreach ($seopress_titles_single_cpt_date_option as $key => $seopress_titles_single_cpt_date_value)
101
+ $options[$key] = $seopress_titles_single_cpt_date_value;
102
+ if (isset($seopress_titles_single_cpt_date_option['seopress_titles_single_titles'][$seopress_get_current_cpt]['date'])) {
103
+ return $seopress_titles_single_cpt_date_option['seopress_titles_single_titles'][$seopress_get_current_cpt]['date'];
104
+ }
105
+ }
106
+ };
107
 
108
+ function seopress_display_date_snippet() {
109
+ if (seopress_titles_single_cpt_date_option()) {
110
+ return '<div class="snippet-date">'.get_the_date('M j, Y').' - </div>';
111
+ }
112
+ }
 
 
 
 
113
 
114
+ function seopress_redirections_value($seopress_redirections_value) {
115
+ if ($seopress_redirections_value !='') {
116
+ return $seopress_redirections_value;
117
+ }
118
+ }
119
 
120
+ echo '<div id="seopress-tabs">';
121
+ echo'<ul>';
122
+ if ("seopress_404" != $typenow) {
123
+ echo '<li><a href="#tabs-1"><span class="dashicons dashicons-editor-table"></span>'. __( 'Titles settings', 'wp-seopress' ) .'</a></li>
124
+ <li><a href="#tabs-2"><span class="dashicons dashicons-admin-generic"></span>'. __( 'Advanced', 'wp-seopress' ) .'</a></li>
125
+ <li><a href="#tabs-3"><span class="dashicons dashicons-share"></span>'. __( 'Social', 'wp-seopress' ) .'</a></li>';
126
  }
127
+ echo '<li><a href="#tabs-4"><span class="dashicons dashicons-admin-links"></span>'. __( 'Redirection', 'wp-seopress' ) .'</a></li>';
128
+ if (is_plugin_active( 'wp-seopress-pro/seopress-pro.php' )) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  if ("seopress_404" != $typenow) {
130
+ echo '<li><a href="#tabs-5"><span class="dashicons dashicons-admin-post"></span>'. __( 'Google News', 'wp-seopress-pro' ) .'</a></li>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
131
  }
132
  }
133
+ echo '</ul>';
134
+
135
+ if ("seopress_404" != $typenow) {
136
+ echo '<div id="tabs-1">
137
+ <div class="box-left">
138
+ <p>
139
+ <label for="seopress_titles_title_meta">'. __( 'Title', 'wp-seopress' ) .'</label>
140
+ <input id="seopress_titles_title_meta" type="text" name="seopress_titles_title" placeholder="'.__('Enter your title','wp-seopress').'" value="'.$seopress_titles_title.'" />
141
+ </p>
142
+ <div class="wrap-seopress-counters">
143
+ <div id="seopress_titles_title_counters"></div>
144
+ '.__('(maximum recommended limit)','wp-seopress').'
145
+ </div>
146
+ <p>
147
+ <label for="seopress_titles_desc_meta">'. __( 'Meta description', 'wp-seopress' ) .'</label>
148
+ <textarea id="seopress_titles_desc_meta" style="width:100%" name="seopress_titles_desc" placeholder="'.__('Enter your meta description','wp-seopress').'" value="'.$seopress_titles_desc.'">'.$seopress_titles_desc.'</textarea>
149
+ </p>
150
+ <div class="wrap-seopress-counters">
151
+ <div id="seopress_titles_desc_counters"></div>
152
+ '.__('(maximum recommended limit)','wp-seopress').'
153
+ </div>
154
+ </div>
155
+ <div class="box-right">
156
+ <div class="google-snippet-preview">
157
+ <h3>'.__('Google Snippet Preview','wp-seopress').'</h3>
158
+ <p>'.__('This is what your page will look like in Google search results','wp-seopress').'</p>
159
+ <div class="snippet-title">'.seopress_titles_title($seopress_titles_title).'</div>
160
+ <div class="snippet-title-custom" style="display:none"></div>
161
+ <div class="snippet-title-default" style="display:none">'.get_the_title().' - '.get_bloginfo('name').'</div>
162
+ <div class="snippet-permalink">'.get_permalink().'</div>';
163
+ echo seopress_display_date_snippet();
164
+ echo '<div class="snippet-description">'.seopress_titles_desc($seopress_titles_desc).'...</div>
165
+ <div class="snippet-description-custom" style="display:none"></div>
166
+ <div class="snippet-description-default" style="display:none">'.seopress_titles_desc($seopress_titles_desc).'</div>';
167
  echo '</div>
168
+ </div>
169
+ </div>
170
+ <div id="tabs-2">
171
+ <p>
172
+ <label for="seopress_robots_index_meta">
173
+ <input type="checkbox" name="seopress_robots_index" id="seopress_robots_index_meta" value="yes" '. checked( $seopress_robots_index, 'yes', false ) .' />
174
+ '. __( 'noindex', 'wp-seopress' ) .'
175
+ </label><span class="dashicons dashicons-info" title="'.esc_html(__('Do not display all pages of the site in Google search results and do not display "Cached" links in search results.','wp-seopress')).'"></span>
176
+ </p>
177
+ <p>
178
+ <label for="seopress_robots_follow_meta">
179
+ <input type="checkbox" name="seopress_robots_follow" id="seopress_robots_follow_meta" value="yes" '. checked( $seopress_robots_follow, 'yes', false ) .' />
180
+ '. __( 'nofollow', 'wp-seopress' ) .'
181
+ </label><span class="dashicons dashicons-info" title="'.esc_html(__('Do not follow links for all pages.','wp-seopress')).'"></span>
182
+ </p>
183
+ <p>
184
+ <label for="seopress_robots_odp_meta">
185
+ <input type="checkbox" name="seopress_robots_odp" id="seopress_robots_odp_meta" value="yes" '. checked( $seopress_robots_odp, 'yes', false ) .' />
186
+ '. __( 'noodp', 'wp-seopress' ) .'
187
+ </label><span class="dashicons dashicons-info" title="'.esc_html(__('Do not use Open Directory project metadata for titles or excerpts for all pages.','wp-seopress')).'"></span>
188
+ </p>
189
+ <p>
190
+ <label for="seopress_robots_imageindex_meta">
191
+ <input type="checkbox" name="seopress_robots_imageindex" id="seopress_robots_imageindex_meta" value="yes" '. checked( $seopress_robots_imageindex, 'yes', false ) .' />
192
+ '. __( 'noimageindex', 'wp-seopress' ) .'
193
+ </label><span class="dashicons dashicons-info" title="'.esc_html(__('Do not index images from the entire site.','wp-seopress')).'"></span>
194
+ </p>
195
+ <p>
196
+ <label for="seopress_robots_archive_meta">
197
+ <input type="checkbox" name="seopress_robots_archive" id="seopress_robots_archive_meta" value="yes" '. checked( $seopress_robots_archive, 'yes', false ) .' />
198
+ '. __( 'noarchive', 'wp-seopress' ) .'
199
+ </label><span class="dashicons dashicons-info" title="'.esc_html(__('Do not display a "Cached" link in the Google search results.','wp-seopress')).'"></span>
200
+ </p>
201
+ <p>
202
+ <label for="seopress_robots_snippet_meta">
203
+ <input type="checkbox" name="seopress_robots_snippet" id="seopress_robots_snippet_meta" value="yes" '. checked( $seopress_robots_snippet, 'yes', false ) .' />
204
+ '. __( 'nosnippet', 'wp-seopress' ) .'
205
+ </label><span class="dashicons dashicons-info" title="'.esc_html(__('Do not display a description in the Google search results for all pages.','wp-seopress')).'"></span>
206
+ </p>
207
+ <p>
208
+ <label for="seopress_robots_canonical_meta">'. __( 'Canonical URL', 'wp-seopress' ) .'</label>
209
+ <input id="seopress_robots_canonical_meta" type="text" name="seopress_robots_canonical" placeholder="'.__('Default value: ','wp-seopress').get_permalink().'" value="'.$seopress_robots_canonical.'" />
210
+ </p>
211
+ </div>
212
+ <div id="tabs-3">
213
+ <span class="dashicons dashicons-facebook-alt"></span>
214
+ <p>
215
+ <label for="seopress_social_fb_title_meta">'. __( 'Facebook Title', 'wp-seopress' ) .'</label>
216
+ <input id="seopress_social_fb_title_meta" type="text" name="seopress_social_fb_title" placeholder="'.__('Enter your Facebook title','wp-seopress').'" value="'.$seopress_social_fb_title.'" />
217
+ </p>
218
+ <p>
219
+ <label for="seopress_social_fb_desc_meta">'. __( 'Facebook description', 'wp-seopress' ) .'</label>
220
+ <textarea id="seopress_social_fb_desc_meta" name="seopress_social_fb_desc" placeholder="'.__('Enter your Facebook description','wp-seopress').'" value="'.$seopress_social_fb_desc.'">'.$seopress_social_fb_desc.'</textarea>
221
+ </p>
222
+ <p>
223
+ <label for="seopress_social_fb_img_meta">'. __( 'Facebook Thumbnail', 'wp-seopress' ) .'</label>
224
+ <span class="advise">'. __('Minimum size: 200x200px', 'wp-seopress') .'</span>
225
+ <input id="seopress_social_fb_img_meta" type="text" name="seopress_social_fb_img" placeholder="'.__('Select your default thumbnail','wp-seopress').'" value="'.$seopress_social_fb_img.'" />
226
+ <input id="seopress_social_fb_img_upload" class="button" type="button" value="'.__('Upload an Image','wp-seopress').'" />
227
+ </p>
228
+ <br/>
229
+ <span class="dashicons dashicons-twitter"></span>
230
+ <p>
231
+ <label for="seopress_social_twitter_title_meta">'. __( 'Twitter Title', 'wp-seopress' ) .'</label>
232
+ <input id="seopress_social_twitter_title_meta" type="text" name="seopress_social_twitter_title" placeholder="'.__('Enter your Twitter title','wp-seopress').'" value="'.$seopress_social_twitter_title.'" />
233
+ </p>
234
+ <p>
235
+ <label for="seopress_social_twitter_desc_meta">'. __( 'Twitter description', 'wp-seopress' ) .'</label>
236
+ <textarea id="seopress_social_twitter_desc_meta" name="seopress_social_twitter_desc" placeholder="'.__('Enter your Twitter description','wp-seopress').'" value="'.$seopress_social_twitter_desc.'">'.$seopress_social_twitter_desc.'</textarea>
237
+ </p>
238
+ <p>
239
+ <label for="seopress_social_twitter_img_meta">'. __( 'Twitter Thumbnail', 'wp-seopress' ) .'</label>
240
+ <span class="advise">'. __('Minimum size: 160x160px', 'wp-seopress') .'</span>
241
+ <input id="seopress_social_twitter_img_meta" type="text" name="seopress_social_twitter_img" placeholder="'.__('Select your default thumbnail','wp-seopress').'" value="'.$seopress_social_twitter_img.'" />
242
+ <input id="seopress_social_twitter_img_upload" class="button" type="button" value="'.__('Upload an Image','wp-seopress').'" />
243
+ </p>
244
+ </div>';
245
+ }
246
 
247
+ echo '<div id="tabs-4">
248
+ <p>
249
+ <label for="seopress_redirections_enabled_meta" id="seopress_redirections_enabled">
250
+ <input type="checkbox" name="seopress_redirections_enabled" id="seopress_redirections_enabled_meta" value="yes" '. checked( $seopress_redirections_enabled, 'yes', false ) .' />
251
+ '. __( 'Enable redirection?', 'wp-seopress' ) .'
252
+ </label>
253
+ </p>
254
+ <p>
255
+ <label for="seopress_redirections_value_meta">'. __( 'URL redirection', 'wp-seopress' ) .'</label>
256
+ <select name="seopress_redirections_type">
257
+ <option ' . selected( '301', $seopress_redirections_type, false ) . ' value="301">'. __( '301 Moved Permanently', 'wp-seopress' ) .'</option>
258
+ <option ' . selected( '302', $seopress_redirections_type, false ) . ' value="302">'. __( '302 Found (HTTP 1.1) / Moved Temporarily (HTTP 1.0)', 'wp-seopress' ) .'</option>
259
+ <option ' . selected( '307', $seopress_redirections_type, false ) . ' value="307">'. __( '307 Moved Temporarily (HTTP 1.1 Only)', 'wp-seopress' ) .'</option>
260
+ </select>
261
+ <input id="seopress_redirections_value_meta" type="text" name="seopress_redirections_value" placeholder="'.__('Enter your new URL','wp-seopress').'" value="'.$seopress_redirections_value.'" />
262
+ <br><br>';
263
+ if ($seopress_redirections_value !='') {
264
+ echo '<a href="'.seopress_redirections_value($seopress_redirections_value).'" id="seopress_redirections_value_default" class="button" target="_blank">'.__('Test your URL','wp-seopress').'</a>';
265
+ }
266
+ echo '<a href="" id="seopress_redirections_value_live" class="button" target="_blank" style="display: none">'.__('Test your URL','wp-seopress').'</a>
267
+ </p>
268
+ </div>';
269
+ if (is_plugin_active( 'wp-seopress-pro/seopress-pro.php' )) {
270
+ if ("seopress_404" != $typenow) {
271
+ echo '<div id="tabs-5">
272
+ <p>
273
+ <label for="seopress_news_disabled_meta" id="seopress_news_disabled">
274
+ <input type="checkbox" name="seopress_news_disabled" id="seopress_news_disabled_meta" value="yes" '. checked( $seopress_news_disabled, 'yes', false ) .' />
275
+ '. __( 'Exclude this post from Google News Sitemap?', 'wp-seopress' ) .'
276
+ </label>
277
+ </p>
278
+ <p>
279
+ <label for="seopress_news_genres_meta">'. __( 'Google News Genres', 'wp-seopress' ) .'</label>
280
+ <select name="seopress_news_genres">
281
+ <option ' . selected( 'none', $seopress_news_genres, false ) . ' value="none">'. __( 'None', 'wp-seopress' ) .'</option>
282
+ <option ' . selected( 'pressrelease', $seopress_news_genres, false ) . ' value="pressrelease">'. __( 'Press Release', 'wp-seopress' ) .'</option>
283
+ <option ' . selected( 'satire', $seopress_news_genres, false ) . ' value="satire">'. __( 'Satire', 'wp-seopress' ) .'</option>
284
+ <option ' . selected( 'blog', $seopress_news_genres, false ) . ' value="blog">'. __( 'Blog', 'wp-seopress' ) .'</option>
285
+ <option ' . selected( 'oped', $seopress_news_genres, false ) . ' value="oped">'. __( 'OpEd', 'wp-seopress' ) .'</option>
286
+ <option ' . selected( 'opinion', $seopress_news_genres, false ) . ' value="opinion">'. __( 'Opinion', 'wp-seopress' ) .'</option>
287
+ <option ' . selected( 'usergenerated', $seopress_news_genres, false ) . ' value="usergenerated">'. __( 'UserGenerated', 'wp-seopress' ) .'</option>
288
+ </select>
289
+ </p>
290
+ <p>
291
+ <label for="seopress_news_keyboard_meta" id="seopress_news_keyboard">
292
+ '. __( 'Google News Keywords <em>(max recommended limit: 12)</em>', 'wp-seopress' ) .'</label>
293
+ <input id="seopress_news_keyboard_meta" type="text" name="seopress_news_keyboard" placeholder="'.__('Enter your Google News Keywords','wp-seopress').'" value="'.$seopress_news_keyboard.'" />
294
+ </p>
295
+ </div>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
296
  }
297
  }
298
+ echo '</div>
299
+ ';
300
+ }
301
+
302
+ add_action('save_post','seopress_save_metabox');
303
+ function seopress_save_metabox($post_id){
304
+ if ( 'attachment' !== get_post_type($post_id)) {
305
+ if(isset($_POST['seopress_titles_title'])){
306
+ update_post_meta($post_id, '_seopress_titles_title', esc_html($_POST['seopress_titles_title']));
307
+ }
308
+ if(isset($_POST['seopress_titles_desc'])){
309
+ update_post_meta($post_id, '_seopress_titles_desc', esc_html($_POST['seopress_titles_desc']));
310
+ }
311
+ if( isset( $_POST[ 'seopress_robots_index' ] ) ) {
312
+ update_post_meta( $post_id, '_seopress_robots_index', 'yes' );
313
+ } else {
314
+ delete_post_meta( $post_id, '_seopress_robots_index', '' );
315
+ }
316
+ if( isset( $_POST[ 'seopress_robots_follow' ] ) ) {
317
+ update_post_meta( $post_id, '_seopress_robots_follow', 'yes' );
318
+ } else {
319
+ delete_post_meta( $post_id, '_seopress_robots_follow', '' );
320
+ }
321
+ if( isset( $_POST[ 'seopress_robots_odp' ] ) ) {
322
+ update_post_meta( $post_id, '_seopress_robots_odp', 'yes' );
323
+ } else {
324
+ delete_post_meta( $post_id, '_seopress_robots_odp', '' );
325
+ }
326
+ if( isset( $_POST[ 'seopress_robots_imageindex' ] ) ) {
327
+ update_post_meta( $post_id, '_seopress_robots_imageindex', 'yes' );
328
+ } else {
329
+ delete_post_meta( $post_id, '_seopress_robots_imageindex', '' );
330
+ }
331
+ if( isset( $_POST[ 'seopress_robots_archive' ] ) ) {
332
+ update_post_meta( $post_id, '_seopress_robots_archive', 'yes' );
333
+ } else {
334
+ delete_post_meta( $post_id, '_seopress_robots_archive', '' );
335
+ }
336
+ if( isset( $_POST[ 'seopress_robots_snippet' ] ) ) {
337
+ update_post_meta( $post_id, '_seopress_robots_snippet', 'yes' );
338
+ } else {
339
+ delete_post_meta( $post_id, '_seopress_robots_snippet', '' );
340
+ }
341
+ if(isset($_POST['seopress_robots_canonical'])){
342
+ update_post_meta($post_id, '_seopress_robots_canonical', esc_html($_POST['seopress_robots_canonical']));
343
+ }
344
+ if(isset($_POST['seopress_social_fb_title'])){
345
+ update_post_meta($post_id, '_seopress_social_fb_title', esc_html($_POST['seopress_social_fb_title']));
346
+ }
347
+ if(isset($_POST['seopress_social_fb_desc'])){
348
+ update_post_meta($post_id, '_seopress_social_fb_desc', esc_html($_POST['seopress_social_fb_desc']));
349
+ }
350
+ if(isset($_POST['seopress_social_fb_img'])){
351
+ update_post_meta($post_id, '_seopress_social_fb_img', esc_html($_POST['seopress_social_fb_img']));
352
+ }
353
+ if(isset($_POST['seopress_social_twitter_title'])){
354
+ update_post_meta($post_id, '_seopress_social_twitter_title', esc_html($_POST['seopress_social_twitter_title']));
355
+ }
356
+ if(isset($_POST['seopress_social_twitter_desc'])){
357
+ update_post_meta($post_id, '_seopress_social_twitter_desc', esc_html($_POST['seopress_social_twitter_desc']));
358
+ }
359
+ if(isset($_POST['seopress_social_twitter_img'])){
360
+ update_post_meta($post_id, '_seopress_social_twitter_img', esc_html($_POST['seopress_social_twitter_img']));
361
+ }
362
+ if(isset($_POST['seopress_redirections_type'])){
363
+ update_post_meta($post_id, '_seopress_redirections_type', $_POST['seopress_redirections_type']);
364
+ }
365
+ if(isset($_POST['seopress_redirections_value'])){
366
+ update_post_meta($post_id, '_seopress_redirections_value', esc_html($_POST['seopress_redirections_value']));
367
+ }
368
+ if( isset( $_POST[ 'seopress_redirections_enabled' ] ) ) {
369
+ update_post_meta( $post_id, '_seopress_redirections_enabled', 'yes' );
370
+ } else {
371
+ delete_post_meta( $post_id, '_seopress_redirections_enabled', '' );
372
+ }
373
+ if( isset( $_POST[ 'seopress_news_disabled' ] ) ) {
374
+ update_post_meta( $post_id, '_seopress_news_disabled', 'yes' );
375
+ } else {
376
+ delete_post_meta( $post_id, '_seopress_news_disabled', '' );
377
+ }
378
+ if(isset($_POST['seopress_news_genres'])){
379
+ update_post_meta($post_id, '_seopress_news_genres', $_POST['seopress_news_genres']);
380
+ }
381
+ if(isset($_POST['seopress_news_keyboard'])){
382
+ update_post_meta($post_id, '_seopress_news_keyboard', esc_html($_POST['seopress_news_keyboard']));
383
+ }
384
+ }
385
+ }
386
+ }
387
+
388
+ if (is_user_logged_in()) {
389
+ global $wp_roles;
390
+
391
+ //Get current user role
392
+ if(isset(wp_get_current_user()->roles[0])) {
393
+ $seopress_user_role = wp_get_current_user()->roles[0];
394
+
395
+ //If current user role matchs values from Security settings then apply
396
+ if (function_exists('seopress_advanced_security_metaboxe_role_hook_option') && seopress_advanced_security_metaboxe_role_hook_option() !='') {
397
+ if( array_key_exists( $seopress_user_role, seopress_advanced_security_metaboxe_role_hook_option())) {
398
+ //do nothing
399
+ } else {
400
+ echo seopress_display_seo_metaboxe();
401
+ }
402
+ } else {
403
+ echo seopress_display_seo_metaboxe();
404
  }
405
  }
406
  }
inc/functions/sitemap/template-xml-sitemaps-single.php CHANGED
@@ -72,16 +72,18 @@ function seopress_xml_sitemap_single() {
72
 
73
  if ((isset($images) && !empty ($images) && $images->length>=1) || (isset($galleries) && !empty($galleries)) || (isset($product) && !empty($product_img)) || $post_thumbnail !='') {
74
 
75
- $seopress_sitemaps .= '<image:image>';
76
  //Standard img
77
  if (isset($images) && !empty ($images)) {
78
  if ($images->length>=1) {
79
  foreach($images as $img) {
80
  $url = $img->getAttribute('src');
 
81
  $seopress_sitemaps .= "\n";
82
  $seopress_sitemaps .= '<image:loc>';
83
  $seopress_sitemaps .= $url;
84
  $seopress_sitemaps .= '</image:loc>';
 
 
85
  }
86
  }
87
  }
@@ -89,33 +91,40 @@ function seopress_xml_sitemap_single() {
89
  if ($galleries !='') {
90
  foreach( $galleries as $gallery ) {
91
  foreach( $gallery as $url ) {
 
92
  $seopress_sitemaps .= "\n";
93
  $seopress_sitemaps .= '<image:loc>';
94
  $seopress_sitemaps .= $url;
95
  $seopress_sitemaps .= '</image:loc>';
 
 
96
  }
97
  }
98
  }
99
  //WooCommerce img
100
  if ($product !='' && $product_img !='') {
101
  foreach( $product_img as $product_attachment_id ) {
 
102
  $seopress_sitemaps .= "\n";
103
  $seopress_sitemaps .= '<image:loc>';
104
  $seopress_sitemaps .= wp_get_attachment_url( $product_attachment_id );
105
  $seopress_sitemaps .= '</image:loc>';
 
 
106
  }
107
  }
108
  //Post thumbnail
109
  if ($post_thumbnail !='') {
 
110
  $seopress_sitemaps .= "\n";
111
  $seopress_sitemaps .= '<image:loc>';
112
  $seopress_sitemaps .= $post_thumbnail;
113
  $seopress_sitemaps .= '</image:loc>';
 
 
114
  }
115
 
116
  $seopress_sitemaps .= "\n";
117
- $seopress_sitemaps .= '</image:image>';
118
- $seopress_sitemaps .= "\n";
119
  }
120
  }
121
  $seopress_sitemaps .= '</url>';
72
 
73
  if ((isset($images) && !empty ($images) && $images->length>=1) || (isset($galleries) && !empty($galleries)) || (isset($product) && !empty($product_img)) || $post_thumbnail !='') {
74
 
 
75
  //Standard img
76
  if (isset($images) && !empty ($images)) {
77
  if ($images->length>=1) {
78
  foreach($images as $img) {
79
  $url = $img->getAttribute('src');
80
+ $seopress_sitemaps .= '<image:image>';
81
  $seopress_sitemaps .= "\n";
82
  $seopress_sitemaps .= '<image:loc>';
83
  $seopress_sitemaps .= $url;
84
  $seopress_sitemaps .= '</image:loc>';
85
+ $seopress_sitemaps .= "\n";
86
+ $seopress_sitemaps .= '</image:image>';
87
  }
88
  }
89
  }
91
  if ($galleries !='') {
92
  foreach( $galleries as $gallery ) {
93
  foreach( $gallery as $url ) {
94
+ $seopress_sitemaps .= '<image:image>';
95
  $seopress_sitemaps .= "\n";
96
  $seopress_sitemaps .= '<image:loc>';
97
  $seopress_sitemaps .= $url;
98
  $seopress_sitemaps .= '</image:loc>';
99
+ $seopress_sitemaps .= "\n";
100
+ $seopress_sitemaps .= '</image:image>';
101
  }
102
  }
103
  }
104
  //WooCommerce img
105
  if ($product !='' && $product_img !='') {
106
  foreach( $product_img as $product_attachment_id ) {
107
+ $seopress_sitemaps .= '<image:image>';
108
  $seopress_sitemaps .= "\n";
109
  $seopress_sitemaps .= '<image:loc>';
110
  $seopress_sitemaps .= wp_get_attachment_url( $product_attachment_id );
111
  $seopress_sitemaps .= '</image:loc>';
112
+ $seopress_sitemaps .= "\n";
113
+ $seopress_sitemaps .= '</image:image>';
114
  }
115
  }
116
  //Post thumbnail
117
  if ($post_thumbnail !='') {
118
+ $seopress_sitemaps .= '<image:image>';
119
  $seopress_sitemaps .= "\n";
120
  $seopress_sitemaps .= '<image:loc>';
121
  $seopress_sitemaps .= $post_thumbnail;
122
  $seopress_sitemaps .= '</image:loc>';
123
+ $seopress_sitemaps .= "\n";
124
+ $seopress_sitemaps .= '</image:image>';
125
  }
126
 
127
  $seopress_sitemaps .= "\n";
 
 
128
  }
129
  }
130
  $seopress_sitemaps .= '</url>';
languages/wp-seopress-es_ES.mo CHANGED
Binary file
languages/wp-seopress-es_ES.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: SEOPress\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-cloudy\n"
5
- "POT-Creation-Date: 2017-03-29 21:41+0200\n"
6
- "PO-Revision-Date: 2017-03-29 21:41+0200\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Benjamin DENIS <contact@seopress.org>\n"
9
  "Language: es_ES\n"
@@ -31,69 +31,69 @@ msgstr "¿Te gusta SEOPress? ¡No olvides valorarlo con 5 estrellas!"
31
  msgid "Support"
32
  msgstr "Soporte"
33
 
34
- #: inc/admin/admin-metaboxes.php:37 inc/admin/admin-metaboxes.php:39
35
  #: inc/admin/adminbar.php:16 inc/functions/options-advanced-admin.php:461
36
  msgid "SEO"
37
  msgstr "SEO"
38
 
39
- #: inc/admin/admin-metaboxes.php:134
40
  msgid "Titles settings"
41
  msgstr "Configuración de títulos"
42
 
43
- #: inc/admin/admin-metaboxes.php:135 inc/admin/admin.php:179
44
  #: inc/admin/admin.php:269 inc/admin/admin.php:541 inc/admin/admin.php:1012
45
  #: inc/admin/adminbar.php:46
46
  msgid "Advanced"
47
  msgstr "Avanzado"
48
 
49
- #: inc/admin/admin-metaboxes.php:136
50
  msgid "Social"
51
  msgstr "Social"
52
 
53
- #: inc/admin/admin-metaboxes.php:138
54
  msgid "Redirection"
55
  msgstr "Redirection"
56
 
57
- #: inc/admin/admin-metaboxes.php:141
58
  msgid "Google News"
59
  msgstr "Google News"
60
 
61
- #: inc/admin/admin-metaboxes.php:150
62
  msgid "Title"
63
  msgstr "Título"
64
 
65
- #: inc/admin/admin-metaboxes.php:151
66
  msgid "Enter your title"
67
  msgstr "Introduce tu título"
68
 
69
- #: inc/admin/admin-metaboxes.php:155 inc/admin/admin-metaboxes.php:163
70
  msgid "(maximum recommended limit)"
71
  msgstr "(límite máximo recomendado)"
72
 
73
- #: inc/admin/admin-metaboxes.php:158 inc/admin/admin.php:611
74
  #: inc/admin/admin.php:1363 inc/functions/options-advanced-admin.php:471
75
  msgid "Meta description"
76
  msgstr "Meta Descripción"
77
 
78
- #: inc/admin/admin-metaboxes.php:159
79
  msgid "Enter your meta description"
80
  msgstr "Introduce tu meta descripción"
81
 
82
- #: inc/admin/admin-metaboxes.php:168
83
  msgid "Google Snippet Preview"
84
  msgstr "Google Snippet Preview"
85
 
86
- #: inc/admin/admin-metaboxes.php:169
87
  msgid "This is what your page will look like in Google search results"
88
  msgstr "Esto es cómo tu página se verá en los resultados de búsqueda de Google"
89
 
90
- #: inc/admin/admin-metaboxes.php:185 inc/admin/admin.php:1521
91
  #: inc/admin/admin.php:2388 inc/admin/admin.php:2521 inc/admin/admin.php:2613
92
  #: inc/admin/admin.php:2688 inc/admin/admin.php:2739 inc/admin/admin.php:2823
93
  msgid "noindex"
94
  msgstr "noindex"
95
 
96
- #: inc/admin/admin-metaboxes.php:186 inc/admin/admin.php:2825
97
  msgid ""
98
  "Do not display all pages of the site in Google search results and do not "
99
  "display \"Cached\" links in search results."
@@ -101,22 +101,22 @@ msgstr ""
101
  "No mostrar todas las páginas del sitio en los resultados de búsqueda de "
102
  "Google y no mostrar enlaces de \"Caché\" en resultados de la búsqueda."
103
 
104
- #: inc/admin/admin-metaboxes.php:191 inc/admin/admin.php:1529
105
  #: inc/admin/admin.php:2407 inc/admin/admin.php:2540 inc/admin/admin.php:2632
106
  #: inc/admin/admin.php:2842
107
  msgid "nofollow"
108
  msgstr "nofollow"
109
 
110
- #: inc/admin/admin-metaboxes.php:192 inc/admin/admin.php:2844
111
  msgid "Do not follow links for all pages."
112
  msgstr "No seguir enlaces para todas las páginas."
113
 
114
- #: inc/admin/admin-metaboxes.php:197 inc/admin/admin.php:1537
115
  #: inc/admin/admin.php:2861
116
  msgid "noodp"
117
  msgstr "noodp"
118
 
119
- #: inc/admin/admin-metaboxes.php:198 inc/admin/admin.php:2863
120
  msgid ""
121
  "Do not use Open Directory project metadata for titles or excerpts for all "
122
  "pages."
@@ -124,174 +124,174 @@ msgstr ""
124
  "No usar metadatos de proyecto de Open Directory para títulos o fragmentos "
125
  "para todas las páginas."
126
 
127
- #: inc/admin/admin-metaboxes.php:203 inc/admin/admin.php:1545
128
  #: inc/admin/admin.php:2880
129
  msgid "noimageindex"
130
  msgstr "noimageindex"
131
 
132
- #: inc/admin/admin-metaboxes.php:204 inc/admin/admin.php:2882
133
  msgid "Do not index images from the entire site."
134
  msgstr "No indexar imágenes para todo el sitio."
135
 
136
- #: inc/admin/admin-metaboxes.php:209 inc/admin/admin.php:1553
137
  #: inc/admin/admin.php:2899
138
  msgid "noarchive"
139
  msgstr "noarchive"
140
 
141
- #: inc/admin/admin-metaboxes.php:210 inc/admin/admin.php:2901
142
  msgid "Do not display a \"Cached\" link in the Google search results."
143
  msgstr ""
144
  "No mostrar un enlace de \"Caché\" en resultados de la búsqueda de Google."
145
 
146
- #: inc/admin/admin-metaboxes.php:215 inc/admin/admin.php:1561
147
  #: inc/admin/admin.php:2918
148
  msgid "nosnippet"
149
  msgstr "nosnippet"
150
 
151
- #: inc/admin/admin-metaboxes.php:216 inc/admin/admin.php:2920
152
  msgid ""
153
  "Do not display a description in the Google search results for all pages."
154
  msgstr ""
155
  "No mostrar una descripción en los resultados de búsqueda de Google para "
156
  "todas las páginas."
157
 
158
- #: inc/admin/admin-metaboxes.php:219 inc/admin/admin.php:615
159
  msgid "Canonical URL"
160
  msgstr "URL canónica"
161
 
162
- #: inc/admin/admin-metaboxes.php:220
163
  msgid "Default value: "
164
  msgstr "Valor por defecto:"
165
 
166
- #: inc/admin/admin-metaboxes.php:226
167
  msgid "Facebook Title"
168
  msgstr "Título de Facebook"
169
 
170
- #: inc/admin/admin-metaboxes.php:227
171
  msgid "Enter your Facebook title"
172
  msgstr "Introduce tu título de Facebook"
173
 
174
- #: inc/admin/admin-metaboxes.php:230
175
  msgid "Facebook description"
176
  msgstr "Descripción de Facebook"
177
 
178
- #: inc/admin/admin-metaboxes.php:231
179
  msgid "Enter your Facebook description"
180
  msgstr "Introduce tu descripción de Facebook"
181
 
182
- #: inc/admin/admin-metaboxes.php:234
183
  msgid "Facebook Thumbnail"
184
  msgstr "Imagen de Facebook"
185
 
186
- #: inc/admin/admin-metaboxes.php:235
187
  msgid "Minimum size: 200x200px"
188
  msgstr "Tamaño mínimo: 200x200px"
189
 
190
- #: inc/admin/admin-metaboxes.php:236 inc/admin/admin-metaboxes.php:252
191
  #: inc/admin/admin.php:3369 inc/admin/admin.php:3429
192
  msgid "Select your default thumbnail"
193
  msgstr "Selecciona tu miniatura predeterminada"
194
 
195
- #: inc/admin/admin-metaboxes.php:237 inc/admin/admin-metaboxes.php:253
196
  #: inc/admin/admin.php:3127 inc/admin/admin.php:3371 inc/admin/admin.php:3431
197
  msgid "Upload an Image"
198
  msgstr "Subir una imagen"
199
 
200
- #: inc/admin/admin-metaboxes.php:242
201
  msgid "Twitter Title"
202
  msgstr "Título de Twitter"
203
 
204
- #: inc/admin/admin-metaboxes.php:243
205
  msgid "Enter your Twitter title"
206
  msgstr "Introduce tu título de Twitter"
207
 
208
- #: inc/admin/admin-metaboxes.php:246
209
  msgid "Twitter description"
210
  msgstr "Descripción de Twitter"
211
 
212
- #: inc/admin/admin-metaboxes.php:247
213
  msgid "Enter your Twitter description"
214
  msgstr "Introduce tu descripción de Twitter"
215
 
216
- #: inc/admin/admin-metaboxes.php:250
217
  msgid "Twitter Thumbnail"
218
  msgstr "Imagen de Twitter"
219
 
220
- #: inc/admin/admin-metaboxes.php:251
221
  msgid "Minimum size: 160x160px"
222
  msgstr "Tamaño mínimo: 160x160px"
223
 
224
- #: inc/admin/admin-metaboxes.php:262
225
  msgid "Enable redirection?"
226
  msgstr "¿Habilitar la redirección?"
227
 
228
- #: inc/admin/admin-metaboxes.php:266
229
  msgid "URL redirection"
230
  msgstr "Redirección de URL"
231
 
232
- #: inc/admin/admin-metaboxes.php:268
233
  msgid "301 Moved Permanently"
234
  msgstr ""
235
 
236
- #: inc/admin/admin-metaboxes.php:269
237
  msgid "302 Found (HTTP 1.1) / Moved Temporarily (HTTP 1.0)"
238
  msgstr ""
239
 
240
- #: inc/admin/admin-metaboxes.php:270
241
  msgid "307 Moved Temporarily (HTTP 1.1 Only)"
242
  msgstr ""
243
 
244
- #: inc/admin/admin-metaboxes.php:272
245
  msgid "Enter your new URL"
246
  msgstr ""
247
 
248
- #: inc/admin/admin-metaboxes.php:275 inc/admin/admin-metaboxes.php:277
249
  msgid "Test your URL"
250
  msgstr "Prueba tu URL"
251
 
252
- #: inc/admin/admin-metaboxes.php:286
253
  msgid "Exclude this post from Google News Sitemap?"
254
  msgstr "¿Excluir este post de Google News Sitemap?"
255
 
256
- #: inc/admin/admin-metaboxes.php:290
257
  msgid "Google News Genres"
258
  msgstr "Género de Google News"
259
 
260
- #: inc/admin/admin-metaboxes.php:292 inc/admin/admin.php:3597
261
  #: inc/admin/admin.php:3674 inc/admin/admin.php:3751 inc/admin/admin.php:3828
262
  #: inc/admin/admin.php:3905
263
  msgid "None"
264
  msgstr "Ninguna"
265
 
266
- #: inc/admin/admin-metaboxes.php:293
267
  msgid "Press Release"
268
  msgstr "Comunicado de prensa"
269
 
270
- #: inc/admin/admin-metaboxes.php:294
271
  msgid "Satire"
272
  msgstr "Sátira"
273
 
274
- #: inc/admin/admin-metaboxes.php:295
275
  msgid "Blog"
276
  msgstr "Blog"
277
 
278
- #: inc/admin/admin-metaboxes.php:296
279
  msgid "OpEd"
280
  msgstr "Editorial"
281
 
282
- #: inc/admin/admin-metaboxes.php:297
283
  msgid "Opinion"
284
  msgstr "Opinión"
285
 
286
- #: inc/admin/admin-metaboxes.php:298
287
  msgid "UserGenerated"
288
  msgstr "UserGenerated"
289
 
290
- #: inc/admin/admin-metaboxes.php:303
291
  msgid "Google News Keywords <em>(max recommended limit: 12)</em>"
292
  msgstr "Palabras clave Google News <em>(límite máximo recomendado: 12)</em>"
293
 
294
- #: inc/admin/admin-metaboxes.php:304
295
  msgid "Enter your Google News Keywords"
296
  msgstr "Introduce tus palabras clave Google News"
297
 
@@ -1718,15 +1718,15 @@ msgstr "Por favor, sube un archivo .json válido"
1718
  msgid "Please upload a file to import"
1719
  msgstr "Por favor, sube un archivo para importar"
1720
 
1721
- #: seopress.php:237
1722
  msgid "Settings"
1723
  msgstr "Ajustes"
1724
 
1725
- #: seopress.php:238
1726
  msgid "SEOPress.org"
1727
  msgstr "SEOPress.org"
1728
 
1729
- #: seopress.php:240
1730
  msgid "GO PRO!"
1731
  msgstr "¡Hazte Pro!"
1732
 
2
  msgstr ""
3
  "Project-Id-Version: SEOPress\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-cloudy\n"
5
+ "POT-Creation-Date: 2017-04-08 11:37+0200\n"
6
+ "PO-Revision-Date: 2017-04-08 11:37+0200\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Benjamin DENIS <contact@seopress.org>\n"
9
  "Language: es_ES\n"
31
  msgid "Support"
32
  msgstr "Soporte"
33
 
34
+ #: inc/admin/admin-metaboxes.php:26 inc/admin/admin-metaboxes.php:28
35
  #: inc/admin/adminbar.php:16 inc/functions/options-advanced-admin.php:461
36
  msgid "SEO"
37
  msgstr "SEO"
38
 
39
+ #: inc/admin/admin-metaboxes.php:123
40
  msgid "Titles settings"
41
  msgstr "Configuración de títulos"
42
 
43
+ #: inc/admin/admin-metaboxes.php:124 inc/admin/admin.php:179
44
  #: inc/admin/admin.php:269 inc/admin/admin.php:541 inc/admin/admin.php:1012
45
  #: inc/admin/adminbar.php:46
46
  msgid "Advanced"
47
  msgstr "Avanzado"
48
 
49
+ #: inc/admin/admin-metaboxes.php:125
50
  msgid "Social"
51
  msgstr "Social"
52
 
53
+ #: inc/admin/admin-metaboxes.php:127
54
  msgid "Redirection"
55
  msgstr "Redirection"
56
 
57
+ #: inc/admin/admin-metaboxes.php:130
58
  msgid "Google News"
59
  msgstr "Google News"
60
 
61
+ #: inc/admin/admin-metaboxes.php:139
62
  msgid "Title"
63
  msgstr "Título"
64
 
65
+ #: inc/admin/admin-metaboxes.php:140
66
  msgid "Enter your title"
67
  msgstr "Introduce tu título"
68
 
69
+ #: inc/admin/admin-metaboxes.php:144 inc/admin/admin-metaboxes.php:152
70
  msgid "(maximum recommended limit)"
71
  msgstr "(límite máximo recomendado)"
72
 
73
+ #: inc/admin/admin-metaboxes.php:147 inc/admin/admin.php:611
74
  #: inc/admin/admin.php:1363 inc/functions/options-advanced-admin.php:471
75
  msgid "Meta description"
76
  msgstr "Meta Descripción"
77
 
78
+ #: inc/admin/admin-metaboxes.php:148
79
  msgid "Enter your meta description"
80
  msgstr "Introduce tu meta descripción"
81
 
82
+ #: inc/admin/admin-metaboxes.php:157
83
  msgid "Google Snippet Preview"
84
  msgstr "Google Snippet Preview"
85
 
86
+ #: inc/admin/admin-metaboxes.php:158
87
  msgid "This is what your page will look like in Google search results"
88
  msgstr "Esto es cómo tu página se verá en los resultados de búsqueda de Google"
89
 
90
+ #: inc/admin/admin-metaboxes.php:174 inc/admin/admin.php:1521
91
  #: inc/admin/admin.php:2388 inc/admin/admin.php:2521 inc/admin/admin.php:2613
92
  #: inc/admin/admin.php:2688 inc/admin/admin.php:2739 inc/admin/admin.php:2823
93
  msgid "noindex"
94
  msgstr "noindex"
95
 
96
+ #: inc/admin/admin-metaboxes.php:175 inc/admin/admin.php:2825
97
  msgid ""
98
  "Do not display all pages of the site in Google search results and do not "
99
  "display \"Cached\" links in search results."
101
  "No mostrar todas las páginas del sitio en los resultados de búsqueda de "
102
  "Google y no mostrar enlaces de \"Caché\" en resultados de la búsqueda."
103
 
104
+ #: inc/admin/admin-metaboxes.php:180 inc/admin/admin.php:1529
105
  #: inc/admin/admin.php:2407 inc/admin/admin.php:2540 inc/admin/admin.php:2632
106
  #: inc/admin/admin.php:2842
107
  msgid "nofollow"
108
  msgstr "nofollow"
109
 
110
+ #: inc/admin/admin-metaboxes.php:181 inc/admin/admin.php:2844
111
  msgid "Do not follow links for all pages."
112
  msgstr "No seguir enlaces para todas las páginas."
113
 
114
+ #: inc/admin/admin-metaboxes.php:186 inc/admin/admin.php:1537
115
  #: inc/admin/admin.php:2861
116
  msgid "noodp"
117
  msgstr "noodp"
118
 
119
+ #: inc/admin/admin-metaboxes.php:187 inc/admin/admin.php:2863
120
  msgid ""
121
  "Do not use Open Directory project metadata for titles or excerpts for all "
122
  "pages."
124
  "No usar metadatos de proyecto de Open Directory para títulos o fragmentos "
125
  "para todas las páginas."
126
 
127
+ #: inc/admin/admin-metaboxes.php:192 inc/admin/admin.php:1545
128
  #: inc/admin/admin.php:2880
129
  msgid "noimageindex"
130
  msgstr "noimageindex"
131
 
132
+ #: inc/admin/admin-metaboxes.php:193 inc/admin/admin.php:2882
133
  msgid "Do not index images from the entire site."
134
  msgstr "No indexar imágenes para todo el sitio."
135
 
136
+ #: inc/admin/admin-metaboxes.php:198 inc/admin/admin.php:1553
137
  #: inc/admin/admin.php:2899
138
  msgid "noarchive"
139
  msgstr "noarchive"
140
 
141
+ #: inc/admin/admin-metaboxes.php:199 inc/admin/admin.php:2901
142
  msgid "Do not display a \"Cached\" link in the Google search results."
143
  msgstr ""
144
  "No mostrar un enlace de \"Caché\" en resultados de la búsqueda de Google."
145
 
146
+ #: inc/admin/admin-metaboxes.php:204 inc/admin/admin.php:1561
147
  #: inc/admin/admin.php:2918
148
  msgid "nosnippet"
149
  msgstr "nosnippet"
150
 
151
+ #: inc/admin/admin-metaboxes.php:205 inc/admin/admin.php:2920
152
  msgid ""
153
  "Do not display a description in the Google search results for all pages."
154
  msgstr ""
155
  "No mostrar una descripción en los resultados de búsqueda de Google para "
156
  "todas las páginas."
157
 
158
+ #: inc/admin/admin-metaboxes.php:208 inc/admin/admin.php:615
159
  msgid "Canonical URL"
160
  msgstr "URL canónica"
161
 
162
+ #: inc/admin/admin-metaboxes.php:209
163
  msgid "Default value: "
164
  msgstr "Valor por defecto:"
165
 
166
+ #: inc/admin/admin-metaboxes.php:215
167
  msgid "Facebook Title"
168
  msgstr "Título de Facebook"
169
 
170
+ #: inc/admin/admin-metaboxes.php:216
171
  msgid "Enter your Facebook title"
172
  msgstr "Introduce tu título de Facebook"
173
 
174
+ #: inc/admin/admin-metaboxes.php:219
175
  msgid "Facebook description"
176
  msgstr "Descripción de Facebook"
177
 
178
+ #: inc/admin/admin-metaboxes.php:220
179
  msgid "Enter your Facebook description"
180
  msgstr "Introduce tu descripción de Facebook"
181
 
182
+ #: inc/admin/admin-metaboxes.php:223
183
  msgid "Facebook Thumbnail"
184
  msgstr "Imagen de Facebook"
185
 
186
+ #: inc/admin/admin-metaboxes.php:224
187
  msgid "Minimum size: 200x200px"
188
  msgstr "Tamaño mínimo: 200x200px"
189
 
190
+ #: inc/admin/admin-metaboxes.php:225 inc/admin/admin-metaboxes.php:241
191
  #: inc/admin/admin.php:3369 inc/admin/admin.php:3429
192
  msgid "Select your default thumbnail"
193
  msgstr "Selecciona tu miniatura predeterminada"
194
 
195
+ #: inc/admin/admin-metaboxes.php:226 inc/admin/admin-metaboxes.php:242
196
  #: inc/admin/admin.php:3127 inc/admin/admin.php:3371 inc/admin/admin.php:3431
197
  msgid "Upload an Image"
198
  msgstr "Subir una imagen"
199
 
200
+ #: inc/admin/admin-metaboxes.php:231
201
  msgid "Twitter Title"
202
  msgstr "Título de Twitter"
203
 
204
+ #: inc/admin/admin-metaboxes.php:232
205
  msgid "Enter your Twitter title"
206
  msgstr "Introduce tu título de Twitter"
207
 
208
+ #: inc/admin/admin-metaboxes.php:235
209
  msgid "Twitter description"
210
  msgstr "Descripción de Twitter"
211
 
212
+ #: inc/admin/admin-metaboxes.php:236
213
  msgid "Enter your Twitter description"
214
  msgstr "Introduce tu descripción de Twitter"
215
 
216
+ #: inc/admin/admin-metaboxes.php:239
217
  msgid "Twitter Thumbnail"
218
  msgstr "Imagen de Twitter"
219
 
220
+ #: inc/admin/admin-metaboxes.php:240
221
  msgid "Minimum size: 160x160px"
222
  msgstr "Tamaño mínimo: 160x160px"
223
 
224
+ #: inc/admin/admin-metaboxes.php:251
225
  msgid "Enable redirection?"
226
  msgstr "¿Habilitar la redirección?"
227
 
228
+ #: inc/admin/admin-metaboxes.php:255
229
  msgid "URL redirection"
230
  msgstr "Redirección de URL"
231
 
232
+ #: inc/admin/admin-metaboxes.php:257
233
  msgid "301 Moved Permanently"
234
  msgstr ""
235
 
236
+ #: inc/admin/admin-metaboxes.php:258
237
  msgid "302 Found (HTTP 1.1) / Moved Temporarily (HTTP 1.0)"
238
  msgstr ""
239
 
240
+ #: inc/admin/admin-metaboxes.php:259
241
  msgid "307 Moved Temporarily (HTTP 1.1 Only)"
242
  msgstr ""
243
 
244
+ #: inc/admin/admin-metaboxes.php:261
245
  msgid "Enter your new URL"
246
  msgstr ""
247
 
248
+ #: inc/admin/admin-metaboxes.php:264 inc/admin/admin-metaboxes.php:266
249
  msgid "Test your URL"
250
  msgstr "Prueba tu URL"
251
 
252
+ #: inc/admin/admin-metaboxes.php:275
253
  msgid "Exclude this post from Google News Sitemap?"
254
  msgstr "¿Excluir este post de Google News Sitemap?"
255
 
256
+ #: inc/admin/admin-metaboxes.php:279
257
  msgid "Google News Genres"
258
  msgstr "Género de Google News"
259
 
260
+ #: inc/admin/admin-metaboxes.php:281 inc/admin/admin.php:3597
261
  #: inc/admin/admin.php:3674 inc/admin/admin.php:3751 inc/admin/admin.php:3828
262
  #: inc/admin/admin.php:3905
263
  msgid "None"
264
  msgstr "Ninguna"
265
 
266
+ #: inc/admin/admin-metaboxes.php:282
267
  msgid "Press Release"
268
  msgstr "Comunicado de prensa"
269
 
270
+ #: inc/admin/admin-metaboxes.php:283
271
  msgid "Satire"
272
  msgstr "Sátira"
273
 
274
+ #: inc/admin/admin-metaboxes.php:284
275
  msgid "Blog"
276
  msgstr "Blog"
277
 
278
+ #: inc/admin/admin-metaboxes.php:285
279
  msgid "OpEd"
280
  msgstr "Editorial"
281
 
282
+ #: inc/admin/admin-metaboxes.php:286
283
  msgid "Opinion"
284
  msgstr "Opinión"
285
 
286
+ #: inc/admin/admin-metaboxes.php:287
287
  msgid "UserGenerated"
288
  msgstr "UserGenerated"
289
 
290
+ #: inc/admin/admin-metaboxes.php:292
291
  msgid "Google News Keywords <em>(max recommended limit: 12)</em>"
292
  msgstr "Palabras clave Google News <em>(límite máximo recomendado: 12)</em>"
293
 
294
+ #: inc/admin/admin-metaboxes.php:293
295
  msgid "Enter your Google News Keywords"
296
  msgstr "Introduce tus palabras clave Google News"
297
 
1718
  msgid "Please upload a file to import"
1719
  msgstr "Por favor, sube un archivo para importar"
1720
 
1721
+ #: seopress.php:242
1722
  msgid "Settings"
1723
  msgstr "Ajustes"
1724
 
1725
+ #: seopress.php:243
1726
  msgid "SEOPress.org"
1727
  msgstr "SEOPress.org"
1728
 
1729
+ #: seopress.php:245
1730
  msgid "GO PRO!"
1731
  msgstr "¡Hazte Pro!"
1732
 
languages/wp-seopress-fr_FR.mo CHANGED
Binary file
languages/wp-seopress-fr_FR.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: SEOPress\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-cloudy\n"
5
- "POT-Creation-Date: 2017-03-29 21:41+0200\n"
6
- "PO-Revision-Date: 2017-03-29 21:41+0200\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Benjamin DENIS <contact@seopress.org>\n"
9
  "Language: fr_FR\n"
@@ -33,70 +33,70 @@ msgstr "Vous aimez SEOPress ? N'oubliez pas de nous noter 5 étoiles !"
33
  msgid "Support"
34
  msgstr "Support"
35
 
36
- #: inc/admin/admin-metaboxes.php:37 inc/admin/admin-metaboxes.php:39
37
  #: inc/admin/adminbar.php:16 inc/functions/options-advanced-admin.php:461
38
  msgid "SEO"
39
  msgstr "SEO"
40
 
41
- #: inc/admin/admin-metaboxes.php:134
42
  msgid "Titles settings"
43
  msgstr "Paramètres de titres"
44
 
45
- #: inc/admin/admin-metaboxes.php:135 inc/admin/admin.php:179
46
  #: inc/admin/admin.php:269 inc/admin/admin.php:541 inc/admin/admin.php:1012
47
  #: inc/admin/adminbar.php:46
48
  msgid "Advanced"
49
  msgstr "Avancé"
50
 
51
- #: inc/admin/admin-metaboxes.php:136
52
  msgid "Social"
53
  msgstr "Social"
54
 
55
- #: inc/admin/admin-metaboxes.php:138
56
  msgid "Redirection"
57
  msgstr "Redirection"
58
 
59
- #: inc/admin/admin-metaboxes.php:141
60
  msgid "Google News"
61
  msgstr "Google News"
62
 
63
- #: inc/admin/admin-metaboxes.php:150
64
  msgid "Title"
65
  msgstr "Titre"
66
 
67
- #: inc/admin/admin-metaboxes.php:151
68
  msgid "Enter your title"
69
  msgstr "Entrez votre titre"
70
 
71
- #: inc/admin/admin-metaboxes.php:155 inc/admin/admin-metaboxes.php:163
72
  msgid "(maximum recommended limit)"
73
  msgstr "(limite maximale recommandée)"
74
 
75
- #: inc/admin/admin-metaboxes.php:158 inc/admin/admin.php:611
76
  #: inc/admin/admin.php:1363 inc/functions/options-advanced-admin.php:471
77
  msgid "Meta description"
78
  msgstr "Meta description"
79
 
80
- #: inc/admin/admin-metaboxes.php:159
81
  msgid "Enter your meta description"
82
  msgstr "Entrez votre méta description"
83
 
84
- #: inc/admin/admin-metaboxes.php:168
85
  msgid "Google Snippet Preview"
86
  msgstr "Aperçu Google Snippet"
87
 
88
- #: inc/admin/admin-metaboxes.php:169
89
  msgid "This is what your page will look like in Google search results"
90
  msgstr ""
91
  "Voilà à quoi ressemblera votre page dans les résultats de recherche Google"
92
 
93
- #: inc/admin/admin-metaboxes.php:185 inc/admin/admin.php:1521
94
  #: inc/admin/admin.php:2388 inc/admin/admin.php:2521 inc/admin/admin.php:2613
95
  #: inc/admin/admin.php:2688 inc/admin/admin.php:2739 inc/admin/admin.php:2823
96
  msgid "noindex"
97
  msgstr "noindex"
98
 
99
- #: inc/admin/admin-metaboxes.php:186 inc/admin/admin.php:2825
100
  msgid ""
101
  "Do not display all pages of the site in Google search results and do not "
102
  "display \"Cached\" links in search results."
@@ -104,22 +104,22 @@ msgstr ""
104
  "Ne pas afficher toutes les pages du site dans les résultats de recherche "
105
  "<br>et ne pas afficher de lien \"En cache\" dans les résultats de recherche."
106
 
107
- #: inc/admin/admin-metaboxes.php:191 inc/admin/admin.php:1529
108
  #: inc/admin/admin.php:2407 inc/admin/admin.php:2540 inc/admin/admin.php:2632
109
  #: inc/admin/admin.php:2842
110
  msgid "nofollow"
111
  msgstr "nofollow"
112
 
113
- #: inc/admin/admin-metaboxes.php:192 inc/admin/admin.php:2844
114
  msgid "Do not follow links for all pages."
115
  msgstr "Ne pas suivre les liens de tout le site."
116
 
117
- #: inc/admin/admin-metaboxes.php:197 inc/admin/admin.php:1537
118
  #: inc/admin/admin.php:2861
119
  msgid "noodp"
120
  msgstr "noodp"
121
 
122
- #: inc/admin/admin-metaboxes.php:198 inc/admin/admin.php:2863
123
  msgid ""
124
  "Do not use Open Directory project metadata for titles or excerpts for all "
125
  "pages."
@@ -127,173 +127,173 @@ msgstr ""
127
  "Ne pas utiliser les métadonnées de l'Open Directory project pour les titres "
128
  "ou les extraits de tout le site."
129
 
130
- #: inc/admin/admin-metaboxes.php:203 inc/admin/admin.php:1545
131
  #: inc/admin/admin.php:2880
132
  msgid "noimageindex"
133
  msgstr "noimageindex"
134
 
135
- #: inc/admin/admin-metaboxes.php:204 inc/admin/admin.php:2882
136
  msgid "Do not index images from the entire site."
137
  msgstr "Ne pas indexer les images de tout le site."
138
 
139
- #: inc/admin/admin-metaboxes.php:209 inc/admin/admin.php:1553
140
  #: inc/admin/admin.php:2899
141
  msgid "noarchive"
142
  msgstr "noarchive"
143
 
144
- #: inc/admin/admin-metaboxes.php:210 inc/admin/admin.php:2901
145
  msgid "Do not display a \"Cached\" link in the Google search results."
146
  msgstr "Ne pas afficher de lien \"En cache\" dans les résultats de recherche."
147
 
148
- #: inc/admin/admin-metaboxes.php:215 inc/admin/admin.php:1561
149
  #: inc/admin/admin.php:2918
150
  msgid "nosnippet"
151
  msgstr "nosnippet"
152
 
153
- #: inc/admin/admin-metaboxes.php:216 inc/admin/admin.php:2920
154
  msgid ""
155
  "Do not display a description in the Google search results for all pages."
156
  msgstr ""
157
  "Ne pas afficher de description dans les résultats de recherche pour toutes "
158
  "les pages du site."
159
 
160
- #: inc/admin/admin-metaboxes.php:219 inc/admin/admin.php:615
161
  msgid "Canonical URL"
162
  msgstr "URL Canonique"
163
 
164
- #: inc/admin/admin-metaboxes.php:220
165
  msgid "Default value: "
166
  msgstr "Valeur par défaut: "
167
 
168
- #: inc/admin/admin-metaboxes.php:226
169
  msgid "Facebook Title"
170
  msgstr "Titre Facebook"
171
 
172
- #: inc/admin/admin-metaboxes.php:227
173
  msgid "Enter your Facebook title"
174
  msgstr "Entrez votre titre Facebook"
175
 
176
- #: inc/admin/admin-metaboxes.php:230
177
  msgid "Facebook description"
178
  msgstr "Description Facebook"
179
 
180
- #: inc/admin/admin-metaboxes.php:231
181
  msgid "Enter your Facebook description"
182
  msgstr "Entrez votre description Facebook"
183
 
184
- #: inc/admin/admin-metaboxes.php:234
185
  msgid "Facebook Thumbnail"
186
  msgstr "Miniature Facebook"
187
 
188
- #: inc/admin/admin-metaboxes.php:235
189
  msgid "Minimum size: 200x200px"
190
  msgstr "Taille minimum : 200x200px"
191
 
192
- #: inc/admin/admin-metaboxes.php:236 inc/admin/admin-metaboxes.php:252
193
  #: inc/admin/admin.php:3369 inc/admin/admin.php:3429
194
  msgid "Select your default thumbnail"
195
  msgstr "Sélectionnez votre miniature par défaut"
196
 
197
- #: inc/admin/admin-metaboxes.php:237 inc/admin/admin-metaboxes.php:253
198
  #: inc/admin/admin.php:3127 inc/admin/admin.php:3371 inc/admin/admin.php:3431
199
  msgid "Upload an Image"
200
  msgstr "Envoyer une image"
201
 
202
- #: inc/admin/admin-metaboxes.php:242
203
  msgid "Twitter Title"
204
  msgstr "Titre Twitter"
205
 
206
- #: inc/admin/admin-metaboxes.php:243
207
  msgid "Enter your Twitter title"
208
  msgstr "Entrez votre titre Twitter"
209
 
210
- #: inc/admin/admin-metaboxes.php:246
211
  msgid "Twitter description"
212
  msgstr "Description Twitter"
213
 
214
- #: inc/admin/admin-metaboxes.php:247
215
  msgid "Enter your Twitter description"
216
  msgstr "Entrez votre description Twitter"
217
 
218
- #: inc/admin/admin-metaboxes.php:250
219
  msgid "Twitter Thumbnail"
220
  msgstr "Miniature Twitter"
221
 
222
- #: inc/admin/admin-metaboxes.php:251
223
  msgid "Minimum size: 160x160px"
224
  msgstr "Taille minimum : 160x160px"
225
 
226
- #: inc/admin/admin-metaboxes.php:262
227
  msgid "Enable redirection?"
228
  msgstr "Activer la redirection ?"
229
 
230
- #: inc/admin/admin-metaboxes.php:266
231
  msgid "URL redirection"
232
  msgstr "URL de redirection"
233
 
234
- #: inc/admin/admin-metaboxes.php:268
235
  msgid "301 Moved Permanently"
236
  msgstr "301 Redirection permanente"
237
 
238
- #: inc/admin/admin-metaboxes.php:269
239
  msgid "302 Found (HTTP 1.1) / Moved Temporarily (HTTP 1.0)"
240
  msgstr "302 Trouvée (HTTP 1.1) / Redirection temporaire (HTTP 1.0)"
241
 
242
- #: inc/admin/admin-metaboxes.php:270
243
  msgid "307 Moved Temporarily (HTTP 1.1 Only)"
244
  msgstr "307 Redirection temporaire (HTTP 1.1 seulement)"
245
 
246
- #: inc/admin/admin-metaboxes.php:272
247
  msgid "Enter your new URL"
248
  msgstr "Saisissez votre nouvelle URL"
249
 
250
- #: inc/admin/admin-metaboxes.php:275 inc/admin/admin-metaboxes.php:277
251
  msgid "Test your URL"
252
  msgstr "Tester votre URL"
253
 
254
- #: inc/admin/admin-metaboxes.php:286
255
  msgid "Exclude this post from Google News Sitemap?"
256
  msgstr "Exclure cet article du sitemap Google News ?"
257
 
258
- #: inc/admin/admin-metaboxes.php:290
259
  msgid "Google News Genres"
260
  msgstr "Genres Google News"
261
 
262
- #: inc/admin/admin-metaboxes.php:292 inc/admin/admin.php:3597
263
  #: inc/admin/admin.php:3674 inc/admin/admin.php:3751 inc/admin/admin.php:3828
264
  #: inc/admin/admin.php:3905
265
  msgid "None"
266
  msgstr "Aucun"
267
 
268
- #: inc/admin/admin-metaboxes.php:293
269
  msgid "Press Release"
270
  msgstr "Press Release"
271
 
272
- #: inc/admin/admin-metaboxes.php:294
273
  msgid "Satire"
274
  msgstr "Satire"
275
 
276
- #: inc/admin/admin-metaboxes.php:295
277
  msgid "Blog"
278
  msgstr "Blog"
279
 
280
- #: inc/admin/admin-metaboxes.php:296
281
  msgid "OpEd"
282
  msgstr "OpEd"
283
 
284
- #: inc/admin/admin-metaboxes.php:297
285
  msgid "Opinion"
286
  msgstr "Opinion"
287
 
288
- #: inc/admin/admin-metaboxes.php:298
289
  msgid "UserGenerated"
290
  msgstr "UserGenerated"
291
 
292
- #: inc/admin/admin-metaboxes.php:303
293
  msgid "Google News Keywords <em>(max recommended limit: 12)</em>"
294
  msgstr "Mots clés Google News <em>(limite max recommandée: 12)</em>"
295
 
296
- #: inc/admin/admin-metaboxes.php:304
297
  msgid "Enter your Google News Keywords"
298
  msgstr "Entrez vos mots clés Google News"
299
 
@@ -1727,15 +1727,15 @@ msgstr "Veuillez uploader un fichier JSON valide"
1727
  msgid "Please upload a file to import"
1728
  msgstr "Uploader un fichier à importer SVP"
1729
 
1730
- #: seopress.php:237
1731
  msgid "Settings"
1732
  msgstr "Paramètres"
1733
 
1734
- #: seopress.php:238
1735
  msgid "SEOPress.org"
1736
  msgstr "SEOPress.org"
1737
 
1738
- #: seopress.php:240
1739
  msgid "GO PRO!"
1740
  msgstr "PASSEZ PRO !"
1741
 
2
  msgstr ""
3
  "Project-Id-Version: SEOPress\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-cloudy\n"
5
+ "POT-Creation-Date: 2017-04-08 11:37+0200\n"
6
+ "PO-Revision-Date: 2017-04-08 11:37+0200\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Benjamin DENIS <contact@seopress.org>\n"
9
  "Language: fr_FR\n"
33
  msgid "Support"
34
  msgstr "Support"
35
 
36
+ #: inc/admin/admin-metaboxes.php:26 inc/admin/admin-metaboxes.php:28
37
  #: inc/admin/adminbar.php:16 inc/functions/options-advanced-admin.php:461
38
  msgid "SEO"
39
  msgstr "SEO"
40
 
41
+ #: inc/admin/admin-metaboxes.php:123
42
  msgid "Titles settings"
43
  msgstr "Paramètres de titres"
44
 
45
+ #: inc/admin/admin-metaboxes.php:124 inc/admin/admin.php:179
46
  #: inc/admin/admin.php:269 inc/admin/admin.php:541 inc/admin/admin.php:1012
47
  #: inc/admin/adminbar.php:46
48
  msgid "Advanced"
49
  msgstr "Avancé"
50
 
51
+ #: inc/admin/admin-metaboxes.php:125
52
  msgid "Social"
53
  msgstr "Social"
54
 
55
+ #: inc/admin/admin-metaboxes.php:127
56
  msgid "Redirection"
57
  msgstr "Redirection"
58
 
59
+ #: inc/admin/admin-metaboxes.php:130
60
  msgid "Google News"
61
  msgstr "Google News"
62
 
63
+ #: inc/admin/admin-metaboxes.php:139
64
  msgid "Title"
65
  msgstr "Titre"
66
 
67
+ #: inc/admin/admin-metaboxes.php:140
68
  msgid "Enter your title"
69
  msgstr "Entrez votre titre"
70
 
71
+ #: inc/admin/admin-metaboxes.php:144 inc/admin/admin-metaboxes.php:152
72
  msgid "(maximum recommended limit)"
73
  msgstr "(limite maximale recommandée)"
74
 
75
+ #: inc/admin/admin-metaboxes.php:147 inc/admin/admin.php:611
76
  #: inc/admin/admin.php:1363 inc/functions/options-advanced-admin.php:471
77
  msgid "Meta description"
78
  msgstr "Meta description"
79
 
80
+ #: inc/admin/admin-metaboxes.php:148
81
  msgid "Enter your meta description"
82
  msgstr "Entrez votre méta description"
83
 
84
+ #: inc/admin/admin-metaboxes.php:157
85
  msgid "Google Snippet Preview"
86
  msgstr "Aperçu Google Snippet"
87
 
88
+ #: inc/admin/admin-metaboxes.php:158
89
  msgid "This is what your page will look like in Google search results"
90
  msgstr ""
91
  "Voilà à quoi ressemblera votre page dans les résultats de recherche Google"
92
 
93
+ #: inc/admin/admin-metaboxes.php:174 inc/admin/admin.php:1521
94
  #: inc/admin/admin.php:2388 inc/admin/admin.php:2521 inc/admin/admin.php:2613
95
  #: inc/admin/admin.php:2688 inc/admin/admin.php:2739 inc/admin/admin.php:2823
96
  msgid "noindex"
97
  msgstr "noindex"
98
 
99
+ #: inc/admin/admin-metaboxes.php:175 inc/admin/admin.php:2825
100
  msgid ""
101
  "Do not display all pages of the site in Google search results and do not "
102
  "display \"Cached\" links in search results."
104
  "Ne pas afficher toutes les pages du site dans les résultats de recherche "
105
  "<br>et ne pas afficher de lien \"En cache\" dans les résultats de recherche."
106
 
107
+ #: inc/admin/admin-metaboxes.php:180 inc/admin/admin.php:1529
108
  #: inc/admin/admin.php:2407 inc/admin/admin.php:2540 inc/admin/admin.php:2632
109
  #: inc/admin/admin.php:2842
110
  msgid "nofollow"
111
  msgstr "nofollow"
112
 
113
+ #: inc/admin/admin-metaboxes.php:181 inc/admin/admin.php:2844
114
  msgid "Do not follow links for all pages."
115
  msgstr "Ne pas suivre les liens de tout le site."
116
 
117
+ #: inc/admin/admin-metaboxes.php:186 inc/admin/admin.php:1537
118
  #: inc/admin/admin.php:2861
119
  msgid "noodp"
120
  msgstr "noodp"
121
 
122
+ #: inc/admin/admin-metaboxes.php:187 inc/admin/admin.php:2863
123
  msgid ""
124
  "Do not use Open Directory project metadata for titles or excerpts for all "
125
  "pages."
127
  "Ne pas utiliser les métadonnées de l'Open Directory project pour les titres "
128
  "ou les extraits de tout le site."
129
 
130
+ #: inc/admin/admin-metaboxes.php:192 inc/admin/admin.php:1545
131
  #: inc/admin/admin.php:2880
132
  msgid "noimageindex"
133
  msgstr "noimageindex"
134
 
135
+ #: inc/admin/admin-metaboxes.php:193 inc/admin/admin.php:2882
136
  msgid "Do not index images from the entire site."
137
  msgstr "Ne pas indexer les images de tout le site."
138
 
139
+ #: inc/admin/admin-metaboxes.php:198 inc/admin/admin.php:1553
140
  #: inc/admin/admin.php:2899
141
  msgid "noarchive"
142
  msgstr "noarchive"
143
 
144
+ #: inc/admin/admin-metaboxes.php:199 inc/admin/admin.php:2901
145
  msgid "Do not display a \"Cached\" link in the Google search results."
146
  msgstr "Ne pas afficher de lien \"En cache\" dans les résultats de recherche."
147
 
148
+ #: inc/admin/admin-metaboxes.php:204 inc/admin/admin.php:1561
149
  #: inc/admin/admin.php:2918
150
  msgid "nosnippet"
151
  msgstr "nosnippet"
152
 
153
+ #: inc/admin/admin-metaboxes.php:205 inc/admin/admin.php:2920
154
  msgid ""
155
  "Do not display a description in the Google search results for all pages."
156
  msgstr ""
157
  "Ne pas afficher de description dans les résultats de recherche pour toutes "
158
  "les pages du site."
159
 
160
+ #: inc/admin/admin-metaboxes.php:208 inc/admin/admin.php:615
161
  msgid "Canonical URL"
162
  msgstr "URL Canonique"
163
 
164
+ #: inc/admin/admin-metaboxes.php:209
165
  msgid "Default value: "
166
  msgstr "Valeur par défaut: "
167
 
168
+ #: inc/admin/admin-metaboxes.php:215
169
  msgid "Facebook Title"
170
  msgstr "Titre Facebook"
171
 
172
+ #: inc/admin/admin-metaboxes.php:216
173
  msgid "Enter your Facebook title"
174
  msgstr "Entrez votre titre Facebook"
175
 
176
+ #: inc/admin/admin-metaboxes.php:219
177
  msgid "Facebook description"
178
  msgstr "Description Facebook"
179
 
180
+ #: inc/admin/admin-metaboxes.php:220
181
  msgid "Enter your Facebook description"
182
  msgstr "Entrez votre description Facebook"
183
 
184
+ #: inc/admin/admin-metaboxes.php:223
185
  msgid "Facebook Thumbnail"
186
  msgstr "Miniature Facebook"
187
 
188
+ #: inc/admin/admin-metaboxes.php:224
189
  msgid "Minimum size: 200x200px"
190
  msgstr "Taille minimum : 200x200px"
191
 
192
+ #: inc/admin/admin-metaboxes.php:225 inc/admin/admin-metaboxes.php:241
193
  #: inc/admin/admin.php:3369 inc/admin/admin.php:3429
194
  msgid "Select your default thumbnail"
195
  msgstr "Sélectionnez votre miniature par défaut"
196
 
197
+ #: inc/admin/admin-metaboxes.php:226 inc/admin/admin-metaboxes.php:242
198
  #: inc/admin/admin.php:3127 inc/admin/admin.php:3371 inc/admin/admin.php:3431
199
  msgid "Upload an Image"
200
  msgstr "Envoyer une image"
201
 
202
+ #: inc/admin/admin-metaboxes.php:231
203
  msgid "Twitter Title"
204
  msgstr "Titre Twitter"
205
 
206
+ #: inc/admin/admin-metaboxes.php:232
207
  msgid "Enter your Twitter title"
208
  msgstr "Entrez votre titre Twitter"
209
 
210
+ #: inc/admin/admin-metaboxes.php:235
211
  msgid "Twitter description"
212
  msgstr "Description Twitter"
213
 
214
+ #: inc/admin/admin-metaboxes.php:236
215
  msgid "Enter your Twitter description"
216
  msgstr "Entrez votre description Twitter"
217
 
218
+ #: inc/admin/admin-metaboxes.php:239
219
  msgid "Twitter Thumbnail"
220
  msgstr "Miniature Twitter"
221
 
222
+ #: inc/admin/admin-metaboxes.php:240
223
  msgid "Minimum size: 160x160px"
224
  msgstr "Taille minimum : 160x160px"
225
 
226
+ #: inc/admin/admin-metaboxes.php:251
227
  msgid "Enable redirection?"
228
  msgstr "Activer la redirection ?"
229
 
230
+ #: inc/admin/admin-metaboxes.php:255
231
  msgid "URL redirection"
232
  msgstr "URL de redirection"
233
 
234
+ #: inc/admin/admin-metaboxes.php:257
235
  msgid "301 Moved Permanently"
236
  msgstr "301 Redirection permanente"
237
 
238
+ #: inc/admin/admin-metaboxes.php:258
239
  msgid "302 Found (HTTP 1.1) / Moved Temporarily (HTTP 1.0)"
240
  msgstr "302 Trouvée (HTTP 1.1) / Redirection temporaire (HTTP 1.0)"
241
 
242
+ #: inc/admin/admin-metaboxes.php:259
243
  msgid "307 Moved Temporarily (HTTP 1.1 Only)"
244
  msgstr "307 Redirection temporaire (HTTP 1.1 seulement)"
245
 
246
+ #: inc/admin/admin-metaboxes.php:261
247
  msgid "Enter your new URL"
248
  msgstr "Saisissez votre nouvelle URL"
249
 
250
+ #: inc/admin/admin-metaboxes.php:264 inc/admin/admin-metaboxes.php:266
251
  msgid "Test your URL"
252
  msgstr "Tester votre URL"
253
 
254
+ #: inc/admin/admin-metaboxes.php:275
255
  msgid "Exclude this post from Google News Sitemap?"
256
  msgstr "Exclure cet article du sitemap Google News ?"
257
 
258
+ #: inc/admin/admin-metaboxes.php:279
259
  msgid "Google News Genres"
260
  msgstr "Genres Google News"
261
 
262
+ #: inc/admin/admin-metaboxes.php:281 inc/admin/admin.php:3597
263
  #: inc/admin/admin.php:3674 inc/admin/admin.php:3751 inc/admin/admin.php:3828
264
  #: inc/admin/admin.php:3905
265
  msgid "None"
266
  msgstr "Aucun"
267
 
268
+ #: inc/admin/admin-metaboxes.php:282
269
  msgid "Press Release"
270
  msgstr "Press Release"
271
 
272
+ #: inc/admin/admin-metaboxes.php:283
273
  msgid "Satire"
274
  msgstr "Satire"
275
 
276
+ #: inc/admin/admin-metaboxes.php:284
277
  msgid "Blog"
278
  msgstr "Blog"
279
 
280
+ #: inc/admin/admin-metaboxes.php:285
281
  msgid "OpEd"
282
  msgstr "OpEd"
283
 
284
+ #: inc/admin/admin-metaboxes.php:286
285
  msgid "Opinion"
286
  msgstr "Opinion"
287
 
288
+ #: inc/admin/admin-metaboxes.php:287
289
  msgid "UserGenerated"
290
  msgstr "UserGenerated"
291
 
292
+ #: inc/admin/admin-metaboxes.php:292
293
  msgid "Google News Keywords <em>(max recommended limit: 12)</em>"
294
  msgstr "Mots clés Google News <em>(limite max recommandée: 12)</em>"
295
 
296
+ #: inc/admin/admin-metaboxes.php:293
297
  msgid "Enter your Google News Keywords"
298
  msgstr "Entrez vos mots clés Google News"
299
 
1727
  msgid "Please upload a file to import"
1728
  msgstr "Uploader un fichier à importer SVP"
1729
 
1730
+ #: seopress.php:242
1731
  msgid "Settings"
1732
  msgstr "Paramètres"
1733
 
1734
+ #: seopress.php:243
1735
  msgid "SEOPress.org"
1736
  msgstr "SEOPress.org"
1737
 
1738
+ #: seopress.php:245
1739
  msgid "GO PRO!"
1740
  msgstr "PASSEZ PRO !"
1741
 
languages/wp-seopress.mo CHANGED
Binary file
languages/wp-seopress.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: SEOPress\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-cloudy\n"
5
- "POT-Creation-Date: 2017-03-29 21:41+0200\n"
6
- "PO-Revision-Date: 2017-03-29 21:41+0200\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Benjamin DENIS <contact@seopress.org>\n"
9
  "Language: en\n"
@@ -31,260 +31,260 @@ msgstr ""
31
  msgid "Support"
32
  msgstr ""
33
 
34
- #: inc/admin/admin-metaboxes.php:37 inc/admin/admin-metaboxes.php:39
35
  #: inc/admin/adminbar.php:16 inc/functions/options-advanced-admin.php:461
36
  msgid "SEO"
37
  msgstr ""
38
 
39
- #: inc/admin/admin-metaboxes.php:134
40
  msgid "Titles settings"
41
  msgstr ""
42
 
43
- #: inc/admin/admin-metaboxes.php:135 inc/admin/admin.php:179
44
  #: inc/admin/admin.php:269 inc/admin/admin.php:541 inc/admin/admin.php:1012
45
  #: inc/admin/adminbar.php:46
46
  msgid "Advanced"
47
  msgstr ""
48
 
49
- #: inc/admin/admin-metaboxes.php:136
50
  msgid "Social"
51
  msgstr ""
52
 
53
- #: inc/admin/admin-metaboxes.php:138
54
  msgid "Redirection"
55
  msgstr ""
56
 
57
- #: inc/admin/admin-metaboxes.php:141
58
  msgid "Google News"
59
  msgstr ""
60
 
61
- #: inc/admin/admin-metaboxes.php:150
62
  msgid "Title"
63
  msgstr ""
64
 
65
- #: inc/admin/admin-metaboxes.php:151
66
  msgid "Enter your title"
67
  msgstr ""
68
 
69
- #: inc/admin/admin-metaboxes.php:155 inc/admin/admin-metaboxes.php:163
70
  msgid "(maximum recommended limit)"
71
  msgstr ""
72
 
73
- #: inc/admin/admin-metaboxes.php:158 inc/admin/admin.php:611
74
  #: inc/admin/admin.php:1363 inc/functions/options-advanced-admin.php:471
75
  msgid "Meta description"
76
  msgstr ""
77
 
78
- #: inc/admin/admin-metaboxes.php:159
79
  msgid "Enter your meta description"
80
  msgstr ""
81
 
82
- #: inc/admin/admin-metaboxes.php:168
83
  msgid "Google Snippet Preview"
84
  msgstr ""
85
 
86
- #: inc/admin/admin-metaboxes.php:169
87
  msgid "This is what your page will look like in Google search results"
88
  msgstr ""
89
 
90
- #: inc/admin/admin-metaboxes.php:185 inc/admin/admin.php:1521
91
  #: inc/admin/admin.php:2388 inc/admin/admin.php:2521 inc/admin/admin.php:2613
92
  #: inc/admin/admin.php:2688 inc/admin/admin.php:2739 inc/admin/admin.php:2823
93
  msgid "noindex"
94
  msgstr ""
95
 
96
- #: inc/admin/admin-metaboxes.php:186 inc/admin/admin.php:2825
97
  msgid ""
98
  "Do not display all pages of the site in Google search results and do not "
99
  "display \"Cached\" links in search results."
100
  msgstr ""
101
 
102
- #: inc/admin/admin-metaboxes.php:191 inc/admin/admin.php:1529
103
  #: inc/admin/admin.php:2407 inc/admin/admin.php:2540 inc/admin/admin.php:2632
104
  #: inc/admin/admin.php:2842
105
  msgid "nofollow"
106
  msgstr ""
107
 
108
- #: inc/admin/admin-metaboxes.php:192 inc/admin/admin.php:2844
109
  msgid "Do not follow links for all pages."
110
  msgstr ""
111
 
112
- #: inc/admin/admin-metaboxes.php:197 inc/admin/admin.php:1537
113
  #: inc/admin/admin.php:2861
114
  msgid "noodp"
115
  msgstr ""
116
 
117
- #: inc/admin/admin-metaboxes.php:198 inc/admin/admin.php:2863
118
  msgid ""
119
  "Do not use Open Directory project metadata for titles or excerpts for all "
120
  "pages."
121
  msgstr ""
122
 
123
- #: inc/admin/admin-metaboxes.php:203 inc/admin/admin.php:1545
124
  #: inc/admin/admin.php:2880
125
  msgid "noimageindex"
126
  msgstr ""
127
 
128
- #: inc/admin/admin-metaboxes.php:204 inc/admin/admin.php:2882
129
  msgid "Do not index images from the entire site."
130
  msgstr ""
131
 
132
- #: inc/admin/admin-metaboxes.php:209 inc/admin/admin.php:1553
133
  #: inc/admin/admin.php:2899
134
  msgid "noarchive"
135
  msgstr ""
136
 
137
- #: inc/admin/admin-metaboxes.php:210 inc/admin/admin.php:2901
138
  msgid "Do not display a \"Cached\" link in the Google search results."
139
  msgstr ""
140
 
141
- #: inc/admin/admin-metaboxes.php:215 inc/admin/admin.php:1561
142
  #: inc/admin/admin.php:2918
143
  msgid "nosnippet"
144
  msgstr ""
145
 
146
- #: inc/admin/admin-metaboxes.php:216 inc/admin/admin.php:2920
147
  msgid ""
148
  "Do not display a description in the Google search results for all pages."