Version Description
- INFO Add placeholders
- INFO Improve sanitization
- INFO Set noindex on xml sitemaps
- FIX Text domain for localization
- FIX CSS in Import / Export page
Download this release
Release Info
Developer | rainbowgeek |
Plugin | SEOPress |
Version | 0.3 |
Comparing to | |
See all releases |
Code changes from version 0.2 to 0.3
- assets/css/seopress.css +18 -2
- assets/js/seopress-counters.js +10 -0
- inc/admin/admin-metaboxes.php +39 -35
- inc/admin/admin.php +179 -249
- inc/functions/sitemap/template-xml-sitemaps-single-term.php +4 -0
- inc/functions/sitemap/template-xml-sitemaps-single.php +4 -0
- languages/seopress-fr_FR.mo +0 -0
- languages/wp-seopress-fr_FR.mo +0 -0
- languages/{seopress-fr_FR.po → wp-seopress-fr_FR.po} +124 -68
- languages/{seopress.mo → wp-seopress.mo} +0 -0
- languages/{seopress.po → wp-seopress.po} +124 -68
- languages/wp-seopress.pot +610 -0
- readme.txt +14 -5
- seopress.php +6 -5
assets/css/seopress.css
CHANGED
@@ -91,6 +91,19 @@
|
|
91 |
font-weight: 400;
|
92 |
line-height: 18.2px;
|
93 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
|
95 |
/*************************************************************************************************/
|
96 |
/* Admin - Tabs */
|
@@ -204,7 +217,7 @@
|
|
204 |
.seopress-option input[type="text"],
|
205 |
.seopress-option input[type="password"],
|
206 |
.seopress-option textarea {
|
207 |
-
min-width:
|
208 |
}
|
209 |
.seopress-option textarea {
|
210 |
min-height: 100px;
|
@@ -337,4 +350,7 @@
|
|
337 |
.seopress-option input[type="text"].seopress-admin-menu-input {
|
338 |
min-width: inherit;
|
339 |
width: 100%;
|
340 |
-
}
|
|
|
|
|
|
91 |
font-weight: 400;
|
92 |
line-height: 18.2px;
|
93 |
}
|
94 |
+
#seopress_cpt .wrap-seopress-counters {
|
95 |
+
text-align: right;
|
96 |
+
background: rgb(238, 238, 238) none repeat scroll 0% 0%;
|
97 |
+
padding: 5px;
|
98 |
+
}
|
99 |
+
#seopress_cpt #seopress_titles_desc_counters {
|
100 |
+
display: inline;
|
101 |
+
margin-right: 5px;
|
102 |
+
}
|
103 |
+
#seopress_cpt #seopress_titles_desc_counters_val {
|
104 |
+
display: inline;
|
105 |
+
font-weight: bold;
|
106 |
+
}
|
107 |
|
108 |
/*************************************************************************************************/
|
109 |
/* Admin - Tabs */
|
217 |
.seopress-option input[type="text"],
|
218 |
.seopress-option input[type="password"],
|
219 |
.seopress-option textarea {
|
220 |
+
min-width: 500px;
|
221 |
}
|
222 |
.seopress-option textarea {
|
223 |
min-height: 100px;
|
350 |
.seopress-option input[type="text"].seopress-admin-menu-input {
|
351 |
min-width: inherit;
|
352 |
width: 100%;
|
353 |
+
}
|
354 |
+
.seopress_page_seopress-import-export .postbox {
|
355 |
+
width: calc(100% - 20px);
|
356 |
+
}
|
assets/js/seopress-counters.js
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).ready(function(){
|
2 |
+
jQuery("#seopress_titles_desc_counters").after("<div id=\"seopress_titles_desc_counters_val\">/ 160</div>");
|
3 |
+
jQuery("#seopress_titles_desc_counters").text(jQuery("#seopress_titles_desc_meta").val().length);
|
4 |
+
jQuery("#seopress_titles_desc_meta").keyup( function() {
|
5 |
+
if(jQuery(this).val().length > 160){
|
6 |
+
jQuery('#seopress_titles_desc_counters_val').css('color', 'red');
|
7 |
+
}
|
8 |
+
jQuery("#seopress_titles_desc_counters").text(jQuery("#seopress_titles_desc_meta").val().length);
|
9 |
+
});
|
10 |
+
});
|
inc/admin/admin-metaboxes.php
CHANGED
@@ -8,7 +8,7 @@ defined( 'ABSPATH' ) or die( 'Please don’t call the plugin directly. Thank
|
|
8 |
|
9 |
add_action('add_meta_boxes','seopress_init_metabox');
|
10 |
function seopress_init_metabox(){
|
11 |
-
add_meta_box('seopress_cpt', __('SEOPress','seopress'), 'seopress_cpt', seopress_get_post_types(), 'advanced');
|
12 |
}
|
13 |
|
14 |
function seopress_cpt($post){
|
@@ -41,35 +41,39 @@ function seopress_cpt($post){
|
|
41 |
return $seopress_titles_desc;
|
42 |
} else {
|
43 |
global $post;
|
44 |
-
return $post->post_content;
|
45 |
}
|
46 |
}
|
47 |
|
48 |
echo '<div id="seopress-tabs">
|
49 |
<ul>
|
50 |
-
<li><a href="#tabs-1"><span class="dashicons dashicons-editor-table"></span>'. __( 'Titles settings', 'seopress' ) .'</a></li>
|
51 |
-
<li><a href="#tabs-2"><span class="dashicons dashicons-admin-generic"></span>'. __( 'Advanced', 'seopress' ) .'</a></li>
|
52 |
-
<li><a href="#tabs-3"><span class="dashicons dashicons-share"></span>'. __( 'Social', 'seopress' ) .'</a></li>
|
53 |
</ul>
|
54 |
|
55 |
<div id="tabs-1">
|
56 |
<div class="box-left">
|
57 |
<p>
|
58 |
-
<label for="seopress_titles_title_meta">'. __( 'Title', 'seopress' ) .'</label>
|
59 |
-
<input id="seopress_titles_title_meta" type="text" name="seopress_titles_title" placeholder="'.__('Enter your title','seopress').'" value="'.$seopress_titles_title.'" />
|
60 |
</p>
|
61 |
<p>
|
62 |
-
<label for="seopress_titles_desc_meta">'. __( 'Meta description', 'seopress' ) .'</label>
|
63 |
-
<textarea id="seopress_titles_desc_meta" style="width:100%" name="seopress_titles_desc" placeholder="'.__('Enter your meta description','seopress').'" value="'.$seopress_titles_desc.'">'.$seopress_titles_desc.'</textarea>
|
64 |
-
</p>
|
|
|
|
|
|
|
|
|
65 |
</div>
|
66 |
<div class="box-right">
|
67 |
<div class="google-snippet-preview">
|
68 |
-
<h3>'.__('Google Snippet Preview','seopress').'</h3>
|
69 |
-
<p>'. __('This is what your page will look like in Google search results','seopress').'</p>
|
70 |
<div class="snippet-title">'.seopress_titles_title($seopress_titles_title).'</div>
|
71 |
<div class="snippet-permalink">'.get_permalink().'</div>
|
72 |
-
<div class="snippet-desc">'.seopress_titles_desc($seopress_titles_desc).'
|
73 |
</div>
|
74 |
</div>
|
75 |
</div>
|
@@ -77,73 +81,73 @@ function seopress_cpt($post){
|
|
77 |
<p>
|
78 |
<label for="seopress_robots_index_meta">
|
79 |
<input type="checkbox" name="seopress_robots_index" id="seopress_robots_index_meta" value="yes" '. checked( $seopress_robots_index, 'yes', false ) .' />
|
80 |
-
'. __( 'noindex', 'seopress' ) .'
|
81 |
</label>
|
82 |
</p>
|
83 |
<p>
|
84 |
<label for="seopress_robots_follow_meta">
|
85 |
<input type="checkbox" name="seopress_robots_follow" id="seopress_robots_follow_meta" value="yes" '. checked( $seopress_robots_follow, 'yes', false ) .' />
|
86 |
-
'. __( 'nofollow', 'seopress' ) .'
|
87 |
</label>
|
88 |
</p>
|
89 |
<p>
|
90 |
<label for="seopress_robots_odp_meta">
|
91 |
<input type="checkbox" name="seopress_robots_odp" id="seopress_robots_odp_meta" value="yes" '. checked( $seopress_robots_odp, 'yes', false ) .' />
|
92 |
-
'. __( 'noodp', 'seopress' ) .'
|
93 |
</label>
|
94 |
</p>
|
95 |
<p>
|
96 |
<label for="seopress_robots_imageindex_meta">
|
97 |
<input type="checkbox" name="seopress_robots_imageindex" id="seopress_robots_imageindex_meta" value="yes" '. checked( $seopress_robots_imageindex, 'yes', false ) .' />
|
98 |
-
'. __( 'noimageindex', 'seopress' ) .'
|
99 |
</label>
|
100 |
</p>
|
101 |
<p>
|
102 |
<label for="seopress_robots_archive_meta">
|
103 |
<input type="checkbox" name="seopress_robots_archive" id="seopress_robots_archive_meta" value="yes" '. checked( $seopress_robots_archive, 'yes', false ) .' />
|
104 |
-
'. __( 'noarchive', 'seopress' ) .'
|
105 |
</label>
|
106 |
</p>
|
107 |
<p>
|
108 |
<label for="seopress_robots_snippet_meta">
|
109 |
<input type="checkbox" name="seopress_robots_snippet" id="seopress_robots_snippet_meta" value="yes" '. checked( $seopress_robots_snippet, 'yes', false ) .' />
|
110 |
-
'. __( 'nosnippet', 'seopress' ) .'
|
111 |
</label>
|
112 |
</p>
|
113 |
<p>
|
114 |
-
<label for="seopress_robots_canonical_meta">'. __( 'Canonical URL', 'seopress' ) .'</label>
|
115 |
-
<input id="seopress_robots_canonical_meta" type="text" name="seopress_robots_canonical" placeholder="'.__('Enter your Canonical URL','seopress').'" value="'.$seopress_robots_canonical.'" />
|
116 |
</p>
|
117 |
</div>
|
118 |
<div id="tabs-3">
|
119 |
<span class="dashicons dashicons-facebook-alt"></span>
|
120 |
<p>
|
121 |
-
<label for="seopress_social_fb_title_meta">'. __( 'Facebook Title', 'seopress' ) .'</label>
|
122 |
-
<input id="seopress_social_fb_title_meta" type="text" name="seopress_social_fb_title" placeholder="'.__('Enter your Facebook title','seopress').'" value="'.$seopress_social_fb_title.'" />
|
123 |
</p>
|
124 |
<p>
|
125 |
-
<label for="seopress_social_fb_desc_meta">'. __( 'Facebook description', 'seopress' ) .'</label>
|
126 |
-
<textarea id="seopress_social_fb_desc_meta" name="seopress_social_fb_desc" placeholder="'.__('Enter your Facebook description','seopress').'" value="'.$seopress_social_fb_desc.'">'.$seopress_social_fb_desc.'</textarea>
|
127 |
</p>
|
128 |
<p>
|
129 |
-
<label for="seopress_social_fb_img_meta">'. __( 'Facebook Thumbnail', 'seopress' ) .'</label>
|
130 |
-
<input id="seopress_social_fb_img_meta" type="text" name="seopress_social_fb_img" placeholder="'.__('Select your default thumbnail','seopress').'" value="'.$seopress_social_fb_img.'" />
|
131 |
-
<input id="seopress_social_fb_img_upload" class="button" type="button" value="'.__('Upload an Image','seopress').'" />
|
132 |
</p>
|
133 |
<br/>
|
134 |
<span class="dashicons dashicons-twitter"></span>
|
135 |
<p>
|
136 |
-
<label for="seopress_social_twitter_title_meta">'. __( 'Twitter Title', 'seopress' ) .'</label>
|
137 |
-
<input id="seopress_social_twitter_title_meta" type="text" name="seopress_social_twitter_title" placeholder="'.__('Enter your Twitter title','seopress').'" value="'.$seopress_social_twitter_title.'" />
|
138 |
</p>
|
139 |
<p>
|
140 |
-
<label for="seopress_social_twitter_desc_meta">'. __( 'Twitter description', 'seopress' ) .'</label>
|
141 |
-
<textarea id="seopress_social_twitter_desc_meta" name="seopress_social_twitter_desc" placeholder="'.__('Enter your Twitter description','seopress').'" value="'.$seopress_social_twitter_desc.'">'.$seopress_social_twitter_desc.'</textarea>
|
142 |
</p>
|
143 |
<p>
|
144 |
-
<label for="seopress_social_twitter_img_meta">'. __( 'Twitter Thumbnail', 'seopress' ) .'</label>
|
145 |
-
<input id="seopress_social_twitter_img_meta" type="text" name="seopress_social_twitter_img" placeholder="'.__('Select your default thumbnail','seopress').'" value="'.$seopress_social_twitter_img.'" />
|
146 |
-
<input id="seopress_social_twitter_img_upload" class="button" type="button" value="'.__('Upload an Image','seopress').'" />
|
147 |
</p>
|
148 |
</div>
|
149 |
</div>
|
8 |
|
9 |
add_action('add_meta_boxes','seopress_init_metabox');
|
10 |
function seopress_init_metabox(){
|
11 |
+
add_meta_box('seopress_cpt', __('SEOPress','wp-seopress'), 'seopress_cpt', seopress_get_post_types(), 'advanced');
|
12 |
}
|
13 |
|
14 |
function seopress_cpt($post){
|
41 |
return $seopress_titles_desc;
|
42 |
} else {
|
43 |
global $post;
|
44 |
+
return substr(wp_strip_all_tags($post->post_content, true), 0, 160);
|
45 |
}
|
46 |
}
|
47 |
|
48 |
echo '<div id="seopress-tabs">
|
49 |
<ul>
|
50 |
+
<li><a href="#tabs-1"><span class="dashicons dashicons-editor-table"></span>'. __( 'Titles settings', 'wp-seopress' ) .'</a></li>
|
51 |
+
<li><a href="#tabs-2"><span class="dashicons dashicons-admin-generic"></span>'. __( 'Advanced', 'wp-seopress' ) .'</a></li>
|
52 |
+
<li><a href="#tabs-3"><span class="dashicons dashicons-share"></span>'. __( 'Social', 'wp-seopress' ) .'</a></li>
|
53 |
</ul>
|
54 |
|
55 |
<div id="tabs-1">
|
56 |
<div class="box-left">
|
57 |
<p>
|
58 |
+
<label for="seopress_titles_title_meta">'. __( 'Title', 'wp-seopress' ) .'</label>
|
59 |
+
<input id="seopress_titles_title_meta" type="text" name="seopress_titles_title" placeholder="'.__('Enter your title','wp-seopress').'" value="'.$seopress_titles_title.'" />
|
60 |
</p>
|
61 |
<p>
|
62 |
+
<label for="seopress_titles_desc_meta">'. __( 'Meta description', 'wp-seopress' ) .'</label>
|
63 |
+
<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>
|
64 |
+
</p>
|
65 |
+
<div class="wrap-seopress-counters">
|
66 |
+
<div id="seopress_titles_desc_counters"></div>
|
67 |
+
'.__('(maximum recommended limit)','wp-seopress').'
|
68 |
+
</div>
|
69 |
</div>
|
70 |
<div class="box-right">
|
71 |
<div class="google-snippet-preview">
|
72 |
+
<h3>'.__('Google Snippet Preview','wp-seopress').'</h3>
|
73 |
+
<p>'. __('This is what your page will look like in Google search results','wp-seopress').'</p>
|
74 |
<div class="snippet-title">'.seopress_titles_title($seopress_titles_title).'</div>
|
75 |
<div class="snippet-permalink">'.get_permalink().'</div>
|
76 |
+
<div class="snippet-desc">'.seopress_titles_desc($seopress_titles_desc).'...</div>
|
77 |
</div>
|
78 |
</div>
|
79 |
</div>
|
81 |
<p>
|
82 |
<label for="seopress_robots_index_meta">
|
83 |
<input type="checkbox" name="seopress_robots_index" id="seopress_robots_index_meta" value="yes" '. checked( $seopress_robots_index, 'yes', false ) .' />
|
84 |
+
'. __( 'noindex', 'wp-seopress' ) .'
|
85 |
</label>
|
86 |
</p>
|
87 |
<p>
|
88 |
<label for="seopress_robots_follow_meta">
|
89 |
<input type="checkbox" name="seopress_robots_follow" id="seopress_robots_follow_meta" value="yes" '. checked( $seopress_robots_follow, 'yes', false ) .' />
|
90 |
+
'. __( 'nofollow', 'wp-seopress' ) .'
|
91 |
</label>
|
92 |
</p>
|
93 |
<p>
|
94 |
<label for="seopress_robots_odp_meta">
|
95 |
<input type="checkbox" name="seopress_robots_odp" id="seopress_robots_odp_meta" value="yes" '. checked( $seopress_robots_odp, 'yes', false ) .' />
|
96 |
+
'. __( 'noodp', 'wp-seopress' ) .'
|
97 |
</label>
|
98 |
</p>
|
99 |
<p>
|
100 |
<label for="seopress_robots_imageindex_meta">
|
101 |
<input type="checkbox" name="seopress_robots_imageindex" id="seopress_robots_imageindex_meta" value="yes" '. checked( $seopress_robots_imageindex, 'yes', false ) .' />
|
102 |
+
'. __( 'noimageindex', 'wp-seopress' ) .'
|
103 |
</label>
|
104 |
</p>
|
105 |
<p>
|
106 |
<label for="seopress_robots_archive_meta">
|
107 |
<input type="checkbox" name="seopress_robots_archive" id="seopress_robots_archive_meta" value="yes" '. checked( $seopress_robots_archive, 'yes', false ) .' />
|
108 |
+
'. __( 'noarchive', 'wp-seopress' ) .'
|
109 |
</label>
|
110 |
</p>
|
111 |
<p>
|
112 |
<label for="seopress_robots_snippet_meta">
|
113 |
<input type="checkbox" name="seopress_robots_snippet" id="seopress_robots_snippet_meta" value="yes" '. checked( $seopress_robots_snippet, 'yes', false ) .' />
|
114 |
+
'. __( 'nosnippet', 'wp-seopress' ) .'
|
115 |
</label>
|
116 |
</p>
|
117 |
<p>
|
118 |
+
<label for="seopress_robots_canonical_meta">'. __( 'Canonical URL', 'wp-seopress' ) .'</label>
|
119 |
+
<input id="seopress_robots_canonical_meta" type="text" name="seopress_robots_canonical" placeholder="'.__('Enter your Canonical URL','wp-seopress').'" value="'.$seopress_robots_canonical.'" />
|
120 |
</p>
|
121 |
</div>
|
122 |
<div id="tabs-3">
|
123 |
<span class="dashicons dashicons-facebook-alt"></span>
|
124 |
<p>
|
125 |
+
<label for="seopress_social_fb_title_meta">'. __( 'Facebook Title', 'wp-seopress' ) .'</label>
|
126 |
+
<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.'" />
|
127 |
</p>
|
128 |
<p>
|
129 |
+
<label for="seopress_social_fb_desc_meta">'. __( 'Facebook description', 'wp-seopress' ) .'</label>
|
130 |
+
<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>
|
131 |
</p>
|
132 |
<p>
|
133 |
+
<label for="seopress_social_fb_img_meta">'. __( 'Facebook Thumbnail', 'wp-seopress' ) .'</label>
|
134 |
+
<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.'" />
|
135 |
+
<input id="seopress_social_fb_img_upload" class="button" type="button" value="'.__('Upload an Image','wp-seopress').'" />
|
136 |
</p>
|
137 |
<br/>
|
138 |
<span class="dashicons dashicons-twitter"></span>
|
139 |
<p>
|
140 |
+
<label for="seopress_social_twitter_title_meta">'. __( 'Twitter Title', 'wp-seopress' ) .'</label>
|
141 |
+
<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.'" />
|
142 |
</p>
|
143 |
<p>
|
144 |
+
<label for="seopress_social_twitter_desc_meta">'. __( 'Twitter description', 'wp-seopress' ) .'</label>
|
145 |
+
<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>
|
146 |
</p>
|
147 |
<p>
|
148 |
+
<label for="seopress_social_twitter_img_meta">'. __( 'Twitter Thumbnail', 'wp-seopress' ) .'</label>
|
149 |
+
<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.'" />
|
150 |
+
<input id="seopress_social_twitter_img_upload" class="button" type="button" value="'.__('Upload an Image','wp-seopress').'" />
|
151 |
</p>
|
152 |
</div>
|
153 |
</div>
|
inc/admin/admin.php
CHANGED
@@ -31,10 +31,10 @@ class seopress_options
|
|
31 |
public function add_plugin_page()
|
32 |
{
|
33 |
add_menu_page('SEOPress Option Page', 'SEOPress', 'manage_options', 'seopress-option', array( $this, 'create_admin_page' ), 'dashicons-admin-generic', 90);
|
34 |
-
add_submenu_page('seopress-option', __('Titles & Metas','seopress'), __('Titles & Metas','seopress'), 'manage_options', 'seopress-titles', array( $this, 'seopress_titles_page' ));
|
35 |
-
add_submenu_page('seopress-option', __('XML Sitemap','seopress'), __('XML Sitemap','seopress'), 'manage_options', 'seopress-xml-sitemap', array( $this, 'seopress_xml_sitemap_page' ));
|
36 |
-
add_submenu_page('seopress-option', __('Social','seopress'), __('Social','seopress'), 'manage_options', 'seopress-social', array( $this, 'seopress_social_page' ));
|
37 |
-
add_submenu_page('seopress-option', __('Import / Export / Reset settings','seopress'), __('Import / Export / Reset','seopress'), 'manage_options', 'seopress-import-export', array( $this,'seopress_import_export_page'));
|
38 |
}
|
39 |
|
40 |
function seopress_titles_page(){
|
@@ -44,8 +44,8 @@ class seopress_options
|
|
44 |
<?php
|
45 |
if (get_option('blog_public') =='0') {
|
46 |
echo '<div class="error notice is-dismissable">';
|
47 |
-
echo '<p>'. __('Discourage search engines from indexing this site is <strong>ON!</strong> None of the following settings will be applied.','seopress');
|
48 |
-
echo ' <a href="'.admin_url("options-reading.php").'">'.__('Change this settings','seopress').'</a></p>';
|
49 |
echo '</div>';
|
50 |
}
|
51 |
global $wp_version, $title;
|
@@ -59,11 +59,11 @@ class seopress_options
|
|
59 |
<?php
|
60 |
|
61 |
$plugin_settings_tabs = array(
|
62 |
-
'tab_seopress_titles_home' => __( "Home", "seopress" ),
|
63 |
-
'tab_seopress_titles_single' => __( "Single Post Types", "seopress" ),
|
64 |
-
'tab_seopress_titles_tax' => __( "Taxonomies", "seopress" ),
|
65 |
-
'tab_seopress_titles_archives' => __( "Archives", "seopress" ),
|
66 |
-
'tab_seopress_titles_advanced' => __( "Advanced", "seopress" ),
|
67 |
);
|
68 |
|
69 |
echo '<h2 class="nav-tab-wrapper">';
|
@@ -100,9 +100,9 @@ class seopress_options
|
|
100 |
<?php
|
101 |
|
102 |
$plugin_settings_tabs = array(
|
103 |
-
'tab_seopress_xml_sitemap_general' => __( "General", "seopress" ),
|
104 |
-
'tab_seopress_xml_sitemap_post_types' => __( "Post Types", "seopress" ),
|
105 |
-
'tab_seopress_xml_sitemap_taxonomies' => __( "Taxonomies", "seopress" ),
|
106 |
);
|
107 |
|
108 |
echo '<h2 class="nav-tab-wrapper">';
|
@@ -137,10 +137,10 @@ class seopress_options
|
|
137 |
<?php
|
138 |
|
139 |
$plugin_settings_tabs = array(
|
140 |
-
'tab_seopress_social_knowledge' => __( "Knowledge Graph", "seopress" ),
|
141 |
-
'tab_seopress_social_accounts' => __( "Your social accounts", "seopress" ),
|
142 |
-
'tab_seopress_social_facebook' => __( "Facebook", "seopress" ),
|
143 |
-
'tab_seopress_social_twitter' => __( "Twitter", "seopress" ),
|
144 |
);
|
145 |
|
146 |
echo '<h2 class="nav-tab-wrapper">';
|
@@ -167,27 +167,27 @@ class seopress_options
|
|
167 |
$tag = version_compare( $wp_version, '4.4' ) >= 0 ? 'h1' : 'h2';
|
168 |
echo '<'.$tag.'>'.$title.'</'.$tag.'>';
|
169 |
?>
|
170 |
-
<h3><span><?php _e( 'Import / Export Settings', 'seopress' ); ?></span></h3>
|
171 |
-
<?php print __('Import / Export SEOPress settings from site to site', 'seopress'); ?>
|
172 |
<div class="metabox-holder">
|
173 |
<div class="postbox">
|
174 |
-
<h3><span><?php _e( 'Export Settings', 'seopress' ); ?></span></h3>
|
175 |
<div class="inside">
|
176 |
-
<p><?php _e( 'Export the plugin settings for this site as a .json file. This allows you to easily import the configuration into another site.', 'seopress' ); ?></p>
|
177 |
<form method="post">
|
178 |
<p><input type="hidden" name="seopress_action" value="export_settings" /></p>
|
179 |
<p>
|
180 |
<?php wp_nonce_field( 'seopress_export_nonce', 'seopress_export_nonce' ); ?>
|
181 |
-
<?php submit_button( __( 'Export', 'seopress' ), 'secondary', 'submit', false ); ?>
|
182 |
</p>
|
183 |
</form>
|
184 |
</div><!-- .inside -->
|
185 |
</div><!-- .postbox -->
|
186 |
|
187 |
<div class="postbox">
|
188 |
-
<h3><span><?php _e( 'Import Settings', 'seopress' ); ?></span></h3>
|
189 |
<div class="inside">
|
190 |
-
<p><?php _e( 'Import the plugin settings from a .json file. This file can be obtained by exporting the settings on another site using the form above.', 'seopress' ); ?></p>
|
191 |
<form method="post" enctype="multipart/form-data">
|
192 |
<p>
|
193 |
<input type="file" name="import_file"/>
|
@@ -195,21 +195,21 @@ class seopress_options
|
|
195 |
<p>
|
196 |
<input type="hidden" name="seopress_action" value="import_settings" />
|
197 |
<?php wp_nonce_field( 'seopress_import_nonce', 'seopress_import_nonce' ); ?>
|
198 |
-
<?php submit_button( __( 'Import', 'seopress' ), 'secondary', 'submit', false ); ?>
|
199 |
</p>
|
200 |
</form>
|
201 |
</div><!-- .inside -->
|
202 |
</div><!-- .postbox -->
|
203 |
|
204 |
<div class="postbox">
|
205 |
-
<h3><span><?php _e( 'Reset All Settings', 'seopress' ); ?></span></h3>
|
206 |
<div class="inside">
|
207 |
-
<p style="color:red"><?php _e( '<strong>WARNING:</strong> Delete all options related to SEOPress in your database.', 'seopress' ); ?></p>
|
208 |
<form method="post" enctype="multipart/form-data">
|
209 |
<p>
|
210 |
<input type="hidden" name="seopress_action" value="reset_settings" />
|
211 |
<?php wp_nonce_field( 'seopress_reset_nonce', 'seopress_reset_nonce' ); ?>
|
212 |
-
<?php submit_button( __( 'Reset settings', 'seopress' ), 'secondary', 'submit', false ); ?>
|
213 |
</p>
|
214 |
</form>
|
215 |
</div><!-- .inside -->
|
@@ -230,11 +230,11 @@ class seopress_options
|
|
230 |
<div id="seopress-header">
|
231 |
<div id="seopress-admin">
|
232 |
<h1>
|
233 |
-
<span class="screen-reader-text"><?php _e( 'SEOPress', 'seopress' ); ?></span>
|
234 |
<?php if ( is_plugin_active( 'seopress-pro/seopress-pro.php' ) ) { ?>
|
235 |
<span class="seopress-info-version">
|
236 |
<strong>
|
237 |
-
<?php _e('PRO', 'seopress'); ?>
|
238 |
<?php echo SEOPRESSPRO_VERSION; ?>
|
239 |
</strong>
|
240 |
</span>
|
@@ -244,10 +244,10 @@ class seopress_options
|
|
244 |
</h1>
|
245 |
<div id="seopress-notice">
|
246 |
<a href="http://wp-alacarte.com/" target="_blank"><img class="wpalacarte-banner" width="300" height="250" src="<?php echo plugins_url('assets/img/wpalacarte-300x250-EN@2x.png', dirname(dirname(__FILE__))); ?>" /></a>
|
247 |
-
<h2><?php _e( 'The ultimate plugin to optimize your SEO!', 'seopress' ); ?></h2>
|
248 |
<p class="small">
|
249 |
<span class="dashicons dashicons-wordpress"></span>
|
250 |
-
<?php _e( 'You like SEOPress? Don\'t forget to rate it 5 stars!', 'seopress' ); ?>
|
251 |
|
252 |
<div class="wporg-ratings rating-stars">
|
253 |
<a href="//wordpress.org/support/view/plugin-reviews/seopress?rate=1#postform" data-rating="1" title="" target="_blank"><span class="dashicons dashicons-star-filled" style="color:#e6b800 !important;"></span></a>
|
@@ -276,11 +276,11 @@ class seopress_options
|
|
276 |
</script>
|
277 |
</p>
|
278 |
<p class="small">
|
279 |
-
<a href="http://twitter.com/wpcloudy" target="_blank"><div class="dashicons dashicons-twitter"></div><?php _e( 'Follow us on Twitter!', 'seopress' ); ?></a>
|
280 |
|
281 |
-
<a href="http://www.seopress.org/" target="_blank"><div class="dashicons dashicons-info"></div><?php _e( 'Our website', 'seopress' ); ?></a>
|
282 |
|
283 |
-
<a href="http://www.seopress.org/support" target="_blank"><div class="dashicons dashicons-sos"></div><?php _e( 'Knowledge base', 'seopress' ); ?></a>
|
284 |
</p>
|
285 |
</div>
|
286 |
<table class="seopress-page-list" cellspacing="16">
|
@@ -291,9 +291,9 @@ class seopress_options
|
|
291 |
<span class="dashicons dashicons-editor-table"></span>
|
292 |
</div>
|
293 |
<span class="inner">
|
294 |
-
<h4><?php _e('Titles & metas','seopress'); ?></h4>
|
295 |
-
<p><?php _e('Manage all your titles & metas','seopress'); ?></p>
|
296 |
-
<a class="button-secondary" href="<?php echo admin_url( 'admin.php?page=seopress-titles' ); ?>"><?php _e('Manage','seopress'); ?></a>
|
297 |
</span>
|
298 |
</td>
|
299 |
<td>
|
@@ -301,9 +301,9 @@ class seopress_options
|
|
301 |
<span class="dashicons dashicons-media-spreadsheet"></span>
|
302 |
</div>
|
303 |
<span class="inner">
|
304 |
-
<h4><?php _e('XML Sitemap','seopress'); ?></h4>
|
305 |
-
<p><?php _e('Manage your XML Sitemap','seopress'); ?></p>
|
306 |
-
<a class="button-secondary" href="<?php echo admin_url( 'admin.php?page=seopress-xml-sitemap' ); ?>"><?php _e('Manage','seopress'); ?></a>
|
307 |
</span>
|
308 |
</td>
|
309 |
<td>
|
@@ -311,9 +311,9 @@ class seopress_options
|
|
311 |
<span class="dashicons dashicons-share"></span>
|
312 |
</div>
|
313 |
<span class="inner">
|
314 |
-
<h4><?php _e('Social','seopress'); ?></h4>
|
315 |
-
<p><?php _e('Open Graph, Twitter Card, Google Knowledge Graph and more...','seopress'); ?></p>
|
316 |
-
<a class="button-secondary" href="<?php echo admin_url( 'admin.php?page=seopress-social' ); ?>"><?php _e('Manage','seopress'); ?></a>
|
317 |
</span>
|
318 |
</td>
|
319 |
<td>
|
@@ -321,9 +321,9 @@ class seopress_options
|
|
321 |
<span class="dashicons dashicons-admin-settings"></span>
|
322 |
</div>
|
323 |
<span class="inner">
|
324 |
-
<h4><?php _e('Import / Export / Reset','seopress'); ?></h4>
|
325 |
-
<p><?php _e('Import / export SEOPress settings from site to site.','seopress'); ?></p>
|
326 |
-
<a class="button-secondary" href="<?php echo admin_url( 'admin.php?page=seopress-import-export' ); ?>"><?php _e('Manage','seopress'); ?></a>
|
327 |
</span>
|
328 |
</td>
|
329 |
</tr>
|
@@ -373,14 +373,14 @@ class seopress_options
|
|
373 |
add_settings_section(
|
374 |
'seopress_setting_section_titles_home', // ID
|
375 |
'',
|
376 |
-
//__("Home","seopress"), // Title
|
377 |
array( $this, 'print_section_info_titles' ), // Callback
|
378 |
'seopress-settings-admin-titles-home' // Page
|
379 |
);
|
380 |
|
381 |
add_settings_field(
|
382 |
'seopress_titles_home_site_title', // ID
|
383 |
-
__("Site title","seopress"), // Title
|
384 |
array( $this, 'seopress_titles_home_site_title_callback' ), // Callback
|
385 |
'seopress-settings-admin-titles-home', // Page
|
386 |
'seopress_setting_section_titles_home' // Section
|
@@ -388,7 +388,7 @@ class seopress_options
|
|
388 |
|
389 |
add_settings_field(
|
390 |
'seopress_titles_home_site_desc', // ID
|
391 |
-
__("Meta description","seopress"), // Title
|
392 |
array( $this, 'seopress_titles_home_site_desc_callback' ), // Callback
|
393 |
'seopress-settings-admin-titles-home', // Page
|
394 |
'seopress_setting_section_titles_home' // Section
|
@@ -398,7 +398,7 @@ class seopress_options
|
|
398 |
add_settings_section(
|
399 |
'seopress_setting_section_titles_single', // ID
|
400 |
'',
|
401 |
-
//__("Single Post Types","seopress"), // Title
|
402 |
array( $this, 'print_section_info_single' ), // Callback
|
403 |
'seopress-settings-admin-titles-single' // Page
|
404 |
);
|
@@ -415,7 +415,7 @@ class seopress_options
|
|
415 |
add_settings_section(
|
416 |
'seopress_setting_section_titles_tax', // ID
|
417 |
'',
|
418 |
-
//__("Taxonomies","seopress"), // Title
|
419 |
array( $this, 'print_section_info_tax' ), // Callback
|
420 |
'seopress-settings-admin-titles-tax' // Page
|
421 |
);
|
@@ -432,7 +432,7 @@ class seopress_options
|
|
432 |
add_settings_section(
|
433 |
'seopress_setting_section_titles_archives', // ID
|
434 |
'',
|
435 |
-
//__("Archives","seopress"), // Title
|
436 |
array( $this, 'print_section_info_archives' ), // Callback
|
437 |
'seopress-settings-admin-titles-archives' // Page
|
438 |
);
|
@@ -440,7 +440,7 @@ class seopress_options
|
|
440 |
add_settings_field(
|
441 |
'seopress_titles_archives_author_title', // ID
|
442 |
'',
|
443 |
-
//__('Title template','seopress'),
|
444 |
array( $this, 'seopress_titles_archives_author_title_callback' ), // Callback
|
445 |
'seopress-settings-admin-titles-archives', // Page
|
446 |
'seopress_setting_section_titles_archives' // Section
|
@@ -449,7 +449,7 @@ class seopress_options
|
|
449 |
add_settings_field(
|
450 |
'seopress_titles_archives_author_desc', // ID
|
451 |
'',
|
452 |
-
//__('Meta description template','seopress'),
|
453 |
array( $this, 'seopress_titles_archives_author_desc_callback' ), // Callback
|
454 |
'seopress-settings-admin-titles-archives', // Page
|
455 |
'seopress_setting_section_titles_archives' // Section
|
@@ -458,7 +458,7 @@ class seopress_options
|
|
458 |
add_settings_field(
|
459 |
'seopress_titles_archives_date_title', // ID
|
460 |
'',
|
461 |
-
//__('Title template','seopress'),
|
462 |
array( $this, 'seopress_titles_archives_date_title_callback' ), // Callback
|
463 |
'seopress-settings-admin-titles-archives', // Page
|
464 |
'seopress_setting_section_titles_archives' // Section
|
@@ -467,7 +467,7 @@ class seopress_options
|
|
467 |
add_settings_field(
|
468 |
'seopress_titles_archives_date_desc', // ID
|
469 |
'',
|
470 |
-
//__('Meta description template','seopress'),
|
471 |
array( $this, 'seopress_titles_archives_date_desc_callback' ), // Callback
|
472 |
'seopress-settings-admin-titles-archives', // Page
|
473 |
'seopress_setting_section_titles_archives' // Section
|
@@ -476,7 +476,7 @@ class seopress_options
|
|
476 |
add_settings_field(
|
477 |
'seopress_titles_archives_search_title', // ID
|
478 |
'',
|
479 |
-
//__('Title template','seopress'),
|
480 |
array( $this, 'seopress_titles_archives_search_title_callback' ), // Callback
|
481 |
'seopress-settings-admin-titles-archives', // Page
|
482 |
'seopress_setting_section_titles_archives' // Section
|
@@ -485,7 +485,7 @@ class seopress_options
|
|
485 |
add_settings_field(
|
486 |
'seopress_titles_archives_search_desc', // ID
|
487 |
'',
|
488 |
-
//__('Meta description template','seopress'),
|
489 |
array( $this, 'seopress_titles_archives_search_desc_callback' ), // Callback
|
490 |
'seopress-settings-admin-titles-archives', // Page
|
491 |
'seopress_setting_section_titles_archives' // Section
|
@@ -494,7 +494,7 @@ class seopress_options
|
|
494 |
add_settings_field(
|
495 |
'seopress_titles_archives_404_title', // ID
|
496 |
'',
|
497 |
-
//__('Title template','seopress'),
|
498 |
array( $this, 'seopress_titles_archives_404_title_callback' ), // Callback
|
499 |
'seopress-settings-admin-titles-archives', // Page
|
500 |
'seopress_setting_section_titles_archives' // Section
|
@@ -503,7 +503,7 @@ class seopress_options
|
|
503 |
add_settings_field(
|
504 |
'seopress_titles_archives_404_desc', // ID
|
505 |
'',
|
506 |
-
//__('Meta description template','seopress'),
|
507 |
array( $this, 'seopress_titles_archives_404_desc_callback' ), // Callback
|
508 |
'seopress-settings-admin-titles-archives', // Page
|
509 |
'seopress_setting_section_titles_archives' // Section
|
@@ -512,7 +512,7 @@ class seopress_options
|
|
512 |
add_settings_field(
|
513 |
'seopress_titles_archives_paged_title', // ID
|
514 |
'',
|
515 |
-
//__('Title template','seopress'),
|
516 |
array( $this, 'seopress_titles_archives_paged_title_callback' ), // Callback
|
517 |
'seopress-settings-admin-titles-archives', // Page
|
518 |
'seopress_setting_section_titles_archives' // Section
|
@@ -521,7 +521,7 @@ class seopress_options
|
|
521 |
add_settings_field(
|
522 |
'seopress_titles_archives_paged_desc', // ID
|
523 |
'',
|
524 |
-
//__('Meta description template','seopress'),
|
525 |
array( $this, 'seopress_titles_archives_paged_desc_callback' ), // Callback
|
526 |
'seopress-settings-admin-titles-archives', // Page
|
527 |
'seopress_setting_section_titles_archives' // Section
|
@@ -531,14 +531,14 @@ class seopress_options
|
|
531 |
add_settings_section(
|
532 |
'seopress_setting_section_titles_advanced', // ID
|
533 |
'',
|
534 |
-
//__("Advanced","seopress"), // Title
|
535 |
array( $this, 'print_section_info_advanced' ), // Callback
|
536 |
'seopress-settings-admin-titles-advanced' // Page
|
537 |
);
|
538 |
|
539 |
add_settings_field(
|
540 |
'seopress_titles_noindex', // ID
|
541 |
-
__("noindex","seopress"), // Title
|
542 |
array( $this, 'seopress_titles_noindex_callback' ), // Callback
|
543 |
'seopress-settings-admin-titles-advanced', // Page
|
544 |
'seopress_setting_section_titles_advanced' // Section
|
@@ -546,7 +546,7 @@ class seopress_options
|
|
546 |
|
547 |
add_settings_field(
|
548 |
'seopress_titles_nofollow', // ID
|
549 |
-
__("nofollow","seopress"), // Title
|
550 |
array( $this, 'seopress_titles_nofollow_callback' ), // Callback
|
551 |
'seopress-settings-admin-titles-advanced', // Page
|
552 |
'seopress_setting_section_titles_advanced' // Section
|
@@ -554,7 +554,7 @@ class seopress_options
|
|
554 |
|
555 |
add_settings_field(
|
556 |
'seopress_titles_noodp', // ID
|
557 |
-
__("noodp","seopress"), // Title
|
558 |
array( $this, 'seopress_titles_noodp_callback' ), // Callback
|
559 |
'seopress-settings-admin-titles-advanced', // Page
|
560 |
'seopress_setting_section_titles_advanced' // Section
|
@@ -562,7 +562,7 @@ class seopress_options
|
|
562 |
|
563 |
add_settings_field(
|
564 |
'seopress_titles_noimageindex', // ID
|
565 |
-
__("noimageindex","seopress"), // Title
|
566 |
array( $this, 'seopress_titles_noimageindex_callback' ), // Callback
|
567 |
'seopress-settings-admin-titles-advanced', // Page
|
568 |
'seopress_setting_section_titles_advanced' // Section
|
@@ -570,7 +570,7 @@ class seopress_options
|
|
570 |
|
571 |
add_settings_field(
|
572 |
'seopress_titles_noarchive', // ID
|
573 |
-
__("noarchive","seopress"), // Title
|
574 |
array( $this, 'seopress_titles_noarchive_callback' ), // Callback
|
575 |
'seopress-settings-admin-titles-advanced', // Page
|
576 |
'seopress_setting_section_titles_advanced' // Section
|
@@ -578,7 +578,7 @@ class seopress_options
|
|
578 |
|
579 |
add_settings_field(
|
580 |
'seopress_titles_nosnippet', // ID
|
581 |
-
__("nosnippet","seopress"), // Title
|
582 |
array( $this, 'seopress_titles_nosnippet_callback' ), // Callback
|
583 |
'seopress-settings-admin-titles-advanced', // Page
|
584 |
'seopress_setting_section_titles_advanced' // Section
|
@@ -588,14 +588,14 @@ class seopress_options
|
|
588 |
add_settings_section(
|
589 |
'seopress_setting_section_xml_sitemap_general', // ID
|
590 |
'',
|
591 |
-
//__("General","seopress"), // Title
|
592 |
array( $this, 'print_section_info_xml_sitemap_general' ), // Callback
|
593 |
'seopress-settings-admin-xml-sitemap-general' // Page
|
594 |
);
|
595 |
|
596 |
add_settings_field(
|
597 |
'seopress_xml_sitemap_general_enable', // ID
|
598 |
-
__("Enable XML Sitemap","seopress"), // Title
|
599 |
array( $this, 'seopress_xml_sitemap_general_enable_callback' ), // Callback
|
600 |
'seopress-settings-admin-xml-sitemap-general', // Page
|
601 |
'seopress_setting_section_xml_sitemap_general' // Section
|
@@ -604,14 +604,14 @@ class seopress_options
|
|
604 |
add_settings_section(
|
605 |
'seopress_setting_section_xml_sitemap_post_types', // ID
|
606 |
'',
|
607 |
-
//__("Post Types","seopress"), // Title
|
608 |
array( $this, 'print_section_info_xml_sitemap_post_types' ), // Callback
|
609 |
'seopress-settings-admin-xml-sitemap-post-types' // Page
|
610 |
);
|
611 |
|
612 |
add_settings_field(
|
613 |
'seopress_xml_sitemap_post_types_list', // ID
|
614 |
-
__("Check to INCLUDE Post Types","seopress"), // Title
|
615 |
array( $this, 'seopress_xml_sitemap_post_types_list_callback' ), // Callback
|
616 |
'seopress-settings-admin-xml-sitemap-post-types', // Page
|
617 |
'seopress_setting_section_xml_sitemap_post_types' // Section
|
@@ -620,14 +620,14 @@ class seopress_options
|
|
620 |
add_settings_section(
|
621 |
'seopress_setting_section_xml_sitemap_taxonomies', // ID
|
622 |
'',
|
623 |
-
//__("Taxonomies","seopress"), // Title
|
624 |
array( $this, 'print_section_info_xml_sitemap_taxonomies' ), // Callback
|
625 |
'seopress-settings-admin-xml-sitemap-taxonomies' // Page
|
626 |
);
|
627 |
|
628 |
add_settings_field(
|
629 |
'seopress_xml_sitemap_taxonomies_list', // ID
|
630 |
-
__("Check to INCLUDE Taxonomies","seopress"), // Title
|
631 |
array( $this, 'seopress_xml_sitemap_taxonomies_list_callback' ), // Callback
|
632 |
'seopress-settings-admin-xml-sitemap-taxonomies', // Page
|
633 |
'seopress_setting_section_xml_sitemap_taxonomies' // Section
|
@@ -637,14 +637,14 @@ class seopress_options
|
|
637 |
add_settings_section(
|
638 |
'seopress_setting_section_social_knowledge', // ID
|
639 |
'',
|
640 |
-
//__("Knowledge graph","seopress"), // Title
|
641 |
array( $this, 'print_section_info_social_knowledge' ), // Callback
|
642 |
'seopress-settings-admin-social-knowledge' // Page
|
643 |
);
|
644 |
|
645 |
add_settings_field(
|
646 |
'seopress_social_knowledge_type', // ID
|
647 |
-
__("Person or organization","seopress"), // Title
|
648 |
array( $this, 'seopress_social_knowledge_type_callback' ), // Callback
|
649 |
'seopress-settings-admin-social-knowledge', // Page
|
650 |
'seopress_setting_section_social_knowledge' // Section
|
@@ -652,7 +652,7 @@ class seopress_options
|
|
652 |
|
653 |
add_settings_field(
|
654 |
'seopress_social_knowledge_name', // ID
|
655 |
-
__("Your name/organization","seopress"), // Title
|
656 |
array( $this, 'seopress_social_knowledge_name_callback' ), // Callback
|
657 |
'seopress-settings-admin-social-knowledge', // Page
|
658 |
'seopress_setting_section_social_knowledge' // Section
|
@@ -660,7 +660,7 @@ class seopress_options
|
|
660 |
|
661 |
add_settings_field(
|
662 |
'seopress_social_knowledge_img', // ID
|
663 |
-
__("Your photo / organization logo","seopress"), // Title
|
664 |
array( $this, 'seopress_social_knowledge_img_callback' ), // Callback
|
665 |
'seopress-settings-admin-social-knowledge', // Page
|
666 |
'seopress_setting_section_social_knowledge' // Section
|
@@ -670,14 +670,14 @@ class seopress_options
|
|
670 |
add_settings_section(
|
671 |
'seopress_setting_section_social_accounts', // ID
|
672 |
'',
|
673 |
-
//__("Social","seopress"), // Title
|
674 |
array( $this, 'print_section_info_social_accounts' ), // Callback
|
675 |
'seopress-settings-admin-social-accounts' // Page
|
676 |
);
|
677 |
|
678 |
add_settings_field(
|
679 |
'seopress_social_accounts_facebook', // ID
|
680 |
-
__("Facebook Page URL","seopress"), // Title
|
681 |
array( $this, 'seopress_social_accounts_facebook_callback' ), // Callback
|
682 |
'seopress-settings-admin-social-accounts', // Page
|
683 |
'seopress_setting_section_social_accounts' // Section
|
@@ -685,7 +685,7 @@ class seopress_options
|
|
685 |
|
686 |
add_settings_field(
|
687 |
'seopress_social_accounts_twitter', // ID
|
688 |
-
__("Twitter Username","seopress"), // Title
|
689 |
array( $this, 'seopress_social_accounts_twitter_callback' ), // Callback
|
690 |
'seopress-settings-admin-social-accounts', // Page
|
691 |
'seopress_setting_section_social_accounts' // Section
|
@@ -693,7 +693,7 @@ class seopress_options
|
|
693 |
|
694 |
add_settings_field(
|
695 |
'seopress_social_accounts_google', // ID
|
696 |
-
__("Google + URL","seopress"), // Title
|
697 |
array( $this, 'seopress_social_accounts_google_callback' ), // Callback
|
698 |
'seopress-settings-admin-social-accounts', // Page
|
699 |
'seopress_setting_section_social_accounts' // Section
|
@@ -701,7 +701,7 @@ class seopress_options
|
|
701 |
|
702 |
add_settings_field(
|
703 |
'seopress_social_accounts_pinterest', // ID
|
704 |
-
__("Pinterest URL","seopress"), // Title
|
705 |
array( $this, 'seopress_social_accounts_pinterest_callback' ), // Callback
|
706 |
'seopress-settings-admin-social-accounts', // Page
|
707 |
'seopress_setting_section_social_accounts' // Section
|
@@ -709,7 +709,7 @@ class seopress_options
|
|
709 |
|
710 |
add_settings_field(
|
711 |
'seopress_social_accounts_instagram', // ID
|
712 |
-
__("Instagram URL","seopress"), // Title
|
713 |
array( $this, 'seopress_social_accounts_instagram_callback' ), // Callback
|
714 |
'seopress-settings-admin-social-accounts', // Page
|
715 |
'seopress_setting_section_social_accounts' // Section
|
@@ -717,7 +717,7 @@ class seopress_options
|
|
717 |
|
718 |
add_settings_field(
|
719 |
'seopress_social_accounts_youtube', // ID
|
720 |
-
__("YouTube URL","seopress"), // Title
|
721 |
array( $this, 'seopress_social_accounts_youtube_callback' ), // Callback
|
722 |
'seopress-settings-admin-social-accounts', // Page
|
723 |
'seopress_setting_section_social_accounts' // Section
|
@@ -725,7 +725,7 @@ class seopress_options
|
|
725 |
|
726 |
add_settings_field(
|
727 |
'seopress_social_accounts_linkedin', // ID
|
728 |
-
__("LinkedIn URL","seopress"), // Title
|
729 |
array( $this, 'seopress_social_accounts_linkedin_callback' ), // Callback
|
730 |
'seopress-settings-admin-social-accounts', // Page
|
731 |
'seopress_setting_section_social_accounts' // Section
|
@@ -733,7 +733,7 @@ class seopress_options
|
|
733 |
|
734 |
add_settings_field(
|
735 |
'seopress_social_accounts_myspace', // ID
|
736 |
-
__("MySpace URL","seopress"), // Title
|
737 |
array( $this, 'seopress_social_accounts_myspace_callback' ), // Callback
|
738 |
'seopress-settings-admin-social-accounts', // Page
|
739 |
'seopress_setting_section_social_accounts' // Section
|
@@ -741,7 +741,7 @@ class seopress_options
|
|
741 |
|
742 |
add_settings_field(
|
743 |
'seopress_social_accounts_soundcloud', // ID
|
744 |
-
__("Soundcloud URL","seopress"), // Title
|
745 |
array( $this, 'seopress_social_accounts_soundcloud_callback' ), // Callback
|
746 |
'seopress-settings-admin-social-accounts', // Page
|
747 |
'seopress_setting_section_social_accounts' // Section
|
@@ -749,7 +749,7 @@ class seopress_options
|
|
749 |
|
750 |
add_settings_field(
|
751 |
'seopress_social_accounts_tumblr', // ID
|
752 |
-
__("Tumblr URL","seopress"), // Title
|
753 |
array( $this, 'seopress_social_accounts_tumblr_callback' ), // Callback
|
754 |
'seopress-settings-admin-social-accounts', // Page
|
755 |
'seopress_setting_section_social_accounts' // Section
|
@@ -759,14 +759,14 @@ class seopress_options
|
|
759 |
add_settings_section(
|
760 |
'seopress_setting_section_social_facebook', // ID
|
761 |
'',
|
762 |
-
//__("Facebook","seopress"), // Title
|
763 |
array( $this, 'print_section_info_social_facebook' ), // Callback
|
764 |
'seopress-settings-admin-social-facebook' // Page
|
765 |
);
|
766 |
|
767 |
add_settings_field(
|
768 |
'seopress_social_facebook_og', // ID
|
769 |
-
__("Enable Open Graph Data","seopress"), // Title
|
770 |
array( $this, 'seopress_social_facebook_og_callback' ), // Callback
|
771 |
'seopress-settings-admin-social-facebook', // Page
|
772 |
'seopress_setting_section_social_facebook' // Section
|
@@ -774,7 +774,7 @@ class seopress_options
|
|
774 |
|
775 |
add_settings_field(
|
776 |
'seopress_social_facebook_img', // ID
|
777 |
-
__("Select a default image","seopress"), // Title
|
778 |
array( $this, 'seopress_social_facebook_img_callback' ), // Callback
|
779 |
'seopress-settings-admin-social-facebook', // Page
|
780 |
'seopress_setting_section_social_facebook' // Section
|
@@ -782,7 +782,7 @@ class seopress_options
|
|
782 |
|
783 |
add_settings_field(
|
784 |
'seopress_social_facebook_admin_id', // ID
|
785 |
-
__("Facebook Admin ID","seopress"), // Title
|
786 |
array( $this, 'seopress_social_facebook_admin_id_callback' ), // Callback
|
787 |
'seopress-settings-admin-social-facebook', // Page
|
788 |
'seopress_setting_section_social_facebook' // Section
|
@@ -790,7 +790,7 @@ class seopress_options
|
|
790 |
|
791 |
add_settings_field(
|
792 |
'seopress_social_facebook_app_id', // ID
|
793 |
-
__("Facebook App ID","seopress"), // Title
|
794 |
array( $this, 'seopress_social_facebook_app_id_callback' ), // Callback
|
795 |
'seopress-settings-admin-social-facebook', // Page
|
796 |
'seopress_setting_section_social_facebook' // Section
|
@@ -800,14 +800,14 @@ class seopress_options
|
|
800 |
add_settings_section(
|
801 |
'seopress_setting_section_social_twitter', // ID
|
802 |
'',
|
803 |
-
//__("Twitter","seopress"), // Title
|
804 |
array( $this, 'print_section_info_social_twitter' ), // Callback
|
805 |
'seopress-settings-admin-social-twitter' // Page
|
806 |
);
|
807 |
|
808 |
add_settings_field(
|
809 |
'seopress_social_twitter_card', // ID
|
810 |
-
__("Enable Twitter Card","seopress"), // Title
|
811 |
array( $this, 'seopress_social_twitter_card_callback' ), // Callback
|
812 |
'seopress-settings-admin-social-twitter', // Page
|
813 |
'seopress_setting_section_social_twitter' // Section
|
@@ -815,7 +815,7 @@ class seopress_options
|
|
815 |
|
816 |
add_settings_field(
|
817 |
'seopress_social_twitter_card_img', // ID
|
818 |
-
__("Default Twitter Image","seopress"), // Title
|
819 |
array( $this, 'seopress_social_twitter_card_img_callback' ), // Callback
|
820 |
'seopress-settings-admin-social-twitter', // Page
|
821 |
'seopress_setting_section_social_twitter' // Section
|
@@ -823,7 +823,7 @@ class seopress_options
|
|
823 |
|
824 |
add_settings_field(
|
825 |
'seopress_social_twitter_card_img_size', // ID
|
826 |
-
__("Image size for Twitter Summary card","seopress"), // Title
|
827 |
array( $this, 'seopress_social_twitter_card_img_size_callback' ), // Callback
|
828 |
'seopress-settings-admin-social-twitter', // Page
|
829 |
'seopress_setting_section_social_twitter' // Section
|
@@ -837,84 +837,14 @@ class seopress_options
|
|
837 |
*/
|
838 |
public function sanitize( $input )
|
839 |
{
|
840 |
-
if( !empty( $input['seopress_titles_home_site_title'] ) )
|
841 |
-
$input['seopress_titles_home_site_title'] = sanitize_text_field( $input['seopress_titles_home_site_title'] );
|
842 |
-
|
843 |
-
if( !empty( $input['seopress_titles_home_site_desc'] ) )
|
844 |
-
$input['seopress_titles_home_site_desc'] = sanitize_text_field( $input['seopress_titles_home_site_desc'] );
|
845 |
-
|
846 |
-
if( !empty( $input['seopress_titles_archives_author_title'] ) )
|
847 |
-
$input['seopress_titles_archives_author_title'] = sanitize_text_field( $input['seopress_titles_archives_author_title'] );
|
848 |
-
|
849 |
-
if( !empty( $input['seopress_titles_archives_author_desc'] ) )
|
850 |
-
$input['seopress_titles_archives_author_desc'] = sanitize_text_field( $input['seopress_titles_archives_author_desc'] );
|
851 |
-
|
852 |
-
if( !empty( $input['seopress_titles_archives_date_title'] ) )
|
853 |
-
$input['seopress_titles_archives_date_title'] = sanitize_text_field( $input['seopress_titles_archives_date_title'] );
|
854 |
-
|
855 |
-
if( !empty( $input['seopress_titles_archives_date_desc'] ) )
|
856 |
-
$input['seopress_titles_archives_date_desc'] = sanitize_text_field( $input['seopress_titles_archives_date_desc'] );
|
857 |
-
|
858 |
-
if( !empty( $input['seopress_titles_archives_search_title'] ) )
|
859 |
-
$input['seopress_titles_archives_search_title'] = sanitize_text_field( $input['seopress_titles_archives_search_title'] );
|
860 |
-
|
861 |
-
if( !empty( $input['seopress_titles_archives_search_desc'] ) )
|
862 |
-
$input['seopress_titles_archives_search_desc'] = sanitize_text_field( $input['seopress_titles_archives_search_desc'] );
|
863 |
-
|
864 |
-
if( !empty( $input['seopress_titles_archives_404_title'] ) )
|
865 |
-
$input['seopress_titles_archives_404_title'] = sanitize_text_field( $input['seopress_titles_archives_404_title'] );
|
866 |
-
|
867 |
-
if( !empty( $input['seopress_titles_archives_404_desc'] ) )
|
868 |
-
$input['seopress_titles_archives_404_desc'] = sanitize_text_field( $input['seopress_titles_archives_404_desc'] );
|
869 |
-
|
870 |
-
if( !empty( $input['seopress_titles_archives_paged_title'] ) )
|
871 |
-
$input['seopress_titles_archives_paged_title'] = sanitize_text_field( $input['seopress_titles_archives_paged_title'] );
|
872 |
-
|
873 |
-
if( !empty( $input['seopress_titles_archives_paged_desc'] ) )
|
874 |
-
$input['seopress_titles_archives_paged_desc'] = sanitize_text_field( $input['seopress_titles_archives_paged_desc'] );
|
875 |
-
|
876 |
-
if( !empty( $input['seopress_social_knowledge_name'] ) )
|
877 |
-
$input['seopress_social_knowledge_name'] = sanitize_text_field( $input['seopress_social_knowledge_name'] );
|
878 |
-
|
879 |
-
if( !empty( $input['seopress_social_knowledge_img'] ) )
|
880 |
-
$input['seopress_social_knowledge_img'] = sanitize_text_field( $input['seopress_social_knowledge_img'] );
|
881 |
-
|
882 |
-
if( !empty( $input['seopress_social_accounts_facebook'] ) )
|
883 |
-
$input['seopress_social_accounts_facebook'] = sanitize_text_field( $input['seopress_social_accounts_facebook'] );
|
884 |
-
|
885 |
-
if( !empty( $input['seopress_social_accounts_twitter'] ) )
|
886 |
-
$input['seopress_social_accounts_twitter'] = sanitize_text_field( $input['seopress_social_accounts_twitter'] );
|
887 |
-
|
888 |
-
if( !empty( $input['seopress_social_accounts_google'] ) )
|
889 |
-
$input['seopress_social_accounts_google'] = sanitize_text_field( $input['seopress_social_accounts_google'] );
|
890 |
-
|
891 |
-
if( !empty( $input['seopress_social_accounts_pinterest'] ) )
|
892 |
-
$input['seopress_social_accounts_pinterest'] = sanitize_text_field( $input['seopress_social_accounts_pinterest'] );
|
893 |
-
|
894 |
-
if( !empty( $input['seopress_social_accounts_instagram'] ) )
|
895 |
-
$input['seopress_social_accounts_instagram'] = sanitize_text_field( $input['seopress_social_accounts_instagram'] );
|
896 |
-
|
897 |
-
if( !empty( $input['seopress_social_accounts_youtube'] ) )
|
898 |
-
$input['seopress_social_accounts_youtube'] = sanitize_text_field( $input['seopress_social_accounts_youtube'] );
|
899 |
-
|
900 |
-
if( !empty( $input['seopress_social_accounts_linkedin'] ) )
|
901 |
-
$input['seopress_social_accounts_linkedin'] = sanitize_text_field( $input['seopress_social_accounts_linkedin'] );
|
902 |
-
|
903 |
-
if( !empty( $input['seopress_social_accounts_myspace'] ) )
|
904 |
-
$input['seopress_social_accounts_myspace'] = sanitize_text_field( $input['seopress_social_accounts_myspace'] );
|
905 |
-
|
906 |
-
if( !empty( $input['seopress_social_accounts_soundcloud'] ) )
|
907 |
-
$input['seopress_social_accounts_soundcloud'] = sanitize_text_field( $input['seopress_social_accounts_soundcloud'] );
|
908 |
-
|
909 |
-
if( !empty( $input['seopress_social_accounts_tumblr'] ) )
|
910 |
-
$input['seopress_social_accounts_tumblr'] = sanitize_text_field( $input['seopress_social_accounts_tumblr'] );
|
911 |
-
|
912 |
-
if( !empty( $input['seopress_social_facebook_admin_id'] ) )
|
913 |
-
$input['seopress_social_facebook_admin_id'] = sanitize_text_field( $input['seopress_social_facebook_admin_id'] );
|
914 |
-
|
915 |
-
if( !empty( $input['seopress_social_facebook_app_id'] ) )
|
916 |
-
$input['seopress_social_facebook_app_id'] = sanitize_text_field( $input['seopress_social_facebook_app_id'] );
|
917 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
918 |
return $input;
|
919 |
}
|
920 |
|
@@ -924,66 +854,66 @@ class seopress_options
|
|
924 |
|
925 |
public function print_section_info_titles()
|
926 |
{
|
927 |
-
print __('<p>Customize your titles & metas for homepage</p>', 'seopress');
|
928 |
}
|
929 |
|
930 |
public function print_section_info_single()
|
931 |
{
|
932 |
-
print __('<p>Customize your titles & metas for Single Custom Post Types</p>', 'seopress');
|
933 |
}
|
934 |
|
935 |
public function print_section_info_advanced()
|
936 |
{
|
937 |
-
print __('<p>Customize your metas for all pages</p>', 'seopress');
|
938 |
}
|
939 |
|
940 |
public function print_section_info_tax()
|
941 |
{
|
942 |
-
print __('<p>Customize your metas for all taxonomies archives</p>', 'seopress');
|
943 |
}
|
944 |
|
945 |
public function print_section_info_archives()
|
946 |
{
|
947 |
-
print __('<p>Customize your metas for all archives</p>', 'seopress');
|
948 |
}
|
949 |
|
950 |
public function print_section_info_xml_sitemap_general()
|
951 |
{
|
952 |
-
print __('<p>Enable your Sitemap</p>', 'seopress');
|
953 |
-
echo __('To view your sitemap, enable permalinks (not default one), and save settings to flush them.', 'seopress');
|
954 |
echo '<br>';
|
955 |
echo '<br>';
|
956 |
-
echo '<a href="'.home_url().'/sitemaps/" target="_blank" class="button">'.__('View your sitemap','seopress').'</a>';
|
957 |
}
|
958 |
|
959 |
public function print_section_info_xml_sitemap_post_types()
|
960 |
{
|
961 |
-
print __('<p>Include / Exclude Post Types</p>', 'seopress');
|
962 |
}
|
963 |
|
964 |
public function print_section_info_xml_sitemap_taxonomies()
|
965 |
{
|
966 |
-
print __('<p>Include / Exclude Taxonomies</p>', 'seopress');
|
967 |
}
|
968 |
|
969 |
public function print_section_info_social_knowledge()
|
970 |
{
|
971 |
-
print __('<p>Configure Google Knowledge Graph</p>', 'seopress');
|
972 |
}
|
973 |
|
974 |
public function print_section_info_social_accounts()
|
975 |
{
|
976 |
-
print __('<p>Link your site with your social accounts</p>', 'seopress');
|
977 |
}
|
978 |
|
979 |
public function print_section_info_social_facebook()
|
980 |
{
|
981 |
-
print __('<p>Manage Open Graph datas</p>', 'seopress');
|
982 |
}
|
983 |
|
984 |
public function print_section_info_social_twitter()
|
985 |
{
|
986 |
-
print __('<p>Manage your Twitter card</p>', 'seopress');
|
987 |
}
|
988 |
|
989 |
/**
|
@@ -994,7 +924,7 @@ class seopress_options
|
|
994 |
public function seopress_titles_home_site_title_callback()
|
995 |
{
|
996 |
printf(
|
997 |
-
'<input type="text" name="seopress_titles_option_name[seopress_titles_home_site_title]" value="%s"/>',
|
998 |
esc_html( $this->options['seopress_titles_home_site_title'])
|
999 |
|
1000 |
);
|
@@ -1004,7 +934,7 @@ class seopress_options
|
|
1004 |
public function seopress_titles_home_site_desc_callback()
|
1005 |
{
|
1006 |
printf(
|
1007 |
-
'<textarea name="seopress_titles_option_name[seopress_titles_home_site_desc]">%s</textarea>',
|
1008 |
esc_html( $this->options['seopress_titles_home_site_desc'])
|
1009 |
|
1010 |
);
|
@@ -1021,7 +951,7 @@ class seopress_options
|
|
1021 |
//Single Title CPT
|
1022 |
echo '<div class="seopress_wrap_single_cpt">';
|
1023 |
|
1024 |
-
_e('Title template','seopress');
|
1025 |
echo "<br/>";
|
1026 |
|
1027 |
printf(
|
@@ -1034,7 +964,7 @@ class seopress_options
|
|
1034 |
//Single Meta Description CPT
|
1035 |
echo '<div class="seopress_wrap_single_cpt">';
|
1036 |
|
1037 |
-
_e('Meta description template','seopress');
|
1038 |
echo "<br/>";
|
1039 |
|
1040 |
printf(
|
@@ -1055,7 +985,7 @@ class seopress_options
|
|
1055 |
if ('1' == $check) echo 'checked="yes"';
|
1056 |
echo ' value="1"/>';
|
1057 |
|
1058 |
-
echo '<label for="seopress_titles_single_cpt_noindex['.$seopress_cpt_value.']">'. __( 'noindex', 'seopress' ) .'</label>';
|
1059 |
|
1060 |
if (isset($this->options['seopress_titles_single_titles'][$seopress_cpt_value]['noindex'])) {
|
1061 |
esc_attr( $this->options['seopress_titles_single_titles'][$seopress_cpt_value]['noindex']);
|
@@ -1074,7 +1004,7 @@ class seopress_options
|
|
1074 |
if ('1' == $check) echo 'checked="yes"';
|
1075 |
echo ' value="1"/>';
|
1076 |
|
1077 |
-
echo '<label for="seopress_titles_single_cpt_nofollow['.$seopress_cpt_value.']">'. __( 'nofollow', 'seopress' ) .'</label>';
|
1078 |
|
1079 |
if (isset($this->options['seopress_titles_single_titles'][$seopress_cpt_value]['nofollow'])) {
|
1080 |
esc_attr( $this->options['seopress_titles_single_titles'][$seopress_cpt_value]['nofollow']);
|
@@ -1094,7 +1024,7 @@ class seopress_options
|
|
1094 |
//Tax Title
|
1095 |
echo '<div class="seopress_wrap_tax">';
|
1096 |
|
1097 |
-
_e('Title template','seopress');
|
1098 |
echo "<br/>";
|
1099 |
|
1100 |
printf(
|
@@ -1107,7 +1037,7 @@ class seopress_options
|
|
1107 |
//Tax Meta Description
|
1108 |
echo '<div class="seopress_wrap_tax">';
|
1109 |
|
1110 |
-
_e('Meta description template','seopress');
|
1111 |
echo "<br/>";
|
1112 |
|
1113 |
printf(
|
@@ -1128,7 +1058,7 @@ class seopress_options
|
|
1128 |
if ('1' == $check) echo 'checked="yes"';
|
1129 |
echo ' value="1"/>';
|
1130 |
|
1131 |
-
echo '<label for="seopress_titles_tax_noindex['.$seopress_tax_value.']">'. __( 'noindex', 'seopress' ) .'</label>';
|
1132 |
|
1133 |
if (isset($this->options['seopress_titles_tax_titles'][$seopress_tax_value]['noindex'])) {
|
1134 |
esc_attr( $this->options['seopress_titles_tax_titles'][$seopress_tax_value]['noindex']);
|
@@ -1147,7 +1077,7 @@ class seopress_options
|
|
1147 |
if ('1' == $check) echo 'checked="yes"';
|
1148 |
echo ' value="1"/>';
|
1149 |
|
1150 |
-
echo '<label for="seopress_titles_tax_nofollow['.$seopress_tax_value.']">'. __( 'nofollow', 'seopress' ) .'</label>';
|
1151 |
|
1152 |
if (isset($this->options['seopress_titles_tax_titles'][$seopress_tax_value]['nofollow'])) {
|
1153 |
esc_attr( $this->options['seopress_titles_tax_titles'][$seopress_tax_value]['nofollow']);
|
@@ -1160,9 +1090,9 @@ class seopress_options
|
|
1160 |
//Archives
|
1161 |
public function seopress_titles_archives_author_title_callback()
|
1162 |
{
|
1163 |
-
echo '<h2>'.__('Author archives','seopress').'</h2>';
|
1164 |
|
1165 |
-
_e('Title template','seopress');
|
1166 |
echo "<br/>";
|
1167 |
|
1168 |
printf(
|
@@ -1175,7 +1105,7 @@ class seopress_options
|
|
1175 |
|
1176 |
public function seopress_titles_archives_author_desc_callback()
|
1177 |
{
|
1178 |
-
_e('Meta description template','seopress');
|
1179 |
echo "<br/>";
|
1180 |
|
1181 |
printf(
|
@@ -1188,9 +1118,9 @@ class seopress_options
|
|
1188 |
|
1189 |
public function seopress_titles_archives_date_title_callback()
|
1190 |
{
|
1191 |
-
echo '<h2>'.__('Date archives','seopress').'</h2>';
|
1192 |
|
1193 |
-
_e('Title template','seopress');
|
1194 |
echo "<br/>";
|
1195 |
|
1196 |
printf(
|
@@ -1203,7 +1133,7 @@ class seopress_options
|
|
1203 |
|
1204 |
public function seopress_titles_archives_date_desc_callback()
|
1205 |
{
|
1206 |
-
_e('Meta description template','seopress');
|
1207 |
echo "<br/>";
|
1208 |
|
1209 |
printf(
|
@@ -1216,9 +1146,9 @@ class seopress_options
|
|
1216 |
|
1217 |
public function seopress_titles_archives_search_title_callback()
|
1218 |
{
|
1219 |
-
echo '<h2>'.__('Search archives','seopress').'</h2>';
|
1220 |
|
1221 |
-
_e('Title template','seopress');
|
1222 |
echo "<br/>";
|
1223 |
|
1224 |
printf(
|
@@ -1231,7 +1161,7 @@ class seopress_options
|
|
1231 |
|
1232 |
public function seopress_titles_archives_search_desc_callback()
|
1233 |
{
|
1234 |
-
_e('Meta description template','seopress');
|
1235 |
echo "<br/>";
|
1236 |
|
1237 |
printf(
|
@@ -1244,9 +1174,9 @@ class seopress_options
|
|
1244 |
|
1245 |
public function seopress_titles_archives_404_title_callback()
|
1246 |
{
|
1247 |
-
echo '<h2>'.__('404 archives','seopress').'</h2>';
|
1248 |
|
1249 |
-
_e('Title template','seopress');
|
1250 |
echo "<br/>";
|
1251 |
|
1252 |
printf(
|
@@ -1259,7 +1189,7 @@ class seopress_options
|
|
1259 |
|
1260 |
public function seopress_titles_archives_404_desc_callback()
|
1261 |
{
|
1262 |
-
_e('Meta description template','seopress');
|
1263 |
echo "<br/>";
|
1264 |
|
1265 |
printf(
|
@@ -1272,9 +1202,9 @@ class seopress_options
|
|
1272 |
|
1273 |
public function seopress_titles_archives_paged_title_callback()
|
1274 |
{
|
1275 |
-
echo '<h2>'.__('Paged archives','seopress').'</h2>';
|
1276 |
|
1277 |
-
_e('Title template','seopress');
|
1278 |
echo "<br/>";
|
1279 |
|
1280 |
printf(
|
@@ -1287,7 +1217,7 @@ class seopress_options
|
|
1287 |
|
1288 |
public function seopress_titles_archives_paged_desc_callback()
|
1289 |
{
|
1290 |
-
_e('Meta description template','seopress');
|
1291 |
echo "<br/>";
|
1292 |
|
1293 |
printf(
|
@@ -1309,7 +1239,7 @@ class seopress_options
|
|
1309 |
if ('1' == $check) echo 'checked="yes"';
|
1310 |
echo ' value="1"/>';
|
1311 |
|
1312 |
-
echo '<label for="seopress_titles_noindex">'. __( 'noindex', 'seopress' ) .'</label>';
|
1313 |
|
1314 |
if (isset($this->options['seopress_titles_noindex'])) {
|
1315 |
esc_attr( $this->options['seopress_titles_noindex']);
|
@@ -1326,7 +1256,7 @@ class seopress_options
|
|
1326 |
if ('1' == $check) echo 'checked="yes"';
|
1327 |
echo ' value="1"/>';
|
1328 |
|
1329 |
-
echo '<label for="seopress_titles_nofollow">'. __( 'nofollow', 'seopress' ) .'</label>';
|
1330 |
|
1331 |
if (isset($this->options['seopress_titles_nofollow'])) {
|
1332 |
esc_attr( $this->options['seopress_titles_nofollow']);
|
@@ -1343,7 +1273,7 @@ class seopress_options
|
|
1343 |
if ('1' == $check) echo 'checked="yes"';
|
1344 |
echo ' value="1"/>';
|
1345 |
|
1346 |
-
echo '<label for="seopress_titles_noodp">'. __( 'noodp', 'seopress' ) .'</label>';
|
1347 |
|
1348 |
if (isset($this->options['seopress_titles_noodp'])) {
|
1349 |
esc_attr( $this->options['seopress_titles_noodp']);
|
@@ -1360,7 +1290,7 @@ class seopress_options
|
|
1360 |
if ('1' == $check) echo 'checked="yes"';
|
1361 |
echo ' value="1"/>';
|
1362 |
|
1363 |
-
echo '<label for="seopress_titles_noimageindex">'. __( 'noimageindex', 'seopress' ) .'</label>';
|
1364 |
|
1365 |
if (isset($this->options['seopress_titles_noimageindex'])) {
|
1366 |
esc_attr( $this->options['seopress_titles_noimageindex']);
|
@@ -1377,7 +1307,7 @@ class seopress_options
|
|
1377 |
if ('1' == $check) echo 'checked="yes"';
|
1378 |
echo ' value="1"/>';
|
1379 |
|
1380 |
-
echo '<label for="seopress_titles_noarchive">'. __( 'noarchive', 'seopress' ) .'</label>';
|
1381 |
|
1382 |
if (isset($this->options['seopress_titles_noarchive'])) {
|
1383 |
esc_attr( $this->options['seopress_titles_noarchive']);
|
@@ -1394,7 +1324,7 @@ class seopress_options
|
|
1394 |
if ('1' == $check) echo 'checked="yes"';
|
1395 |
echo ' value="1"/>';
|
1396 |
|
1397 |
-
echo '<label for="seopress_titles_nosnippet">'. __( 'nosnippet', 'seopress' ) .'</label>';
|
1398 |
|
1399 |
if (isset($this->options['seopress_titles_nosnippet'])) {
|
1400 |
esc_attr( $this->options['seopress_titles_nosnippet']);
|
@@ -1411,7 +1341,7 @@ class seopress_options
|
|
1411 |
if ('1' == $check) echo 'checked="yes"';
|
1412 |
echo ' value="1"/>';
|
1413 |
|
1414 |
-
echo '<label for="seopress_xml_sitemap_general_enable">'. __( 'Enable XML Sitemap', 'seopress' ) .'</label>';
|
1415 |
|
1416 |
if (isset($this->options['seopress_xml_sitemap_general_enable'])) {
|
1417 |
esc_attr( $this->options['seopress_xml_sitemap_general_enable']);
|
@@ -1450,7 +1380,7 @@ class seopress_options
|
|
1450 |
if ('1' == $check) echo 'checked="yes"';
|
1451 |
echo ' value="1"/>';
|
1452 |
|
1453 |
-
echo '<label for="seopress_xml_sitemap_post_types_list_include['.$seopress_cpt_value.']">'. __( 'Include', 'seopress' ) .'</label>';
|
1454 |
|
1455 |
if (isset($this->options['seopress_xml_sitemap_post_types_list'][$seopress_cpt_value]['include'])) {
|
1456 |
esc_attr( $this->options['seopress_xml_sitemap_post_types_list'][$seopress_cpt_value]['include']);
|
@@ -1490,7 +1420,7 @@ class seopress_options
|
|
1490 |
if ('1' == $check) echo 'checked="yes"';
|
1491 |
echo ' value="1"/>';
|
1492 |
|
1493 |
-
echo '<label for="seopress_xml_sitemap_taxonomies_list_include['.$seopress_tax_value.']">'. __( 'Include', 'seopress' ) .'</label>';
|
1494 |
|
1495 |
if (isset($this->options['seopress_xml_sitemap_taxonomies_list'][$seopress_tax_value]['include'])) {
|
1496 |
esc_attr( $this->options['seopress_xml_sitemap_taxonomies_list'][$seopress_tax_value]['include']);
|
@@ -1509,10 +1439,10 @@ class seopress_options
|
|
1509 |
echo '<select id="seopress_social_knowledge_type" name="seopress_social_option_name[seopress_social_knowledge_type]">';
|
1510 |
echo ' <option ';
|
1511 |
if ('person' == $selected) echo 'selected="selected"';
|
1512 |
-
echo ' value="person">'. __("Person","seopress") .'</option>';
|
1513 |
echo '<option ';
|
1514 |
if ('organization' == $selected) echo 'selected="selected"';
|
1515 |
-
echo ' value="organization">'. __("Organization","seopress") .'</option>';
|
1516 |
echo '</select>';
|
1517 |
|
1518 |
if (isset($this->options['seopress_social_knowledge_type'])) {
|
@@ -1523,7 +1453,7 @@ class seopress_options
|
|
1523 |
public function seopress_social_knowledge_name_callback()
|
1524 |
{
|
1525 |
printf(
|
1526 |
-
'<input type="text" name="seopress_social_option_name[seopress_social_knowledge_name]" value="%s"/>',
|
1527 |
esc_html( $this->options['seopress_social_knowledge_name'])
|
1528 |
);
|
1529 |
|
@@ -1534,9 +1464,9 @@ class seopress_options
|
|
1534 |
|
1535 |
$check = isset($options['seopress_social_knowledge_img']);
|
1536 |
|
1537 |
-
echo '<input id="seopress_social_knowledge_img_meta" type="text" value="'.$options['seopress_social_knowledge_img'].'" name="seopress_social_option_name[seopress_social_knowledge_img]" placeholder="'.__('Select your logo','seopress').'" />
|
1538 |
|
1539 |
-
<input id="seopress_social_knowledge_img_upload" class="button" type="button" value="'.__('Upload an Image','seopress').'" />';
|
1540 |
|
1541 |
if (isset($this->options['seopress_social_knowledge_img'])) {
|
1542 |
esc_attr( $this->options['seopress_social_knowledge_img']);
|
@@ -1546,7 +1476,7 @@ class seopress_options
|
|
1546 |
public function seopress_social_accounts_facebook_callback()
|
1547 |
{
|
1548 |
printf(
|
1549 |
-
'<input type="text" name="seopress_social_option_name[seopress_social_accounts_facebook]" value="%s"/>',
|
1550 |
esc_html( $this->options['seopress_social_accounts_facebook'])
|
1551 |
|
1552 |
);
|
@@ -1556,7 +1486,7 @@ class seopress_options
|
|
1556 |
public function seopress_social_accounts_twitter_callback()
|
1557 |
{
|
1558 |
printf(
|
1559 |
-
'<input type="text" name="seopress_social_option_name[seopress_social_accounts_twitter]" value="%s"/>',
|
1560 |
esc_html( $this->options['seopress_social_accounts_twitter'])
|
1561 |
|
1562 |
);
|
@@ -1566,7 +1496,7 @@ class seopress_options
|
|
1566 |
public function seopress_social_accounts_google_callback()
|
1567 |
{
|
1568 |
printf(
|
1569 |
-
'<input type="text" name="seopress_social_option_name[seopress_social_accounts_google]" value="%s"/>',
|
1570 |
esc_html( $this->options['seopress_social_accounts_google'])
|
1571 |
|
1572 |
);
|
@@ -1576,7 +1506,7 @@ class seopress_options
|
|
1576 |
public function seopress_social_accounts_pinterest_callback()
|
1577 |
{
|
1578 |
printf(
|
1579 |
-
'<input type="text" name="seopress_social_option_name[seopress_social_accounts_pinterest]" value="%s"/>',
|
1580 |
esc_html( $this->options['seopress_social_accounts_pinterest'])
|
1581 |
|
1582 |
);
|
@@ -1586,7 +1516,7 @@ class seopress_options
|
|
1586 |
public function seopress_social_accounts_instagram_callback()
|
1587 |
{
|
1588 |
printf(
|
1589 |
-
'<input type="text" name="seopress_social_option_name[seopress_social_accounts_instagram]" value="%s"/>',
|
1590 |
esc_html( $this->options['seopress_social_accounts_instagram'])
|
1591 |
|
1592 |
);
|
@@ -1596,7 +1526,7 @@ class seopress_options
|
|
1596 |
public function seopress_social_accounts_youtube_callback()
|
1597 |
{
|
1598 |
printf(
|
1599 |
-
'<input type="text" name="seopress_social_option_name[seopress_social_accounts_youtube]" value="%s"/>',
|
1600 |
esc_html( $this->options['seopress_social_accounts_youtube'])
|
1601 |
|
1602 |
);
|
@@ -1606,7 +1536,7 @@ class seopress_options
|
|
1606 |
public function seopress_social_accounts_linkedin_callback()
|
1607 |
{
|
1608 |
printf(
|
1609 |
-
'<input type="text" name="seopress_social_option_name[seopress_social_accounts_linkedin]" value="%s"/>',
|
1610 |
esc_html( $this->options['seopress_social_accounts_linkedin'])
|
1611 |
|
1612 |
);
|
@@ -1616,7 +1546,7 @@ class seopress_options
|
|
1616 |
public function seopress_social_accounts_myspace_callback()
|
1617 |
{
|
1618 |
printf(
|
1619 |
-
'<input type="text" name="seopress_social_option_name[seopress_social_accounts_myspace]" value="%s"/>',
|
1620 |
esc_html( $this->options['seopress_social_accounts_myspace'])
|
1621 |
|
1622 |
);
|
@@ -1626,7 +1556,7 @@ class seopress_options
|
|
1626 |
public function seopress_social_accounts_soundcloud_callback()
|
1627 |
{
|
1628 |
printf(
|
1629 |
-
'<input type="text" name="seopress_social_option_name[seopress_social_accounts_soundcloud]" value="%s"/>',
|
1630 |
esc_html( $this->options['seopress_social_accounts_soundcloud'])
|
1631 |
|
1632 |
);
|
@@ -1636,7 +1566,7 @@ class seopress_options
|
|
1636 |
public function seopress_social_accounts_tumblr_callback()
|
1637 |
{
|
1638 |
printf(
|
1639 |
-
'<input type="text" name="seopress_social_option_name[seopress_social_accounts_tumblr]" value="%s"/>',
|
1640 |
esc_html( $this->options['seopress_social_accounts_tumblr'])
|
1641 |
|
1642 |
);
|
@@ -1653,7 +1583,7 @@ class seopress_options
|
|
1653 |
if ('1' == $check) echo 'checked="yes"';
|
1654 |
echo ' value="1"/>';
|
1655 |
|
1656 |
-
echo '<label for="seopress_social_facebook_og">'. __( 'Enable OG data', 'seopress' ) .'</label>';
|
1657 |
|
1658 |
if (isset($this->options['seopress_social_facebook_og'])) {
|
1659 |
esc_attr( $this->options['seopress_social_facebook_og']);
|
@@ -1666,9 +1596,9 @@ class seopress_options
|
|
1666 |
|
1667 |
$check = isset($options['seopress_social_facebook_img']);
|
1668 |
|
1669 |
-
echo '<input id="seopress_social_fb_img_meta" type="text" value="'.$options['seopress_social_facebook_img'].'" name="seopress_social_option_name[seopress_social_facebook_img]" placeholder="'.__('Select your default thumbnail','seopress').'" />
|
1670 |
|
1671 |
-
<input id="seopress_social_fb_img_upload" class="button" type="button" value="'.__('Upload an Image','seopress').'" />';
|
1672 |
|
1673 |
if (isset($this->options['seopress_social_facebook_img'])) {
|
1674 |
esc_attr( $this->options['seopress_social_facebook_img']);
|
@@ -1705,7 +1635,7 @@ class seopress_options
|
|
1705 |
if ('1' == $check) echo 'checked="yes"';
|
1706 |
echo ' value="1"/>';
|
1707 |
|
1708 |
-
echo '<label for="seopress_social_twitter_card">'. __( 'Enable Twitter card', 'seopress' ) .'</label>';
|
1709 |
|
1710 |
if (isset($this->options['seopress_social_twitter_card'])) {
|
1711 |
esc_attr( $this->options['seopress_social_twitter_card']);
|
@@ -1718,9 +1648,9 @@ class seopress_options
|
|
1718 |
|
1719 |
$check = isset($options['seopress_social_twitter_card_img']);
|
1720 |
|
1721 |
-
echo '<input id="seopress_social_twitter_img_meta" type="text" value="'.$options['seopress_social_twitter_card_img'].'" name="seopress_social_option_name[seopress_social_twitter_card_img]" placeholder="'.__('Select your default thumbnail','seopress').'" />
|
1722 |
|
1723 |
-
<input id="seopress_social_twitter_img_upload" class="button" type="button" value="'.__('Upload an Image','seopress').'" />';
|
1724 |
|
1725 |
if (isset($this->options['seopress_social_twitter_card_img'])) {
|
1726 |
esc_attr( $this->options['seopress_social_twitter_card_img']);
|
@@ -1736,10 +1666,10 @@ class seopress_options
|
|
1736 |
echo '<select id="seopress_social_twitter_card_img_size" name="seopress_social_option_name[seopress_social_twitter_card_img_size]">';
|
1737 |
echo ' <option ';
|
1738 |
if ('default' == $selected) echo 'selected="selected"';
|
1739 |
-
echo ' value="default">'. __("Default","seopress") .'</option>';
|
1740 |
echo '<option ';
|
1741 |
if ('large' == $selected) echo 'selected="selected"';
|
1742 |
-
echo ' value="large">'. __("Large","seopress") .'</option>';
|
1743 |
echo '</select>';
|
1744 |
|
1745 |
if (isset($this->options['seopress_social_twitter_card_img_size'])) {
|
31 |
public function add_plugin_page()
|
32 |
{
|
33 |
add_menu_page('SEOPress Option Page', 'SEOPress', 'manage_options', 'seopress-option', array( $this, 'create_admin_page' ), 'dashicons-admin-generic', 90);
|
34 |
+
add_submenu_page('seopress-option', __('Titles & Metas','wp-seopress'), __('Titles & Metas','wp-seopress'), 'manage_options', 'seopress-titles', array( $this, 'seopress_titles_page' ));
|
35 |
+
add_submenu_page('seopress-option', __('XML Sitemap','wp-seopress'), __('XML Sitemap','wp-seopress'), 'manage_options', 'seopress-xml-sitemap', array( $this, 'seopress_xml_sitemap_page' ));
|
36 |
+
add_submenu_page('seopress-option', __('Social','wp-seopress'), __('Social','wp-seopress'), 'manage_options', 'seopress-social', array( $this, 'seopress_social_page' ));
|
37 |
+
add_submenu_page('seopress-option', __('Import / Export / Reset settings','wp-seopress'), __('Import / Export / Reset','wp-seopress'), 'manage_options', 'seopress-import-export', array( $this,'seopress_import_export_page'));
|
38 |
}
|
39 |
|
40 |
function seopress_titles_page(){
|
44 |
<?php
|
45 |
if (get_option('blog_public') =='0') {
|
46 |
echo '<div class="error notice is-dismissable">';
|
47 |
+
echo '<p>'. __('Discourage search engines from indexing this site is <strong>ON!</strong> None of the following settings will be applied.','wp-seopress');
|
48 |
+
echo ' <a href="'.admin_url("options-reading.php").'">'.__('Change this settings','wp-seopress').'</a></p>';
|
49 |
echo '</div>';
|
50 |
}
|
51 |
global $wp_version, $title;
|
59 |
<?php
|
60 |
|
61 |
$plugin_settings_tabs = array(
|
62 |
+
'tab_seopress_titles_home' => __( "Home", "wp-seopress" ),
|
63 |
+
'tab_seopress_titles_single' => __( "Single Post Types", "wp-seopress" ),
|
64 |
+
'tab_seopress_titles_tax' => __( "Taxonomies", "wp-seopress" ),
|
65 |
+
'tab_seopress_titles_archives' => __( "Archives", "wp-seopress" ),
|
66 |
+
'tab_seopress_titles_advanced' => __( "Advanced", "wp-seopress" ),
|
67 |
);
|
68 |
|
69 |
echo '<h2 class="nav-tab-wrapper">';
|
100 |
<?php
|
101 |
|
102 |
$plugin_settings_tabs = array(
|
103 |
+
'tab_seopress_xml_sitemap_general' => __( "General", "wp-seopress" ),
|
104 |
+
'tab_seopress_xml_sitemap_post_types' => __( "Post Types", "wp-seopress" ),
|
105 |
+
'tab_seopress_xml_sitemap_taxonomies' => __( "Taxonomies", "wp-seopress" ),
|
106 |
);
|
107 |
|
108 |
echo '<h2 class="nav-tab-wrapper">';
|
137 |
<?php
|
138 |
|
139 |
$plugin_settings_tabs = array(
|
140 |
+
'tab_seopress_social_knowledge' => __( "Knowledge Graph", "wp-seopress" ),
|
141 |
+
'tab_seopress_social_accounts' => __( "Your social accounts", "wp-seopress" ),
|
142 |
+
'tab_seopress_social_facebook' => __( "Facebook", "wp-seopress" ),
|
143 |
+
'tab_seopress_social_twitter' => __( "Twitter", "wp-seopress" ),
|
144 |
);
|
145 |
|
146 |
echo '<h2 class="nav-tab-wrapper">';
|
167 |
$tag = version_compare( $wp_version, '4.4' ) >= 0 ? 'h1' : 'h2';
|
168 |
echo '<'.$tag.'>'.$title.'</'.$tag.'>';
|
169 |
?>
|
170 |
+
<h3><span><?php _e( 'Import / Export Settings', 'wp-seopress' ); ?></span></h3>
|
171 |
+
<?php print __('Import / Export SEOPress settings from site to site', 'wp-seopress'); ?>
|
172 |
<div class="metabox-holder">
|
173 |
<div class="postbox">
|
174 |
+
<h3><span><?php _e( 'Export Settings', 'wp-seopress' ); ?></span></h3>
|
175 |
<div class="inside">
|
176 |
+
<p><?php _e( 'Export the plugin settings for this site as a .json file. This allows you to easily import the configuration into another site.', 'wp-seopress' ); ?></p>
|
177 |
<form method="post">
|
178 |
<p><input type="hidden" name="seopress_action" value="export_settings" /></p>
|
179 |
<p>
|
180 |
<?php wp_nonce_field( 'seopress_export_nonce', 'seopress_export_nonce' ); ?>
|
181 |
+
<?php submit_button( __( 'Export', 'wp-seopress' ), 'secondary', 'submit', false ); ?>
|
182 |
</p>
|
183 |
</form>
|
184 |
</div><!-- .inside -->
|
185 |
</div><!-- .postbox -->
|
186 |
|
187 |
<div class="postbox">
|
188 |
+
<h3><span><?php _e( 'Import Settings', 'wp-seopress' ); ?></span></h3>
|
189 |
<div class="inside">
|
190 |
+
<p><?php _e( 'Import the plugin settings from a .json file. This file can be obtained by exporting the settings on another site using the form above.', 'wp-seopress' ); ?></p>
|
191 |
<form method="post" enctype="multipart/form-data">
|
192 |
<p>
|
193 |
<input type="file" name="import_file"/>
|
195 |
<p>
|
196 |
<input type="hidden" name="seopress_action" value="import_settings" />
|
197 |
<?php wp_nonce_field( 'seopress_import_nonce', 'seopress_import_nonce' ); ?>
|
198 |
+
<?php submit_button( __( 'Import', 'wp-seopress' ), 'secondary', 'submit', false ); ?>
|
199 |
</p>
|
200 |
</form>
|
201 |
</div><!-- .inside -->
|
202 |
</div><!-- .postbox -->
|
203 |
|
204 |
<div class="postbox">
|
205 |
+
<h3><span><?php _e( 'Reset All Settings', 'wp-seopress' ); ?></span></h3>
|
206 |
<div class="inside">
|
207 |
+
<p style="color:red"><?php _e( '<strong>WARNING:</strong> Delete all options related to SEOPress in your database.', 'wp-seopress' ); ?></p>
|
208 |
<form method="post" enctype="multipart/form-data">
|
209 |
<p>
|
210 |
<input type="hidden" name="seopress_action" value="reset_settings" />
|
211 |
<?php wp_nonce_field( 'seopress_reset_nonce', 'seopress_reset_nonce' ); ?>
|
212 |
+
<?php submit_button( __( 'Reset settings', 'wp-seopress' ), 'secondary', 'submit', false ); ?>
|
213 |
</p>
|
214 |
</form>
|
215 |
</div><!-- .inside -->
|
230 |
<div id="seopress-header">
|
231 |
<div id="seopress-admin">
|
232 |
<h1>
|
233 |
+
<span class="screen-reader-text"><?php _e( 'SEOPress', 'wp-seopress' ); ?></span>
|
234 |
<?php if ( is_plugin_active( 'seopress-pro/seopress-pro.php' ) ) { ?>
|
235 |
<span class="seopress-info-version">
|
236 |
<strong>
|
237 |
+
<?php _e('PRO', 'wp-seopress'); ?>
|
238 |
<?php echo SEOPRESSPRO_VERSION; ?>
|
239 |
</strong>
|
240 |
</span>
|
244 |
</h1>
|
245 |
<div id="seopress-notice">
|
246 |
<a href="http://wp-alacarte.com/" target="_blank"><img class="wpalacarte-banner" width="300" height="250" src="<?php echo plugins_url('assets/img/wpalacarte-300x250-EN@2x.png', dirname(dirname(__FILE__))); ?>" /></a>
|
247 |
+
<h2><?php _e( 'The ultimate plugin to optimize your SEO!', 'wp-seopress' ); ?></h2>
|
248 |
<p class="small">
|
249 |
<span class="dashicons dashicons-wordpress"></span>
|
250 |
+
<?php _e( 'You like SEOPress? Don\'t forget to rate it 5 stars!', 'wp-seopress' ); ?>
|
251 |
|
252 |
<div class="wporg-ratings rating-stars">
|
253 |
<a href="//wordpress.org/support/view/plugin-reviews/seopress?rate=1#postform" data-rating="1" title="" target="_blank"><span class="dashicons dashicons-star-filled" style="color:#e6b800 !important;"></span></a>
|
276 |
</script>
|
277 |
</p>
|
278 |
<p class="small">
|
279 |
+
<a href="http://twitter.com/wpcloudy" target="_blank"><div class="dashicons dashicons-twitter"></div><?php _e( 'Follow us on Twitter!', 'wp-seopress' ); ?></a>
|
280 |
|
281 |
+
<a href="http://www.seopress.org/" target="_blank"><div class="dashicons dashicons-info"></div><?php _e( 'Our website', 'wp-seopress' ); ?></a>
|
282 |
|
283 |
+
<a href="http://www.seopress.org/support" target="_blank"><div class="dashicons dashicons-sos"></div><?php _e( 'Knowledge base', 'wp-seopress' ); ?></a>
|
284 |
</p>
|
285 |
</div>
|
286 |
<table class="seopress-page-list" cellspacing="16">
|
291 |
<span class="dashicons dashicons-editor-table"></span>
|
292 |
</div>
|
293 |
<span class="inner">
|
294 |
+
<h4><?php _e('Titles & metas','wp-seopress'); ?></h4>
|
295 |
+
<p><?php _e('Manage all your titles & metas','wp-seopress'); ?></p>
|
296 |
+
<a class="button-secondary" href="<?php echo admin_url( 'admin.php?page=seopress-titles' ); ?>"><?php _e('Manage','wp-seopress'); ?></a>
|
297 |
</span>
|
298 |
</td>
|
299 |
<td>
|
301 |
<span class="dashicons dashicons-media-spreadsheet"></span>
|
302 |
</div>
|
303 |
<span class="inner">
|
304 |
+
<h4><?php _e('XML Sitemap','wp-seopress'); ?></h4>
|
305 |
+
<p><?php _e('Manage your XML Sitemap','wp-seopress'); ?></p>
|
306 |
+
<a class="button-secondary" href="<?php echo admin_url( 'admin.php?page=seopress-xml-sitemap' ); ?>"><?php _e('Manage','wp-seopress'); ?></a>
|
307 |
</span>
|
308 |
</td>
|
309 |
<td>
|
311 |
<span class="dashicons dashicons-share"></span>
|
312 |
</div>
|
313 |
<span class="inner">
|
314 |
+
<h4><?php _e('Social','wp-seopress'); ?></h4>
|
315 |
+
<p><?php _e('Open Graph, Twitter Card, Google Knowledge Graph and more...','wp-seopress'); ?></p>
|
316 |
+
<a class="button-secondary" href="<?php echo admin_url( 'admin.php?page=seopress-social' ); ?>"><?php _e('Manage','wp-seopress'); ?></a>
|
317 |
</span>
|
318 |
</td>
|
319 |
<td>
|
321 |
<span class="dashicons dashicons-admin-settings"></span>
|
322 |
</div>
|
323 |
<span class="inner">
|
324 |
+
<h4><?php _e('Import / Export / Reset','wp-seopress'); ?></h4>
|
325 |
+
<p><?php _e('Import / export SEOPress settings from site to site.','wp-seopress'); ?></p>
|
326 |
+
<a class="button-secondary" href="<?php echo admin_url( 'admin.php?page=seopress-import-export' ); ?>"><?php _e('Manage','wp-seopress'); ?></a>
|
327 |
</span>
|
328 |
</td>
|
329 |
</tr>
|
373 |
add_settings_section(
|
374 |
'seopress_setting_section_titles_home', // ID
|
375 |
'',
|
376 |
+
//__("Home","wp-seopress"), // Title
|
377 |
array( $this, 'print_section_info_titles' ), // Callback
|
378 |
'seopress-settings-admin-titles-home' // Page
|
379 |
);
|
380 |
|
381 |
add_settings_field(
|
382 |
'seopress_titles_home_site_title', // ID
|
383 |
+
__("Site title","wp-seopress"), // Title
|
384 |
array( $this, 'seopress_titles_home_site_title_callback' ), // Callback
|
385 |
'seopress-settings-admin-titles-home', // Page
|
386 |
'seopress_setting_section_titles_home' // Section
|
388 |
|
389 |
add_settings_field(
|
390 |
'seopress_titles_home_site_desc', // ID
|
391 |
+
__("Meta description","wp-seopress"), // Title
|
392 |
array( $this, 'seopress_titles_home_site_desc_callback' ), // Callback
|
393 |
'seopress-settings-admin-titles-home', // Page
|
394 |
'seopress_setting_section_titles_home' // Section
|
398 |
add_settings_section(
|
399 |
'seopress_setting_section_titles_single', // ID
|
400 |
'',
|
401 |
+
//__("Single Post Types","wp-seopress"), // Title
|
402 |
array( $this, 'print_section_info_single' ), // Callback
|
403 |
'seopress-settings-admin-titles-single' // Page
|
404 |
);
|
415 |
add_settings_section(
|
416 |
'seopress_setting_section_titles_tax', // ID
|
417 |
'',
|
418 |
+
//__("Taxonomies","wp-seopress"), // Title
|
419 |
array( $this, 'print_section_info_tax' ), // Callback
|
420 |
'seopress-settings-admin-titles-tax' // Page
|
421 |
);
|
432 |
add_settings_section(
|
433 |
'seopress_setting_section_titles_archives', // ID
|
434 |
'',
|
435 |
+
//__("Archives","wp-seopress"), // Title
|
436 |
array( $this, 'print_section_info_archives' ), // Callback
|
437 |
'seopress-settings-admin-titles-archives' // Page
|
438 |
);
|
440 |
add_settings_field(
|
441 |
'seopress_titles_archives_author_title', // ID
|
442 |
'',
|
443 |
+
//__('Title template','wp-seopress'),
|
444 |
array( $this, 'seopress_titles_archives_author_title_callback' ), // Callback
|
445 |
'seopress-settings-admin-titles-archives', // Page
|
446 |
'seopress_setting_section_titles_archives' // Section
|
449 |
add_settings_field(
|
450 |
'seopress_titles_archives_author_desc', // ID
|
451 |
'',
|
452 |
+
//__('Meta description template','wp-seopress'),
|
453 |
array( $this, 'seopress_titles_archives_author_desc_callback' ), // Callback
|
454 |
'seopress-settings-admin-titles-archives', // Page
|
455 |
'seopress_setting_section_titles_archives' // Section
|
458 |
add_settings_field(
|
459 |
'seopress_titles_archives_date_title', // ID
|
460 |
'',
|
461 |
+
//__('Title template','wp-seopress'),
|
462 |
array( $this, 'seopress_titles_archives_date_title_callback' ), // Callback
|
463 |
'seopress-settings-admin-titles-archives', // Page
|
464 |
'seopress_setting_section_titles_archives' // Section
|
467 |
add_settings_field(
|
468 |
'seopress_titles_archives_date_desc', // ID
|
469 |
'',
|
470 |
+
//__('Meta description template','wp-seopress'),
|
471 |
array( $this, 'seopress_titles_archives_date_desc_callback' ), // Callback
|
472 |
'seopress-settings-admin-titles-archives', // Page
|
473 |
'seopress_setting_section_titles_archives' // Section
|
476 |
add_settings_field(
|
477 |
'seopress_titles_archives_search_title', // ID
|
478 |
'',
|
479 |
+
//__('Title template','wp-seopress'),
|
480 |
array( $this, 'seopress_titles_archives_search_title_callback' ), // Callback
|
481 |
'seopress-settings-admin-titles-archives', // Page
|
482 |
'seopress_setting_section_titles_archives' // Section
|
485 |
add_settings_field(
|
486 |
'seopress_titles_archives_search_desc', // ID
|
487 |
'',
|
488 |
+
//__('Meta description template','wp-seopress'),
|
489 |
array( $this, 'seopress_titles_archives_search_desc_callback' ), // Callback
|
490 |
'seopress-settings-admin-titles-archives', // Page
|
491 |
'seopress_setting_section_titles_archives' // Section
|
494 |
add_settings_field(
|
495 |
'seopress_titles_archives_404_title', // ID
|
496 |
'',
|
497 |
+
//__('Title template','wp-seopress'),
|
498 |
array( $this, 'seopress_titles_archives_404_title_callback' ), // Callback
|
499 |
'seopress-settings-admin-titles-archives', // Page
|
500 |
'seopress_setting_section_titles_archives' // Section
|
503 |
add_settings_field(
|
504 |
'seopress_titles_archives_404_desc', // ID
|
505 |
'',
|
506 |
+
//__('Meta description template','wp-seopress'),
|
507 |
array( $this, 'seopress_titles_archives_404_desc_callback' ), // Callback
|
508 |
'seopress-settings-admin-titles-archives', // Page
|
509 |
'seopress_setting_section_titles_archives' // Section
|
512 |
add_settings_field(
|
513 |
'seopress_titles_archives_paged_title', // ID
|
514 |
'',
|
515 |
+
//__('Title template','wp-seopress'),
|
516 |
array( $this, 'seopress_titles_archives_paged_title_callback' ), // Callback
|
517 |
'seopress-settings-admin-titles-archives', // Page
|
518 |
'seopress_setting_section_titles_archives' // Section
|
521 |
add_settings_field(
|
522 |
'seopress_titles_archives_paged_desc', // ID
|
523 |
'',
|
524 |
+
//__('Meta description template','wp-seopress'),
|
525 |
array( $this, 'seopress_titles_archives_paged_desc_callback' ), // Callback
|
526 |
'seopress-settings-admin-titles-archives', // Page
|
527 |
'seopress_setting_section_titles_archives' // Section
|
531 |
add_settings_section(
|
532 |
'seopress_setting_section_titles_advanced', // ID
|
533 |
'',
|
534 |
+
//__("Advanced","wp-seopress"), // Title
|
535 |
array( $this, 'print_section_info_advanced' ), // Callback
|
536 |
'seopress-settings-admin-titles-advanced' // Page
|
537 |
);
|
538 |
|
539 |
add_settings_field(
|
540 |
'seopress_titles_noindex', // ID
|
541 |
+
__("noindex","wp-seopress"), // Title
|
542 |
array( $this, 'seopress_titles_noindex_callback' ), // Callback
|
543 |
'seopress-settings-admin-titles-advanced', // Page
|
544 |
'seopress_setting_section_titles_advanced' // Section
|
546 |
|
547 |
add_settings_field(
|
548 |
'seopress_titles_nofollow', // ID
|
549 |
+
__("nofollow","wp-seopress"), // Title
|
550 |
array( $this, 'seopress_titles_nofollow_callback' ), // Callback
|
551 |
'seopress-settings-admin-titles-advanced', // Page
|
552 |
'seopress_setting_section_titles_advanced' // Section
|
554 |
|
555 |
add_settings_field(
|
556 |
'seopress_titles_noodp', // ID
|
557 |
+
__("noodp","wp-seopress"), // Title
|
558 |
array( $this, 'seopress_titles_noodp_callback' ), // Callback
|
559 |
'seopress-settings-admin-titles-advanced', // Page
|
560 |
'seopress_setting_section_titles_advanced' // Section
|
562 |
|
563 |
add_settings_field(
|
564 |
'seopress_titles_noimageindex', // ID
|
565 |
+
__("noimageindex","wp-seopress"), // Title
|
566 |
array( $this, 'seopress_titles_noimageindex_callback' ), // Callback
|
567 |
'seopress-settings-admin-titles-advanced', // Page
|
568 |
'seopress_setting_section_titles_advanced' // Section
|
570 |
|
571 |
add_settings_field(
|
572 |
'seopress_titles_noarchive', // ID
|
573 |
+
__("noarchive","wp-seopress"), // Title
|
574 |
array( $this, 'seopress_titles_noarchive_callback' ), // Callback
|
575 |
'seopress-settings-admin-titles-advanced', // Page
|
576 |
'seopress_setting_section_titles_advanced' // Section
|
578 |
|
579 |
add_settings_field(
|
580 |
'seopress_titles_nosnippet', // ID
|
581 |
+
__("nosnippet","wp-seopress"), // Title
|
582 |
array( $this, 'seopress_titles_nosnippet_callback' ), // Callback
|
583 |
'seopress-settings-admin-titles-advanced', // Page
|
584 |
'seopress_setting_section_titles_advanced' // Section
|
588 |
add_settings_section(
|
589 |
'seopress_setting_section_xml_sitemap_general', // ID
|
590 |
'',
|
591 |
+
//__("General","wp-seopress"), // Title
|
592 |
array( $this, 'print_section_info_xml_sitemap_general' ), // Callback
|
593 |
'seopress-settings-admin-xml-sitemap-general' // Page
|
594 |
);
|
595 |
|
596 |
add_settings_field(
|
597 |
'seopress_xml_sitemap_general_enable', // ID
|
598 |
+
__("Enable XML Sitemap","wp-seopress"), // Title
|
599 |
array( $this, 'seopress_xml_sitemap_general_enable_callback' ), // Callback
|
600 |
'seopress-settings-admin-xml-sitemap-general', // Page
|
601 |
'seopress_setting_section_xml_sitemap_general' // Section
|
604 |
add_settings_section(
|
605 |
'seopress_setting_section_xml_sitemap_post_types', // ID
|
606 |
'',
|
607 |
+
//__("Post Types","wp-seopress"), // Title
|
608 |
array( $this, 'print_section_info_xml_sitemap_post_types' ), // Callback
|
609 |
'seopress-settings-admin-xml-sitemap-post-types' // Page
|
610 |
);
|
611 |
|
612 |
add_settings_field(
|
613 |
'seopress_xml_sitemap_post_types_list', // ID
|
614 |
+
__("Check to INCLUDE Post Types","wp-seopress"), // Title
|
615 |
array( $this, 'seopress_xml_sitemap_post_types_list_callback' ), // Callback
|
616 |
'seopress-settings-admin-xml-sitemap-post-types', // Page
|
617 |
'seopress_setting_section_xml_sitemap_post_types' // Section
|
620 |
add_settings_section(
|
621 |
'seopress_setting_section_xml_sitemap_taxonomies', // ID
|
622 |
'',
|
623 |
+
//__("Taxonomies","wp-seopress"), // Title
|
624 |
array( $this, 'print_section_info_xml_sitemap_taxonomies' ), // Callback
|
625 |
'seopress-settings-admin-xml-sitemap-taxonomies' // Page
|
626 |
);
|
627 |
|
628 |
add_settings_field(
|
629 |
'seopress_xml_sitemap_taxonomies_list', // ID
|
630 |
+
__("Check to INCLUDE Taxonomies","wp-seopress"), // Title
|
631 |
array( $this, 'seopress_xml_sitemap_taxonomies_list_callback' ), // Callback
|
632 |
'seopress-settings-admin-xml-sitemap-taxonomies', // Page
|
633 |
'seopress_setting_section_xml_sitemap_taxonomies' // Section
|
637 |
add_settings_section(
|
638 |
'seopress_setting_section_social_knowledge', // ID
|
639 |
'',
|
640 |
+
//__("Knowledge graph","wp-seopress"), // Title
|
641 |
array( $this, 'print_section_info_social_knowledge' ), // Callback
|
642 |
'seopress-settings-admin-social-knowledge' // Page
|
643 |
);
|
644 |
|
645 |
add_settings_field(
|
646 |
'seopress_social_knowledge_type', // ID
|
647 |
+
__("Person or organization","wp-seopress"), // Title
|
648 |
array( $this, 'seopress_social_knowledge_type_callback' ), // Callback
|
649 |
'seopress-settings-admin-social-knowledge', // Page
|
650 |
'seopress_setting_section_social_knowledge' // Section
|
652 |
|
653 |
add_settings_field(
|
654 |
'seopress_social_knowledge_name', // ID
|
655 |
+
__("Your name/organization","wp-seopress"), // Title
|
656 |
array( $this, 'seopress_social_knowledge_name_callback' ), // Callback
|
657 |
'seopress-settings-admin-social-knowledge', // Page
|
658 |
'seopress_setting_section_social_knowledge' // Section
|
660 |
|
661 |
add_settings_field(
|
662 |
'seopress_social_knowledge_img', // ID
|
663 |
+
__("Your photo / organization logo","wp-seopress"), // Title
|
664 |
array( $this, 'seopress_social_knowledge_img_callback' ), // Callback
|
665 |
'seopress-settings-admin-social-knowledge', // Page
|
666 |
'seopress_setting_section_social_knowledge' // Section
|
670 |
add_settings_section(
|
671 |
'seopress_setting_section_social_accounts', // ID
|
672 |
'',
|
673 |
+
//__("Social","wp-seopress"), // Title
|
674 |
array( $this, 'print_section_info_social_accounts' ), // Callback
|
675 |
'seopress-settings-admin-social-accounts' // Page
|
676 |
);
|
677 |
|
678 |
add_settings_field(
|
679 |
'seopress_social_accounts_facebook', // ID
|
680 |
+
__("Facebook Page URL","wp-seopress"), // Title
|
681 |
array( $this, 'seopress_social_accounts_facebook_callback' ), // Callback
|
682 |
'seopress-settings-admin-social-accounts', // Page
|
683 |
'seopress_setting_section_social_accounts' // Section
|
685 |
|
686 |
add_settings_field(
|
687 |
'seopress_social_accounts_twitter', // ID
|
688 |
+
__("Twitter Username","wp-seopress"), // Title
|
689 |
array( $this, 'seopress_social_accounts_twitter_callback' ), // Callback
|
690 |
'seopress-settings-admin-social-accounts', // Page
|
691 |
'seopress_setting_section_social_accounts' // Section
|
693 |
|
694 |
add_settings_field(
|
695 |
'seopress_social_accounts_google', // ID
|
696 |
+
__("Google + URL","wp-seopress"), // Title
|
697 |
array( $this, 'seopress_social_accounts_google_callback' ), // Callback
|
698 |
'seopress-settings-admin-social-accounts', // Page
|
699 |
'seopress_setting_section_social_accounts' // Section
|
701 |
|
702 |
add_settings_field(
|
703 |
'seopress_social_accounts_pinterest', // ID
|
704 |
+
__("Pinterest URL","wp-seopress"), // Title
|
705 |
array( $this, 'seopress_social_accounts_pinterest_callback' ), // Callback
|
706 |
'seopress-settings-admin-social-accounts', // Page
|
707 |
'seopress_setting_section_social_accounts' // Section
|
709 |
|
710 |
add_settings_field(
|
711 |
'seopress_social_accounts_instagram', // ID
|
712 |
+
__("Instagram URL","wp-seopress"), // Title
|
713 |
array( $this, 'seopress_social_accounts_instagram_callback' ), // Callback
|
714 |
'seopress-settings-admin-social-accounts', // Page
|
715 |
'seopress_setting_section_social_accounts' // Section
|
717 |
|
718 |
add_settings_field(
|
719 |
'seopress_social_accounts_youtube', // ID
|
720 |
+
__("YouTube URL","wp-seopress"), // Title
|
721 |
array( $this, 'seopress_social_accounts_youtube_callback' ), // Callback
|
722 |
'seopress-settings-admin-social-accounts', // Page
|
723 |
'seopress_setting_section_social_accounts' // Section
|
725 |
|
726 |
add_settings_field(
|
727 |
'seopress_social_accounts_linkedin', // ID
|
728 |
+
__("LinkedIn URL","wp-seopress"), // Title
|
729 |
array( $this, 'seopress_social_accounts_linkedin_callback' ), // Callback
|
730 |
'seopress-settings-admin-social-accounts', // Page
|
731 |
'seopress_setting_section_social_accounts' // Section
|
733 |
|
734 |
add_settings_field(
|
735 |
'seopress_social_accounts_myspace', // ID
|
736 |
+
__("MySpace URL","wp-seopress"), // Title
|
737 |
array( $this, 'seopress_social_accounts_myspace_callback' ), // Callback
|
738 |
'seopress-settings-admin-social-accounts', // Page
|
739 |
'seopress_setting_section_social_accounts' // Section
|
741 |
|
742 |
add_settings_field(
|
743 |
'seopress_social_accounts_soundcloud', // ID
|
744 |
+
__("Soundcloud URL","wp-seopress"), // Title
|
745 |
array( $this, 'seopress_social_accounts_soundcloud_callback' ), // Callback
|
746 |
'seopress-settings-admin-social-accounts', // Page
|
747 |
'seopress_setting_section_social_accounts' // Section
|
749 |
|
750 |
add_settings_field(
|
751 |
'seopress_social_accounts_tumblr', // ID
|
752 |
+
__("Tumblr URL","wp-seopress"), // Title
|
753 |
array( $this, 'seopress_social_accounts_tumblr_callback' ), // Callback
|
754 |
'seopress-settings-admin-social-accounts', // Page
|
755 |
'seopress_setting_section_social_accounts' // Section
|
759 |
add_settings_section(
|
760 |
'seopress_setting_section_social_facebook', // ID
|
761 |
'',
|
762 |
+
//__("Facebook","wp-seopress"), // Title
|
763 |
array( $this, 'print_section_info_social_facebook' ), // Callback
|
764 |
'seopress-settings-admin-social-facebook' // Page
|
765 |
);
|
766 |
|
767 |
add_settings_field(
|
768 |
'seopress_social_facebook_og', // ID
|
769 |
+
__("Enable Open Graph Data","wp-seopress"), // Title
|
770 |
array( $this, 'seopress_social_facebook_og_callback' ), // Callback
|
771 |
'seopress-settings-admin-social-facebook', // Page
|
772 |
'seopress_setting_section_social_facebook' // Section
|
774 |
|
775 |
add_settings_field(
|
776 |
'seopress_social_facebook_img', // ID
|
777 |
+
__("Select a default image","wp-seopress"), // Title
|
778 |
array( $this, 'seopress_social_facebook_img_callback' ), // Callback
|
779 |
'seopress-settings-admin-social-facebook', // Page
|
780 |
'seopress_setting_section_social_facebook' // Section
|
782 |
|
783 |
add_settings_field(
|
784 |
'seopress_social_facebook_admin_id', // ID
|
785 |
+
__("Facebook Admin ID","wp-seopress"), // Title
|
786 |
array( $this, 'seopress_social_facebook_admin_id_callback' ), // Callback
|
787 |
'seopress-settings-admin-social-facebook', // Page
|
788 |
'seopress_setting_section_social_facebook' // Section
|
790 |
|
791 |
add_settings_field(
|
792 |
'seopress_social_facebook_app_id', // ID
|
793 |
+
__("Facebook App ID","wp-seopress"), // Title
|
794 |
array( $this, 'seopress_social_facebook_app_id_callback' ), // Callback
|
795 |
'seopress-settings-admin-social-facebook', // Page
|
796 |
'seopress_setting_section_social_facebook' // Section
|
800 |
add_settings_section(
|
801 |
'seopress_setting_section_social_twitter', // ID
|
802 |
'',
|
803 |
+
//__("Twitter","wp-seopress"), // Title
|
804 |
array( $this, 'print_section_info_social_twitter' ), // Callback
|
805 |
'seopress-settings-admin-social-twitter' // Page
|
806 |
);
|
807 |
|
808 |
add_settings_field(
|
809 |
'seopress_social_twitter_card', // ID
|
810 |
+
__("Enable Twitter Card","wp-seopress"), // Title
|
811 |
array( $this, 'seopress_social_twitter_card_callback' ), // Callback
|
812 |
'seopress-settings-admin-social-twitter', // Page
|
813 |
'seopress_setting_section_social_twitter' // Section
|
815 |
|
816 |
add_settings_field(
|
817 |
'seopress_social_twitter_card_img', // ID
|
818 |
+
__("Default Twitter Image","wp-seopress"), // Title
|
819 |
array( $this, 'seopress_social_twitter_card_img_callback' ), // Callback
|
820 |
'seopress-settings-admin-social-twitter', // Page
|
821 |
'seopress_setting_section_social_twitter' // Section
|
823 |
|
824 |
add_settings_field(
|
825 |
'seopress_social_twitter_card_img_size', // ID
|
826 |
+
__("Image size for Twitter Summary card","wp-seopress"), // Title
|
827 |
array( $this, 'seopress_social_twitter_card_img_size_callback' ), // Callback
|
828 |
'seopress-settings-admin-social-twitter', // Page
|
829 |
'seopress_setting_section_social_twitter' // Section
|
837 |
*/
|
838 |
public function sanitize( $input )
|
839 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
840 |
|
841 |
+
$seopress_sanitize_fields = array('seopress_titles_home_site_title', 'seopress_titles_home_site_desc', 'seopress_titles_archives_author_title', 'seopress_titles_archives_author_desc', 'seopress_titles_archives_date_title', 'seopress_titles_archives_date_desc', 'seopress_titles_archives_search_title', 'seopress_titles_archives_search_desc', 'seopress_titles_archives_404_title', 'seopress_titles_archives_404_desc', 'seopress_titles_archives_paged_title', 'seopress_titles_archives_paged_desc', 'seopress_social_knowledge_name', 'seopress_social_knowledge_img', 'seopress_social_accounts_facebook', 'seopress_social_accounts_twitter', 'seopress_social_accounts_google', 'seopress_social_accounts_pinterest', 'seopress_social_accounts_instagram', 'seopress_social_accounts_youtube', 'seopress_social_accounts_linkedin', 'seopress_social_accounts_myspace', 'seopress_social_accounts_soundcloud', 'seopress_social_accounts_tumblr', 'seopress_social_facebook_admin_id', 'seopress_social_facebook_app_id');
|
842 |
+
|
843 |
+
foreach ($seopress_sanitize_fields as $value) {
|
844 |
+
if( !empty( $input[$value] ) )
|
845 |
+
$input[$value] = sanitize_text_field( $input[$value] );
|
846 |
+
}
|
847 |
+
|
848 |
return $input;
|
849 |
}
|
850 |
|
854 |
|
855 |
public function print_section_info_titles()
|
856 |
{
|
857 |
+
print __('<p>Customize your titles & metas for homepage</p>', 'wp-seopress');
|
858 |
}
|
859 |
|
860 |
public function print_section_info_single()
|
861 |
{
|
862 |
+
print __('<p>Customize your titles & metas for Single Custom Post Types</p>', 'wp-seopress');
|
863 |
}
|
864 |
|
865 |
public function print_section_info_advanced()
|
866 |
{
|
867 |
+
print __('<p>Customize your metas for all pages</p>', 'wp-seopress');
|
868 |
}
|
869 |
|
870 |
public function print_section_info_tax()
|
871 |
{
|
872 |
+
print __('<p>Customize your metas for all taxonomies archives</p>', 'wp-seopress');
|
873 |
}
|
874 |
|
875 |
public function print_section_info_archives()
|
876 |
{
|
877 |
+
print __('<p>Customize your metas for all archives</p>', 'wp-seopress');
|
878 |
}
|
879 |
|
880 |
public function print_section_info_xml_sitemap_general()
|
881 |
{
|
882 |
+
print __('<p>Enable your Sitemap</p>', 'wp-seopress');
|
883 |
+
echo __('To view your sitemap, enable permalinks (not default one), and save settings to flush them.', 'wp-seopress');
|
884 |
echo '<br>';
|
885 |
echo '<br>';
|
886 |
+
echo '<a href="'.home_url().'/sitemaps/" target="_blank" class="button">'.__('View your sitemap','wp-seopress').'</a>';
|
887 |
}
|
888 |
|
889 |
public function print_section_info_xml_sitemap_post_types()
|
890 |
{
|
891 |
+
print __('<p>Include / Exclude Post Types</p>', 'wp-seopress');
|
892 |
}
|
893 |
|
894 |
public function print_section_info_xml_sitemap_taxonomies()
|
895 |
{
|
896 |
+
print __('<p>Include / Exclude Taxonomies</p>', 'wp-seopress');
|
897 |
}
|
898 |
|
899 |
public function print_section_info_social_knowledge()
|
900 |
{
|
901 |
+
print __('<p>Configure Google Knowledge Graph</p>', 'wp-seopress');
|
902 |
}
|
903 |
|
904 |
public function print_section_info_social_accounts()
|
905 |
{
|
906 |
+
print __('<p>Link your site with your social accounts</p>', 'wp-seopress');
|
907 |
}
|
908 |
|
909 |
public function print_section_info_social_facebook()
|
910 |
{
|
911 |
+
print __('<p>Manage Open Graph datas</p>', 'wp-seopress');
|
912 |
}
|
913 |
|
914 |
public function print_section_info_social_twitter()
|
915 |
{
|
916 |
+
print __('<p>Manage your Twitter card</p>', 'wp-seopress');
|
917 |
}
|
918 |
|
919 |
/**
|
924 |
public function seopress_titles_home_site_title_callback()
|
925 |
{
|
926 |
printf(
|
927 |
+
'<input type="text" name="seopress_titles_option_name[seopress_titles_home_site_title]" placeholder="'.__('My awesome website','wp-seopress').'" value="%s"/>',
|
928 |
esc_html( $this->options['seopress_titles_home_site_title'])
|
929 |
|
930 |
);
|
934 |
public function seopress_titles_home_site_desc_callback()
|
935 |
{
|
936 |
printf(
|
937 |
+
'<textarea name="seopress_titles_option_name[seopress_titles_home_site_desc]" placeholder="'.__('This is cool website about Wookiees','wp-seopress').'">%s</textarea>',
|
938 |
esc_html( $this->options['seopress_titles_home_site_desc'])
|
939 |
|
940 |
);
|
951 |
//Single Title CPT
|
952 |
echo '<div class="seopress_wrap_single_cpt">';
|
953 |
|
954 |
+
_e('Title template','wp-seopress');
|
955 |
echo "<br/>";
|
956 |
|
957 |
printf(
|
964 |
//Single Meta Description CPT
|
965 |
echo '<div class="seopress_wrap_single_cpt">';
|
966 |
|
967 |
+
_e('Meta description template','wp-seopress');
|
968 |
echo "<br/>";
|
969 |
|
970 |
printf(
|
985 |
if ('1' == $check) echo 'checked="yes"';
|
986 |
echo ' value="1"/>';
|
987 |
|
988 |
+
echo '<label for="seopress_titles_single_cpt_noindex['.$seopress_cpt_value.']">'. __( 'noindex', 'wp-seopress' ) .'</label>';
|
989 |
|
990 |
if (isset($this->options['seopress_titles_single_titles'][$seopress_cpt_value]['noindex'])) {
|
991 |
esc_attr( $this->options['seopress_titles_single_titles'][$seopress_cpt_value]['noindex']);
|
1004 |
if ('1' == $check) echo 'checked="yes"';
|
1005 |
echo ' value="1"/>';
|
1006 |
|
1007 |
+
echo '<label for="seopress_titles_single_cpt_nofollow['.$seopress_cpt_value.']">'. __( 'nofollow', 'wp-seopress' ) .'</label>';
|
1008 |
|
1009 |
if (isset($this->options['seopress_titles_single_titles'][$seopress_cpt_value]['nofollow'])) {
|
1010 |
esc_attr( $this->options['seopress_titles_single_titles'][$seopress_cpt_value]['nofollow']);
|
1024 |
//Tax Title
|
1025 |
echo '<div class="seopress_wrap_tax">';
|
1026 |
|
1027 |
+
_e('Title template','wp-seopress');
|
1028 |
echo "<br/>";
|
1029 |
|
1030 |
printf(
|
1037 |
//Tax Meta Description
|
1038 |
echo '<div class="seopress_wrap_tax">';
|
1039 |
|
1040 |
+
_e('Meta description template','wp-seopress');
|
1041 |
echo "<br/>";
|
1042 |
|
1043 |
printf(
|
1058 |
if ('1' == $check) echo 'checked="yes"';
|
1059 |
echo ' value="1"/>';
|
1060 |
|
1061 |
+
echo '<label for="seopress_titles_tax_noindex['.$seopress_tax_value.']">'. __( 'noindex', 'wp-seopress' ) .'</label>';
|
1062 |
|
1063 |
if (isset($this->options['seopress_titles_tax_titles'][$seopress_tax_value]['noindex'])) {
|
1064 |
esc_attr( $this->options['seopress_titles_tax_titles'][$seopress_tax_value]['noindex']);
|
1077 |
if ('1' == $check) echo 'checked="yes"';
|
1078 |
echo ' value="1"/>';
|
1079 |
|
1080 |
+
echo '<label for="seopress_titles_tax_nofollow['.$seopress_tax_value.']">'. __( 'nofollow', 'wp-seopress' ) .'</label>';
|
1081 |
|
1082 |
if (isset($this->options['seopress_titles_tax_titles'][$seopress_tax_value]['nofollow'])) {
|
1083 |
esc_attr( $this->options['seopress_titles_tax_titles'][$seopress_tax_value]['nofollow']);
|
1090 |
//Archives
|
1091 |
public function seopress_titles_archives_author_title_callback()
|
1092 |
{
|
1093 |
+
echo '<h2>'.__('Author archives','wp-seopress').'</h2>';
|
1094 |
|
1095 |
+
_e('Title template','wp-seopress');
|
1096 |
echo "<br/>";
|
1097 |
|
1098 |
printf(
|
1105 |
|
1106 |
public function seopress_titles_archives_author_desc_callback()
|
1107 |
{
|
1108 |
+
_e('Meta description template','wp-seopress');
|
1109 |
echo "<br/>";
|
1110 |
|
1111 |
printf(
|
1118 |
|
1119 |
public function seopress_titles_archives_date_title_callback()
|
1120 |
{
|
1121 |
+
echo '<h2>'.__('Date archives','wp-seopress').'</h2>';
|
1122 |
|
1123 |
+
_e('Title template','wp-seopress');
|
1124 |
echo "<br/>";
|
1125 |
|
1126 |
printf(
|
1133 |
|
1134 |
public function seopress_titles_archives_date_desc_callback()
|
1135 |
{
|
1136 |
+
_e('Meta description template','wp-seopress');
|
1137 |
echo "<br/>";
|
1138 |
|
1139 |
printf(
|
1146 |
|
1147 |
public function seopress_titles_archives_search_title_callback()
|
1148 |
{
|
1149 |
+
echo '<h2>'.__('Search archives','wp-seopress').'</h2>';
|
1150 |
|
1151 |
+
_e('Title template','wp-seopress');
|
1152 |
echo "<br/>";
|
1153 |
|
1154 |
printf(
|
1161 |
|
1162 |
public function seopress_titles_archives_search_desc_callback()
|
1163 |
{
|
1164 |
+
_e('Meta description template','wp-seopress');
|
1165 |
echo "<br/>";
|
1166 |
|
1167 |
printf(
|
1174 |
|
1175 |
public function seopress_titles_archives_404_title_callback()
|
1176 |
{
|
1177 |
+
echo '<h2>'.__('404 archives','wp-seopress').'</h2>';
|
1178 |
|
1179 |
+
_e('Title template','wp-seopress');
|
1180 |
echo "<br/>";
|
1181 |
|
1182 |
printf(
|
1189 |
|
1190 |
public function seopress_titles_archives_404_desc_callback()
|
1191 |
{
|
1192 |
+
_e('Meta description template','wp-seopress');
|
1193 |
echo "<br/>";
|
1194 |
|
1195 |
printf(
|
1202 |
|
1203 |
public function seopress_titles_archives_paged_title_callback()
|
1204 |
{
|
1205 |
+
echo '<h2>'.__('Paged archives','wp-seopress').'</h2>';
|
1206 |
|
1207 |
+
_e('Title template','wp-seopress');
|
1208 |
echo "<br/>";
|
1209 |
|
1210 |
printf(
|
1217 |
|
1218 |
public function seopress_titles_archives_paged_desc_callback()
|
1219 |
{
|
1220 |
+
_e('Meta description template','wp-seopress');
|
1221 |
echo "<br/>";
|
1222 |
|
1223 |
printf(
|
1239 |
if ('1' == $check) echo 'checked="yes"';
|
1240 |
echo ' value="1"/>';
|
1241 |
|
1242 |
+
echo '<label for="seopress_titles_noindex">'. __( 'noindex', 'wp-seopress' ) .'</label>';
|
1243 |
|
1244 |
if (isset($this->options['seopress_titles_noindex'])) {
|
1245 |
esc_attr( $this->options['seopress_titles_noindex']);
|
1256 |
if ('1' == $check) echo 'checked="yes"';
|
1257 |
echo ' value="1"/>';
|
1258 |
|
1259 |
+
echo '<label for="seopress_titles_nofollow">'. __( 'nofollow', 'wp-seopress' ) .'</label>';
|
1260 |
|
1261 |
if (isset($this->options['seopress_titles_nofollow'])) {
|
1262 |
esc_attr( $this->options['seopress_titles_nofollow']);
|
1273 |
if ('1' == $check) echo 'checked="yes"';
|
1274 |
echo ' value="1"/>';
|
1275 |
|
1276 |
+
echo '<label for="seopress_titles_noodp">'. __( 'noodp', 'wp-seopress' ) .'</label>';
|
1277 |
|
1278 |
if (isset($this->options['seopress_titles_noodp'])) {
|
1279 |
esc_attr( $this->options['seopress_titles_noodp']);
|
1290 |
if ('1' == $check) echo 'checked="yes"';
|
1291 |
echo ' value="1"/>';
|
1292 |
|
1293 |
+
echo '<label for="seopress_titles_noimageindex">'. __( 'noimageindex', 'wp-seopress' ) .'</label>';
|
1294 |
|
1295 |
if (isset($this->options['seopress_titles_noimageindex'])) {
|
1296 |
esc_attr( $this->options['seopress_titles_noimageindex']);
|
1307 |
if ('1' == $check) echo 'checked="yes"';
|
1308 |
echo ' value="1"/>';
|
1309 |
|
1310 |
+
echo '<label for="seopress_titles_noarchive">'. __( 'noarchive', 'wp-seopress' ) .'</label>';
|
1311 |
|
1312 |
if (isset($this->options['seopress_titles_noarchive'])) {
|
1313 |
esc_attr( $this->options['seopress_titles_noarchive']);
|
1324 |
if ('1' == $check) echo 'checked="yes"';
|
1325 |
echo ' value="1"/>';
|
1326 |
|
1327 |
+
echo '<label for="seopress_titles_nosnippet">'. __( 'nosnippet', 'wp-seopress' ) .'</label>';
|
1328 |
|
1329 |
if (isset($this->options['seopress_titles_nosnippet'])) {
|
1330 |
esc_attr( $this->options['seopress_titles_nosnippet']);
|
1341 |
if ('1' == $check) echo 'checked="yes"';
|
1342 |
echo ' value="1"/>';
|
1343 |
|
1344 |
+
echo '<label for="seopress_xml_sitemap_general_enable">'. __( 'Enable XML Sitemap', 'wp-seopress' ) .'</label>';
|
1345 |
|
1346 |
if (isset($this->options['seopress_xml_sitemap_general_enable'])) {
|
1347 |
esc_attr( $this->options['seopress_xml_sitemap_general_enable']);
|
1380 |
if ('1' == $check) echo 'checked="yes"';
|
1381 |
echo ' value="1"/>';
|
1382 |
|
1383 |
+
echo '<label for="seopress_xml_sitemap_post_types_list_include['.$seopress_cpt_value.']">'. __( 'Include', 'wp-seopress' ) .'</label>';
|
1384 |
|
1385 |
if (isset($this->options['seopress_xml_sitemap_post_types_list'][$seopress_cpt_value]['include'])) {
|
1386 |
esc_attr( $this->options['seopress_xml_sitemap_post_types_list'][$seopress_cpt_value]['include']);
|
1420 |
if ('1' == $check) echo 'checked="yes"';
|
1421 |
echo ' value="1"/>';
|
1422 |
|
1423 |
+
echo '<label for="seopress_xml_sitemap_taxonomies_list_include['.$seopress_tax_value.']">'. __( 'Include', 'wp-seopress' ) .'</label>';
|
1424 |
|
1425 |
if (isset($this->options['seopress_xml_sitemap_taxonomies_list'][$seopress_tax_value]['include'])) {
|
1426 |
esc_attr( $this->options['seopress_xml_sitemap_taxonomies_list'][$seopress_tax_value]['include']);
|
1439 |
echo '<select id="seopress_social_knowledge_type" name="seopress_social_option_name[seopress_social_knowledge_type]">';
|
1440 |
echo ' <option ';
|
1441 |
if ('person' == $selected) echo 'selected="selected"';
|
1442 |
+
echo ' value="person">'. __("Person","wp-seopress") .'</option>';
|
1443 |
echo '<option ';
|
1444 |
if ('organization' == $selected) echo 'selected="selected"';
|
1445 |
+
echo ' value="organization">'. __("Organization","wp-seopress") .'</option>';
|
1446 |
echo '</select>';
|
1447 |
|
1448 |
if (isset($this->options['seopress_social_knowledge_type'])) {
|
1453 |
public function seopress_social_knowledge_name_callback()
|
1454 |
{
|
1455 |
printf(
|
1456 |
+
'<input type="text" name="seopress_social_option_name[seopress_social_knowledge_name]" placeholder="'.__('eg: Apple','wp-seopress').'" value="%s"/>',
|
1457 |
esc_html( $this->options['seopress_social_knowledge_name'])
|
1458 |
);
|
1459 |
|
1464 |
|
1465 |
$check = isset($options['seopress_social_knowledge_img']);
|
1466 |
|
1467 |
+
echo '<input id="seopress_social_knowledge_img_meta" type="text" value="'.$options['seopress_social_knowledge_img'].'" name="seopress_social_option_name[seopress_social_knowledge_img]" placeholder="'.__('Select your logo','wp-seopress').'" />
|
1468 |
|
1469 |
+
<input id="seopress_social_knowledge_img_upload" class="button" type="button" value="'.__('Upload an Image','wp-seopress').'" />';
|
1470 |
|
1471 |
if (isset($this->options['seopress_social_knowledge_img'])) {
|
1472 |
esc_attr( $this->options['seopress_social_knowledge_img']);
|
1476 |
public function seopress_social_accounts_facebook_callback()
|
1477 |
{
|
1478 |
printf(
|
1479 |
+
'<input type="text" name="seopress_social_option_name[seopress_social_accounts_facebook]" placeholder="'.__('eg: https://www.facebook.com/your-page','wp-seopress').'" value="%s"/>',
|
1480 |
esc_html( $this->options['seopress_social_accounts_facebook'])
|
1481 |
|
1482 |
);
|
1486 |
public function seopress_social_accounts_twitter_callback()
|
1487 |
{
|
1488 |
printf(
|
1489 |
+
'<input type="text" name="seopress_social_option_name[seopress_social_accounts_twitter]" placeholder="'.__('eg: @wpcloudy','wp-seopress').'" value="%s"/>',
|
1490 |
esc_html( $this->options['seopress_social_accounts_twitter'])
|
1491 |
|
1492 |
);
|
1496 |
public function seopress_social_accounts_google_callback()
|
1497 |
{
|
1498 |
printf(
|
1499 |
+
'<input type="text" name="seopress_social_option_name[seopress_social_accounts_google]" placeholder="'.__('eg: https://plus.google.com/+BenjaminDenis','wp-seopress').'" value="%s"/>',
|
1500 |
esc_html( $this->options['seopress_social_accounts_google'])
|
1501 |
|
1502 |
);
|
1506 |
public function seopress_social_accounts_pinterest_callback()
|
1507 |
{
|
1508 |
printf(
|
1509 |
+
'<input type="text" name="seopress_social_option_name[seopress_social_accounts_pinterest]" placeholder="'.__('eg: https://pinterest.com/wpbuy/','wp-seopress').'" value="%s"/>',
|
1510 |
esc_html( $this->options['seopress_social_accounts_pinterest'])
|
1511 |
|
1512 |
);
|
1516 |
public function seopress_social_accounts_instagram_callback()
|
1517 |
{
|
1518 |
printf(
|
1519 |
+
'<input type="text" name="seopress_social_option_name[seopress_social_accounts_instagram]" placeholder="'.__('eg: https://www.instagram.com/your-name/','wp-seopress').'" value="%s"/>',
|
1520 |
esc_html( $this->options['seopress_social_accounts_instagram'])
|
1521 |
|
1522 |
);
|
1526 |
public function seopress_social_accounts_youtube_callback()
|
1527 |
{
|
1528 |
printf(
|
1529 |
+
'<input type="text" name="seopress_social_option_name[seopress_social_accounts_youtube]" placeholder="'.__('eg: https://www.youtube.com/channel/UCpQzarWu55UzCIH7-OW6pwA','wp-seopress').'" value="%s"/>',
|
1530 |
esc_html( $this->options['seopress_social_accounts_youtube'])
|
1531 |
|
1532 |
);
|
1536 |
public function seopress_social_accounts_linkedin_callback()
|
1537 |
{
|
1538 |
printf(
|
1539 |
+
'<input type="text" name="seopress_social_option_name[seopress_social_accounts_linkedin]" placeholder="'.__('eg: https://www.linkedin.com/in/benjamin-denis-70672b3b','wp-seopress').'" value="%s"/>',
|
1540 |
esc_html( $this->options['seopress_social_accounts_linkedin'])
|
1541 |
|
1542 |
);
|
1546 |
public function seopress_social_accounts_myspace_callback()
|
1547 |
{
|
1548 |
printf(
|
1549 |
+
'<input type="text" name="seopress_social_option_name[seopress_social_accounts_myspace]" placeholder="'.__('eg: https://myspace.com/your-page','wp-seopress').'" value="%s"/>',
|
1550 |
esc_html( $this->options['seopress_social_accounts_myspace'])
|
1551 |
|
1552 |
);
|
1556 |
public function seopress_social_accounts_soundcloud_callback()
|
1557 |
{
|
1558 |
printf(
|
1559 |
+
'<input type="text" name="seopress_social_option_name[seopress_social_accounts_soundcloud]" placeholder="'.__('eg: https://soundcloud.com/michaelmccannmusic','wp-seopress').'" value="%s"/>',
|
1560 |
esc_html( $this->options['seopress_social_accounts_soundcloud'])
|
1561 |
|
1562 |
);
|
1566 |
public function seopress_social_accounts_tumblr_callback()
|
1567 |
{
|
1568 |
printf(
|
1569 |
+
'<input type="text" name="seopress_social_option_name[seopress_social_accounts_tumblr]" placeholder="'.__('eg: https://your-site.tumblr.com','wp-seopress').'" value="%s"/>',
|
1570 |
esc_html( $this->options['seopress_social_accounts_tumblr'])
|
1571 |
|
1572 |
);
|
1583 |
if ('1' == $check) echo 'checked="yes"';
|
1584 |
echo ' value="1"/>';
|
1585 |
|
1586 |
+
echo '<label for="seopress_social_facebook_og">'. __( 'Enable OG data', 'wp-seopress' ) .'</label>';
|
1587 |
|
1588 |
if (isset($this->options['seopress_social_facebook_og'])) {
|
1589 |
esc_attr( $this->options['seopress_social_facebook_og']);
|
1596 |
|
1597 |
$check = isset($options['seopress_social_facebook_img']);
|
1598 |
|
1599 |
+
echo '<input id="seopress_social_fb_img_meta" type="text" value="'.$options['seopress_social_facebook_img'].'" name="seopress_social_option_name[seopress_social_facebook_img]" placeholder="'.__('Select your default thumbnail','wp-seopress').'" />
|
1600 |
|
1601 |
+
<input id="seopress_social_fb_img_upload" class="button" type="button" value="'.__('Upload an Image','wp-seopress').'" />';
|
1602 |
|
1603 |
if (isset($this->options['seopress_social_facebook_img'])) {
|
1604 |
esc_attr( $this->options['seopress_social_facebook_img']);
|
1635 |
if ('1' == $check) echo 'checked="yes"';
|
1636 |
echo ' value="1"/>';
|
1637 |
|
1638 |
+
echo '<label for="seopress_social_twitter_card">'. __( 'Enable Twitter card', 'wp-seopress' ) .'</label>';
|
1639 |
|
1640 |
if (isset($this->options['seopress_social_twitter_card'])) {
|
1641 |
esc_attr( $this->options['seopress_social_twitter_card']);
|
1648 |
|
1649 |
$check = isset($options['seopress_social_twitter_card_img']);
|
1650 |
|
1651 |
+
echo '<input id="seopress_social_twitter_img_meta" type="text" value="'.$options['seopress_social_twitter_card_img'].'" name="seopress_social_option_name[seopress_social_twitter_card_img]" placeholder="'.__('Select your default thumbnail','wp-seopress').'" />
|
1652 |
|
1653 |
+
<input id="seopress_social_twitter_img_upload" class="button" type="button" value="'.__('Upload an Image','wp-seopress').'" />';
|
1654 |
|
1655 |
if (isset($this->options['seopress_social_twitter_card_img'])) {
|
1656 |
esc_attr( $this->options['seopress_social_twitter_card_img']);
|
1666 |
echo '<select id="seopress_social_twitter_card_img_size" name="seopress_social_option_name[seopress_social_twitter_card_img_size]">';
|
1667 |
echo ' <option ';
|
1668 |
if ('default' == $selected) echo 'selected="selected"';
|
1669 |
+
echo ' value="default">'. __("Default","wp-seopress") .'</option>';
|
1670 |
echo '<option ';
|
1671 |
if ('large' == $selected) echo 'selected="selected"';
|
1672 |
+
echo ' value="large">'. __("Large","wp-seopress") .'</option>';
|
1673 |
echo '</select>';
|
1674 |
|
1675 |
if (isset($this->options['seopress_social_twitter_card_img_size'])) {
|
inc/functions/sitemap/template-xml-sitemaps-single-term.php
CHANGED
@@ -1,8 +1,12 @@
|
|
1 |
<?php
|
2 |
defined( 'ABSPATH' ) or die( 'Please don’t call the plugin directly. Thanks :)' );
|
3 |
|
|
|
4 |
Header('Content-type: text/xml');
|
5 |
|
|
|
|
|
|
|
6 |
function seopress_xml_sitemap_single_term() {
|
7 |
$path = basename(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
|
8 |
$seopress_sitemaps = '<?xml version="1.0" encoding="UTF-8"?>';
|
1 |
<?php
|
2 |
defined( 'ABSPATH' ) or die( 'Please don’t call the plugin directly. Thanks :)' );
|
3 |
|
4 |
+
//XML
|
5 |
Header('Content-type: text/xml');
|
6 |
|
7 |
+
//Robots
|
8 |
+
Header("X-Robots-Tag: noindex", true);
|
9 |
+
|
10 |
function seopress_xml_sitemap_single_term() {
|
11 |
$path = basename(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
|
12 |
$seopress_sitemaps = '<?xml version="1.0" encoding="UTF-8"?>';
|
inc/functions/sitemap/template-xml-sitemaps-single.php
CHANGED
@@ -1,8 +1,12 @@
|
|
1 |
<?php
|
2 |
defined( 'ABSPATH' ) or die( 'Please don’t call the plugin directly. Thanks :)' );
|
3 |
|
|
|
4 |
Header('Content-type: text/xml');
|
5 |
|
|
|
|
|
|
|
6 |
function seopress_xml_sitemap_single() {
|
7 |
$path = basename(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
|
8 |
$seopress_sitemaps = '<?xml version="1.0" encoding="UTF-8"?>';
|
1 |
<?php
|
2 |
defined( 'ABSPATH' ) or die( 'Please don’t call the plugin directly. Thanks :)' );
|
3 |
|
4 |
+
//XML
|
5 |
Header('Content-type: text/xml');
|
6 |
|
7 |
+
//Robots
|
8 |
+
Header("X-Robots-Tag: noindex", true);
|
9 |
+
|
10 |
function seopress_xml_sitemap_single() {
|
11 |
$path = basename(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
|
12 |
$seopress_sitemaps = '<?xml version="1.0" encoding="UTF-8"?>';
|
languages/seopress-fr_FR.mo
DELETED
Binary file
|
languages/wp-seopress-fr_FR.mo
ADDED
Binary file
|
languages/{seopress-fr_FR.po → wp-seopress-fr_FR.po}
RENAMED
@@ -2,15 +2,15 @@ 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: 2016-08-
|
6 |
-
"PO-Revision-Date: 2016-08-
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: Benjamin DENIS <contact@seopress.org>\n"
|
9 |
"Language: fr_FR\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Generator: Poedit 1.8.
|
14 |
"X-Poedit-KeywordsList: __;_e;_x;esc_attr__\n"
|
15 |
"X-Poedit-Basepath: ..\n"
|
16 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
@@ -50,100 +50,104 @@ msgstr "Meta description"
|
|
50 |
msgid "Enter your meta description"
|
51 |
msgstr "Entrez votre méta description"
|
52 |
|
53 |
-
#: inc/admin/admin-metaboxes.php:
|
|
|
|
|
|
|
|
|
54 |
msgid "Google Snippet Preview"
|
55 |
msgstr "Google Snippet Preview"
|
56 |
|
57 |
-
#: inc/admin/admin-metaboxes.php:
|
58 |
msgid "This is what your page will look like in Google search results"
|
59 |
msgstr ""
|
60 |
"Voilà à quoi ressemblera votre page dans les résultats de recherche Google"
|
61 |
|
62 |
-
#: inc/admin/admin-metaboxes.php:
|
63 |
-
#: inc/admin/admin.php:
|
64 |
msgid "noindex"
|
65 |
msgstr "noindex"
|
66 |
|
67 |
-
#: inc/admin/admin-metaboxes.php:
|
68 |
-
#: inc/admin/admin.php:
|
69 |
msgid "nofollow"
|
70 |
msgstr "nofollow"
|
71 |
|
72 |
-
#: inc/admin/admin-metaboxes.php:
|
73 |
-
#: inc/admin/admin.php:
|
74 |
msgid "noodp"
|
75 |
msgstr "noodp"
|
76 |
|
77 |
-
#: inc/admin/admin-metaboxes.php:
|
78 |
-
#: inc/admin/admin.php:
|
79 |
msgid "noimageindex"
|
80 |
msgstr "noimageindex"
|
81 |
|
82 |
-
#: inc/admin/admin-metaboxes.php:
|
83 |
-
#: inc/admin/admin.php:
|
84 |
msgid "noarchive"
|
85 |
msgstr "noarchive"
|
86 |
|
87 |
-
#: inc/admin/admin-metaboxes.php:
|
88 |
-
#: inc/admin/admin.php:
|
89 |
msgid "nosnippet"
|
90 |
msgstr "nosnippet"
|
91 |
|
92 |
-
#: inc/admin/admin-metaboxes.php:
|
93 |
msgid "Canonical URL"
|
94 |
msgstr "URL Canonique"
|
95 |
|
96 |
-
#: inc/admin/admin-metaboxes.php:
|
97 |
msgid "Enter your Canonical URL"
|
98 |
msgstr "Entrez votre URL canonique"
|
99 |
|
100 |
-
#: inc/admin/admin-metaboxes.php:
|
101 |
msgid "Facebook Title"
|
102 |
msgstr "Titre Facebook"
|
103 |
|
104 |
-
#: inc/admin/admin-metaboxes.php:
|
105 |
msgid "Enter your Facebook title"
|
106 |
msgstr "Entrez votre titre Facebook"
|
107 |
|
108 |
-
#: inc/admin/admin-metaboxes.php:
|
109 |
msgid "Facebook description"
|
110 |
msgstr "Description Facebook"
|
111 |
|
112 |
-
#: inc/admin/admin-metaboxes.php:
|
113 |
msgid "Enter your Facebook description"
|
114 |
msgstr "Entrez votre description Facebook"
|
115 |
|
116 |
-
#: inc/admin/admin-metaboxes.php:
|
117 |
msgid "Facebook Thumbnail"
|
118 |
msgstr "Miniature Facebook"
|
119 |
|
120 |
-
#: inc/admin/admin-metaboxes.php:
|
121 |
-
#: inc/admin/admin.php:
|
122 |
msgid "Select your default thumbnail"
|
123 |
msgstr "Sélectionnez votre miniature par défaut"
|
124 |
|
125 |
-
#: inc/admin/admin-metaboxes.php:
|
126 |
-
#: inc/admin/admin.php:
|
127 |
msgid "Upload an Image"
|
128 |
msgstr "Uploadez une image"
|
129 |
|
130 |
-
#: inc/admin/admin-metaboxes.php:
|
131 |
msgid "Twitter Title"
|
132 |
msgstr "Titre Twitter"
|
133 |
|
134 |
-
#: inc/admin/admin-metaboxes.php:
|
135 |
msgid "Enter your Twitter title"
|
136 |
msgstr "Entrez votre titre Twitter"
|
137 |
|
138 |
-
#: inc/admin/admin-metaboxes.php:
|
139 |
msgid "Twitter description"
|
140 |
msgstr "Description Twitter"
|
141 |
|
142 |
-
#: inc/admin/admin-metaboxes.php:
|
143 |
msgid "Enter your Twitter description"
|
144 |
msgstr "Entrez votre description Twitter"
|
145 |
|
146 |
-
#: inc/admin/admin-metaboxes.php:
|
147 |
msgid "Twitter Thumbnail"
|
148 |
msgstr "Miniature Twitter"
|
149 |
|
@@ -326,7 +330,7 @@ msgstr "Importer / Exporter les paramètres d'un site à un autre"
|
|
326 |
msgid "Site title"
|
327 |
msgstr "Titre du site"
|
328 |
|
329 |
-
#: inc/admin/admin.php:598 inc/admin/admin.php:
|
330 |
msgid "Enable XML Sitemap"
|
331 |
msgstr "Activez le Sitemap XML"
|
332 |
|
@@ -418,32 +422,32 @@ msgstr "Image Twitter par défaut"
|
|
418 |
msgid "Image size for Twitter Summary card"
|
419 |
msgstr "Taille d'image pour Twitter Summary Card"
|
420 |
|
421 |
-
#: inc/admin/admin.php:
|
422 |
msgid "<p>Customize your titles & metas for homepage</p>"
|
423 |
msgstr "<p>Personnalisez vos titres et métas pour l'accueil</p>"
|
424 |
|
425 |
-
#: inc/admin/admin.php:
|
426 |
msgid "<p>Customize your titles & metas for Single Custom Post Types</p>"
|
427 |
msgstr ""
|
428 |
"<p>Personnalisez vos titres et métas pour les singles des Types d'article</p>"
|
429 |
|
430 |
-
#: inc/admin/admin.php:
|
431 |
msgid "<p>Customize your metas for all pages</p>"
|
432 |
msgstr "<p>Personnalisez vos métas pour toutes les pages</p>"
|
433 |
|
434 |
-
#: inc/admin/admin.php:
|
435 |
msgid "<p>Customize your metas for all taxonomies archives</p>"
|
436 |
msgstr "<p>Personnalisez vos métas pour toutes les archives de taxonomies</p>"
|
437 |
|
438 |
-
#: inc/admin/admin.php:
|
439 |
msgid "<p>Customize your metas for all archives</p>"
|
440 |
msgstr "<p>Personnalisez vos métas pour les archives</p>"
|
441 |
|
442 |
-
#: inc/admin/admin.php:
|
443 |
msgid "<p>Enable your Sitemap</p>"
|
444 |
msgstr "<p>Activez votre Sitemap</p>"
|
445 |
|
446 |
-
#: inc/admin/admin.php:
|
447 |
msgid ""
|
448 |
"To view your sitemap, enable permalinks (not default one), and save settings "
|
449 |
"to flush them."
|
@@ -451,95 +455,147 @@ msgstr ""
|
|
451 |
"Pour voir votre sitemap, activez les permaliens (pas ceux par défaut), et "
|
452 |
"sauvegardez les paramètres pour les mettre à jour."
|
453 |
|
454 |
-
#: inc/admin/admin.php:
|
455 |
msgid "View your sitemap"
|
456 |
msgstr "Voir votre sitemap"
|
457 |
|
458 |
-
#: inc/admin/admin.php:
|
459 |
msgid "<p>Include / Exclude Post Types</p>"
|
460 |
msgstr "<p>Inclure / Exclure les Types d'article</p>"
|
461 |
|
462 |
-
#: inc/admin/admin.php:
|
463 |
msgid "<p>Include / Exclude Taxonomies</p>"
|
464 |
msgstr "<p>Inclure / Exclure les Taxonomies</p>"
|
465 |
|
466 |
-
#: inc/admin/admin.php:
|
467 |
msgid "<p>Configure Google Knowledge Graph</p>"
|
468 |
msgstr "<p>Configurer Google Knowledge Graph</p>"
|
469 |
|
470 |
-
#: inc/admin/admin.php:
|
471 |
msgid "<p>Link your site with your social accounts</p>"
|
472 |
msgstr "<p>Lier votre site à vos comptes sociaux</p>"
|
473 |
|
474 |
-
#: inc/admin/admin.php:
|
475 |
msgid "<p>Manage Open Graph datas</p>"
|
476 |
msgstr "<p>Gérer l'Open Graph datas</p>"
|
477 |
|
478 |
-
#: inc/admin/admin.php:
|
479 |
msgid "<p>Manage your Twitter card</p>"
|
480 |
msgstr "<p>Gérer votre Twitter card</p>"
|
481 |
|
482 |
-
#: inc/admin/admin.php:
|
483 |
-
|
484 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
485 |
msgid "Title template"
|
486 |
msgstr "Template de Titre"
|
487 |
|
488 |
-
#: inc/admin/admin.php:
|
489 |
-
#: inc/admin/admin.php:
|
490 |
-
#: inc/admin/admin.php:
|
491 |
msgid "Meta description template"
|
492 |
msgstr "Template de Méta Description"
|
493 |
|
494 |
-
#: inc/admin/admin.php:
|
495 |
msgid "Author archives"
|
496 |
msgstr "Archives de l'auteur"
|
497 |
|
498 |
-
#: inc/admin/admin.php:
|
499 |
msgid "Date archives"
|
500 |
msgstr "Archives par date"
|
501 |
|
502 |
-
#: inc/admin/admin.php:
|
503 |
msgid "Search archives"
|
504 |
msgstr "Archives de recherche"
|
505 |
|
506 |
-
#: inc/admin/admin.php:
|
507 |
msgid "404 archives"
|
508 |
msgstr "Page 404"
|
509 |
|
510 |
-
#: inc/admin/admin.php:
|
511 |
msgid "Paged archives"
|
512 |
msgstr "Archives paginées"
|
513 |
|
514 |
-
#: inc/admin/admin.php:
|
515 |
msgid "Include"
|
516 |
msgstr "Inclure"
|
517 |
|
518 |
-
#: inc/admin/admin.php:
|
519 |
msgid "Person"
|
520 |
msgstr "Personne"
|
521 |
|
522 |
-
#: inc/admin/admin.php:
|
523 |
msgid "Organization"
|
524 |
msgstr "Organisation"
|
525 |
|
526 |
-
#: inc/admin/admin.php:
|
|
|
|
|
|
|
|
|
527 |
msgid "Select your logo"
|
528 |
msgstr "Sélectionnez votre logo"
|
529 |
|
530 |
-
#: inc/admin/admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
531 |
msgid "Enable OG data"
|
532 |
msgstr "Activer les données OG"
|
533 |
|
534 |
-
#: inc/admin/admin.php:
|
535 |
msgid "Enable Twitter card"
|
536 |
msgstr "Activer Twitter Card"
|
537 |
|
538 |
-
#: inc/admin/admin.php:
|
539 |
msgid "Default"
|
540 |
msgstr "Défaut"
|
541 |
|
542 |
-
#: inc/admin/admin.php:
|
543 |
msgid "Large"
|
544 |
msgstr "Grande"
|
545 |
|
@@ -551,7 +607,7 @@ msgstr "Veuillez uploader un fichier JSON valide"
|
|
551 |
msgid "Please upload a file to import"
|
552 |
msgstr "Uploader un fichier à importer SVP"
|
553 |
|
554 |
-
#: seopress.php:
|
555 |
msgid "Settings"
|
556 |
msgstr "Paramètres"
|
557 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: SEOPress\n"
|
4 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-cloudy\n"
|
5 |
+
"POT-Creation-Date: 2016-08-24 20:00+0200\n"
|
6 |
+
"PO-Revision-Date: 2016-08-24 20:02+0200\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: Benjamin DENIS <contact@seopress.org>\n"
|
9 |
"Language: fr_FR\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Generator: Poedit 1.8.2\n"
|
14 |
"X-Poedit-KeywordsList: __;_e;_x;esc_attr__\n"
|
15 |
"X-Poedit-Basepath: ..\n"
|
16 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
50 |
msgid "Enter your meta description"
|
51 |
msgstr "Entrez votre méta description"
|
52 |
|
53 |
+
#: inc/admin/admin-metaboxes.php:67
|
54 |
+
msgid "(maximum recommended limit)"
|
55 |
+
msgstr "(limite maximale recommandée)"
|
56 |
+
|
57 |
+
#: inc/admin/admin-metaboxes.php:72
|
58 |
msgid "Google Snippet Preview"
|
59 |
msgstr "Google Snippet Preview"
|
60 |
|
61 |
+
#: inc/admin/admin-metaboxes.php:73
|
62 |
msgid "This is what your page will look like in Google search results"
|
63 |
msgstr ""
|
64 |
"Voilà à quoi ressemblera votre page dans les résultats de recherche Google"
|
65 |
|
66 |
+
#: inc/admin/admin-metaboxes.php:84 inc/admin/admin.php:541
|
67 |
+
#: inc/admin/admin.php:988 inc/admin/admin.php:1061 inc/admin/admin.php:1242
|
68 |
msgid "noindex"
|
69 |
msgstr "noindex"
|
70 |
|
71 |
+
#: inc/admin/admin-metaboxes.php:90 inc/admin/admin.php:549
|
72 |
+
#: inc/admin/admin.php:1007 inc/admin/admin.php:1080 inc/admin/admin.php:1259
|
73 |
msgid "nofollow"
|
74 |
msgstr "nofollow"
|
75 |
|
76 |
+
#: inc/admin/admin-metaboxes.php:96 inc/admin/admin.php:557
|
77 |
+
#: inc/admin/admin.php:1276
|
78 |
msgid "noodp"
|
79 |
msgstr "noodp"
|
80 |
|
81 |
+
#: inc/admin/admin-metaboxes.php:102 inc/admin/admin.php:565
|
82 |
+
#: inc/admin/admin.php:1293
|
83 |
msgid "noimageindex"
|
84 |
msgstr "noimageindex"
|
85 |
|
86 |
+
#: inc/admin/admin-metaboxes.php:108 inc/admin/admin.php:573
|
87 |
+
#: inc/admin/admin.php:1310
|
88 |
msgid "noarchive"
|
89 |
msgstr "noarchive"
|
90 |
|
91 |
+
#: inc/admin/admin-metaboxes.php:114 inc/admin/admin.php:581
|
92 |
+
#: inc/admin/admin.php:1327
|
93 |
msgid "nosnippet"
|
94 |
msgstr "nosnippet"
|
95 |
|
96 |
+
#: inc/admin/admin-metaboxes.php:118
|
97 |
msgid "Canonical URL"
|
98 |
msgstr "URL Canonique"
|
99 |
|
100 |
+
#: inc/admin/admin-metaboxes.php:119
|
101 |
msgid "Enter your Canonical URL"
|
102 |
msgstr "Entrez votre URL canonique"
|
103 |
|
104 |
+
#: inc/admin/admin-metaboxes.php:125
|
105 |
msgid "Facebook Title"
|
106 |
msgstr "Titre Facebook"
|
107 |
|
108 |
+
#: inc/admin/admin-metaboxes.php:126
|
109 |
msgid "Enter your Facebook title"
|
110 |
msgstr "Entrez votre titre Facebook"
|
111 |
|
112 |
+
#: inc/admin/admin-metaboxes.php:129
|
113 |
msgid "Facebook description"
|
114 |
msgstr "Description Facebook"
|
115 |
|
116 |
+
#: inc/admin/admin-metaboxes.php:130
|
117 |
msgid "Enter your Facebook description"
|
118 |
msgstr "Entrez votre description Facebook"
|
119 |
|
120 |
+
#: inc/admin/admin-metaboxes.php:133
|
121 |
msgid "Facebook Thumbnail"
|
122 |
msgstr "Miniature Facebook"
|
123 |
|
124 |
+
#: inc/admin/admin-metaboxes.php:134 inc/admin/admin-metaboxes.php:149
|
125 |
+
#: inc/admin/admin.php:1599 inc/admin/admin.php:1651
|
126 |
msgid "Select your default thumbnail"
|
127 |
msgstr "Sélectionnez votre miniature par défaut"
|
128 |
|
129 |
+
#: inc/admin/admin-metaboxes.php:135 inc/admin/admin-metaboxes.php:150
|
130 |
+
#: inc/admin/admin.php:1469 inc/admin/admin.php:1601 inc/admin/admin.php:1653
|
131 |
msgid "Upload an Image"
|
132 |
msgstr "Uploadez une image"
|
133 |
|
134 |
+
#: inc/admin/admin-metaboxes.php:140
|
135 |
msgid "Twitter Title"
|
136 |
msgstr "Titre Twitter"
|
137 |
|
138 |
+
#: inc/admin/admin-metaboxes.php:141
|
139 |
msgid "Enter your Twitter title"
|
140 |
msgstr "Entrez votre titre Twitter"
|
141 |
|
142 |
+
#: inc/admin/admin-metaboxes.php:144
|
143 |
msgid "Twitter description"
|
144 |
msgstr "Description Twitter"
|
145 |
|
146 |
+
#: inc/admin/admin-metaboxes.php:145
|
147 |
msgid "Enter your Twitter description"
|
148 |
msgstr "Entrez votre description Twitter"
|
149 |
|
150 |
+
#: inc/admin/admin-metaboxes.php:148
|
151 |
msgid "Twitter Thumbnail"
|
152 |
msgstr "Miniature Twitter"
|
153 |
|
330 |
msgid "Site title"
|
331 |
msgstr "Titre du site"
|
332 |
|
333 |
+
#: inc/admin/admin.php:598 inc/admin/admin.php:1344
|
334 |
msgid "Enable XML Sitemap"
|
335 |
msgstr "Activez le Sitemap XML"
|
336 |
|
422 |
msgid "Image size for Twitter Summary card"
|
423 |
msgstr "Taille d'image pour Twitter Summary Card"
|
424 |
|
425 |
+
#: inc/admin/admin.php:857
|
426 |
msgid "<p>Customize your titles & metas for homepage</p>"
|
427 |
msgstr "<p>Personnalisez vos titres et métas pour l'accueil</p>"
|
428 |
|
429 |
+
#: inc/admin/admin.php:862
|
430 |
msgid "<p>Customize your titles & metas for Single Custom Post Types</p>"
|
431 |
msgstr ""
|
432 |
"<p>Personnalisez vos titres et métas pour les singles des Types d'article</p>"
|
433 |
|
434 |
+
#: inc/admin/admin.php:867
|
435 |
msgid "<p>Customize your metas for all pages</p>"
|
436 |
msgstr "<p>Personnalisez vos métas pour toutes les pages</p>"
|
437 |
|
438 |
+
#: inc/admin/admin.php:872
|
439 |
msgid "<p>Customize your metas for all taxonomies archives</p>"
|
440 |
msgstr "<p>Personnalisez vos métas pour toutes les archives de taxonomies</p>"
|
441 |
|
442 |
+
#: inc/admin/admin.php:877
|
443 |
msgid "<p>Customize your metas for all archives</p>"
|
444 |
msgstr "<p>Personnalisez vos métas pour les archives</p>"
|
445 |
|
446 |
+
#: inc/admin/admin.php:882
|
447 |
msgid "<p>Enable your Sitemap</p>"
|
448 |
msgstr "<p>Activez votre Sitemap</p>"
|
449 |
|
450 |
+
#: inc/admin/admin.php:883
|
451 |
msgid ""
|
452 |
"To view your sitemap, enable permalinks (not default one), and save settings "
|
453 |
"to flush them."
|
455 |
"Pour voir votre sitemap, activez les permaliens (pas ceux par défaut), et "
|
456 |
"sauvegardez les paramètres pour les mettre à jour."
|
457 |
|
458 |
+
#: inc/admin/admin.php:886
|
459 |
msgid "View your sitemap"
|
460 |
msgstr "Voir votre sitemap"
|
461 |
|
462 |
+
#: inc/admin/admin.php:891
|
463 |
msgid "<p>Include / Exclude Post Types</p>"
|
464 |
msgstr "<p>Inclure / Exclure les Types d'article</p>"
|
465 |
|
466 |
+
#: inc/admin/admin.php:896
|
467 |
msgid "<p>Include / Exclude Taxonomies</p>"
|
468 |
msgstr "<p>Inclure / Exclure les Taxonomies</p>"
|
469 |
|
470 |
+
#: inc/admin/admin.php:901
|
471 |
msgid "<p>Configure Google Knowledge Graph</p>"
|
472 |
msgstr "<p>Configurer Google Knowledge Graph</p>"
|
473 |
|
474 |
+
#: inc/admin/admin.php:906
|
475 |
msgid "<p>Link your site with your social accounts</p>"
|
476 |
msgstr "<p>Lier votre site à vos comptes sociaux</p>"
|
477 |
|
478 |
+
#: inc/admin/admin.php:911
|
479 |
msgid "<p>Manage Open Graph datas</p>"
|
480 |
msgstr "<p>Gérer l'Open Graph datas</p>"
|
481 |
|
482 |
+
#: inc/admin/admin.php:916
|
483 |
msgid "<p>Manage your Twitter card</p>"
|
484 |
msgstr "<p>Gérer votre Twitter card</p>"
|
485 |
|
486 |
+
#: inc/admin/admin.php:927
|
487 |
+
msgid "My awesome website"
|
488 |
+
msgstr "Mon super site"
|
489 |
+
|
490 |
+
#: inc/admin/admin.php:937
|
491 |
+
msgid "This is cool website about Wookiees"
|
492 |
+
msgstr "Un site cool sur les Wookies"
|
493 |
+
|
494 |
+
#: inc/admin/admin.php:954 inc/admin/admin.php:1027 inc/admin/admin.php:1095
|
495 |
+
#: inc/admin/admin.php:1123 inc/admin/admin.php:1151 inc/admin/admin.php:1179
|
496 |
+
#: inc/admin/admin.php:1207
|
497 |
msgid "Title template"
|
498 |
msgstr "Template de Titre"
|
499 |
|
500 |
+
#: inc/admin/admin.php:967 inc/admin/admin.php:1040 inc/admin/admin.php:1108
|
501 |
+
#: inc/admin/admin.php:1136 inc/admin/admin.php:1164 inc/admin/admin.php:1192
|
502 |
+
#: inc/admin/admin.php:1220
|
503 |
msgid "Meta description template"
|
504 |
msgstr "Template de Méta Description"
|
505 |
|
506 |
+
#: inc/admin/admin.php:1093
|
507 |
msgid "Author archives"
|
508 |
msgstr "Archives de l'auteur"
|
509 |
|
510 |
+
#: inc/admin/admin.php:1121
|
511 |
msgid "Date archives"
|
512 |
msgstr "Archives par date"
|
513 |
|
514 |
+
#: inc/admin/admin.php:1149
|
515 |
msgid "Search archives"
|
516 |
msgstr "Archives de recherche"
|
517 |
|
518 |
+
#: inc/admin/admin.php:1177
|
519 |
msgid "404 archives"
|
520 |
msgstr "Page 404"
|
521 |
|
522 |
+
#: inc/admin/admin.php:1205
|
523 |
msgid "Paged archives"
|
524 |
msgstr "Archives paginées"
|
525 |
|
526 |
+
#: inc/admin/admin.php:1383 inc/admin/admin.php:1423
|
527 |
msgid "Include"
|
528 |
msgstr "Inclure"
|
529 |
|
530 |
+
#: inc/admin/admin.php:1442
|
531 |
msgid "Person"
|
532 |
msgstr "Personne"
|
533 |
|
534 |
+
#: inc/admin/admin.php:1445
|
535 |
msgid "Organization"
|
536 |
msgstr "Organisation"
|
537 |
|
538 |
+
#: inc/admin/admin.php:1456
|
539 |
+
msgid "eg: Apple"
|
540 |
+
msgstr "ex: Apple"
|
541 |
+
|
542 |
+
#: inc/admin/admin.php:1467
|
543 |
msgid "Select your logo"
|
544 |
msgstr "Sélectionnez votre logo"
|
545 |
|
546 |
+
#: inc/admin/admin.php:1479
|
547 |
+
msgid "eg: https://www.facebook.com/your-page"
|
548 |
+
msgstr "ex: https://www.facebook.com/your-page"
|
549 |
+
|
550 |
+
#: inc/admin/admin.php:1489
|
551 |
+
msgid "eg: @wpcloudy"
|
552 |
+
msgstr "ex: @wpcloudy"
|
553 |
+
|
554 |
+
#: inc/admin/admin.php:1499
|
555 |
+
msgid "eg: https://plus.google.com/+BenjaminDenis"
|
556 |
+
msgstr "ex: https://plus.google.com/+BenjaminDenis"
|
557 |
+
|
558 |
+
#: inc/admin/admin.php:1509
|
559 |
+
msgid "eg: https://pinterest.com/wpbuy/"
|
560 |
+
msgstr "ex: https://pinterest.com/wpbuy/"
|
561 |
+
|
562 |
+
#: inc/admin/admin.php:1519
|
563 |
+
msgid "eg: https://www.instagram.com/your-name/"
|
564 |
+
msgstr "ex: https://www.instagram.com/your-name/"
|
565 |
+
|
566 |
+
#: inc/admin/admin.php:1529
|
567 |
+
msgid "eg: https://www.youtube.com/channel/UCpQzarWu55UzCIH7-OW6pwA"
|
568 |
+
msgstr "ex: https://www.youtube.com/channel/UCpQzarWu55UzCIH7-OW6pwA"
|
569 |
+
|
570 |
+
#: inc/admin/admin.php:1539
|
571 |
+
msgid "eg: https://www.linkedin.com/in/benjamin-denis-70672b3b"
|
572 |
+
msgstr "ex: https://www.linkedin.com/in/benjamin-denis-70672b3b"
|
573 |
+
|
574 |
+
#: inc/admin/admin.php:1549
|
575 |
+
msgid "eg: https://myspace.com/your-page"
|
576 |
+
msgstr "ex: https://myspace.com/your-page"
|
577 |
+
|
578 |
+
#: inc/admin/admin.php:1559
|
579 |
+
msgid "eg: https://soundcloud.com/michaelmccannmusic"
|
580 |
+
msgstr "ex: https://soundcloud.com/michaelmccannmusic"
|
581 |
+
|
582 |
+
#: inc/admin/admin.php:1569
|
583 |
+
msgid "eg: https://your-site.tumblr.com"
|
584 |
+
msgstr "ex: https://your-site.tumblr.com"
|
585 |
+
|
586 |
+
#: inc/admin/admin.php:1586
|
587 |
msgid "Enable OG data"
|
588 |
msgstr "Activer les données OG"
|
589 |
|
590 |
+
#: inc/admin/admin.php:1638
|
591 |
msgid "Enable Twitter card"
|
592 |
msgstr "Activer Twitter Card"
|
593 |
|
594 |
+
#: inc/admin/admin.php:1669
|
595 |
msgid "Default"
|
596 |
msgstr "Défaut"
|
597 |
|
598 |
+
#: inc/admin/admin.php:1672
|
599 |
msgid "Large"
|
600 |
msgstr "Grande"
|
601 |
|
607 |
msgid "Please upload a file to import"
|
608 |
msgstr "Uploader un fichier à importer SVP"
|
609 |
|
610 |
+
#: seopress.php:130
|
611 |
msgid "Settings"
|
612 |
msgstr "Paramètres"
|
613 |
|
languages/{seopress.mo → wp-seopress.mo}
RENAMED
Binary file
|
languages/{seopress.po → wp-seopress.po}
RENAMED
@@ -2,15 +2,15 @@ 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: 2016-08-
|
6 |
-
"PO-Revision-Date: 2016-08-
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: Benjamin DENIS <contact@seopress.org>\n"
|
9 |
"Language: en\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Generator: Poedit 1.8.
|
14 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
15 |
"X-Poedit-Basepath: ..\n"
|
16 |
"X-Poedit-SearchPath-0: .\n"
|
@@ -48,99 +48,103 @@ msgstr ""
|
|
48 |
msgid "Enter your meta description"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: inc/admin/admin-metaboxes.php:
|
|
|
|
|
|
|
|
|
52 |
msgid "Google Snippet Preview"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: inc/admin/admin-metaboxes.php:
|
56 |
msgid "This is what your page will look like in Google search results"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: inc/admin/admin-metaboxes.php:
|
60 |
-
#: inc/admin/admin.php:
|
61 |
msgid "noindex"
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: inc/admin/admin-metaboxes.php:
|
65 |
-
#: inc/admin/admin.php:
|
66 |
msgid "nofollow"
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: inc/admin/admin-metaboxes.php:
|
70 |
-
#: inc/admin/admin.php:
|
71 |
msgid "noodp"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: inc/admin/admin-metaboxes.php:
|
75 |
-
#: inc/admin/admin.php:
|
76 |
msgid "noimageindex"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: inc/admin/admin-metaboxes.php:
|
80 |
-
#: inc/admin/admin.php:
|
81 |
msgid "noarchive"
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: inc/admin/admin-metaboxes.php:
|
85 |
-
#: inc/admin/admin.php:
|
86 |
msgid "nosnippet"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: inc/admin/admin-metaboxes.php:
|
90 |
msgid "Canonical URL"
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: inc/admin/admin-metaboxes.php:
|
94 |
msgid "Enter your Canonical URL"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: inc/admin/admin-metaboxes.php:
|
98 |
msgid "Facebook Title"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: inc/admin/admin-metaboxes.php:
|
102 |
msgid "Enter your Facebook title"
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: inc/admin/admin-metaboxes.php:
|
106 |
msgid "Facebook description"
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: inc/admin/admin-metaboxes.php:
|
110 |
msgid "Enter your Facebook description"
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: inc/admin/admin-metaboxes.php:
|
114 |
msgid "Facebook Thumbnail"
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: inc/admin/admin-metaboxes.php:
|
118 |
-
#: inc/admin/admin.php:
|
119 |
msgid "Select your default thumbnail"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: inc/admin/admin-metaboxes.php:
|
123 |
-
#: inc/admin/admin.php:
|
124 |
msgid "Upload an Image"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: inc/admin/admin-metaboxes.php:
|
128 |
msgid "Twitter Title"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: inc/admin/admin-metaboxes.php:
|
132 |
msgid "Enter your Twitter title"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: inc/admin/admin-metaboxes.php:
|
136 |
msgid "Twitter description"
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: inc/admin/admin-metaboxes.php:
|
140 |
msgid "Enter your Twitter description"
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: inc/admin/admin-metaboxes.php:
|
144 |
msgid "Twitter Thumbnail"
|
145 |
msgstr ""
|
146 |
|
@@ -313,7 +317,7 @@ msgstr ""
|
|
313 |
msgid "Site title"
|
314 |
msgstr ""
|
315 |
|
316 |
-
#: inc/admin/admin.php:598 inc/admin/admin.php:
|
317 |
msgid "Enable XML Sitemap"
|
318 |
msgstr ""
|
319 |
|
@@ -405,125 +409,177 @@ msgstr ""
|
|
405 |
msgid "Image size for Twitter Summary card"
|
406 |
msgstr ""
|
407 |
|
408 |
-
#: inc/admin/admin.php:
|
409 |
msgid "<p>Customize your titles & metas for homepage</p>"
|
410 |
msgstr ""
|
411 |
|
412 |
-
#: inc/admin/admin.php:
|
413 |
msgid "<p>Customize your titles & metas for Single Custom Post Types</p>"
|
414 |
msgstr ""
|
415 |
|
416 |
-
#: inc/admin/admin.php:
|
417 |
msgid "<p>Customize your metas for all pages</p>"
|
418 |
msgstr ""
|
419 |
|
420 |
-
#: inc/admin/admin.php:
|
421 |
msgid "<p>Customize your metas for all taxonomies archives</p>"
|
422 |
msgstr ""
|
423 |
|
424 |
-
#: inc/admin/admin.php:
|
425 |
msgid "<p>Customize your metas for all archives</p>"
|
426 |
msgstr ""
|
427 |
|
428 |
-
#: inc/admin/admin.php:
|
429 |
msgid "<p>Enable your Sitemap</p>"
|
430 |
msgstr ""
|
431 |
|
432 |
-
#: inc/admin/admin.php:
|
433 |
msgid ""
|
434 |
"To view your sitemap, enable permalinks (not default one), and save settings "
|
435 |
"to flush them."
|
436 |
msgstr ""
|
437 |
|
438 |
-
#: inc/admin/admin.php:
|
439 |
msgid "View your sitemap"
|
440 |
msgstr ""
|
441 |
|
442 |
-
#: inc/admin/admin.php:
|
443 |
msgid "<p>Include / Exclude Post Types</p>"
|
444 |
msgstr ""
|
445 |
|
446 |
-
#: inc/admin/admin.php:
|
447 |
msgid "<p>Include / Exclude Taxonomies</p>"
|
448 |
msgstr ""
|
449 |
|
450 |
-
#: inc/admin/admin.php:
|
451 |
msgid "<p>Configure Google Knowledge Graph</p>"
|
452 |
msgstr ""
|
453 |
|
454 |
-
#: inc/admin/admin.php:
|
455 |
msgid "<p>Link your site with your social accounts</p>"
|
456 |
msgstr ""
|
457 |
|
458 |
-
#: inc/admin/admin.php:
|
459 |
msgid "<p>Manage Open Graph datas</p>"
|
460 |
msgstr ""
|
461 |
|
462 |
-
#: inc/admin/admin.php:
|
463 |
msgid "<p>Manage your Twitter card</p>"
|
464 |
msgstr ""
|
465 |
|
466 |
-
#: inc/admin/admin.php:
|
467 |
-
|
468 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
469 |
msgid "Title template"
|
470 |
msgstr ""
|
471 |
|
472 |
-
#: inc/admin/admin.php:
|
473 |
-
#: inc/admin/admin.php:
|
474 |
-
#: inc/admin/admin.php:
|
475 |
msgid "Meta description template"
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: inc/admin/admin.php:
|
479 |
msgid "Author archives"
|
480 |
msgstr ""
|
481 |
|
482 |
-
#: inc/admin/admin.php:
|
483 |
msgid "Date archives"
|
484 |
msgstr ""
|
485 |
|
486 |
-
#: inc/admin/admin.php:
|
487 |
msgid "Search archives"
|
488 |
msgstr ""
|
489 |
|
490 |
-
#: inc/admin/admin.php:
|
491 |
msgid "404 archives"
|
492 |
msgstr ""
|
493 |
|
494 |
-
#: inc/admin/admin.php:
|
495 |
msgid "Paged archives"
|
496 |
msgstr ""
|
497 |
|
498 |
-
#: inc/admin/admin.php:
|
499 |
msgid "Include"
|
500 |
msgstr ""
|
501 |
|
502 |
-
#: inc/admin/admin.php:
|
503 |
msgid "Person"
|
504 |
msgstr ""
|
505 |
|
506 |
-
#: inc/admin/admin.php:
|
507 |
msgid "Organization"
|
508 |
msgstr ""
|
509 |
|
510 |
-
#: inc/admin/admin.php:
|
|
|
|
|
|
|
|
|
511 |
msgid "Select your logo"
|
512 |
msgstr ""
|
513 |
|
514 |
-
#: inc/admin/admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
515 |
msgid "Enable OG data"
|
516 |
msgstr ""
|
517 |
|
518 |
-
#: inc/admin/admin.php:
|
519 |
msgid "Enable Twitter card"
|
520 |
msgstr ""
|
521 |
|
522 |
-
#: inc/admin/admin.php:
|
523 |
msgid "Default"
|
524 |
msgstr ""
|
525 |
|
526 |
-
#: inc/admin/admin.php:
|
527 |
msgid "Large"
|
528 |
msgstr ""
|
529 |
|
@@ -535,6 +591,6 @@ msgstr ""
|
|
535 |
msgid "Please upload a file to import"
|
536 |
msgstr ""
|
537 |
|
538 |
-
#: seopress.php:
|
539 |
msgid "Settings"
|
540 |
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: 2016-08-24 20:00+0200\n"
|
6 |
+
"PO-Revision-Date: 2016-08-24 20:00+0200\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: Benjamin DENIS <contact@seopress.org>\n"
|
9 |
"Language: en\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Generator: Poedit 1.8.2\n"
|
14 |
"X-Poedit-KeywordsList: __;_e;_x\n"
|
15 |
"X-Poedit-Basepath: ..\n"
|
16 |
"X-Poedit-SearchPath-0: .\n"
|
48 |
msgid "Enter your meta description"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: inc/admin/admin-metaboxes.php:67
|
52 |
+
msgid "(maximum recommended limit)"
|
53 |
+
msgstr ""
|
54 |
+
|
55 |
+
#: inc/admin/admin-metaboxes.php:72
|
56 |
msgid "Google Snippet Preview"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: inc/admin/admin-metaboxes.php:73
|
60 |
msgid "This is what your page will look like in Google search results"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: inc/admin/admin-metaboxes.php:84 inc/admin/admin.php:541
|
64 |
+
#: inc/admin/admin.php:988 inc/admin/admin.php:1061 inc/admin/admin.php:1242
|
65 |
msgid "noindex"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: inc/admin/admin-metaboxes.php:90 inc/admin/admin.php:549
|
69 |
+
#: inc/admin/admin.php:1007 inc/admin/admin.php:1080 inc/admin/admin.php:1259
|
70 |
msgid "nofollow"
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: inc/admin/admin-metaboxes.php:96 inc/admin/admin.php:557
|
74 |
+
#: inc/admin/admin.php:1276
|
75 |
msgid "noodp"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: inc/admin/admin-metaboxes.php:102 inc/admin/admin.php:565
|
79 |
+
#: inc/admin/admin.php:1293
|
80 |
msgid "noimageindex"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: inc/admin/admin-metaboxes.php:108 inc/admin/admin.php:573
|
84 |
+
#: inc/admin/admin.php:1310
|
85 |
msgid "noarchive"
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: inc/admin/admin-metaboxes.php:114 inc/admin/admin.php:581
|
89 |
+
#: inc/admin/admin.php:1327
|
90 |
msgid "nosnippet"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: inc/admin/admin-metaboxes.php:118
|
94 |
msgid "Canonical URL"
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: inc/admin/admin-metaboxes.php:119
|
98 |
msgid "Enter your Canonical URL"
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: inc/admin/admin-metaboxes.php:125
|
102 |
msgid "Facebook Title"
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: inc/admin/admin-metaboxes.php:126
|
106 |
msgid "Enter your Facebook title"
|
107 |
msgstr ""
|
108 |
|
109 |
+
#: inc/admin/admin-metaboxes.php:129
|
110 |
msgid "Facebook description"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: inc/admin/admin-metaboxes.php:130
|
114 |
msgid "Enter your Facebook description"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: inc/admin/admin-metaboxes.php:133
|
118 |
msgid "Facebook Thumbnail"
|
119 |
msgstr ""
|
120 |
|
121 |
+
#: inc/admin/admin-metaboxes.php:134 inc/admin/admin-metaboxes.php:149
|
122 |
+
#: inc/admin/admin.php:1599 inc/admin/admin.php:1651
|
123 |
msgid "Select your default thumbnail"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: inc/admin/admin-metaboxes.php:135 inc/admin/admin-metaboxes.php:150
|
127 |
+
#: inc/admin/admin.php:1469 inc/admin/admin.php:1601 inc/admin/admin.php:1653
|
128 |
msgid "Upload an Image"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: inc/admin/admin-metaboxes.php:140
|
132 |
msgid "Twitter Title"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: inc/admin/admin-metaboxes.php:141
|
136 |
msgid "Enter your Twitter title"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: inc/admin/admin-metaboxes.php:144
|
140 |
msgid "Twitter description"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: inc/admin/admin-metaboxes.php:145
|
144 |
msgid "Enter your Twitter description"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: inc/admin/admin-metaboxes.php:148
|
148 |
msgid "Twitter Thumbnail"
|
149 |
msgstr ""
|
150 |
|
317 |
msgid "Site title"
|
318 |
msgstr ""
|
319 |
|
320 |
+
#: inc/admin/admin.php:598 inc/admin/admin.php:1344
|
321 |
msgid "Enable XML Sitemap"
|
322 |
msgstr ""
|
323 |
|
409 |
msgid "Image size for Twitter Summary card"
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: inc/admin/admin.php:857
|
413 |
msgid "<p>Customize your titles & metas for homepage</p>"
|
414 |
msgstr ""
|
415 |
|
416 |
+
#: inc/admin/admin.php:862
|
417 |
msgid "<p>Customize your titles & metas for Single Custom Post Types</p>"
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: inc/admin/admin.php:867
|
421 |
msgid "<p>Customize your metas for all pages</p>"
|
422 |
msgstr ""
|
423 |
|
424 |
+
#: inc/admin/admin.php:872
|
425 |
msgid "<p>Customize your metas for all taxonomies archives</p>"
|
426 |
msgstr ""
|
427 |
|
428 |
+
#: inc/admin/admin.php:877
|
429 |
msgid "<p>Customize your metas for all archives</p>"
|
430 |
msgstr ""
|
431 |
|
432 |
+
#: inc/admin/admin.php:882
|
433 |
msgid "<p>Enable your Sitemap</p>"
|
434 |
msgstr ""
|
435 |
|
436 |
+
#: inc/admin/admin.php:883
|
437 |
msgid ""
|
438 |
"To view your sitemap, enable permalinks (not default one), and save settings "
|
439 |
"to flush them."
|
440 |
msgstr ""
|
441 |
|
442 |
+
#: inc/admin/admin.php:886
|
443 |
msgid "View your sitemap"
|
444 |
msgstr ""
|
445 |
|
446 |
+
#: inc/admin/admin.php:891
|
447 |
msgid "<p>Include / Exclude Post Types</p>"
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: inc/admin/admin.php:896
|
451 |
msgid "<p>Include / Exclude Taxonomies</p>"
|
452 |
msgstr ""
|
453 |
|
454 |
+
#: inc/admin/admin.php:901
|
455 |
msgid "<p>Configure Google Knowledge Graph</p>"
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: inc/admin/admin.php:906
|
459 |
msgid "<p>Link your site with your social accounts</p>"
|
460 |
msgstr ""
|
461 |
|
462 |
+
#: inc/admin/admin.php:911
|
463 |
msgid "<p>Manage Open Graph datas</p>"
|
464 |
msgstr ""
|
465 |
|
466 |
+
#: inc/admin/admin.php:916
|
467 |
msgid "<p>Manage your Twitter card</p>"
|
468 |
msgstr ""
|
469 |
|
470 |
+
#: inc/admin/admin.php:927
|
471 |
+
msgid "My awesome website"
|
472 |
+
msgstr ""
|
473 |
+
|
474 |
+
#: inc/admin/admin.php:937
|
475 |
+
msgid "This is cool website about Wookiees"
|
476 |
+
msgstr ""
|
477 |
+
|
478 |
+
#: inc/admin/admin.php:954 inc/admin/admin.php:1027 inc/admin/admin.php:1095
|
479 |
+
#: inc/admin/admin.php:1123 inc/admin/admin.php:1151 inc/admin/admin.php:1179
|
480 |
+
#: inc/admin/admin.php:1207
|
481 |
msgid "Title template"
|
482 |
msgstr ""
|
483 |
|
484 |
+
#: inc/admin/admin.php:967 inc/admin/admin.php:1040 inc/admin/admin.php:1108
|
485 |
+
#: inc/admin/admin.php:1136 inc/admin/admin.php:1164 inc/admin/admin.php:1192
|
486 |
+
#: inc/admin/admin.php:1220
|
487 |
msgid "Meta description template"
|
488 |
msgstr ""
|
489 |
|
490 |
+
#: inc/admin/admin.php:1093
|
491 |
msgid "Author archives"
|
492 |
msgstr ""
|
493 |
|
494 |
+
#: inc/admin/admin.php:1121
|
495 |
msgid "Date archives"
|
496 |
msgstr ""
|
497 |
|
498 |
+
#: inc/admin/admin.php:1149
|
499 |
msgid "Search archives"
|
500 |
msgstr ""
|
501 |
|
502 |
+
#: inc/admin/admin.php:1177
|
503 |
msgid "404 archives"
|
504 |
msgstr ""
|
505 |
|
506 |
+
#: inc/admin/admin.php:1205
|
507 |
msgid "Paged archives"
|
508 |
msgstr ""
|
509 |
|
510 |
+
#: inc/admin/admin.php:1383 inc/admin/admin.php:1423
|
511 |
msgid "Include"
|
512 |
msgstr ""
|
513 |
|
514 |
+
#: inc/admin/admin.php:1442
|
515 |
msgid "Person"
|
516 |
msgstr ""
|
517 |
|
518 |
+
#: inc/admin/admin.php:1445
|
519 |
msgid "Organization"
|
520 |
msgstr ""
|
521 |
|
522 |
+
#: inc/admin/admin.php:1456
|
523 |
+
msgid "eg: Apple"
|
524 |
+
msgstr ""
|
525 |
+
|
526 |
+
#: inc/admin/admin.php:1467
|
527 |
msgid "Select your logo"
|
528 |
msgstr ""
|
529 |
|
530 |
+
#: inc/admin/admin.php:1479
|
531 |
+
msgid "eg: https://www.facebook.com/your-page"
|
532 |
+
msgstr ""
|
533 |
+
|
534 |
+
#: inc/admin/admin.php:1489
|
535 |
+
msgid "eg: @wpcloudy"
|
536 |
+
msgstr ""
|
537 |
+
|
538 |
+
#: inc/admin/admin.php:1499
|
539 |
+
msgid "eg: https://plus.google.com/+BenjaminDenis"
|
540 |
+
msgstr ""
|
541 |
+
|
542 |
+
#: inc/admin/admin.php:1509
|
543 |
+
msgid "eg: https://pinterest.com/wpbuy/"
|
544 |
+
msgstr ""
|
545 |
+
|
546 |
+
#: inc/admin/admin.php:1519
|
547 |
+
msgid "eg: https://www.instagram.com/your-name/"
|
548 |
+
msgstr ""
|
549 |
+
|
550 |
+
#: inc/admin/admin.php:1529
|
551 |
+
msgid "eg: https://www.youtube.com/channel/UCpQzarWu55UzCIH7-OW6pwA"
|
552 |
+
msgstr ""
|
553 |
+
|
554 |
+
#: inc/admin/admin.php:1539
|
555 |
+
msgid "eg: https://www.linkedin.com/in/benjamin-denis-70672b3b"
|
556 |
+
msgstr ""
|
557 |
+
|
558 |
+
#: inc/admin/admin.php:1549
|
559 |
+
msgid "eg: https://myspace.com/your-page"
|
560 |
+
msgstr ""
|
561 |
+
|
562 |
+
#: inc/admin/admin.php:1559
|
563 |
+
msgid "eg: https://soundcloud.com/michaelmccannmusic"
|
564 |
+
msgstr ""
|
565 |
+
|
566 |
+
#: inc/admin/admin.php:1569
|
567 |
+
msgid "eg: https://your-site.tumblr.com"
|
568 |
+
msgstr ""
|
569 |
+
|
570 |
+
#: inc/admin/admin.php:1586
|
571 |
msgid "Enable OG data"
|
572 |
msgstr ""
|
573 |
|
574 |
+
#: inc/admin/admin.php:1638
|
575 |
msgid "Enable Twitter card"
|
576 |
msgstr ""
|
577 |
|
578 |
+
#: inc/admin/admin.php:1669
|
579 |
msgid "Default"
|
580 |
msgstr ""
|
581 |
|
582 |
+
#: inc/admin/admin.php:1672
|
583 |
msgid "Large"
|
584 |
msgstr ""
|
585 |
|
591 |
msgid "Please upload a file to import"
|
592 |
msgstr ""
|
593 |
|
594 |
+
#: seopress.php:130
|
595 |
msgid "Settings"
|
596 |
msgstr ""
|
languages/wp-seopress.pot
ADDED
@@ -0,0 +1,610 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2016 SEOPress
|
2 |
+
# This file is distributed under the same license as the SEOPress package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: SEOPress 0.3\n"
|
6 |
+
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-seopress\n"
|
7 |
+
"POT-Creation-Date: 2016-08-24 18:00:12+00:00\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
|
12 |
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
+
|
15 |
+
#. #-#-#-#-# plugin.pot (SEOPress 0.3) #-#-#-#-#
|
16 |
+
#. Plugin Name of the plugin/theme
|
17 |
+
#: inc/admin/admin-metaboxes.php:11 inc/admin/admin.php:233
|
18 |
+
msgid "SEOPress"
|
19 |
+
msgstr ""
|
20 |
+
|
21 |
+
#: inc/admin/admin-metaboxes.php:50
|
22 |
+
msgid "Titles settings"
|
23 |
+
msgstr ""
|
24 |
+
|
25 |
+
#: inc/admin/admin-metaboxes.php:51 inc/admin/admin.php:66
|
26 |
+
msgid "Advanced"
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
+
#: inc/admin/admin-metaboxes.php:52 inc/admin/admin.php:36
|
30 |
+
#: inc/admin/admin.php:314
|
31 |
+
msgid "Social"
|
32 |
+
msgstr ""
|
33 |
+
|
34 |
+
#: inc/admin/admin-metaboxes.php:58
|
35 |
+
msgid "Title"
|
36 |
+
msgstr ""
|
37 |
+
|
38 |
+
#: inc/admin/admin-metaboxes.php:59
|
39 |
+
msgid "Enter your title"
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: inc/admin/admin-metaboxes.php:62 inc/admin/admin.php:391
|
43 |
+
msgid "Meta description"
|
44 |
+
msgstr ""
|
45 |
+
|
46 |
+
#: inc/admin/admin-metaboxes.php:63
|
47 |
+
msgid "Enter your meta description"
|
48 |
+
msgstr ""
|
49 |
+
|
50 |
+
#: inc/admin/admin-metaboxes.php:67
|
51 |
+
msgid "(maximum recommended limit)"
|
52 |
+
msgstr ""
|
53 |
+
|
54 |
+
#: inc/admin/admin-metaboxes.php:72
|
55 |
+
msgid "Google Snippet Preview"
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: inc/admin/admin-metaboxes.php:73
|
59 |
+
msgid "This is what your page will look like in Google search results"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: inc/admin/admin-metaboxes.php:84 inc/admin/admin.php:541
|
63 |
+
#: inc/admin/admin.php:988 inc/admin/admin.php:1061 inc/admin/admin.php:1242
|
64 |
+
msgid "noindex"
|
65 |
+
msgstr ""
|
66 |
+
|
67 |
+
#: inc/admin/admin-metaboxes.php:90 inc/admin/admin.php:549
|
68 |
+
#: inc/admin/admin.php:1007 inc/admin/admin.php:1080 inc/admin/admin.php:1259
|
69 |
+
msgid "nofollow"
|
70 |
+
msgstr ""
|
71 |
+
|
72 |
+
#: inc/admin/admin-metaboxes.php:96 inc/admin/admin.php:557
|
73 |
+
#: inc/admin/admin.php:1276
|
74 |
+
msgid "noodp"
|
75 |
+
msgstr ""
|
76 |
+
|
77 |
+
#: inc/admin/admin-metaboxes.php:102 inc/admin/admin.php:565
|
78 |
+
#: inc/admin/admin.php:1293
|
79 |
+
msgid "noimageindex"
|
80 |
+
msgstr ""
|
81 |
+
|
82 |
+
#: inc/admin/admin-metaboxes.php:108 inc/admin/admin.php:573
|
83 |
+
#: inc/admin/admin.php:1310
|
84 |
+
msgid "noarchive"
|
85 |
+
msgstr ""
|
86 |
+
|
87 |
+
#: inc/admin/admin-metaboxes.php:114 inc/admin/admin.php:581
|
88 |
+
#: inc/admin/admin.php:1327
|
89 |
+
msgid "nosnippet"
|
90 |
+
msgstr ""
|
91 |
+
|
92 |
+
#: inc/admin/admin-metaboxes.php:118
|
93 |
+
msgid "Canonical URL"
|
94 |
+
msgstr ""
|
95 |
+
|
96 |
+
#: inc/admin/admin-metaboxes.php:119
|
97 |
+
msgid "Enter your Canonical URL"
|
98 |
+
msgstr ""
|
99 |
+
|
100 |
+
#: inc/admin/admin-metaboxes.php:125
|
101 |
+
msgid "Facebook Title"
|
102 |
+
msgstr ""
|
103 |
+
|
104 |
+
#: inc/admin/admin-metaboxes.php:126
|
105 |
+
msgid "Enter your Facebook title"
|
106 |
+
msgstr ""
|
107 |
+
|
108 |
+
#: inc/admin/admin-metaboxes.php:129
|
109 |
+
msgid "Facebook description"
|
110 |
+
msgstr ""
|
111 |
+
|
112 |
+
#: inc/admin/admin-metaboxes.php:130
|
113 |
+
msgid "Enter your Facebook description"
|
114 |
+
msgstr ""
|
115 |
+
|
116 |
+
#: inc/admin/admin-metaboxes.php:133
|
117 |
+
msgid "Facebook Thumbnail"
|
118 |
+
msgstr ""
|
119 |
+
|
120 |
+
#: inc/admin/admin-metaboxes.php:134 inc/admin/admin-metaboxes.php:149
|
121 |
+
#: inc/admin/admin.php:1599 inc/admin/admin.php:1651
|
122 |
+
msgid "Select your default thumbnail"
|
123 |
+
msgstr ""
|
124 |
+
|
125 |
+
#: inc/admin/admin-metaboxes.php:135 inc/admin/admin-metaboxes.php:150
|
126 |
+
#: inc/admin/admin.php:1469 inc/admin/admin.php:1601 inc/admin/admin.php:1653
|
127 |
+
msgid "Upload an Image"
|
128 |
+
msgstr ""
|
129 |
+
|
130 |
+
#: inc/admin/admin-metaboxes.php:140
|
131 |
+
msgid "Twitter Title"
|
132 |
+
msgstr ""
|
133 |
+
|
134 |
+
#: inc/admin/admin-metaboxes.php:141
|
135 |
+
msgid "Enter your Twitter title"
|
136 |
+
msgstr ""
|
137 |
+
|
138 |
+
#: inc/admin/admin-metaboxes.php:144
|
139 |
+
msgid "Twitter description"
|
140 |
+
msgstr ""
|
141 |
+
|
142 |
+
#: inc/admin/admin-metaboxes.php:145
|
143 |
+
msgid "Enter your Twitter description"
|
144 |
+
msgstr ""
|
145 |
+
|
146 |
+
#: inc/admin/admin-metaboxes.php:148
|
147 |
+
msgid "Twitter Thumbnail"
|
148 |
+
msgstr ""
|
149 |
+
|
150 |
+
#: inc/admin/admin.php:34
|
151 |
+
msgid "Titles & Metas"
|
152 |
+
msgstr ""
|
153 |
+
|
154 |
+
#: inc/admin/admin.php:35 inc/admin/admin.php:304
|
155 |
+
msgid "XML Sitemap"
|
156 |
+
msgstr ""
|
157 |
+
|
158 |
+
#: inc/admin/admin.php:37
|
159 |
+
msgid "Import / Export / Reset settings"
|
160 |
+
msgstr ""
|
161 |
+
|
162 |
+
#: inc/admin/admin.php:37 inc/admin/admin.php:324
|
163 |
+
msgid "Import / Export / Reset"
|
164 |
+
msgstr ""
|
165 |
+
|
166 |
+
#: inc/admin/admin.php:47
|
167 |
+
msgid ""
|
168 |
+
"Discourage search engines from indexing this site is <strong>ON!</strong> "
|
169 |
+
"None of the following settings will be applied."
|
170 |
+
msgstr ""
|
171 |
+
|
172 |
+
#: inc/admin/admin.php:48
|
173 |
+
msgid "Change this settings"
|
174 |
+
msgstr ""
|
175 |
+
|
176 |
+
#: inc/admin/admin.php:62
|
177 |
+
msgid "Home"
|
178 |
+
msgstr ""
|
179 |
+
|
180 |
+
#: inc/admin/admin.php:63
|
181 |
+
msgid "Single Post Types"
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: inc/admin/admin.php:64 inc/admin/admin.php:105
|
185 |
+
msgid "Taxonomies"
|
186 |
+
msgstr ""
|
187 |
+
|
188 |
+
#: inc/admin/admin.php:65
|
189 |
+
msgid "Archives"
|
190 |
+
msgstr ""
|
191 |
+
|
192 |
+
#: inc/admin/admin.php:103
|
193 |
+
msgid "General"
|
194 |
+
msgstr ""
|
195 |
+
|
196 |
+
#: inc/admin/admin.php:104
|
197 |
+
msgid "Post Types"
|
198 |
+
msgstr ""
|
199 |
+
|
200 |
+
#: inc/admin/admin.php:140
|
201 |
+
msgid "Knowledge Graph"
|
202 |
+
msgstr ""
|
203 |
+
|
204 |
+
#: inc/admin/admin.php:141
|
205 |
+
msgid "Your social accounts"
|
206 |
+
msgstr ""
|
207 |
+
|
208 |
+
#: inc/admin/admin.php:142
|
209 |
+
msgid "Facebook"
|
210 |
+
msgstr ""
|
211 |
+
|
212 |
+
#: inc/admin/admin.php:143
|
213 |
+
msgid "Twitter"
|
214 |
+
msgstr ""
|
215 |
+
|
216 |
+
#: inc/admin/admin.php:170
|
217 |
+
msgid "Import / Export Settings"
|
218 |
+
msgstr ""
|
219 |
+
|
220 |
+
#: inc/admin/admin.php:171
|
221 |
+
msgid "Import / Export SEOPress settings from site to site"
|
222 |
+
msgstr ""
|
223 |
+
|
224 |
+
#: inc/admin/admin.php:174
|
225 |
+
msgid "Export Settings"
|
226 |
+
msgstr ""
|
227 |
+
|
228 |
+
#: inc/admin/admin.php:176
|
229 |
+
msgid ""
|
230 |
+
"Export the plugin settings for this site as a .json file. This allows you to "
|
231 |
+
"easily import the configuration into another site."
|
232 |
+
msgstr ""
|
233 |
+
|
234 |
+
#: inc/admin/admin.php:181
|
235 |
+
msgid "Export"
|
236 |
+
msgstr ""
|
237 |
+
|
238 |
+
#: inc/admin/admin.php:188
|
239 |
+
msgid "Import Settings"
|
240 |
+
msgstr ""
|
241 |
+
|
242 |
+
#: inc/admin/admin.php:190
|
243 |
+
msgid ""
|
244 |
+
"Import the plugin settings from a .json file. This file can be obtained by "
|
245 |
+
"exporting the settings on another site using the form above."
|
246 |
+
msgstr ""
|
247 |
+
|
248 |
+
#: inc/admin/admin.php:198
|
249 |
+
msgid "Import"
|
250 |
+
msgstr ""
|
251 |
+
|
252 |
+
#: inc/admin/admin.php:205
|
253 |
+
msgid "Reset All Settings"
|
254 |
+
msgstr ""
|
255 |
+
|
256 |
+
#: inc/admin/admin.php:207
|
257 |
+
msgid ""
|
258 |
+
"<strong>WARNING:</strong> Delete all options related to SEOPress in your "
|
259 |
+
"database."
|
260 |
+
msgstr ""
|
261 |
+
|
262 |
+
#: inc/admin/admin.php:212
|
263 |
+
msgid "Reset settings"
|
264 |
+
msgstr ""
|
265 |
+
|
266 |
+
#: inc/admin/admin.php:237
|
267 |
+
msgid "PRO"
|
268 |
+
msgstr ""
|
269 |
+
|
270 |
+
#: inc/admin/admin.php:247
|
271 |
+
msgid "The ultimate plugin to optimize your SEO!"
|
272 |
+
msgstr ""
|
273 |
+
|
274 |
+
#: inc/admin/admin.php:250
|
275 |
+
msgid "You like SEOPress? Don't forget to rate it 5 stars!"
|
276 |
+
msgstr ""
|
277 |
+
|
278 |
+
#: inc/admin/admin.php:279
|
279 |
+
msgid "Follow us on Twitter!"
|
280 |
+
msgstr ""
|
281 |
+
|
282 |
+
#: inc/admin/admin.php:281
|
283 |
+
msgid "Our website"
|
284 |
+
msgstr ""
|
285 |
+
|
286 |
+
#: inc/admin/admin.php:283
|
287 |
+
msgid "Knowledge base"
|
288 |
+
msgstr ""
|
289 |
+
|
290 |
+
#: inc/admin/admin.php:294
|
291 |
+
msgid "Titles & metas"
|
292 |
+
msgstr ""
|
293 |
+
|
294 |
+
#: inc/admin/admin.php:295
|
295 |
+
msgid "Manage all your titles & metas"
|
296 |
+
msgstr ""
|
297 |
+
|
298 |
+
#: inc/admin/admin.php:296 inc/admin/admin.php:306 inc/admin/admin.php:316
|
299 |
+
#: inc/admin/admin.php:326
|
300 |
+
msgid "Manage"
|
301 |
+
msgstr ""
|
302 |
+
|
303 |
+
#: inc/admin/admin.php:305
|
304 |
+
msgid "Manage your XML Sitemap"
|
305 |
+
msgstr ""
|
306 |
+
|
307 |
+
#: inc/admin/admin.php:315
|
308 |
+
msgid "Open Graph, Twitter Card, Google Knowledge Graph and more..."
|
309 |
+
msgstr ""
|
310 |
+
|
311 |
+
#: inc/admin/admin.php:325
|
312 |
+
msgid "Import / export SEOPress settings from site to site."
|
313 |
+
msgstr ""
|
314 |
+
|
315 |
+
#: inc/admin/admin.php:383
|
316 |
+
msgid "Site title"
|
317 |
+
msgstr ""
|
318 |
+
|
319 |
+
#: inc/admin/admin.php:598 inc/admin/admin.php:1344
|
320 |
+
msgid "Enable XML Sitemap"
|
321 |
+
msgstr ""
|
322 |
+
|
323 |
+
#: inc/admin/admin.php:614
|
324 |
+
msgid "Check to INCLUDE Post Types"
|
325 |
+
msgstr ""
|
326 |
+
|
327 |
+
#: inc/admin/admin.php:630
|
328 |
+
msgid "Check to INCLUDE Taxonomies"
|
329 |
+
msgstr ""
|
330 |
+
|
331 |
+
#: inc/admin/admin.php:647
|
332 |
+
msgid "Person or organization"
|
333 |
+
msgstr ""
|
334 |
+
|
335 |
+
#: inc/admin/admin.php:655
|
336 |
+
msgid "Your name/organization"
|
337 |
+
msgstr ""
|
338 |
+
|
339 |
+
#: inc/admin/admin.php:663
|
340 |
+
msgid "Your photo / organization logo"
|
341 |
+
msgstr ""
|
342 |
+
|
343 |
+
#: inc/admin/admin.php:680
|
344 |
+
msgid "Facebook Page URL"
|
345 |
+
msgstr ""
|
346 |
+
|
347 |
+
#: inc/admin/admin.php:688
|
348 |
+
msgid "Twitter Username"
|
349 |
+
msgstr ""
|
350 |
+
|
351 |
+
#: inc/admin/admin.php:696
|
352 |
+
msgid "Google + URL"
|
353 |
+
msgstr ""
|
354 |
+
|
355 |
+
#: inc/admin/admin.php:704
|
356 |
+
msgid "Pinterest URL"
|
357 |
+
msgstr ""
|
358 |
+
|
359 |
+
#: inc/admin/admin.php:712
|
360 |
+
msgid "Instagram URL"
|
361 |
+
msgstr ""
|
362 |
+
|
363 |
+
#: inc/admin/admin.php:720
|
364 |
+
msgid "YouTube URL"
|
365 |
+
msgstr ""
|
366 |
+
|
367 |
+
#: inc/admin/admin.php:728
|
368 |
+
msgid "LinkedIn URL"
|
369 |
+
msgstr ""
|
370 |
+
|
371 |
+
#: inc/admin/admin.php:736
|
372 |
+
msgid "MySpace URL"
|
373 |
+
msgstr ""
|
374 |
+
|
375 |
+
#: inc/admin/admin.php:744
|
376 |
+
msgid "Soundcloud URL"
|
377 |
+
msgstr ""
|
378 |
+
|
379 |
+
#: inc/admin/admin.php:752
|
380 |
+
msgid "Tumblr URL"
|
381 |
+
msgstr ""
|
382 |
+
|
383 |
+
#: inc/admin/admin.php:769
|
384 |
+
msgid "Enable Open Graph Data"
|
385 |
+
msgstr ""
|
386 |
+
|
387 |
+
#: inc/admin/admin.php:777
|
388 |
+
msgid "Select a default image"
|
389 |
+
msgstr ""
|
390 |
+
|
391 |
+
#: inc/admin/admin.php:785
|
392 |
+
msgid "Facebook Admin ID"
|
393 |
+
msgstr ""
|
394 |
+
|
395 |
+
#: inc/admin/admin.php:793
|
396 |
+
msgid "Facebook App ID"
|
397 |
+
msgstr ""
|
398 |
+
|
399 |
+
#: inc/admin/admin.php:810
|
400 |
+
msgid "Enable Twitter Card"
|
401 |
+
msgstr ""
|
402 |
+
|
403 |
+
#: inc/admin/admin.php:818
|
404 |
+
msgid "Default Twitter Image"
|
405 |
+
msgstr ""
|
406 |
+
|
407 |
+
#: inc/admin/admin.php:826
|
408 |
+
msgid "Image size for Twitter Summary card"
|
409 |
+
msgstr ""
|
410 |
+
|
411 |
+
#: inc/admin/admin.php:857
|
412 |
+
msgid "<p>Customize your titles & metas for homepage</p>"
|
413 |
+
msgstr ""
|
414 |
+
|
415 |
+
#: inc/admin/admin.php:862
|
416 |
+
msgid "<p>Customize your titles & metas for Single Custom Post Types</p>"
|
417 |
+
msgstr ""
|
418 |
+
|
419 |
+
#: inc/admin/admin.php:867
|
420 |
+
msgid "<p>Customize your metas for all pages</p>"
|
421 |
+
msgstr ""
|
422 |
+
|
423 |
+
#: inc/admin/admin.php:872
|
424 |
+
msgid "<p>Customize your metas for all taxonomies archives</p>"
|
425 |
+
msgstr ""
|
426 |
+
|
427 |
+
#: inc/admin/admin.php:877
|
428 |
+
msgid "<p>Customize your metas for all archives</p>"
|
429 |
+
msgstr ""
|
430 |
+
|
431 |
+
#: inc/admin/admin.php:882
|
432 |
+
msgid "<p>Enable your Sitemap</p>"
|
433 |
+
msgstr ""
|
434 |
+
|
435 |
+
#: inc/admin/admin.php:883
|
436 |
+
msgid ""
|
437 |
+
"To view your sitemap, enable permalinks (not default one), and save settings "
|
438 |
+
"to flush them."
|
439 |
+
msgstr ""
|
440 |
+
|
441 |
+
#: inc/admin/admin.php:886
|
442 |
+
msgid "View your sitemap"
|
443 |
+
msgstr ""
|
444 |
+
|
445 |
+
#: inc/admin/admin.php:891
|
446 |
+
msgid "<p>Include / Exclude Post Types</p>"
|
447 |
+
msgstr ""
|
448 |
+
|
449 |
+
#: inc/admin/admin.php:896
|
450 |
+
msgid "<p>Include / Exclude Taxonomies</p>"
|
451 |
+
msgstr ""
|
452 |
+
|
453 |
+
#: inc/admin/admin.php:901
|
454 |
+
msgid "<p>Configure Google Knowledge Graph</p>"
|
455 |
+
msgstr ""
|
456 |
+
|
457 |
+
#: inc/admin/admin.php:906
|
458 |
+
msgid "<p>Link your site with your social accounts</p>"
|
459 |
+
msgstr ""
|
460 |
+
|
461 |
+
#: inc/admin/admin.php:911
|
462 |
+
msgid "<p>Manage Open Graph datas</p>"
|
463 |
+
msgstr ""
|
464 |
+
|
465 |
+
#: inc/admin/admin.php:916
|
466 |
+
msgid "<p>Manage your Twitter card</p>"
|
467 |
+
msgstr ""
|
468 |
+
|
469 |
+
#: inc/admin/admin.php:927
|
470 |
+
msgid "My awesome website"
|
471 |
+
msgstr ""
|
472 |
+
|
473 |
+
#: inc/admin/admin.php:937
|
474 |
+
msgid "This is cool website about Wookiees"
|
475 |
+
msgstr ""
|
476 |
+
|
477 |
+
#: inc/admin/admin.php:954 inc/admin/admin.php:1027 inc/admin/admin.php:1095
|
478 |
+
#: inc/admin/admin.php:1123 inc/admin/admin.php:1151 inc/admin/admin.php:1179
|
479 |
+
#: inc/admin/admin.php:1207
|
480 |
+
msgid "Title template"
|
481 |
+
msgstr ""
|
482 |
+
|
483 |
+
#: inc/admin/admin.php:967 inc/admin/admin.php:1040 inc/admin/admin.php:1108
|
484 |
+
#: inc/admin/admin.php:1136 inc/admin/admin.php:1164 inc/admin/admin.php:1192
|
485 |
+
#: inc/admin/admin.php:1220
|
486 |
+
msgid "Meta description template"
|
487 |
+
msgstr ""
|
488 |
+
|
489 |
+
#: inc/admin/admin.php:1093
|
490 |
+
msgid "Author archives"
|
491 |
+
msgstr ""
|
492 |
+
|
493 |
+
#: inc/admin/admin.php:1121
|
494 |
+
msgid "Date archives"
|
495 |
+
msgstr ""
|
496 |
+
|
497 |
+
#: inc/admin/admin.php:1149
|
498 |
+
msgid "Search archives"
|
499 |
+
msgstr ""
|
500 |
+
|
501 |
+
#: inc/admin/admin.php:1177
|
502 |
+
msgid "404 archives"
|
503 |
+
msgstr ""
|
504 |
+
|
505 |
+
#: inc/admin/admin.php:1205
|
506 |
+
msgid "Paged archives"
|
507 |
+
msgstr ""
|
508 |
+
|
509 |
+
#: inc/admin/admin.php:1383 inc/admin/admin.php:1423
|
510 |
+
msgid "Include"
|
511 |
+
msgstr ""
|
512 |
+
|
513 |
+
#: inc/admin/admin.php:1442
|
514 |
+
msgid "Person"
|
515 |
+
msgstr ""
|
516 |
+
|
517 |
+
#: inc/admin/admin.php:1445
|
518 |
+
msgid "Organization"
|
519 |
+
msgstr ""
|
520 |
+
|
521 |
+
#: inc/admin/admin.php:1456
|
522 |
+
msgid "eg: Apple"
|
523 |
+
msgstr ""
|
524 |
+
|
525 |
+
#: inc/admin/admin.php:1467
|
526 |
+
msgid "Select your logo"
|
527 |
+
msgstr ""
|
528 |
+
|
529 |
+
#: inc/admin/admin.php:1479
|
530 |
+
msgid "eg: https://www.facebook.com/your-page"
|
531 |
+
msgstr ""
|
532 |
+
|
533 |
+
#: inc/admin/admin.php:1489
|
534 |
+
msgid "eg: @wpcloudy"
|
535 |
+
msgstr ""
|
536 |
+
|
537 |
+
#: inc/admin/admin.php:1499
|
538 |
+
msgid "eg: https://plus.google.com/+BenjaminDenis"
|
539 |
+
msgstr ""
|
540 |
+
|
541 |
+
#: inc/admin/admin.php:1509
|
542 |
+
msgid "eg: https://pinterest.com/wpbuy/"
|
543 |
+
msgstr ""
|
544 |
+
|
545 |
+
#: inc/admin/admin.php:1519
|
546 |
+
msgid "eg: https://www.instagram.com/your-name/"
|
547 |
+
msgstr ""
|
548 |
+
|
549 |
+
#: inc/admin/admin.php:1529
|
550 |
+
msgid "eg: https://www.youtube.com/channel/UCpQzarWu55UzCIH7-OW6pwA"
|
551 |
+
msgstr ""
|
552 |
+
|
553 |
+
#: inc/admin/admin.php:1539
|
554 |
+
msgid "eg: https://www.linkedin.com/in/benjamin-denis-70672b3b"
|
555 |
+
msgstr ""
|
556 |
+
|
557 |
+
#: inc/admin/admin.php:1549
|
558 |
+
msgid "eg: https://myspace.com/your-page"
|
559 |
+
msgstr ""
|
560 |
+
|
561 |
+
#: inc/admin/admin.php:1559
|
562 |
+
msgid "eg: https://soundcloud.com/michaelmccannmusic"
|
563 |
+
msgstr ""
|
564 |
+
|
565 |
+
#: inc/admin/admin.php:1569
|
566 |
+
msgid "eg: https://your-site.tumblr.com"
|
567 |
+
msgstr ""
|
568 |
+
|
569 |
+
#: inc/admin/admin.php:1586
|
570 |
+
msgid "Enable OG data"
|
571 |
+
msgstr ""
|
572 |
+
|
573 |
+
#: inc/admin/admin.php:1638
|
574 |
+
msgid "Enable Twitter card"
|
575 |
+
msgstr ""
|
576 |
+
|
577 |
+
#: inc/admin/admin.php:1669
|
578 |
+
msgid "Default"
|
579 |
+
msgstr ""
|
580 |
+
|
581 |
+
#: inc/admin/admin.php:1672
|
582 |
+
msgid "Large"
|
583 |
+
msgstr ""
|
584 |
+
|
585 |
+
#: inc/functions/options-import-export.php:42
|
586 |
+
msgid "Please upload a valid .json file"
|
587 |
+
msgstr ""
|
588 |
+
|
589 |
+
#: inc/functions/options-import-export.php:46
|
590 |
+
msgid "Please upload a file to import"
|
591 |
+
msgstr ""
|
592 |
+
|
593 |
+
#: seopress.php:130
|
594 |
+
msgid "Settings"
|
595 |
+
msgstr ""
|
596 |
+
|
597 |
+
#. #-#-#-#-# plugin.pot (SEOPress 0.3) #-#-#-#-#
|
598 |
+
#. Plugin URI of the plugin/theme
|
599 |
+
#. #-#-#-#-# plugin.pot (SEOPress 0.3) #-#-#-#-#
|
600 |
+
#. Author URI of the plugin/theme
|
601 |
+
msgid "http://seopress.org/"
|
602 |
+
msgstr ""
|
603 |
+
|
604 |
+
#. Description of the plugin/theme
|
605 |
+
msgid "The best SEO plugin."
|
606 |
+
msgstr ""
|
607 |
+
|
608 |
+
#. Author of the plugin/theme
|
609 |
+
msgid "Benjamin DENIS"
|
610 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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
|
5 |
Requires at least: 4.4+
|
6 |
Tested up to: 4.6
|
7 |
-
Stable tag: 0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -12,10 +12,10 @@ 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
|
16 |
-
Manage titles, meta descriptions, Open Graph Data, Google Knowledge Graph, Twitter Card, Canonical URL, meta robots
|
17 |
-
Build your custom XML Sitemap to improve search indexing
|
18 |
-
Link your social media accounts to your site
|
19 |
Import / Export settings from site to site.
|
20 |
|
21 |
<h3>Translation</h3>
|
@@ -25,6 +25,9 @@ Import / Export settings from site to site.
|
|
25 |
<li>French</li>
|
26 |
</ul>
|
27 |
|
|
|
|
|
|
|
28 |
== Installation ==
|
29 |
|
30 |
1. Upload 'seopress' to the '/wp-content/plugins/' directory
|
@@ -44,6 +47,12 @@ Soon :)
|
|
44 |
7. SEOPRESS Metaboxe: Social settings
|
45 |
|
46 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
= 0.2 =
|
48 |
* INFO Improve SEOPress Metaboxe UI/UX
|
49 |
* INFO CSS Cleaning
|
4 |
Tags: seo, search engine optimization, meta, title, description, keywords, serp, knowledge grah, schema.org, url, redirection, 301, xml sitemap, breadcrumbs, ranking
|
5 |
Requires at least: 4.4+
|
6 |
Tested up to: 4.6
|
7 |
+
Stable tag: 0.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
SEOPress is a powerful plugin to optimize your SEO, boost your traffic and improve social sharing.<br>
|
16 |
+
Manage titles, meta descriptions, Open Graph Data, Google Knowledge Graph, Twitter Card, Canonical URL, meta robots...<br>
|
17 |
+
Build your custom XML Sitemap to improve search indexing.<br>
|
18 |
+
Link your social media accounts to your site.<br>
|
19 |
Import / Export settings from site to site.
|
20 |
|
21 |
<h3>Translation</h3>
|
25 |
<li>French</li>
|
26 |
</ul>
|
27 |
|
28 |
+
<h3>Subscribe to our newsletter</h3>
|
29 |
+
And get early access to our pro release!
|
30 |
+
<a href="http://seopress.org/" target="_blank">Subscribe now</a>
|
31 |
== Installation ==
|
32 |
|
33 |
1. Upload 'seopress' to the '/wp-content/plugins/' directory
|
47 |
7. SEOPRESS Metaboxe: Social settings
|
48 |
|
49 |
== Changelog ==
|
50 |
+
= 0.3 =
|
51 |
+
* INFO Add placeholders
|
52 |
+
* INFO Improve sanitization
|
53 |
+
* INFO Set noindex on xml sitemaps
|
54 |
+
* FIX Text domain for localization
|
55 |
+
* FIX CSS in Import / Export page
|
56 |
= 0.2 =
|
57 |
* INFO Improve SEOPress Metaboxe UI/UX
|
58 |
* INFO CSS Cleaning
|
seopress.php
CHANGED
@@ -4,11 +4,11 @@
|
|
4 |
Plugin Name: SEOPress
|
5 |
Plugin URI: http://seopress.org/
|
6 |
Description: The best SEO plugin.
|
7 |
-
Version: 0.
|
8 |
Author: Benjamin DENIS
|
9 |
Author URI: http://seopress.org/
|
10 |
License: GPLv2
|
11 |
-
Text Domain: seopress
|
12 |
Domain Path: /languages
|
13 |
*/
|
14 |
|
@@ -52,14 +52,14 @@ register_deactivation_hook(__FILE__, 'seopress_deactivation');
|
|
52 |
//Define
|
53 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
54 |
|
55 |
-
define( 'SEOPRESS_VERSION', '0.
|
56 |
define( 'SEOPRESS_AUTHOR', 'Benjamin Denis' );
|
57 |
|
58 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
59 |
//SEOPRESS INIT = Admin + Core + Translation
|
60 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
61 |
function seopress_init() {
|
62 |
-
load_plugin_textdomain( 'seopress', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
63 |
|
64 |
global $pagenow;
|
65 |
|
@@ -103,6 +103,7 @@ function seopress_add_admin_options_scripts($hook) {
|
|
103 |
if ( $hook == 'post-new.php' || $hook == 'post.php') {
|
104 |
if ( 'attachment' !== $post->post_type) {
|
105 |
wp_enqueue_script( 'seopress-cpt-tabs-js', plugins_url( 'assets/js/seopress-tabs2.js', __FILE__ ), array( 'jquery-ui-tabs' ) );
|
|
|
106 |
wp_enqueue_script( 'seopress-media-uploader-js', plugins_url('assets/js/seopress-media-uploader.js', __FILE__), array('jquery'), '', false );
|
107 |
wp_enqueue_media();
|
108 |
|
@@ -126,7 +127,7 @@ function seopress_plugin_action_links($links, $file) {
|
|
126 |
}
|
127 |
|
128 |
if ($file == $this_plugin) {
|
129 |
-
$settings_link = '<a href="' . get_bloginfo('wpurl') . '/wp-admin/admin.php?page=seopress-option">'.__("Settings","
|
130 |
array_unshift($links, $settings_link);
|
131 |
}
|
132 |
|
4 |
Plugin Name: SEOPress
|
5 |
Plugin URI: http://seopress.org/
|
6 |
Description: The best SEO plugin.
|
7 |
+
Version: 0.3
|
8 |
Author: Benjamin DENIS
|
9 |
Author URI: http://seopress.org/
|
10 |
License: GPLv2
|
11 |
+
Text Domain: wp-seopress
|
12 |
Domain Path: /languages
|
13 |
*/
|
14 |
|
52 |
//Define
|
53 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
54 |
|
55 |
+
define( 'SEOPRESS_VERSION', '0.3' );
|
56 |
define( 'SEOPRESS_AUTHOR', 'Benjamin Denis' );
|
57 |
|
58 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
59 |
//SEOPRESS INIT = Admin + Core + Translation
|
60 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
61 |
function seopress_init() {
|
62 |
+
load_plugin_textdomain( 'wp-seopress', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
63 |
|
64 |
global $pagenow;
|
65 |
|
103 |
if ( $hook == 'post-new.php' || $hook == 'post.php') {
|
104 |
if ( 'attachment' !== $post->post_type) {
|
105 |
wp_enqueue_script( 'seopress-cpt-tabs-js', plugins_url( 'assets/js/seopress-tabs2.js', __FILE__ ), array( 'jquery-ui-tabs' ) );
|
106 |
+
wp_enqueue_script( 'seopress-cpt-counters-js', plugins_url( 'assets/js/seopress-counters.js', __FILE__ ), array( 'jquery' ) );
|
107 |
wp_enqueue_script( 'seopress-media-uploader-js', plugins_url('assets/js/seopress-media-uploader.js', __FILE__), array('jquery'), '', false );
|
108 |
wp_enqueue_media();
|
109 |
|
127 |
}
|
128 |
|
129 |
if ($file == $this_plugin) {
|
130 |
+
$settings_link = '<a href="' . get_bloginfo('wpurl') . '/wp-admin/admin.php?page=seopress-option">'.__("Settings","wp-seopress").'</a>';
|
131 |
array_unshift($links, $settings_link);
|
132 |
}
|
133 |
|