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."
149
  msgstr ""
150
 
151
- #: inc/admin/admin-metaboxes.php:219 inc/admin/admin.php:615
152
  msgid "Canonical URL"
153
  msgstr ""
154
 
155
- #: inc/admin/admin-metaboxes.php:220
156
  msgid "Default value: "
157
  msgstr ""
158
 
159
- #: inc/admin/admin-metaboxes.php:226
160
  msgid "Facebook Title"
161
  msgstr ""
162
 
163
- #: inc/admin/admin-metaboxes.php:227
164
  msgid "Enter your Facebook title"
165
  msgstr ""
166
 
167
- #: inc/admin/admin-metaboxes.php:230
168
  msgid "Facebook description"
169
  msgstr ""
170
 
171
- #: inc/admin/admin-metaboxes.php:231
172
  msgid "Enter your Facebook description"
173
  msgstr ""
174
 
175
- #: inc/admin/admin-metaboxes.php:234
176
  msgid "Facebook Thumbnail"
177
  msgstr ""
178
 
179
- #: inc/admin/admin-metaboxes.php:235
180
  msgid "Minimum size: 200x200px"
181
  msgstr ""
182
 
183
- #: inc/admin/admin-metaboxes.php:236 inc/admin/admin-metaboxes.php:252
184
  #: inc/admin/admin.php:3369 inc/admin/admin.php:3429
185
  msgid "Select your default thumbnail"
186
  msgstr ""
187
 
188
- #: inc/admin/admin-metaboxes.php:237 inc/admin/admin-metaboxes.php:253
189
  #: inc/admin/admin.php:3127 inc/admin/admin.php:3371 inc/admin/admin.php:3431
190
  msgid "Upload an Image"
191
  msgstr ""
192
 
193
- #: inc/admin/admin-metaboxes.php:242
194
  msgid "Twitter Title"
195
  msgstr ""
196
 
197
- #: inc/admin/admin-metaboxes.php:243
198
  msgid "Enter your Twitter title"
199
  msgstr ""
200
 
201
- #: inc/admin/admin-metaboxes.php:246
202
  msgid "Twitter description"
203
  msgstr ""
204
 
205
- #: inc/admin/admin-metaboxes.php:247
206
  msgid "Enter your Twitter description"
207
  msgstr ""
208
 
209
- #: inc/admin/admin-metaboxes.php:250
210
  msgid "Twitter Thumbnail"
211
  msgstr ""
212
 
213
- #: inc/admin/admin-metaboxes.php:251
214
  msgid "Minimum size: 160x160px"
215
  msgstr ""
216
 
217
- #: inc/admin/admin-metaboxes.php:262
218
  msgid "Enable redirection?"
219
  msgstr ""
220
 
221
- #: inc/admin/admin-metaboxes.php:266
222
  msgid "URL redirection"
223
  msgstr ""
224
 
225
- #: inc/admin/admin-metaboxes.php:268
226
  msgid "301 Moved Permanently"
227
  msgstr ""
228
 
229
- #: inc/admin/admin-metaboxes.php:269
230
  msgid "302 Found (HTTP 1.1) / Moved Temporarily (HTTP 1.0)"
231
  msgstr ""
232
 
233
- #: inc/admin/admin-metaboxes.php:270
234
  msgid "307 Moved Temporarily (HTTP 1.1 Only)"
235
  msgstr ""
236
 
237
- #: inc/admin/admin-metaboxes.php:272
238
  msgid "Enter your new URL"
239
  msgstr ""
240
 
241
- #: inc/admin/admin-metaboxes.php:275 inc/admin/admin-metaboxes.php:277
242
  msgid "Test your URL"
243
  msgstr ""
244
 
245
- #: inc/admin/admin-metaboxes.php:286
246
  msgid "Exclude this post from Google News Sitemap?"
247
  msgstr ""
248
 
249
- #: inc/admin/admin-metaboxes.php:290
250
  msgid "Google News Genres"
251
  msgstr ""
252
 
253
- #: inc/admin/admin-metaboxes.php:292 inc/admin/admin.php:3597
254
  #: inc/admin/admin.php:3674 inc/admin/admin.php:3751 inc/admin/admin.php:3828
255
  #: inc/admin/admin.php:3905
256
  msgid "None"
257
  msgstr ""
258
 
259
- #: inc/admin/admin-metaboxes.php:293
260
  msgid "Press Release"
261
  msgstr ""
262
 
263
- #: inc/admin/admin-metaboxes.php:294
264
  msgid "Satire"
265
  msgstr ""
266
 
267
- #: inc/admin/admin-metaboxes.php:295
268
  msgid "Blog"
269
  msgstr ""
270
 
271
- #: inc/admin/admin-metaboxes.php:296
272
  msgid "OpEd"
273
  msgstr ""
274
 
275
- #: inc/admin/admin-metaboxes.php:297
276
  msgid "Opinion"
277
  msgstr ""
278
 
279
- #: inc/admin/admin-metaboxes.php:298
280
  msgid "UserGenerated"
281
  msgstr ""
282
 
283
- #: inc/admin/admin-metaboxes.php:303
284
  msgid "Google News Keywords <em>(max recommended limit: 12)</em>"
285
  msgstr ""
286
 
287
- #: inc/admin/admin-metaboxes.php:304
288
  msgid "Enter your Google News Keywords"
289
  msgstr ""
290
 
@@ -1674,14 +1674,14 @@ msgstr ""
1674
  msgid "Please upload a file to import"
1675
  msgstr ""
1676
 
1677
- #: seopress.php:237
1678
  msgid "Settings"
1679
  msgstr ""
1680
 
1681
- #: seopress.php:238
1682
  msgid "SEOPress.org"
1683
  msgstr ""
1684
 
1685
- #: seopress.php:240
1686
  msgid "GO PRO!"
1687
  msgstr ""
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:36+0200\n"
6
+ "PO-Revision-Date: 2017-04-08 11:36+0200\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Benjamin DENIS <contact@seopress.org>\n"
9
  "Language: en\n"
31
  msgid "Support"
32
  msgstr ""
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 ""
38
 
39
+ #: inc/admin/admin-metaboxes.php:123
40
  msgid "Titles settings"
41
  msgstr ""
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 ""
48
 
49
+ #: inc/admin/admin-metaboxes.php:125
50
  msgid "Social"
51
  msgstr ""
52
 
53
+ #: inc/admin/admin-metaboxes.php:127
54
  msgid "Redirection"
55
  msgstr ""
56
 
57
+ #: inc/admin/admin-metaboxes.php:130
58
  msgid "Google News"
59
  msgstr ""
60
 
61
+ #: inc/admin/admin-metaboxes.php:139
62
  msgid "Title"
63
  msgstr ""
64
 
65
+ #: inc/admin/admin-metaboxes.php:140
66
  msgid "Enter your title"
67
  msgstr ""
68
 
69
+ #: inc/admin/admin-metaboxes.php:144 inc/admin/admin-metaboxes.php:152
70
  msgid "(maximum recommended limit)"
71
  msgstr ""
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 ""
77
 
78
+ #: inc/admin/admin-metaboxes.php:148
79
  msgid "Enter your meta description"
80
  msgstr ""
81
 
82
+ #: inc/admin/admin-metaboxes.php:157
83
  msgid "Google Snippet Preview"
84
  msgstr ""
85
 
86
+ #: inc/admin/admin-metaboxes.php:158
87
  msgid "This is what your page will look like in Google search results"
88
  msgstr ""
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 ""
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."
100
  msgstr ""
101
 
102
+ #: inc/admin/admin-metaboxes.php:180 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:181 inc/admin/admin.php:2844
109
  msgid "Do not follow links for all pages."
110
  msgstr ""
111
 
112
+ #: inc/admin/admin-metaboxes.php:186 inc/admin/admin.php:1537
113
  #: inc/admin/admin.php:2861
114
  msgid "noodp"
115
  msgstr ""
116
 
117
+ #: inc/admin/admin-metaboxes.php:187 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:192 inc/admin/admin.php:1545
124
  #: inc/admin/admin.php:2880
125
  msgid "noimageindex"
126
  msgstr ""
127
 
128
+ #: inc/admin/admin-metaboxes.php:193 inc/admin/admin.php:2882
129
  msgid "Do not index images from the entire site."
130
  msgstr ""
131
 
132
+ #: inc/admin/admin-metaboxes.php:198 inc/admin/admin.php:1553
133
  #: inc/admin/admin.php:2899
134
  msgid "noarchive"
135
  msgstr ""
136
 
137
+ #: inc/admin/admin-metaboxes.php:199 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:204 inc/admin/admin.php:1561
142
  #: inc/admin/admin.php:2918
143
  msgid "nosnippet"
144
  msgstr ""
145
 
146
+ #: inc/admin/admin-metaboxes.php:205 inc/admin/admin.php:2920
147
  msgid ""
148
  "Do not display a description in the Google search results for all pages."
149
  msgstr ""
150
 
151
+ #: inc/admin/admin-metaboxes.php:208 inc/admin/admin.php:615
152
  msgid "Canonical URL"
153
  msgstr ""
154
 
155
+ #: inc/admin/admin-metaboxes.php:209
156
  msgid "Default value: "
157
  msgstr ""
158
 
159
+ #: inc/admin/admin-metaboxes.php:215
160
  msgid "Facebook Title"
161
  msgstr ""
162
 
163
+ #: inc/admin/admin-metaboxes.php:216
164
  msgid "Enter your Facebook title"
165
  msgstr ""
166
 
167
+ #: inc/admin/admin-metaboxes.php:219
168
  msgid "Facebook description"
169
  msgstr ""
170
 
171
+ #: inc/admin/admin-metaboxes.php:220
172
  msgid "Enter your Facebook description"
173
  msgstr ""
174
 
175
+ #: inc/admin/admin-metaboxes.php:223
176
  msgid "Facebook Thumbnail"
177
  msgstr ""
178
 
179
+ #: inc/admin/admin-metaboxes.php:224
180
  msgid "Minimum size: 200x200px"
181
  msgstr ""
182
 
183
+ #: inc/admin/admin-metaboxes.php:225 inc/admin/admin-metaboxes.php:241
184
  #: inc/admin/admin.php:3369 inc/admin/admin.php:3429
185
  msgid "Select your default thumbnail"
186
  msgstr ""
187
 
188
+ #: inc/admin/admin-metaboxes.php:226 inc/admin/admin-metaboxes.php:242
189
  #: inc/admin/admin.php:3127 inc/admin/admin.php:3371 inc/admin/admin.php:3431
190
  msgid "Upload an Image"
191
  msgstr ""
192
 
193
+ #: inc/admin/admin-metaboxes.php:231
194
  msgid "Twitter Title"
195
  msgstr ""
196
 
197
+ #: inc/admin/admin-metaboxes.php:232
198
  msgid "Enter your Twitter title"
199
  msgstr ""
200
 
201
+ #: inc/admin/admin-metaboxes.php:235
202
  msgid "Twitter description"
203
  msgstr ""
204
 
205
+ #: inc/admin/admin-metaboxes.php:236
206
  msgid "Enter your Twitter description"
207
  msgstr ""
208
 
209
+ #: inc/admin/admin-metaboxes.php:239
210
  msgid "Twitter Thumbnail"
211
  msgstr ""
212
 
213
+ #: inc/admin/admin-metaboxes.php:240
214
  msgid "Minimum size: 160x160px"
215
  msgstr ""
216
 
217
+ #: inc/admin/admin-metaboxes.php:251
218
  msgid "Enable redirection?"
219
  msgstr ""
220
 
221
+ #: inc/admin/admin-metaboxes.php:255
222
  msgid "URL redirection"
223
  msgstr ""
224
 
225
+ #: inc/admin/admin-metaboxes.php:257
226
  msgid "301 Moved Permanently"
227
  msgstr ""
228
 
229
+ #: inc/admin/admin-metaboxes.php:258
230
  msgid "302 Found (HTTP 1.1) / Moved Temporarily (HTTP 1.0)"
231
  msgstr ""
232
 
233
+ #: inc/admin/admin-metaboxes.php:259
234
  msgid "307 Moved Temporarily (HTTP 1.1 Only)"
235
  msgstr ""
236
 
237
+ #: inc/admin/admin-metaboxes.php:261
238
  msgid "Enter your new URL"
239
  msgstr ""
240
 
241
+ #: inc/admin/admin-metaboxes.php:264 inc/admin/admin-metaboxes.php:266
242
  msgid "Test your URL"
243
  msgstr ""
244
 
245
+ #: inc/admin/admin-metaboxes.php:275
246
  msgid "Exclude this post from Google News Sitemap?"
247
  msgstr ""
248
 
249
+ #: inc/admin/admin-metaboxes.php:279
250
  msgid "Google News Genres"
251
  msgstr ""
252
 
253
+ #: inc/admin/admin-metaboxes.php:281 inc/admin/admin.php:3597
254
  #: inc/admin/admin.php:3674 inc/admin/admin.php:3751 inc/admin/admin.php:3828
255
  #: inc/admin/admin.php:3905
256
  msgid "None"
257
  msgstr ""
258
 
259
+ #: inc/admin/admin-metaboxes.php:282
260
  msgid "Press Release"
261
  msgstr ""
262
 
263
+ #: inc/admin/admin-metaboxes.php:283
264
  msgid "Satire"
265
  msgstr ""
266
 
267
+ #: inc/admin/admin-metaboxes.php:284
268
  msgid "Blog"
269
  msgstr ""
270
 
271
+ #: inc/admin/admin-metaboxes.php:285
272
  msgid "OpEd"
273
  msgstr ""
274
 
275
+ #: inc/admin/admin-metaboxes.php:286
276
  msgid "Opinion"
277
  msgstr ""
278
 
279
+ #: inc/admin/admin-metaboxes.php:287
280
  msgid "UserGenerated"
281
  msgstr ""
282
 
283
+ #: inc/admin/admin-metaboxes.php:292
284
  msgid "Google News Keywords <em>(max recommended limit: 12)</em>"
285
  msgstr ""
286
 
287
+ #: inc/admin/admin-metaboxes.php:293
288
  msgid "Enter your Google News Keywords"
289
  msgstr ""
290
 
1674
  msgid "Please upload a file to import"
1675
  msgstr ""
1676
 
1677
+ #: seopress.php:242
1678
  msgid "Settings"
1679
  msgstr ""
1680
 
1681
+ #: seopress.php:243
1682
  msgid "SEOPress.org"
1683
  msgstr ""
1684
 
1685
+ #: seopress.php:245
1686
  msgid "GO PRO!"
1687
  msgstr ""
readme.txt CHANGED
@@ -1,428 +1 @@
1
- === SEOPress ===
2
- Contributors: rainbowgeek
3
- Donate link: https://seopress.org/
4
- Tags: seo, search engine optimization, meta, title, description, keywords, serp, knowledge grah, schema.org, url, redirection, 301, xml sitemap, breadcrumbs, ranking, google analytics, woocommerce, dublin core, rich snippets, 404, html sitemap, bot, broken link checker
5
- Requires at least: 4.4+
6
- Tested up to: 4.8
7
- Stable tag: 1.7.5
8
- License: GPLv2 or later
9
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
-
11
- SEOPress is a simple, fast and powerful SEO plugin for WordPress
12
-
13
- == Description ==
14
-
15
- SEOPress is a powerful plugin to optimize your SEO, boost your traffic and improve social sharing.<br>
16
-
17
- <h3>Features</h3>
18
-
19
- <ul>
20
- <li>Titles</li>
21
- <li>Meta descriptions</li>
22
- <li>Open Graph Data</li>
23
- <li>Google Knowledge Graph</li>
24
- <li>Google Analytics</li>
25
- <li>Twitter Card</li>
26
- <li>Canonical URL</li>
27
- <li>Meta robots (noindex, nofollow, noodp, noimageindex, noarchive, nosnippet)</li>
28
- <li>Build your custom XML Sitemap to improve search indexing.</li>
29
- <li>Image XML Sitemaps to improve search indexing for Google Images.</li>
30
- <li>Build your custom HTML Sitemap to enhanced navigation for visitors and improve search indexing.</li>
31
- <li>Link your social media accounts to your site.</li>
32
- <li>Redirections in post, pages, custom post types</li>
33
- <li>Remove stop words (english, french, spanish, german, italian, portuguese)</li>
34
- <li>Remove /category/ in URLs</li>
35
- <li>Redirect attachment pages to post parent</li>
36
- <li>Import / Export settings from site to site.</li>
37
- <li>Import posts metadata from Yoast SEO</li>
38
- <li>...</li>
39
- </ul>
40
-
41
- <h3>SEOPress PRO</h3>
42
-
43
- <ul>
44
- <li>SEOPress BOT: scan all your links in content to find errors (eg: 404...)</li>
45
- <li>WooCommerce</li>
46
- <li>Dublin Core</li>
47
- <li>Structured Data types</li>
48
- <li>Breadcrumbs</li>
49
- <li>Google Page Speed</li>
50
- <li>Google Analytics Stats in Dashboard</li>
51
- <li>Robots</li>
52
- <li>Google News Sitemap</li>
53
- <li>404 Monitoring</li>
54
- <li>Redirect 404 to homepage/custom url automatically with custom status code (301, 302 or 307)</li>
55
- <li>Email notifications on 404</li>
56
- <li>301 Redirections</li>
57
- <li>htaccess</li>
58
- </ul>
59
-
60
- <h4><a href="https://www.seopress.org/downloads/seopress-pro/?utm_source=w.org&utm_campaign=seopress&utm_medium=readme" target="_blank"><strong>Buy SEOPress PRO: only $39 / unlimited sites</strong></a></h4>
61
-
62
- [youtube https://www.youtube.com/watch?v=9XMXBHBdva0]
63
-
64
- <h3>Translation</h3>
65
-
66
- <ul>
67
- <li>English</li>
68
- <li>French</li>
69
- <li>Spanish</li>
70
- <li><a href="https://www.seopress.org/contact-us/">Add yours and get SEOPress PRO for free!</a></li>
71
- </ul>
72
-
73
- == Installation ==
74
-
75
- 1. Upload 'wp-seopress' to the '/wp-content/plugins/' directory
76
- 2. Activate the plugin through the 'Plugins' menu in WordPress
77
- 3. Click on SEOPress and apply settings.
78
-
79
- == Frequently Asked Questions ==
80
- <a href="https://www.seopress.org/support/faq/" target="_blank">Read our FAQ</a>
81
-
82
- == Screenshots ==
83
- 1. SEOPress Dashboard
84
- 2. Titles & Metas
85
- 3. Titles & Metas
86
- 4. Titles & Metas
87
- 5. Titles & Metas
88
- 6. Titles & Metas
89
- 7. XML Sitemap
90
- 8. XML Sitemap
91
- 9. XML Sitemap
92
- 10. Social
93
- 11. Social
94
- 12. Social
95
- 13. Social
96
- 14. Google Analytics
97
- 15. Google Analytics
98
- 16. Google Analytics
99
- 17. Advanced settings
100
- 18. Advanced settings
101
- 19. Import / Export / Reset settings
102
- 20. WooCommerce (PRO)
103
- 21. Dublin Core (PRO)
104
- 22. Structured Data Types (PRO)
105
- 23. Breadcrumbs (PRO)
106
- 24. Google Page Speed (PRO)
107
- 25. Robots.txt (PRO)
108
- 26. Google News Sitemap (PRO)
109
- 27. Monitoring 404 (PRO)
110
- 28. htaccess (PRO)
111
- 29. SEOPress metaboxe in post, page, custom post type
112
- 30. Structured Data Types metaboxe in post, page, custom post type
113
- 31. SEOPress BOT
114
-
115
- == Changelog ==
116
- = 1.7.5 =
117
- * FIX Redirections (PRO Only)
118
- * FIX UI issues
119
- * FIX Capability for SEOPress BOT (PRO only)
120
- * FIX Default tab JS (PRO only)
121
- * FIX Notice Undefined variable: seopress_social_twitter_card_site in options-social.php on line 553
122
- = 1.7.4 =
123
- * NEW Add Redirection Enable column in Redirections / 404 monitoring
124
- * NEW Add Redirection status column in Redirections / 404 monitoring
125
- * NEW Add Redirection URL column in Redirections / 404 monitoring
126
- * INFO Updating updater licence manager
127
- * INFO Improve translations
128
- * INFO Improve UX
129
- * INFO Improve UI
130
- * FIX Text domain in some translations
131
- = 1.7.3 =
132
- * NEW Add spanish language (thanks to http://www.rslprogramacion.es/)
133
- * FIX Remove non public custom post types in XML Sitemaps options
134
- * FIX Undefined index: seopress_social_knowledge_type
135
- * FIX Undefined index: seopress_social_knowledge_contact_type
136
- * FIX Undefined index: seopress_social_knowledge_contact_option
137
- * FIX Undefined index: seopress_social_twitter_card_img_size
138
- * FIX Undefined index: seopress_social_accounts_facebook
139
- * FIX Undefined index: seopress_social_accounts_twitter
140
- * FIX Undefined index: seopress_social_accounts_google
141
- * FIX Undefined index: seopress_social_accounts_pinterest
142
- * FIX Undefined index: seopress_social_accounts_instagram
143
- * FIX Undefined index: seopress_social_accounts_youtube
144
- * FIX Undefined index: seopress_social_accounts_linkedin
145
- * FIX Undefined index: seopress_social_accounts_myspace
146
- * FIX Undefined index: seopress_social_accounts_soundcloud
147
- * FIX Undefined index: seopress_social_accounts_tumblr
148
- * FIX Undefined index: seopress_social_knowledge_name
149
- * FIX Undefined index: seopress_social_knowledge_phone
150
- * FIX Undefined index: seopress_social_facebook_admin_id
151
- * FIX Undefined index: seopress_social_facebook_app_id
152
- * FIX Undefined index: seopress_social_knowledge_img
153
- * FIX Undefined index: seopress_social_facebook_img
154
- * FIX Undefined index: seopress_social_twitter_card_img
155
- * FIX Undefined index: description
156
- * FIX Undefined index: description (2)
157
- * FIX Undefined index: seopress_titles_archives_author_desc
158
- * FIX Undefined index: seopress_titles_archives_date_desc
159
- * FIX Undefined index: seopress_titles_archives_404_desc
160
- * FIX Undefined index: seopress_xml_sitemap_html_mapping
161
- * FIX Undefined index: seopress_xml_sitemap_html_exclude
162
- * FIX Undefined index: seopress_advanced_advanced_google
163
- * FIX Undefined index: seopress_advanced_advanced_bing
164
- * FIX Undefined index: seopress_advanced_advanced_pinterest
165
- * FIX Undefined index: seopress_advanced_advanced_yandex
166
- * FIX Use of undefined constant seopress_admin_header - assumed 'seopress_admin_header'
167
- * FIX Undefined index: seopress_rich_snippets_publisher_logo
168
- * FIX Undefined index: seopress_rich_snippets_publisher_logo_width
169
- * FIX Undefined index: seopress_rich_snippets_publisher_logo_height
170
- * FIX Undefined index: seopress_breadcrumbs_separator
171
- * FIX Undefined index: seopress_robots_file
172
- * FIX Undefined index: seopress_news_name
173
- * FIX Undefined index: seopress_news_genres
174
- * FIX Undefined index: seopress_news_keywords
175
- * FIX Undefined index: seopress_404_redirect_home
176
- * FIX Undefined index: seopress_404_redirect_custom_url
177
- * FIX Undefined index: seopress_404_redirect_status_code
178
- * FIX Undefined index: seopress_404_enable_mails_from
179
- = 1.7.2 =
180
- * INFO Breadcrumbs now support Events Calendar / Events Calendar Pro
181
- * FIX Edit robots.txt
182
- * FIX Esc_attr for SEOPress BOT
183
- * FIX Google Knowledge Graph (thanks to @leflibustier)
184
- = 1.7.1 =
185
- * FIX XML Index sitemaps count column
186
- * FIX XML Sitemaps replace Published date by Modified date (last update)
187
- * FIX XML Sitemaps Notice: Undefined variable: product_img
188
- * FIX XML Sitemaps Warning: DOMDocument::loadHTML(): Empty string supplied as input
189
- * FIX XML Sitemaps Notice: Undefined variable: images
190
- * FIX Undefined index: logout wp-seopress-pro/inc/admin/admin.php (Google Analytics)
191
- * FIX Google Analytics Dashboard widget if no token
192
- = 1.7 =
193
- * NEW SEOPress BOT : scan all your links in content and detect 404 errors, 301/302/307 redirects, links down... (SEOPress PRO only)
194
- * NEW SEOPress BOT : export links scan in CSV (SEOPress PRO only)
195
- * NEW XML Image Sitemap now with Post Thumbnail support
196
- * INFO Improve UI
197
- * INFO Improve Licence page
198
- * FIX Twitter Card
199
- * FIX Google News Sitemap
200
- * FIX Sanitize fields (PRO only)
201
- * FIX Translations
202
- = 1.6 =
203
- * NEW XML Image Sitemap to improve ranking in Google Images (supports standard images, WP Image Galleries and WooCommerce image products)
204
- * NEW Block SEO metaboxe to specific user roles
205
- * NEW Block Structured Data Types metaboxe to specific user roles
206
- * INFO Move SEO metaboxe just under the editor
207
- * INFO Add Items count column in index XML Sitemaps
208
- * INFO Move Structured Data Types metaboxe just under SEO metaboxe
209
- * FIX Undefined notice phone number
210
- * FIX Change Price input number to input text to allow decimals (Structured Data Types)
211
- * FIX incorrect last update date in index XML Sitemaps
212
- * FIX Admin bar is_plugin_active error
213
- = 1.5.1 =
214
- * INFO Improve Breadcrumbs SEO
215
- * FIX Google Analytics Fatal Error
216
- * FIX Dublin Core notices
217
- * FIX Adminbar now visible in front-end too when user is logged
218
- * FIX Use of undefined constant yes - assumed 'yes'
219
- * FIX WooCommerce compatibility with Breadcrumbs
220
- * FIX Dublin Core Subject
221
- * FIX Dublin Core Description
222
- * FIX 10 Undefined variable seopress_social_knowledge_img_option
223
- = 1.5 =
224
- * NEW Google Analytics Stats in Dashboard with interactive charts (SEOPress PRO only)
225
- * NEW Add new advices in Notifications center
226
- * NEW Quick Edit your titles and meta descriptions from listing pages in backend
227
- * NEW Add bulk actions to enable/disable noindex/nofollow/index/follow
228
- * NEW Hide Genesis SEO Metaboxe (in Advanced page, appearance tab)
229
- * INFO You can now reset notifications display settings in Import/Export/Reset page
230
- * INFO Enhanced Google Snippet Preview
231
- * FIX Conflict with AIT Themes
232
- * FIX some undefined notices
233
- * FIX Notice admin_header
234
- = 1.4 =
235
- * NEW Remove /category/ in permalinks (works with Polylang and WPML)
236
- * NEW Show/Hide Notifications Center
237
- * NEW Allow Google AdSense bot, Allow Google Image Bot, Add Default WP rules in on click in robots.txt
238
- * INFO Hide Search Console notice if Google site verification field isn't empty
239
- * INFO Minifying CSS
240
- * FIX Canonical tag
241
- * FIX Facebook Admin ID
242
- * FIX Facebook App ID
243
- * FIX Remove stop words conflict with WooCommerce Orders report
244
- * FIX Fatal error: Uncaught Error: Call to undefined function seopress_titles_single_desc_option()
245
- = 1.3 =
246
- * NEW Redirect 404 to homepage/custom url automatically with custom status code (301, 302 or 307) - (SEOPress PRO only)
247
- * NEW Receive email notifications each time a 404 is detected (SEOPress PRO only)
248
- * NEW Create an HTML sitemap to boost your SEO
249
- * INFO Add save remove notices
250
- * FIX Esc_html on category, tag and term description
251
- * FIX Structured Data Types metaboxe if disabled
252
- * FIX Some french translations
253
- * FIX Canonical URL
254
- * FIX Dublin Core Relation
255
- * FIX OG:URL
256
- = 1.2.1 =
257
- * FIX Fatal error for WooCommerce cart, checkout, my account pages
258
- = 1.2 =
259
- * NEW Add Dublin Core meta tags (SEOPress PRO only)
260
- * NEW Add Structured Data Types for Articles, Courses, Videos, Recipes, Events and Products (SEOPress PRO only)
261
- * NEW Add Organization phone number for Google Knowledge Graph
262
- * NEW Add Contact type for Google Knowledge Graph
263
- * NEW Add Contact option for Google Knowledge Graph
264
- * FIX Remove Meta description if empty
265
- * FIX Esc_html in tooltips
266
- * FIX Logo Google Knowledge Graph
267
- * FIX Social Accounts in Google Knowledge Graph
268
- * FIX Duplicate URL (trailing slash bug)
269
- = 1.1 =
270
- * NEW Add new advices in notifications center
271
- * NEW Link your robots.txt to your sitemap in one click
272
- * NEW Block SEMRush et Majestic SEO Bots in one click
273
- * NEW Add noindex column in post types
274
- * NEW Add nofollow column in post types
275
- * INFO Improve performance in xml sitemap generation
276
- * INFO Improve translations
277
- * INFO Set Google Analytics enable by default
278
- * INFO Add some helps
279
- * FIX XML Sitemaps compatibility with Polylang
280
- * FIX Access to PRO options if SEOPress is disabled
281
- * FIX Notice Trying to get property of non-object seopress.php:182
282
- = 1.0.2 =
283
- * FIX Escape HTML tags in title
284
- * FIX WooCommerce (PRO) fatal error
285
- = 1.0.1 =
286
- * FIX XML sitemaps fatal error
287
- = 1.0 =
288
- * NEW Google Analytics
289
- * NEW Import Yoast Posts metadata in SEOPress (Title tags, Meta description, Facebook Open Graph tags (title, description and image thumbnail), Twitter tags (title, description and image thumbnail), Meta Robots (noindex, nofollow...), Canonical URL)
290
- * NEW Google News Sitemap (SEOPress PRO only)
291
- * NEW Breadcrumbs (SEOPress PRO only)
292
- * NEW Google Page Speed tool (SEOPress PRO only)
293
- * NEW Robots.txt (SEOPress PRO only)
294
- * NEW htaccess (SEOPress PRO only)
295
- * NEW WooCommerce OG:PRICE meta for product (SEOPress PRO only)
296
- * NEW WooCommerce OG:CURRENCY meta for product (SEOPress PRO only)
297
- * NEW WooCommerce Noindex cart page (SEOPress PRO only)
298
- * NEW WooCommerce Noindex checkout page (SEOPress PRO only)
299
- * NEW WooCommerce Noindex customer account pages (SEOPress PRO only)
300
- * NEW Add Title tag column in post types
301
- * NEW Add Meta description column in post types
302
- * NEW Set default values (settings need to be reset if you already own the plugin)
303
- * NEW Add SEOPress in Admin Bar for quick access (you can remove it)
304
- * NEW Manage Titles, Meta Descriptions and Meta Robots for Custom Post Type Archives
305
- * NEW Add new checks in notifications center
306
- * NEW Add Logo preview in Knowledge graph
307
- * INFO If Jetpack enabled, disable Jetpack Open Graph Tags for compatibility
308
- * INFO Check if SEOPress is installed, if not, display a notice for SEOPress Pro users
309
- * INFO Improve some labels
310
- * INFO Add minimum size required for Facebook and Twitter thumbnail
311
- * INFO Add SEOPress icon in admin menu
312
- * INFO Add descriptions / tooltips for labels, inputs...
313
- * FIX Disable article:published_time, article:modified_time and og:updated_time on homepage
314
- * FIX CSS bugs
315
- * FIX XML Sitemaps namespaces
316
- * FIX Escape HTML in OG:Title, Twitter:title
317
- * FIX Wrong link for rating SEOPress on w.org
318
- * FIX Replace get_site_url() by get_home_url() (thanks to Ludovic Riaudel)
319
- * FIX Title tag and meta description for frontpage
320
- * FIX Notification center checks
321
- * FIX if function exists errors
322
- * FIX WooCommerce checks
323
- = 0.9 =
324
- * NEW Add OG:URL if Open Graph is enabled
325
- * NEW Add OG:SITE_NAME if Open Graph is enabled
326
- * NEW Add OG:TYPE if Open Graph is enabled
327
- * NEW Add OG:LOCALE if Open Graph is enabled
328
- * NEW Add TWITTER:SITE if Twitter Card is enabled
329
- * NEW Add TWITTER:CREATOR if Twitter Card is enabled
330
- * NEW Add Flush permalinks button in XML Sitemaps settings page
331
- * NEW Add Ping Google manually button for XML Sitemaps
332
- * NEW Add noindex meta robots tag for Author and Date archives
333
- * FIX Display Site Verification meta only on homepage
334
- * FIX Set Search and 404 pages to noindex by default
335
- * FIX Notice Undefined variable: seopress_social_knowledge_img_option
336
- * FIX Notice Undefined variable: seopress_social_accounts_facebook_option
337
- * FIX Notice Undefined variable: seopress_social_accounts_twitter_option
338
- * FIX Notice Undefined variable: seopress_social_accounts_google_option
339
- * FIX Undefined variable: seopress_social_accounts_pinterest_option
340
- * FIX Notice Undefined variable: seopress_social_accounts_instagram_option
341
- * FIX Notice Undefined variable: seopress_social_accounts_youtube_option
342
- * FIX Notice Undefined variable: seopress_social_accounts_linkedin_option
343
- * FIX Notice Undefined variable: seopress_social_accounts_myspace_option
344
- * FIX Notice Undefined variable: seopress_social_accounts_soundcloud_option
345
- * FIX Notice Undefined variable: seopress_social_accounts_tumblr_option
346
- * FIX Notice: Trying to get property of non-object in inc/functions/options-titles-metas.php on line 253
347
- * FIX Notice: Trying to get property of non-object in inc/functions/options-titles-metas.php on line 355
348
- = 0.8 =
349
- * NEW Remove stop words in URL (supported languages: EN, FR, ES, DE, IT, PT)
350
- * INFO List last modified posts first in XML sitemaps
351
- * FIX Remove posts marked as noindex in edit post page in XML sitemaps
352
- = 0.7 =
353
- * NEW Redesign SEOPress main page
354
- * NEW Notifications center
355
- * NEW Add XSL in sitemaps for readability
356
- * NEW Add Google site verification option
357
- * NEW Add Bing site verification option
358
- * NEW Add Pinterest site verification option
359
- * NEW Add Yandex site verification option
360
- * INFO Limit items in sitemaps to 1000 for performances
361
- * FIX Notice Undefined variable: seopress_paged
362
- * FIX Website Schema.org in JSON-LD
363
- = 0.6 =
364
- * NEW Add template variable for titles tags and meta descriptions
365
- * INFO Remove screenshots from main directory to assets
366
- * FIX Notice: Trying to get property of non-object in /inc/admin/admin-metaboxes.php on line 11
367
- * FIX Notice: Undefined variable: seopress_titles_the_description
368
- * FIX Notice: Undefined variable: post
369
- * FIX Canonical tag
370
- * FIX Notice: Trying to get property of non-object
371
- = 0.5 =
372
- * NEW Add 301/302 redirections in SEOPress metaboxe for custom post types
373
- * NEW Add Redirect attachment pages to post parent or home if none option
374
- * INFO Use pretty names for Custom Post Types and Custom Taxonomies in all options
375
- = 0.4 =
376
- * NEW Add article:published_time, article:modified_time, og:updated_time metadata
377
- * INFO Add website link
378
- * INFO Improve UI in Google Snippet Preview with live preview
379
- * INFO Improve Canonical URL field
380
- * FIX CSS Google Snippet preview
381
- * FIX Title tag in Google Snipet Preview
382
- = 0.3 =
383
- * INFO Add placeholders
384
- * INFO Improve sanitization
385
- * INFO Set noindex on xml sitemaps
386
- * FIX Text domain for localization
387
- * FIX CSS in Import / Export page
388
- = 0.2 =
389
- * INFO Improve SEOPress Metaboxe UI/UX
390
- * INFO CSS Cleaning
391
- * FIX Titles tag, meta description and meta robots
392
- * FIX Test site visibility in Reading Options before applying Titles & Metas settings
393
- * FIX Security Allowing Direct File Access to plugin files
394
- * FIX No more calling core loading files directly
395
- * FIX Import / Export Tool
396
- = 0.1 =
397
- * NEW Add Title tag for homepage
398
- * NEW Add Meta Description for homepage
399
- * NEW Add Title tag for Single Post Types
400
- * NEW Add Meta Description for Single Post Types
401
- * NEW Add noindex meta robots tag for Single Post Types
402
- * NEW Add nofollow meta robots tag for Single Post Types
403
- * NEW Add Title tag for Taxonomies
404
- * NEW Add Meta Description for Taxonomies
405
- * NEW Add noindex meta robots tag for Taxonomies
406
- * NEW Add nofollow meta robots tag for Taxonomies
407
- * NEW Add Title tag for Author archives
408
- * NEW Add Title tag for Date archives
409
- * NEW Add Title tag for Search archives
410
- * NEW Add Title tag for 404 archives
411
- * NEW Add Title tag for Paged archives
412
- * NEW Add Meta Description for Author archives
413
- * NEW Add Meta Description for Date archives
414
- * NEW Add Meta Description for Search archives
415
- * NEW Add Meta Description for 404 archives
416
- * NEW Add Meta Description for Paged archives
417
- * NEW Add noindex meta robots tag
418
- * NEW Add nofollow meta robots tag
419
- * NEW Add noodp meta robots tag
420
- * NEW Add noimageindex meta google tag
421
- * NEW Add noarchive meta robots tag
422
- * NEW Add nosnippet meta robots tag
423
- * NEW Add Google Knowledge Graph (person, organization, links with social accounts...)
424
- * NEW Add Open Graph Data for Facebook
425
- * NEW Add Twitter Card for Twitter
426
- * NEW Add Sitemap.xml
427
- * NEW Add Import / Export / Reset tool
428
- * Alpha release.
1
+ === SEOPress ===
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
seopress.php CHANGED
@@ -1,12 +1,12 @@
1
  <?php
2
 
3
  /*
4
- Plugin Name: SEOPress
5
- Plugin URI: http://seopress.org/
6
  Description: The best SEO plugin.
7
- Version: 1.7.5
8
  Author: Benjamin DENIS
9
- Author URI: http://seopress.org/
10
  License: GPLv2
11
  Text Domain: wp-seopress
12
  Domain Path: /languages
@@ -56,7 +56,7 @@ register_deactivation_hook(__FILE__, 'seopress_deactivation');
56
  //Define
57
  ///////////////////////////////////////////////////////////////////////////////////////////////////
58
 
59
- define( 'SEOPRESS_VERSION', '1.7.5' );
60
  define( 'SEOPRESS_AUTHOR', 'Benjamin Denis' );
61
 
62
  ///////////////////////////////////////////////////////////////////////////////////////////////////
@@ -159,9 +159,28 @@ function seopress_add_admin_options_scripts($hook) {
159
  wp_enqueue_media();
160
  }
161
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
  if (is_user_logged_in()) {
163
  global $wp_roles;
164
-
165
  //Get current user role
166
  if(isset(wp_get_current_user()->roles[0])) {
167
  $seopress_user_role = wp_get_current_user()->roles[0];
@@ -169,25 +188,11 @@ function seopress_add_admin_options_scripts($hook) {
169
  if (function_exists('seopress_advanced_security_metaboxe_role_hook_option') && seopress_advanced_security_metaboxe_role_hook_option() !='') {
170
  if( array_key_exists( $seopress_user_role, seopress_advanced_security_metaboxe_role_hook_option())) {
171
  //do nothing
 
 
172
  }
173
  } else {
174
-
175
- global $post;
176
-
177
- if ( $hook == 'post-new.php' || $hook == 'post.php') {
178
- $cpt_public_check = get_post_type_object( $post->post_type );
179
- if ( 'attachment' !== $post->post_type ) {
180
- wp_enqueue_script( 'seopress-cpt-tabs-js', plugins_url( 'assets/js/seopress-tabs2.js', __FILE__ ), array( 'jquery-ui-tabs' ) );
181
- if ( 'seopress_404' !== $post->post_type ) {
182
- if ($cpt_public_check->public =='1') {
183
- wp_enqueue_script( 'seopress-cpt-counters-js', plugins_url( 'assets/js/seopress-counters.js', __FILE__ ), array( 'jquery' ) );
184
- }
185
- }
186
- wp_enqueue_script( 'seopress-media-uploader-js', plugins_url('assets/js/seopress-media-uploader.js', __FILE__), array('jquery'), '', false );
187
- wp_enqueue_media();
188
-
189
- }
190
- }
191
  }
192
  }
193
  }
1
  <?php
2
 
3
  /*
4
+ Plugin Name: SEOPress, WordPress SEO Plugin
5
+ Plugin URI: http://www.seopress.org/
6
  Description: The best SEO plugin.
7
+ Version: 1.7.6
8
  Author: Benjamin DENIS
9
+ Author URI: http://www.seopress.org/
10
  License: GPLv2
11
  Text Domain: wp-seopress
12
  Domain Path: /languages
56
  //Define
57
  ///////////////////////////////////////////////////////////////////////////////////////////////////
58
 
59
+ define( 'SEOPRESS_VERSION', '1.7.6' );
60
  define( 'SEOPRESS_AUTHOR', 'Benjamin Denis' );
61
 
62
  ///////////////////////////////////////////////////////////////////////////////////////////////////
159
  wp_enqueue_media();
160
  }
161
 
162
+ function seopress_admin_metaboxe_js($hook) {
163
+ global $post;
164
+
165
+ if ( $hook == 'post-new.php' || $hook == 'post.php') {
166
+ $cpt_public_check = get_post_type_object( $post->post_type );
167
+ if ( 'attachment' !== $post->post_type ) {
168
+ wp_enqueue_script( 'seopress-cpt-tabs-js', plugins_url( 'assets/js/seopress-tabs2.js', __FILE__ ), array( 'jquery-ui-tabs' ) );
169
+ if ( 'seopress_404' !== $post->post_type ) {
170
+ if ($cpt_public_check->public =='1') {
171
+ wp_enqueue_script( 'seopress-cpt-counters-js', plugins_url( 'assets/js/seopress-counters.js', __FILE__ ), array( 'jquery' ) );
172
+ }
173
+ }
174
+ wp_enqueue_script( 'seopress-media-uploader-js', plugins_url('assets/js/seopress-media-uploader.js', __FILE__), array('jquery'), '', false );
175
+ wp_enqueue_media();
176
+
177
+ }
178
+ }
179
+ }
180
+
181
  if (is_user_logged_in()) {
182
  global $wp_roles;
183
+
184
  //Get current user role
185
  if(isset(wp_get_current_user()->roles[0])) {
186
  $seopress_user_role = wp_get_current_user()->roles[0];
188
  if (function_exists('seopress_advanced_security_metaboxe_role_hook_option') && seopress_advanced_security_metaboxe_role_hook_option() !='') {
189
  if( array_key_exists( $seopress_user_role, seopress_advanced_security_metaboxe_role_hook_option())) {
190
  //do nothing
191
+ } else {
192
+ echo seopress_admin_metaboxe_js($hook);
193
  }
194
  } else {
195
+ echo seopress_admin_metaboxe_js($hook);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
196
  }
197
  }
198
  }