Version Description
Read the blog post update = * NEW [HUGE] Universal SEO Metabox: edit your SEO from all page builders * NEW User modern interface * NEW SEOPress REST API (first iteration) * NEW Remove /product-category/ in your permalinks * NEW Add bestRating / worstRating properties for Review schema (including SoftwareApp) * NEW Reset count column for Redirections * NEW Bulk actions for Redirections (mark as 301, 302, 307, 410, 451) * NEW IP Logging options for Redirections with anonymization IP * NEW Add Referrer column in Redirections if available * NEW 'seopress_lb_widget_html' hook to filter Local Business HTML widget (https://www.seopress.org/support/hooks/filter-local-business-widget-html/) * NEW 'seopress_can_enqueue_universal_metabox' hook to disable the SEO beacon (https://www.seopress.org/support/hooks/disable-seo-beacon/) * NEW 'seopress_404_ip' hook to filter IP for 404 monitoring (https://www.seopress.org/support/hooks/filter-ip-address-for-404-monitoring/) * NEW 'seopress_sitemaps_html_product_cat_query' hook to filter product categories query in HTML sitemap (https://www.seopress.org/support/hooks/filter-html-sitemap-product-category-query-for-products/) * NEW Translation for "Author:" for Breadcrumbs * NEW Notification if Swift Performance is caching your XML sitemap * NEW Order products by category in HTML sitemap * NEW Check if a target keyword is already used with our Content Analysis feature * INFO Improve nofollow links analysis * INFO Automatically strip protocol / domain name when adding a redirection origin * INFO Add VetenaryCare subtype to Local Business schema (automatic / manual) * INFO Add Quick tags to meta description template in global title settings * INFO Allow webp images for Facebook / Twitter metas * INFO Update i18n * FIX Headings analysis issues * FIX Notices in Redirections * FIX IP logging in Redirections * FIX Send full post thumbnail URL in XML sitemaps (props @cookingwithdog) * FIX Close and Edit cookies button for WPML / Polylang configuration file * FIX Warning preg_match(): Unknown modifier if "/" in category permalink structure * FIX CSS conflict with Easy Digital Downloads and WooCommerce * FIX Compatibility issue with Thrive Builder * FIX Add @id property to Service schema (automatic / manual) * FIX Fatal error in rare cases: Uncaught TypeError: end() * FIX Cookie bar secondary button options * FIX Google Analytics stats in dashboard slowdowns * FIX Hide SEO columns in post type list if Advanced toggle is disabled * FIX PHP 8 oembed notice * FIX Quick tag buttons in Titles and Metas settings page * FIX Broken link checker in specific cases
View our complete changelog
Release Info
Developer | rainbowgeek |
Plugin | SEOPress |
Version | 5.0 |
Comparing to | |
See all releases |
Code changes from version 4.7.0.1 to 5.0
- assets/css/seopress-admin-bar.css +112 -45
- assets/css/seopress-admin-bar.min.css +1 -1
- assets/css/seopress-setup.css +290 -1650
- assets/css/seopress-setup.min.css +1 -1
- assets/css/seopress.css +2033 -2581
- assets/css/seopress.min.css +1 -1
- assets/img/beacon.svg +1 -0
- assets/img/bg-hero-started.svg +1 -0
- assets/img/bg-hero-support.svg +0 -1
- assets/img/logo-seopress-insights-square-alt.svg +1 -0
- assets/img/logo-seopress-square-alt.svg +1 -0
- assets/img/logo-seopress.svg +0 -1
- assets/js/seopress-counters.js +2 -2
- assets/js/seopress-counters.min.js +1 -1
- assets/js/seopress-dashboard.js +129 -5
- assets/js/seopress-dashboard.min.js +1 -1
- assets/js/{seopress-tabs2.js → seopress-metabox.js} +25 -16
- assets/js/{seopress-tabs2.min.js → seopress-metabox.min.js} +1 -1
- assets/js/seopress-migrate.js +2 -1
- assets/js/seopress-migrate.min.js +1 -1
- assets/js/seopress-sitemap-video.js +33 -31
- assets/js/seopress-sitemap-video.min.js +1 -1
- assets/js/seopress-tabs.js +184 -58
- assets/js/seopress-tabs.min.js +1 -1
- assets/js/seopress-tabs3.js +0 -36
- assets/js/seopress-tabs3.min.js +0 -1
- assets/js/seopress-tabs4.js +0 -36
- assets/js/seopress-tabs4.min.js +0 -1
- assets/js/seopress-tabs5.js +0 -36
- assets/js/seopress-tabs5.min.js +0 -1
- assets/js/seopress-tabs6.js +0 -36
- assets/js/seopress-tabs6.min.js +0 -1
- assets/js/seopress-tabs7.js +0 -68
- assets/js/seopress-tabs7.min.js +0 -1
- assets/js/seopress-tabs8.js +0 -36
- assets/js/seopress-tabs8.min.js +0 -1
- inc/admin/admin-bar/admin-bar.php +224 -0
- inc/admin/admin-bar/admin-header.php +132 -0
- inc/admin/admin-dyn-variables-helper.php +14 -5
- inc/admin/admin-features-list.php +207 -446
- inc/admin/admin-get-started.php +0 -28
- inc/admin/admin-header.php +0 -244
- inc/admin/admin-metaboxes-content-analysis-form.php +0 -77
- inc/admin/admin-metaboxes-form.php +0 -622
- inc/admin/admin-notifications-center.php +0 -1007
- inc/admin/admin-pages/Advanced.php +54 -0
- inc/admin/admin-pages/Analytics.php +84 -0
- inc/admin/admin-pages/Main.php +51 -0
- inc/admin/admin-pages/Sitemaps.php +45 -0
- inc/admin/admin-pages/Social.php +45 -0
- inc/admin/admin-pages/Titles.php +56 -0
- inc/admin/admin-pages/Tools.php +319 -0
- inc/admin/admin-wizard.php +0 -1087
- inc/admin/admin.php +114 -3578
@@ -1,78 +1,145 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
-webkit-font-smoothing:antialiased
|
11 |
-
}
|
12 |
-
@font-face{
|
13 |
-
font-family:seopress;
|
14 |
-
src:url(../fonts/seopress.eot?8v0bs0);
|
15 |
-
src:url(../fonts/seopress.eot?8v0bs0#iefix) format('embedded-opentype'),url(../fonts/seopress.ttf?8v0bs0) format('truetype'),url(../fonts/seopress.woff?8v0bs0) format('woff'),url(../fonts/seopress.svg?8v0bs0#seopress) format('svg');
|
16 |
-
font-weight:400;
|
17 |
-
font-style:normal
|
18 |
}
|
19 |
[class*=" icon-seopress"],
|
20 |
-
[class^=icon-seopress-]{
|
21 |
-
font-family:seopress!important
|
22 |
}
|
23 |
.icon-seopress-seopress:before {
|
24 |
content: "\e800";
|
25 |
font: normal 14px/1 seopress;
|
26 |
line-height: 1.5rem;
|
27 |
}
|
28 |
-
#wpadminbar
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
}
|
35 |
#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_top_level > a {
|
36 |
display: inline-block;
|
37 |
}
|
38 |
-
#wpadminbar
|
|
|
|
|
|
|
|
|
39 |
color: #eee;
|
40 |
vertical-align: middle;
|
41 |
}
|
42 |
#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots {
|
43 |
-
|
44 |
-
|
45 |
}
|
46 |
-
|
47 |
#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots a {
|
48 |
height: inherit;
|
49 |
padding-bottom: 5px;
|
50 |
}
|
51 |
-
|
52 |
-
#
|
|
|
|
|
53 |
font-weight: bold;
|
54 |
border-bottom: 1px solid currentColor;
|
55 |
width: 100%;
|
56 |
display: block;
|
57 |
margin-bottom: 5px;
|
58 |
}
|
59 |
-
|
60 |
-
#
|
61 |
-
#
|
|
|
|
|
|
|
|
|
|
|
62 |
display: block;
|
63 |
}
|
64 |
-
|
65 |
-
#
|
66 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
float: none;
|
68 |
vertical-align: middle;
|
69 |
}
|
70 |
-
|
71 |
-
#
|
72 |
-
#
|
73 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
}
|
75 |
-
#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots .wrap-seopress-cpt-noindex .off::before,
|
76 |
-
#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots .wrap-seopress-cpt-nofollow .off::before {
|
77 |
-
color: #46b450;
|
78 |
-
}
|
1 |
+
@font-face {
|
2 |
+
font-family: seopress;
|
3 |
+
src: url(../fonts/seopress.eot?8v0bs0);
|
4 |
+
src: url(../fonts/seopress.eot?8v0bs0#iefix) format("embedded-opentype"),
|
5 |
+
url(../fonts/seopress.ttf?8v0bs0) format("truetype"),
|
6 |
+
url(../fonts/seopress.woff?8v0bs0) format("woff"),
|
7 |
+
url(../fonts/seopress.svg?8v0bs0#seopress) format("svg");
|
8 |
+
font-weight: 400;
|
9 |
+
font-style: normal;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
}
|
11 |
[class*=" icon-seopress"],
|
12 |
+
[class^="icon-seopress-"] {
|
13 |
+
font-family: seopress !important;
|
14 |
}
|
15 |
.icon-seopress-seopress:before {
|
16 |
content: "\e800";
|
17 |
font: normal 14px/1 seopress;
|
18 |
line-height: 1.5rem;
|
19 |
}
|
20 |
+
#wpadminbar,
|
21 |
+
.seopress-option #wpcontent,
|
22 |
+
.seopress-styles #wpcontent,
|
23 |
+
.post-type-seopress_404 #wpcontent,
|
24 |
+
.post-type-seopress_schemas #wpcontent,
|
25 |
+
#seopress_cpt,
|
26 |
+
#seopress_content_analysis,
|
27 |
+
#seopress_pro_cpt,
|
28 |
+
.column-seopress_score {
|
29 |
+
--primaryColor: #007cba;
|
30 |
+
--paragraphColor: #757575;
|
31 |
+
--fontSize: 13px;
|
32 |
+
--fontFamily: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
33 |
+
Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
34 |
+
--color: #757575;
|
35 |
+
--colorDark: #1e1e1e;
|
36 |
+
--colorAlert: #a00;
|
37 |
+
--colorWarning: #ffba00;
|
38 |
+
--colorSuccess: #4ab866;
|
39 |
+
--colorLowAlert: #e39f48;
|
40 |
+
--colorPre: #37864b;
|
41 |
+
--colorIcon: #d7dade;
|
42 |
+
--lineHeight: 24px;
|
43 |
+
--titleColor: #3c434a;
|
44 |
+
--titleFontSize: 20px;
|
45 |
+
--titleFontWeight: normal;
|
46 |
+
--titleMargin: 10px 0;
|
47 |
+
--backgroundPrimary: #007cba;
|
48 |
+
--backgroundPrimaryHover: #006ba1;
|
49 |
+
--backgroundSecondaryHover: #f0f0f0;
|
50 |
+
--borderColor: #a7aaad;
|
51 |
+
--borderColorLight: #dcdcde;
|
52 |
+
--borderColorLight40: rgba(220, 220, 222, 0.4);
|
53 |
+
--borderColorCard: #e2e4e7;
|
54 |
+
--borderColorTab: #c3c4c7;
|
55 |
+
}
|
56 |
+
/* Adminbar */
|
57 |
+
.icon-seopress-seopress:before {
|
58 |
+
content: "\e800";
|
59 |
+
}
|
60 |
+
#wpadminbar
|
61 |
+
#wp-toolbar
|
62 |
+
#wp-admin-bar-seopress_custom_top_level
|
63 |
+
.wrap-seopress-noindex {
|
64 |
+
background: var(--colorAlert);
|
65 |
+
color: #fff;
|
66 |
+
padding: 0 8px;
|
67 |
+
float: right;
|
68 |
+
margin-left: 6px;
|
69 |
}
|
70 |
#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_top_level > a {
|
71 |
display: inline-block;
|
72 |
}
|
73 |
+
#wpadminbar
|
74 |
+
#wp-toolbar
|
75 |
+
#wp-admin-bar-seopress_custom_top_level
|
76 |
+
.wrap-seopress-noindex
|
77 |
+
.ab-icon::before {
|
78 |
color: #eee;
|
79 |
vertical-align: middle;
|
80 |
}
|
81 |
#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots {
|
82 |
+
display: block;
|
83 |
+
background: #23292d;
|
84 |
}
|
|
|
85 |
#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots a {
|
86 |
height: inherit;
|
87 |
padding-bottom: 5px;
|
88 |
}
|
89 |
+
#wpadminbar
|
90 |
+
#wp-toolbar
|
91 |
+
#wp-admin-bar-seopress_custom_sub_menu_meta_robots
|
92 |
+
.wrap-seopress-cpt-seo {
|
93 |
font-weight: bold;
|
94 |
border-bottom: 1px solid currentColor;
|
95 |
width: 100%;
|
96 |
display: block;
|
97 |
margin-bottom: 5px;
|
98 |
}
|
99 |
+
#wpadminbar
|
100 |
+
#wp-toolbar
|
101 |
+
#wp-admin-bar-seopress_custom_sub_menu_meta_robots
|
102 |
+
.wrap-seopress-cpt-noindex,
|
103 |
+
#wpadminbar
|
104 |
+
#wp-toolbar
|
105 |
+
#wp-admin-bar-seopress_custom_sub_menu_meta_robots
|
106 |
+
.wrap-seopress-cpt-nofollow {
|
107 |
display: block;
|
108 |
}
|
109 |
+
#wpadminbar
|
110 |
+
#wp-toolbar
|
111 |
+
#wp-admin-bar-seopress_custom_sub_menu_meta_robots
|
112 |
+
.wrap-seopress-cpt-noindex
|
113 |
+
.ab-icon,
|
114 |
+
#wpadminbar
|
115 |
+
#wp-toolbar
|
116 |
+
#wp-admin-bar-seopress_custom_sub_menu_meta_robots
|
117 |
+
.wrap-seopress-cpt-nofollow
|
118 |
+
.ab-icon {
|
119 |
float: none;
|
120 |
vertical-align: middle;
|
121 |
}
|
122 |
+
#wpadminbar
|
123 |
+
#wp-toolbar
|
124 |
+
#wp-admin-bar-seopress_custom_sub_menu_meta_robots
|
125 |
+
.wrap-seopress-cpt-noindex
|
126 |
+
.on::before,
|
127 |
+
#wpadminbar
|
128 |
+
#wp-toolbar
|
129 |
+
#wp-admin-bar-seopress_custom_sub_menu_meta_robots
|
130 |
+
.wrap-seopress-cpt-nofollow
|
131 |
+
.on::before {
|
132 |
+
color: var(--colorAlert);
|
133 |
+
}
|
134 |
+
#wpadminbar
|
135 |
+
#wp-toolbar
|
136 |
+
#wp-admin-bar-seopress_custom_sub_menu_meta_robots
|
137 |
+
.wrap-seopress-cpt-noindex
|
138 |
+
.off::before,
|
139 |
+
#wpadminbar
|
140 |
+
#wp-toolbar
|
141 |
+
#wp-admin-bar-seopress_custom_sub_menu_meta_robots
|
142 |
+
.wrap-seopress-cpt-nofollow
|
143 |
+
.off::before {
|
144 |
+
color: var(--colorSuccess);
|
145 |
}
|
|
|
|
|
|
|
|
@@ -1 +1 @@
|
|
1 |
-
|
1 |
+
@font-face{font-family:seopress;src:url(../fonts/seopress.eot?8v0bs0);src:url(../fonts/seopress.eot?8v0bs0#iefix) format("embedded-opentype"),url(../fonts/seopress.ttf?8v0bs0) format("truetype"),url(../fonts/seopress.woff?8v0bs0) format("woff"),url(../fonts/seopress.svg?8v0bs0#seopress) format("svg");font-weight:400;font-style:normal}[class*=" icon-seopress"],[class^=icon-seopress-]{font-family:seopress!important}.icon-seopress-seopress:before{content:"\e800";font:normal 14px/1 seopress;line-height:1.5rem}#seopress_content_analysis,#seopress_cpt,#seopress_pro_cpt,#wpadminbar,.column-seopress_score,.post-type-seopress_404 #wpcontent,.post-type-seopress_schemas #wpcontent,.seopress-option #wpcontent,.seopress-styles #wpcontent{--primaryColor:#007cba;--paragraphColor:#757575;--fontSize:13px;--fontFamily:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--color:#757575;--colorDark:#1e1e1e;--colorAlert:#a00;--colorWarning:#ffba00;--colorSuccess:#4ab866;--colorLowAlert:#e39f48;--colorPre:#37864b;--colorIcon:#d7dade;--lineHeight:24px;--titleColor:#3c434a;--titleFontSize:20px;--titleFontWeight:normal;--titleMargin:10px 0;--backgroundPrimary:#007cba;--backgroundPrimaryHover:#006ba1;--backgroundSecondaryHover:#f0f0f0;--borderColor:#a7aaad;--borderColorLight:#dcdcde;--borderColorLight40:rgba(220, 220, 222, 0.4);--borderColorCard:#e2e4e7;--borderColorTab:#c3c4c7}.icon-seopress-seopress:before{content:"\e800"}#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_top_level .wrap-seopress-noindex{background:var(--colorAlert);color:#fff;padding:0 8px;float:right;margin-left:6px}#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_top_level>a{display:inline-block}#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_top_level .wrap-seopress-noindex .ab-icon::before{color:#eee;vertical-align:middle}#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots{display:block;background:#23292d}#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots a{height:inherit;padding-bottom:5px}#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots .wrap-seopress-cpt-seo{font-weight:700;border-bottom:1px solid currentColor;width:100%;display:block;margin-bottom:5px}#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots .wrap-seopress-cpt-nofollow,#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots .wrap-seopress-cpt-noindex{display:block}#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots .wrap-seopress-cpt-nofollow .ab-icon,#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots .wrap-seopress-cpt-noindex .ab-icon{float:none;vertical-align:middle}#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots .wrap-seopress-cpt-nofollow .on::before,#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots .wrap-seopress-cpt-noindex .on::before{color:var(--colorAlert)}#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots .wrap-seopress-cpt-nofollow .off::before,#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots .wrap-seopress-cpt-noindex .off::before{color:var(--colorSuccess)}
|
@@ -1,29 +1,15 @@
|
|
1 |
html {
|
2 |
-
|
3 |
-
|
4 |
}
|
5 |
body.seopress-setup {
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
11 |
}
|
12 |
-
|
13 |
-
.wp-core-ui .button,
|
14 |
-
.wp-core-ui .button-secondary {
|
15 |
-
color: #6159e6;
|
16 |
-
border-color: #6159e6;
|
17 |
-
background: #ffffff;
|
18 |
-
vertical-align: middle;
|
19 |
-
}
|
20 |
-
|
21 |
-
.wp-core-ui .button-secondary:hover {
|
22 |
-
color: #555d66;
|
23 |
-
background: #fafafa;
|
24 |
-
border-color: #999;
|
25 |
-
}
|
26 |
-
|
27 |
.wp-core-ui select:focus,
|
28 |
input[type="text"]:focus,
|
29 |
input[type="password"]:focus,
|
@@ -43,1733 +29,387 @@ input[type="checkbox"]:focus,
|
|
43 |
input[type="radio"]:focus,
|
44 |
select:focus,
|
45 |
textarea:focus {
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
}
|
50 |
-
|
51 |
-
|
52 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
}
|
54 |
-
|
55 |
.spinner {
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
.log {
|
60 |
-
margin: 0;
|
61 |
-
text-transform: uppercase;
|
62 |
-
display: inline-block;
|
63 |
-
vertical-align: middle;
|
64 |
-
padding: 5px;
|
65 |
-
color: rgba(19, 191, 17, 1);
|
66 |
-
font-style: italic;
|
67 |
}
|
68 |
-
|
69 |
.admin_page_seopress_csv_importer.seopress-styles .seopress-option {
|
70 |
-
|
71 |
-
|
72 |
}
|
73 |
-
|
74 |
.admin_page_seopress_csv_importer .description {
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
}
|
79 |
-
|
80 |
.admin_page_seopress_csv_importer .description code {
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
}
|
87 |
-
|
88 |
.admin_page_seopress_csv_importer .seopress-setup-content table thead th {
|
89 |
-
|
90 |
}
|
91 |
-
|
92 |
.admin_page_seopress_csv_importer
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
}
|
99 |
-
|
100 |
.admin_page_seopress_csv_importer .seopress-setup-content table td select {
|
101 |
-
|
102 |
-
}
|
103 |
-
|
104 |
-
.admin_page_seopress_csv_importer .dashicons-yes-alt:before {
|
105 |
-
color: #3642ff;
|
106 |
}
|
107 |
-
|
108 |
.admin_page_seopress_csv_importer .seopress-wizard-services {
|
109 |
-
|
110 |
-
}
|
111 |
-
|
112 |
-
.seopress-setup {
|
113 |
-
text-align: center;
|
114 |
}
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
}
|
120 |
-
|
121 |
-
.seopress-setup .hidden {
|
122 |
-
display: none;
|
123 |
}
|
124 |
-
|
125 |
.seopress-setup .seopress-setup-content {
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
|
|
|
|
134 |
}
|
135 |
-
|
136 |
.seopress-setup-content h1,
|
137 |
.seopress-setup-content h2,
|
138 |
.seopress-setup-content h3,
|
139 |
.seopress-setup-content table {
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
}
|
147 |
-
|
148 |
.seopress-setup-content p {
|
149 |
-
|
150 |
-
font-size: 1em;
|
151 |
-
line-height: 1.75em;
|
152 |
-
color: #50575e;
|
153 |
}
|
154 |
-
|
155 |
-
.seopress-setup-content .m0 {
|
156 |
-
margin: 0;
|
157 |
-
}
|
158 |
-
|
159 |
.seopress-setup-content table {
|
160 |
-
|
161 |
-
line-height: 1.75em;
|
162 |
-
color: #50575e;
|
163 |
-
text-align: left;
|
164 |
-
}
|
165 |
-
|
166 |
-
.seopress-setup-content .description {
|
167 |
-
font-size: 13px;
|
168 |
-
margin: 1em 0;
|
169 |
-
font-style: italic;
|
170 |
-
}
|
171 |
-
|
172 |
-
.seopress-setup-content a {
|
173 |
-
color: #6259e6;
|
174 |
-
}
|
175 |
-
|
176 |
-
.seopress-setup-content a:focus,
|
177 |
-
.seopress-setup-content a:hover {
|
178 |
-
color: #111;
|
179 |
-
}
|
180 |
-
|
181 |
-
.seopress-option #seopress-edd-license-btn,
|
182 |
-
.seopress-option #seopress-refresh {
|
183 |
-
width: auto;
|
184 |
-
}
|
185 |
-
|
186 |
-
.seopress-setup-content .form-table th {
|
187 |
-
width: 35%;
|
188 |
-
vertical-align: top;
|
189 |
-
font-weight: 400;
|
190 |
-
}
|
191 |
-
|
192 |
-
.seopress-setup-content .form-table td {
|
193 |
-
vertical-align: top;
|
194 |
-
}
|
195 |
-
|
196 |
-
.seopress-setup-content .form-table td input,
|
197 |
-
.seopress-setup-content .form-table td select {
|
198 |
-
width: 100%;
|
199 |
-
box-sizing: border-box;
|
200 |
-
}
|
201 |
-
|
202 |
-
.seopress-setup-content .form-table td input[size] {
|
203 |
-
width: auto;
|
204 |
-
}
|
205 |
-
|
206 |
-
.seopress-setup-content .form-table td .description {
|
207 |
-
line-height: 1.5em;
|
208 |
-
display: block;
|
209 |
-
margin-top: 0.25em;
|
210 |
-
color: #999;
|
211 |
-
font-style: italic;
|
212 |
-
}
|
213 |
-
|
214 |
-
.seopress-setup-content .form-table td .input-checkbox,
|
215 |
-
.seopress-setup-content .form-table td .input-radio {
|
216 |
-
width: auto;
|
217 |
-
box-sizing: inherit;
|
218 |
-
padding: inherit;
|
219 |
-
margin: 0 0.5em 0 0;
|
220 |
-
box-shadow: none;
|
221 |
-
}
|
222 |
-
|
223 |
-
.seopress-setup-content .form-table .section_title td {
|
224 |
-
padding: 0;
|
225 |
-
}
|
226 |
-
|
227 |
-
.seopress-setup-content .form-table .section_title td h2,
|
228 |
-
.seopress-setup-content .form-table .section_title td p {
|
229 |
-
margin: 12px 0 0;
|
230 |
}
|
231 |
-
|
232 |
-
|
233 |
-
.seopress-setup-content .form-table th {
|
234 |
-
padding: 12px 0;
|
235 |
-
margin: 0;
|
236 |
-
border: 0;
|
237 |
-
}
|
238 |
-
|
239 |
-
.seopress-setup-content .form-table td:first-child,
|
240 |
-
.seopress-setup-content .form-table th:first-child {
|
241 |
-
padding-right: 1em;
|
242 |
-
}
|
243 |
-
|
244 |
-
.seopress-setup-content .seopress-setup-pages {
|
245 |
-
width: 100%;
|
246 |
-
border-top: 1px solid #eee;
|
247 |
-
}
|
248 |
-
|
249 |
-
.seopress-setup-content .seopress-setup-pages thead th {
|
250 |
-
display: none;
|
251 |
-
}
|
252 |
-
|
253 |
-
.seopress-setup-content .seopress-setup-pages .page-name {
|
254 |
-
width: 30%;
|
255 |
-
font-weight: 700;
|
256 |
-
}
|
257 |
-
|
258 |
-
.seopress-setup-content .seopress-setup-pages td,
|
259 |
-
.seopress-setup-content .seopress-setup-pages th {
|
260 |
-
padding: 14px 0;
|
261 |
-
border-bottom: 1px solid #eee;
|
262 |
-
}
|
263 |
-
|
264 |
-
.seopress-setup-content .seopress-setup-pages td:first-child,
|
265 |
-
.seopress-setup-content .seopress-setup-pages th:first-child {
|
266 |
-
padding-right: 9px;
|
267 |
-
}
|
268 |
-
|
269 |
-
.seopress-setup-content .seopress-setup-pages th {
|
270 |
-
padding-top: 0;
|
271 |
-
}
|
272 |
-
|
273 |
-
.seopress-setup-content .seopress-setup-pages .page-options p {
|
274 |
-
color: #777;
|
275 |
-
margin: 6px 0 0 24px;
|
276 |
-
line-height: 1.75em;
|
277 |
-
}
|
278 |
-
|
279 |
-
.seopress-setup-content .seopress-setup-pages .page-options p input {
|
280 |
-
vertical-align: middle;
|
281 |
-
margin: 1px 0 0;
|
282 |
-
height: 1.75em;
|
283 |
-
width: 1.75em;
|
284 |
-
line-height: 1.75em;
|
285 |
-
}
|
286 |
-
|
287 |
-
.seopress-setup-content .seopress-setup-pages .page-options p label {
|
288 |
-
line-height: 1;
|
289 |
-
}
|
290 |
-
|
291 |
-
@media screen and (max-width: 782px) {
|
292 |
-
.seopress-setup-content .form-table tbody th {
|
293 |
-
width: auto;
|
294 |
-
}
|
295 |
}
|
296 |
-
|
297 |
-
|
298 |
-
float: right;
|
299 |
}
|
300 |
-
|
301 |
.seopress-setup-content .seopress-setup-next-steps {
|
302 |
-
|
303 |
-
|
304 |
-
padding-bottom: 2px;
|
305 |
}
|
306 |
-
|
307 |
.seopress-setup-content .seopress-setup-next-steps h2 {
|
308 |
-
|
309 |
}
|
310 |
-
|
311 |
.seopress-setup-content
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
box-sizing: border-box;
|
317 |
}
|
318 |
-
|
319 |
.seopress-setup-content
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
box-sizing: border-box;
|
325 |
}
|
326 |
-
|
327 |
.seopress-setup-content .seopress-setup-next-steps ul {
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
}
|
332 |
-
|
333 |
.seopress-setup-content .seopress-setup-next-steps ul li a {
|
334 |
-
|
335 |
-
|
336 |
-
}
|
337 |
-
|
338 |
-
.seopress-setup-content .seopress-setup-next-steps ul .setup-product a.button {
|
339 |
-
background-color: #f7f7f7;
|
340 |
-
border-color: #ccc;
|
341 |
-
color: #23282d;
|
342 |
-
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #ccc;
|
343 |
-
text-shadow: 1px 0 1px #eee, 0 1px 1px #eee;
|
344 |
-
font-size: 1em;
|
345 |
-
height: auto;
|
346 |
-
line-height: 1.75em;
|
347 |
-
margin: 0 0 0.75em;
|
348 |
-
opacity: 1;
|
349 |
-
padding: 1em;
|
350 |
-
text-align: center;
|
351 |
-
}
|
352 |
-
|
353 |
-
.seopress-setup-content
|
354 |
-
.seopress-setup-next-steps
|
355 |
-
ul
|
356 |
-
.setup-product
|
357 |
-
a.button:active,
|
358 |
-
.seopress-setup-content
|
359 |
-
.seopress-setup-next-steps
|
360 |
-
ul
|
361 |
-
.setup-product
|
362 |
-
a.button:focus,
|
363 |
-
.seopress-setup-content
|
364 |
-
.seopress-setup-next-steps
|
365 |
-
ul
|
366 |
-
.setup-product
|
367 |
-
a.button:hover {
|
368 |
-
background: #f5f5f5;
|
369 |
-
border-color: #aaa;
|
370 |
}
|
371 |
-
|
372 |
-
.seopress-setup-content
|
373 |
-
.seopress-setup-next-steps
|
374 |
-
ul
|
375 |
-
.setup-product
|
376 |
-
a.button-primary {
|
377 |
-
color: #fff;
|
378 |
-
background-color: #bb77ae;
|
379 |
-
border-color: #a36597;
|
380 |
-
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
|
381 |
-
text-shadow: 0 -1px 1px #a36597, 1px 0 1px #a36597, 0 1px 1px #a36597,
|
382 |
-
-1px 0 1px #a36597;
|
383 |
-
}
|
384 |
-
|
385 |
-
.seopress-setup-content
|
386 |
-
.seopress-setup-next-steps
|
387 |
-
ul
|
388 |
-
.setup-product
|
389 |
-
a.button-primary:active,
|
390 |
-
.seopress-setup-content
|
391 |
-
.seopress-setup-next-steps
|
392 |
-
ul
|
393 |
-
.setup-product
|
394 |
-
a.button-primary:focus,
|
395 |
-
.seopress-setup-content
|
396 |
-
.seopress-setup-next-steps
|
397 |
-
ul
|
398 |
-
.setup-product
|
399 |
-
a.button-primary:hover {
|
400 |
-
color: #fff;
|
401 |
-
background: #a36597;
|
402 |
-
border-color: #a36597;
|
403 |
-
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
|
404 |
-
}
|
405 |
-
|
406 |
.seopress-setup-content .seopress-setup-next-steps ul li a::before {
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
}
|
417 |
-
|
418 |
-
.seopress-setup-content .seopress-setup-next-steps ul .learn-more a::before {
|
419 |
-
content: "\f105";
|
420 |
}
|
421 |
-
|
422 |
-
.seopress-setup-content
|
423 |
-
.seopress-setup-next-steps
|
424 |
-
ul
|
425 |
-
.video-walkthrough
|
426 |
-
a::before {
|
427 |
-
content: "\f126";
|
428 |
-
}
|
429 |
-
|
430 |
-
.seopress-setup-content .seopress-setup-next-steps ul .newsletter a::before {
|
431 |
-
content: "\f465";
|
432 |
-
}
|
433 |
-
|
434 |
-
.seopress-setup-content .updated,
|
435 |
-
.seopress-setup-content .seopress-newsletter {
|
436 |
-
padding: 24px;
|
437 |
-
margin: 0 0 24px;
|
438 |
-
overflow: hidden;
|
439 |
-
background: #f5f5f5;
|
440 |
-
}
|
441 |
-
|
442 |
-
.seopress-setup-content .updated p,
|
443 |
-
.seopress-setup-content .seopress-newsletter p {
|
444 |
-
padding: 0;
|
445 |
-
margin: 0 0 12px;
|
446 |
-
}
|
447 |
-
|
448 |
-
.seopress-setup-content .updated form,
|
449 |
-
.seopress-setup-content .updated p:last-child,
|
450 |
-
.seopress-setup-content .seopress-newsletter form,
|
451 |
-
.seopress-setup-content .seopress-tracker {
|
452 |
-
margin: 24px 0;
|
453 |
-
border: 1px solid #eee;
|
454 |
-
padding: 20px;
|
455 |
-
border-radius: 4px;
|
456 |
-
overflow: hidden;
|
457 |
-
}
|
458 |
-
|
459 |
-
.seopress-setup-content .seopress-tracker p {
|
460 |
-
font-size: 14px;
|
461 |
-
line-height: 1.5em;
|
462 |
-
}
|
463 |
-
|
464 |
-
.seopress-setup-content .seopress-tracker .checkbox {
|
465 |
-
line-height: 24px;
|
466 |
-
font-weight: 500;
|
467 |
-
font-size: 1em;
|
468 |
-
margin-top: 0;
|
469 |
-
margin-bottom: 20px;
|
470 |
-
}
|
471 |
-
|
472 |
-
.seopress-setup-content .checkbox input[type="checkbox"] {
|
473 |
-
opacity: 0;
|
474 |
-
position: absolute;
|
475 |
-
left: -9999px;
|
476 |
-
}
|
477 |
-
|
478 |
-
.seopress-setup-content .checkbox label {
|
479 |
-
position: relative;
|
480 |
-
display: inline-block;
|
481 |
-
padding-left: 28px;
|
482 |
-
}
|
483 |
-
|
484 |
-
.seopress-setup-content .checkbox label::after,
|
485 |
-
.seopress-setup-content .checkbox label::before {
|
486 |
-
position: absolute;
|
487 |
-
content: "";
|
488 |
-
display: inline-block;
|
489 |
-
}
|
490 |
-
|
491 |
-
.seopress-setup-content .checkbox label::before {
|
492 |
-
height: 16px;
|
493 |
-
width: 16px;
|
494 |
-
left: 0;
|
495 |
-
top: 3px;
|
496 |
-
border: 1px solid #aaa;
|
497 |
-
background-color: #fff;
|
498 |
-
border-radius: 3px;
|
499 |
-
}
|
500 |
-
|
501 |
-
.seopress-setup-content .checkbox label::after {
|
502 |
-
height: 5px;
|
503 |
-
width: 9px;
|
504 |
-
border-left: 2px solid;
|
505 |
-
border-bottom: 2px solid;
|
506 |
-
-webkit-transform: rotate(-45deg);
|
507 |
-
-ms-transform: rotate(-45deg);
|
508 |
-
transform: rotate(-45deg);
|
509 |
-
left: 4px;
|
510 |
-
top: 7px;
|
511 |
-
color: #fff;
|
512 |
-
}
|
513 |
-
|
514 |
-
.seopress-setup-content .checkbox input[type="checkbox"] + label::after {
|
515 |
-
content: none;
|
516 |
-
}
|
517 |
-
|
518 |
-
.seopress-setup-content
|
519 |
-
.checkbox
|
520 |
-
input[type="checkbox"]:checked
|
521 |
-
+ label::after {
|
522 |
-
content: "";
|
523 |
-
}
|
524 |
-
|
525 |
-
.seopress-setup-content .checkbox input[type="checkbox"]:focus + label::before {
|
526 |
-
outline: #3b99fc auto 5px;
|
527 |
-
}
|
528 |
-
|
529 |
-
.seopress-setup-content
|
530 |
-
.checkbox
|
531 |
-
input[type="checkbox"]:checked
|
532 |
-
+ label::before {
|
533 |
-
background: #6259e6;
|
534 |
-
border-color: #6259e6;
|
535 |
-
}
|
536 |
-
|
537 |
.seopress-setup-steps {
|
538 |
-
|
539 |
-
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
display: inline-flex;
|
550 |
}
|
551 |
-
|
552 |
.seopress-setup-steps li {
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
|
|
|
|
|
|
|
|
562 |
}
|
563 |
-
|
564 |
.seopress-setup-steps li a {
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
font-family: "Dashicons";
|
593 |
-
font-size: 24px;
|
594 |
-
line-height: 24px;
|
595 |
}
|
596 |
-
|
597 |
.seopress-setup-steps li.active {
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
}
|
606 |
-
|
607 |
-
|
608 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
609 |
}
|
610 |
-
|
611 |
-
@keyframes fade {
|
612 |
-
0% {
|
613 |
-
border-color: #6259e600;
|
614 |
-
left: -100%;
|
615 |
-
}
|
616 |
-
100% {
|
617 |
-
border-color: #6259e6;
|
618 |
-
left: 0;
|
619 |
-
}
|
620 |
-
}
|
621 |
-
|
622 |
-
.seopress-setup-steps li.active::after {
|
623 |
-
content: "";
|
624 |
-
position: absolute;
|
625 |
-
bottom: -2px;
|
626 |
-
left: 0;
|
627 |
-
animation-name: fade;
|
628 |
-
animation-duration: 2s;
|
629 |
-
width: 100%;
|
630 |
-
animation-iteration-count: 1;
|
631 |
-
height: 2px;
|
632 |
-
background: #6259e6;
|
633 |
-
z-index: -1;
|
634 |
-
}
|
635 |
-
|
636 |
-
.seopress-setup-steps li.done {
|
637 |
-
border-color: #6259e6;
|
638 |
-
color: #6259e6;
|
639 |
-
z-index: 10;
|
640 |
-
}
|
641 |
-
|
642 |
-
.seopress-setup-steps li.done::before {
|
643 |
-
border-color: #6259e6;
|
644 |
-
background: #6259e6;
|
645 |
-
content: "\f147";
|
646 |
-
color: #fff;
|
647 |
-
}
|
648 |
-
|
649 |
.seopress-setup .seopress-setup-actions {
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
}
|
654 |
-
|
655 |
-
.seopress-setup .seopress-setup-actions .button {
|
656 |
-
font-size: 1.25em;
|
657 |
-
padding: 0.5em 1em;
|
658 |
-
line-height: 1em;
|
659 |
-
margin-right: 0.5em;
|
660 |
-
margin-bottom: 2px;
|
661 |
-
height: auto;
|
662 |
-
border-radius: 4px;
|
663 |
-
}
|
664 |
-
|
665 |
-
.seopress-setup .seopress-setup-actions .button-primary {
|
666 |
-
background-color: #6259e6;
|
667 |
-
border-color: #6259e6;
|
668 |
-
margin: 0;
|
669 |
-
opacity: 1;
|
670 |
-
transition: all 300ms linear;
|
671 |
-
color: #fff;
|
672 |
-
}
|
673 |
-
|
674 |
-
.seopress-setup .seopress-setup-actions .button-primary:active,
|
675 |
-
.seopress-setup .seopress-setup-actions .button-primary:focus,
|
676 |
-
.seopress-setup .seopress-setup-actions .button-primary:hover {
|
677 |
-
background: none;
|
678 |
-
border-color: #6259e6;
|
679 |
-
color: #6259e6;
|
680 |
-
}
|
681 |
-
|
682 |
-
.seopress-setup-content p:last-child {
|
683 |
-
margin-bottom: 0;
|
684 |
-
}
|
685 |
-
|
686 |
-
.seopress-setup-content p.store-setup {
|
687 |
-
margin-top: 0;
|
688 |
}
|
689 |
-
|
690 |
.seopress-setup-footer-links {
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
|
696 |
-
}
|
697 |
-
|
698 |
-
.seopress-wizard-services {
|
699 |
-
border: 1px solid #eee;
|
700 |
-
padding: 1em;
|
701 |
-
margin: 0 0 1em;
|
702 |
-
list-style: none outside;
|
703 |
-
border-radius: 4px;
|
704 |
-
overflow: hidden;
|
705 |
-
text-align: left;
|
706 |
-
}
|
707 |
-
|
708 |
-
.seopress-wizard-services p {
|
709 |
-
margin: 0 0 1em 0;
|
710 |
-
padding: 0;
|
711 |
-
font-size: 1em;
|
712 |
-
line-height: 1.5em;
|
713 |
-
}
|
714 |
-
|
715 |
-
.seopress-wizard-service-item,
|
716 |
-
.seopress-wizard-services-list-toggle {
|
717 |
-
display: -webkit-box;
|
718 |
-
display: -webkit-flex;
|
719 |
-
display: flex;
|
720 |
-
-webkit-flex-wrap: nowrap;
|
721 |
-
flex-wrap: nowrap;
|
722 |
-
-webkit-box-pack: justify;
|
723 |
-
-webkit-justify-content: space-between;
|
724 |
-
justify-content: space-between;
|
725 |
-
padding: 0;
|
726 |
-
color: #50575e;
|
727 |
-
-webkit-box-align: center;
|
728 |
-
-webkit-align-items: center;
|
729 |
-
align-items: center;
|
730 |
-
margin: 1rem 0;
|
731 |
-
}
|
732 |
-
|
733 |
-
.seopress-wizard-service-item,
|
734 |
-
.seopress-wizard-services-list-toggle:first-child {
|
735 |
-
margin-top: 0;
|
736 |
}
|
737 |
-
|
738 |
-
|
739 |
-
.seopress-wizard-services-list-toggle:last-child {
|
740 |
-
border-bottom: 0;
|
741 |
-
}
|
742 |
-
|
743 |
-
.seopress-wizard-service-item .payment-gateway-fee,
|
744 |
-
.seopress-wizard-services-list-toggle .payment-gateway-fee {
|
745 |
-
color: #a6a6a6;
|
746 |
-
}
|
747 |
-
|
748 |
-
.seopress-wizard-service-item .seopress-wizard-service-name,
|
749 |
-
.seopress-wizard-services-list-toggle .seopress-wizard-service-name {
|
750 |
-
-webkit-flex-basis: 0;
|
751 |
-
flex-basis: 0;
|
752 |
-
min-width: 160px;
|
753 |
-
text-align: center;
|
754 |
-
font-weight: 700;
|
755 |
-
padding: 2em 0;
|
756 |
-
-webkit-align-self: stretch;
|
757 |
-
align-self: stretch;
|
758 |
-
display: -webkit-box;
|
759 |
-
display: -webkit-flex;
|
760 |
-
display: flex;
|
761 |
-
-webkit-box-align: baseline;
|
762 |
-
-webkit-align-items: baseline;
|
763 |
-
align-items: baseline;
|
764 |
-
}
|
765 |
-
|
766 |
-
.seopress-wizard-payment-gateway-form
|
767 |
-
.seopress-wizard-service-item
|
768 |
-
.seopress-wizard-service-name,
|
769 |
-
.seopress-wizard-payment-gateway-form
|
770 |
-
.seopress-wizard-services-list-toggle
|
771 |
-
.seopress-wizard-service-name {
|
772 |
-
-webkit-box-pack: center;
|
773 |
-
-webkit-justify-content: center;
|
774 |
-
justify-content: center;
|
775 |
}
|
776 |
-
|
777 |
-
|
778 |
-
.seopress-wizard-services-list-toggle .seopress-wizard-service-name img {
|
779 |
-
max-width: 75px;
|
780 |
-
}
|
781 |
-
|
782 |
-
.seopress-wizard-service-item.stripe-logo .seopress-wizard-service-name img,
|
783 |
-
.seopress-wizard-services-list-toggle.stripe-logo
|
784 |
-
.seopress-wizard-service-name
|
785 |
-
img {
|
786 |
-
padding: 8px 0;
|
787 |
}
|
788 |
-
|
789 |
-
|
790 |
-
.seopress-wizard-services-list-toggle.paypal-logo
|
791 |
-
.seopress-wizard-service-name
|
792 |
-
img {
|
793 |
-
max-width: 87px;
|
794 |
-
padding: 2px 0;
|
795 |
}
|
796 |
-
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
-
|
802 |
-
|
803 |
-
}
|
804 |
-
|
805 |
-
.seopress-wizard-service-item.square-logo .seopress-wizard-service-name img,
|
806 |
-
.seopress-wizard-services-list-toggle.square-logo
|
807 |
-
.seopress-wizard-service-name
|
808 |
-
img {
|
809 |
-
max-width: 95px;
|
810 |
-
padding: 12px 0;
|
811 |
-
}
|
812 |
-
|
813 |
-
.seopress-wizard-service-item.eway-logo .seopress-wizard-service-name img,
|
814 |
-
.seopress-wizard-services-list-toggle.eway-logo
|
815 |
-
.seopress-wizard-service-name
|
816 |
-
img {
|
817 |
-
max-width: 87px;
|
818 |
-
}
|
819 |
-
|
820 |
-
.seopress-wizard-service-item.payfast-logo .seopress-wizard-service-name img,
|
821 |
-
.seopress-wizard-services-list-toggle.payfast-logo
|
822 |
-
.seopress-wizard-service-name
|
823 |
-
img {
|
824 |
-
max-width: 140px;
|
825 |
-
}
|
826 |
-
|
827 |
-
.seopress-wizard-service-item .seopress-wizard-service-description,
|
828 |
-
.seopress-wizard-services-list-toggle .seopress-wizard-service-description {
|
829 |
-
-webkit-box-flex: 1;
|
830 |
-
-webkit-flex-grow: 1;
|
831 |
-
flex-grow: 1;
|
832 |
-
padding: 20px;
|
833 |
-
}
|
834 |
-
|
835 |
-
.seopress-wizard-service-item .seopress-wizard-service-description p,
|
836 |
-
.seopress-wizard-services-list-toggle .seopress-wizard-service-description p {
|
837 |
-
margin-bottom: 1em;
|
838 |
-
}
|
839 |
-
|
840 |
-
.seopress-wizard-service-item .seopress-wizard-service-description p:last-child,
|
841 |
-
.seopress-wizard-services-list-toggle
|
842 |
-
.seopress-wizard-service-description
|
843 |
-
p:last-child {
|
844 |
-
margin-bottom: 0;
|
845 |
-
}
|
846 |
-
|
847 |
-
.seopress-wizard-service-item
|
848 |
-
.seopress-wizard-service-description
|
849 |
-
.seopress-wizard-service-settings-description,
|
850 |
-
.seopress-wizard-services-list-toggle
|
851 |
-
.seopress-wizard-service-description
|
852 |
-
.seopress-wizard-service-settings-description {
|
853 |
-
display: block;
|
854 |
-
font-style: italic;
|
855 |
-
color: #999;
|
856 |
-
}
|
857 |
-
|
858 |
-
.seopress-wizard-service-item .seopress-wizard-service-enable,
|
859 |
-
.seopress-wizard-services-list-toggle .seopress-wizard-service-enable {
|
860 |
-
-webkit-flex-basis: 0;
|
861 |
-
flex-basis: 0;
|
862 |
-
min-width: 75px;
|
863 |
-
text-align: center;
|
864 |
-
cursor: pointer;
|
865 |
-
padding: 2em 0;
|
866 |
-
position: relative;
|
867 |
-
max-height: 1.5em;
|
868 |
-
-webkit-align-self: flex-start;
|
869 |
-
align-self: flex-start;
|
870 |
-
-webkit-box-ordinal-group: 4;
|
871 |
-
-webkit-order: 3;
|
872 |
-
order: 3;
|
873 |
-
}
|
874 |
-
|
875 |
-
.seopress-wizard-service-item .seopress-wizard-service-toggle,
|
876 |
-
.seopress-wizard-services-list-toggle .seopress-wizard-service-toggle {
|
877 |
-
height: 16px;
|
878 |
-
width: 32px;
|
879 |
-
border: 2px solid #935687;
|
880 |
-
background-color: #935687;
|
881 |
-
display: inline-block;
|
882 |
-
text-indent: -9999px;
|
883 |
-
border-radius: 10em;
|
884 |
-
position: relative;
|
885 |
-
}
|
886 |
-
|
887 |
-
.seopress-wizard-service-item
|
888 |
-
.seopress-wizard-service-toggle
|
889 |
-
input[type="checkbox"],
|
890 |
-
.seopress-wizard-services-list-toggle
|
891 |
-
.seopress-wizard-service-toggle
|
892 |
-
input[type="checkbox"] {
|
893 |
-
display: none;
|
894 |
-
}
|
895 |
-
|
896 |
-
.seopress-wizard-service-item .seopress-wizard-service-toggle::before,
|
897 |
-
.seopress-wizard-services-list-toggle .seopress-wizard-service-toggle::before {
|
898 |
-
content: "";
|
899 |
-
display: block;
|
900 |
-
width: 16px;
|
901 |
-
height: 16px;
|
902 |
-
background: #fff;
|
903 |
-
position: absolute;
|
904 |
-
top: 0;
|
905 |
-
right: 0;
|
906 |
-
border-radius: 100%;
|
907 |
-
}
|
908 |
-
|
909 |
-
.seopress-wizard-service-item .seopress-wizard-service-toggle.disabled,
|
910 |
-
.seopress-wizard-services-list-toggle .seopress-wizard-service-toggle.disabled {
|
911 |
-
border-color: #999;
|
912 |
-
background-color: #999;
|
913 |
-
}
|
914 |
-
|
915 |
-
.seopress-wizard-service-item .seopress-wizard-service-toggle.disabled::before,
|
916 |
-
.seopress-wizard-services-list-toggle
|
917 |
-
.seopress-wizard-service-toggle.disabled::before {
|
918 |
-
right: auto;
|
919 |
-
left: 0;
|
920 |
}
|
921 |
-
|
922 |
-
|
923 |
-
|
924 |
-
display: none;
|
925 |
-
margin-top: 0.75em;
|
926 |
-
margin-bottom: 0;
|
927 |
-
cursor: default;
|
928 |
}
|
929 |
-
|
930 |
-
|
931 |
-
.seopress-wizard-services-list-toggle .seopress-wizard-service-settings.hide {
|
932 |
-
display: none;
|
933 |
}
|
934 |
-
|
935 |
-
|
936 |
-
|
937 |
-
|
938 |
-
|
939 |
}
|
940 |
-
|
941 |
-
|
942 |
-
.seopress-wizard-services-list-toggle.checked
|
943 |
-
.seopress-wizard-service-settings.hide {
|
944 |
-
display: none;
|
945 |
}
|
946 |
-
|
947 |
-
|
948 |
-
|
949 |
-
|
|
|
|
|
950 |
}
|
951 |
-
|
952 |
-
|
953 |
-
cursor: pointer;
|
954 |
-
}
|
955 |
-
|
956 |
-
.seopress-wizard-services-list-toggle .seopress-wizard-service-enable::before {
|
957 |
-
content: "\f343";
|
958 |
-
font-family: dashicons;
|
959 |
-
visibility: initial;
|
960 |
-
color: #50575e;
|
961 |
-
font-size: 25px;
|
962 |
-
margin-top: -7px;
|
963 |
-
margin-left: -5px;
|
964 |
-
position: absolute;
|
965 |
-
visibility: visible;
|
966 |
}
|
967 |
-
|
968 |
-
|
969 |
-
.seopress-wizard-service-enable::before {
|
970 |
-
content: "\f347";
|
971 |
}
|
972 |
-
|
973 |
-
|
974 |
-
visibility: hidden;
|
975 |
-
position: relative;
|
976 |
}
|
977 |
-
|
978 |
.seopress-wizard-services.manual .seopress-wizard-service-item {
|
979 |
-
|
980 |
-
}
|
981 |
-
|
982 |
-
.seopress-wizard-services.shipping {
|
983 |
-
margin: 0;
|
984 |
-
}
|
985 |
-
|
986 |
-
.seopress-wizard-services.shipping .seopress-wizard-service-name {
|
987 |
-
font-weight: 400;
|
988 |
-
text-align: left;
|
989 |
-
-webkit-box-align: center;
|
990 |
-
-webkit-align-items: center;
|
991 |
-
align-items: center;
|
992 |
-
max-height: 5em;
|
993 |
-
padding: 0;
|
994 |
-
}
|
995 |
-
|
996 |
-
.seopress-wizard-services.shipping .seopress-wizard-service-item {
|
997 |
-
padding-left: 2em;
|
998 |
-
padding-top: 0.67em;
|
999 |
-
}
|
1000 |
-
|
1001 |
-
.seopress-wizard-services.shipping .seopress-wizard-service-item:first-child {
|
1002 |
-
border-bottom: 0;
|
1003 |
-
padding-bottom: 0;
|
1004 |
-
font-weight: 700;
|
1005 |
-
}
|
1006 |
-
|
1007 |
-
.seopress-wizard-services.shipping
|
1008 |
-
.seopress-wizard-service-item:first-child
|
1009 |
-
.seopress-wizard-service-name {
|
1010 |
-
font-weight: 700;
|
1011 |
-
}
|
1012 |
-
|
1013 |
-
.seopress-wizard-services.shipping .shipping-method-setting,
|
1014 |
-
.seopress-wizard-services.shipping .seopress-wizard-shipping-method-select {
|
1015 |
-
display: -webkit-box;
|
1016 |
-
display: -webkit-flex;
|
1017 |
-
display: flex;
|
1018 |
-
}
|
1019 |
-
|
1020 |
-
.seopress-wizard-services.shipping .shipping-method-setting.hide,
|
1021 |
-
.seopress-wizard-services.shipping
|
1022 |
-
.seopress-wizard-shipping-method-select.hide {
|
1023 |
-
display: none;
|
1024 |
-
}
|
1025 |
-
|
1026 |
-
.seopress-wizard-services.shipping .shipping-method-setting input,
|
1027 |
-
.seopress-wizard-services.shipping .seopress-wizard-shipping-method-dropdown {
|
1028 |
-
margin-right: 2em;
|
1029 |
-
margin-bottom: 1em;
|
1030 |
-
}
|
1031 |
-
|
1032 |
-
.seopress-wizard-services.shipping .shipping-method-setting input .select2,
|
1033 |
-
.seopress-wizard-services.shipping
|
1034 |
-
.seopress-wizard-shipping-method-dropdown
|
1035 |
-
.select2 {
|
1036 |
-
min-width: 130px;
|
1037 |
-
}
|
1038 |
-
|
1039 |
-
.seopress-wizard-services.shipping .seopress-wizard-service-description {
|
1040 |
-
display: -webkit-box;
|
1041 |
-
display: -webkit-flex;
|
1042 |
-
display: flex;
|
1043 |
-
-webkit-box-orient: vertical;
|
1044 |
-
-webkit-box-direction: normal;
|
1045 |
-
-webkit-flex-direction: column;
|
1046 |
-
flex-direction: column;
|
1047 |
-
color: #a6a6a6;
|
1048 |
-
}
|
1049 |
-
|
1050 |
-
.seopress-wizard-services.shipping
|
1051 |
-
.seopress-wizard-service-item:not(:first-child)
|
1052 |
-
.seopress-wizard-service-description {
|
1053 |
-
font-size: 0.92em;
|
1054 |
-
padding-bottom: 10px;
|
1055 |
-
}
|
1056 |
-
|
1057 |
-
.seopress-wizard-services.shipping .shipping-method-setting input {
|
1058 |
-
width: 95px;
|
1059 |
-
border: 1px solid #aaa;
|
1060 |
-
border-color: #ddd;
|
1061 |
-
border-radius: 4px;
|
1062 |
-
height: 28px;
|
1063 |
-
padding-left: 8px;
|
1064 |
-
padding-right: 24px;
|
1065 |
-
font-size: 14px;
|
1066 |
-
color: #444;
|
1067 |
-
background-color: #fff;
|
1068 |
-
display: inline-block;
|
1069 |
-
}
|
1070 |
-
|
1071 |
-
.seopress-wizard-services.shipping .shipping-method-description,
|
1072 |
-
.seopress-wizard-services.shipping .shipping-method-setting .description {
|
1073 |
-
color: #7e7e7e;
|
1074 |
-
font-size: 0.9em;
|
1075 |
-
}
|
1076 |
-
|
1077 |
-
.seopress-wizard-services.shipping
|
1078 |
-
.shipping-method-setting
|
1079 |
-
input::-webkit-input-placeholder {
|
1080 |
-
color: #e1e1e1;
|
1081 |
-
}
|
1082 |
-
|
1083 |
-
.seopress-wizard-services.shipping
|
1084 |
-
.shipping-method-setting
|
1085 |
-
input:-ms-input-placeholder {
|
1086 |
-
color: #e1e1e1;
|
1087 |
-
}
|
1088 |
-
|
1089 |
-
.seopress-wizard-services.shipping
|
1090 |
-
.shipping-method-setting
|
1091 |
-
input::-ms-input-placeholder {
|
1092 |
-
color: #e1e1e1;
|
1093 |
-
}
|
1094 |
-
|
1095 |
-
.seopress-wizard-services.shipping .shipping-method-setting input::placeholder {
|
1096 |
-
color: #e1e1e1;
|
1097 |
-
}
|
1098 |
-
|
1099 |
-
.seopress-setup-shipping-units p {
|
1100 |
-
line-height: 1.5em;
|
1101 |
-
font-size: 13px;
|
1102 |
-
margin-bottom: 0.25em;
|
1103 |
-
text-align: center;
|
1104 |
-
}
|
1105 |
-
|
1106 |
-
.seopress-setup-shipping-units .seopress-setup-shipping-unit {
|
1107 |
-
margin-bottom: 1.75em;
|
1108 |
-
}
|
1109 |
-
|
1110 |
-
.seopress-setup-shipping-units .seopress-setup-shipping-unit .select2 {
|
1111 |
-
min-width: 125px;
|
1112 |
-
top: -5px;
|
1113 |
-
}
|
1114 |
-
|
1115 |
-
.hide {
|
1116 |
-
display: none;
|
1117 |
-
}
|
1118 |
-
|
1119 |
-
.seopress-wizard-features {
|
1120 |
-
display: -webkit-box;
|
1121 |
-
display: -webkit-flex;
|
1122 |
-
display: flex;
|
1123 |
-
-webkit-flex-wrap: wrap;
|
1124 |
-
flex-wrap: wrap;
|
1125 |
-
list-style: none;
|
1126 |
-
padding: 0;
|
1127 |
-
}
|
1128 |
-
|
1129 |
-
.seopress-wizard-features .seopress-wizard-feature-item {
|
1130 |
-
-webkit-flex-basis: calc(50% - 4em - 3px);
|
1131 |
-
flex-basis: calc(50% - 4em - 3px);
|
1132 |
-
border: 1px solid #eee;
|
1133 |
-
padding: 2em;
|
1134 |
-
}
|
1135 |
-
|
1136 |
-
.seopress-wizard-features .seopress-wizard-feature-item:nth-child(1) {
|
1137 |
-
border-radius: 4px 0 0 0;
|
1138 |
-
}
|
1139 |
-
|
1140 |
-
.seopress-wizard-features .seopress-wizard-feature-item:nth-child(2) {
|
1141 |
-
border-left: 0;
|
1142 |
-
border-radius: 0 4px 0 0;
|
1143 |
-
}
|
1144 |
-
|
1145 |
-
.seopress-wizard-features .seopress-wizard-feature-item:nth-child(3) {
|
1146 |
-
border-top: 0;
|
1147 |
-
border-radius: 0 0 0 4px;
|
1148 |
-
}
|
1149 |
-
|
1150 |
-
.seopress-wizard-features .seopress-wizard-feature-item:nth-child(4) {
|
1151 |
-
border-top: 0;
|
1152 |
-
border-left: 0;
|
1153 |
-
border-radius: 0 0 4px 0;
|
1154 |
-
}
|
1155 |
-
|
1156 |
-
.seopress-wizard-features p.seopress-wizard-feature-description,
|
1157 |
-
.seopress-wizard-features p.seopress-wizard-feature-name {
|
1158 |
-
margin: 0;
|
1159 |
-
line-height: 1.5em;
|
1160 |
-
}
|
1161 |
-
|
1162 |
-
h3.jetpack-reasons {
|
1163 |
-
text-align: center;
|
1164 |
-
margin: 3em 0 1em 0;
|
1165 |
-
font-size: 14px;
|
1166 |
-
}
|
1167 |
-
|
1168 |
-
.jetpack-logo,
|
1169 |
-
.wcs-notice {
|
1170 |
-
display: block;
|
1171 |
-
margin: 1.75em auto 2em auto;
|
1172 |
-
max-height: 175px;
|
1173 |
-
}
|
1174 |
-
|
1175 |
-
.activate-splash .jetpack-logo {
|
1176 |
-
width: 170px;
|
1177 |
-
margin-bottom: 0;
|
1178 |
-
}
|
1179 |
-
|
1180 |
-
.activate-splash .wcs-notice {
|
1181 |
-
margin-top: 1em;
|
1182 |
-
padding-left: 57px;
|
1183 |
-
}
|
1184 |
-
|
1185 |
-
.step {
|
1186 |
-
text-align: center;
|
1187 |
-
}
|
1188 |
-
|
1189 |
-
.seopress-setup .seopress-setup-actions .button {
|
1190 |
-
text-shadow: none;
|
1191 |
-
font-weight: 300;
|
1192 |
-
font-size: 16px;
|
1193 |
-
padding: 1em 2em;
|
1194 |
-
box-shadow: none;
|
1195 |
-
min-width: 12em;
|
1196 |
-
min-width: auto;
|
1197 |
-
margin-top: 10px;
|
1198 |
-
}
|
1199 |
-
|
1200 |
-
.seopress-setup .seopress-setup-actions .button:active,
|
1201 |
-
.seopress-setup .seopress-setup-actions .button:focus,
|
1202 |
-
.seopress-setup .seopress-setup-actions .button:hover {
|
1203 |
-
box-shadow: none;
|
1204 |
-
}
|
1205 |
-
|
1206 |
-
.seopress-setup .seopress-setup-actions .plugin-install-info {
|
1207 |
-
display: block;
|
1208 |
-
font-style: italic;
|
1209 |
-
color: #999;
|
1210 |
-
font-size: 14px;
|
1211 |
-
line-height: 1.5em;
|
1212 |
-
margin: 5px 0;
|
1213 |
-
}
|
1214 |
-
|
1215 |
-
.seopress-setup .seopress-setup-actions .plugin-install-info > * {
|
1216 |
-
display: block;
|
1217 |
-
}
|
1218 |
-
|
1219 |
-
.seopress-setup
|
1220 |
-
.seopress-setup-actions
|
1221 |
-
.plugin-install-info
|
1222 |
-
.plugin-install-info-list-item::after {
|
1223 |
-
content: ", ";
|
1224 |
-
}
|
1225 |
-
|
1226 |
-
.seopress-setup
|
1227 |
-
.seopress-setup-actions
|
1228 |
-
.plugin-install-info
|
1229 |
-
.plugin-install-info-list-item:last-of-type::after {
|
1230 |
-
content: ". ";
|
1231 |
-
}
|
1232 |
-
|
1233 |
-
.seopress-setup .seopress-setup-actions .plugin-install-info a {
|
1234 |
-
white-space: nowrap;
|
1235 |
-
}
|
1236 |
-
|
1237 |
-
.seopress-setup
|
1238 |
-
.seopress-setup-actions
|
1239 |
-
.plugin-install-info
|
1240 |
-
a:not(:hover):not(:focus) {
|
1241 |
-
color: inherit;
|
1242 |
-
}
|
1243 |
-
|
1244 |
-
.plugin-install-source {
|
1245 |
-
background: rgba(187, 119, 174, 0.15);
|
1246 |
-
}
|
1247 |
-
|
1248 |
-
.plugin-install-source:not(.seopress-wizard-service-item) {
|
1249 |
-
box-shadow: 0 0 0 10px rgba(187, 119, 174, 0.15);
|
1250 |
-
}
|
1251 |
-
|
1252 |
-
.location-prompt {
|
1253 |
-
color: #50575e;
|
1254 |
-
font-size: 13px;
|
1255 |
-
font-weight: 500;
|
1256 |
-
margin-bottom: 0.5em;
|
1257 |
-
margin-top: 0.85em;
|
1258 |
-
display: inline-block;
|
1259 |
-
width: 100%;
|
1260 |
-
text-align: left;
|
1261 |
-
}
|
1262 |
-
|
1263 |
-
.location-input {
|
1264 |
-
border: 1px solid #aaa;
|
1265 |
-
border-color: #ddd;
|
1266 |
-
border-radius: 4px;
|
1267 |
-
height: 30px;
|
1268 |
-
width: calc(100% - 8px - 24px - 2px);
|
1269 |
-
padding-left: 8px;
|
1270 |
-
padding-right: 24px;
|
1271 |
-
font-size: 16px;
|
1272 |
-
color: #444;
|
1273 |
-
background-color: #fff;
|
1274 |
-
display: inline-block;
|
1275 |
-
width: 100%;
|
1276 |
-
}
|
1277 |
-
|
1278 |
-
.location-input.dropdown {
|
1279 |
-
width: 100%;
|
1280 |
-
max-width: inherit;
|
1281 |
-
}
|
1282 |
-
|
1283 |
-
.address-step .select2 {
|
1284 |
-
min-width: 100%;
|
1285 |
-
}
|
1286 |
-
|
1287 |
-
.store-address-container .city-and-postcode {
|
1288 |
-
display: -webkit-box;
|
1289 |
-
display: -webkit-flex;
|
1290 |
-
display: flex;
|
1291 |
-
}
|
1292 |
-
|
1293 |
-
.store-address-container .city-and-postcode div {
|
1294 |
-
-webkit-flex-basis: 50%;
|
1295 |
-
flex-basis: 50%;
|
1296 |
-
margin-right: 1em;
|
1297 |
-
}
|
1298 |
-
|
1299 |
-
.store-address-container .city-and-postcode div:last-of-type {
|
1300 |
-
margin-right: 0;
|
1301 |
-
}
|
1302 |
-
|
1303 |
-
.store-address-container .select2-container,
|
1304 |
-
.store-address-container input[type="text"],
|
1305 |
-
.store-address-container select {
|
1306 |
-
margin-bottom: 10px;
|
1307 |
-
}
|
1308 |
-
|
1309 |
-
.product-type-container {
|
1310 |
-
margin-top: 14px;
|
1311 |
-
margin-bottom: 1px;
|
1312 |
-
}
|
1313 |
-
|
1314 |
-
#seopress_sell_in_person {
|
1315 |
-
margin-left: 0;
|
1316 |
-
}
|
1317 |
-
|
1318 |
-
.seopress-wizard-service-settings .payment-email-input {
|
1319 |
-
border: 1px solid #aaa;
|
1320 |
-
border-color: #ddd;
|
1321 |
-
border-radius: 4px;
|
1322 |
-
height: 30px;
|
1323 |
-
padding: 0 8px;
|
1324 |
-
font-size: 14px;
|
1325 |
-
color: #444;
|
1326 |
-
background-color: #fff;
|
1327 |
-
display: inline-block;
|
1328 |
-
}
|
1329 |
-
|
1330 |
-
.seopress-wizard-service-settings .payment-email-input[disabled] {
|
1331 |
-
color: #aaa;
|
1332 |
-
}
|
1333 |
-
|
1334 |
-
.newsletter-form-container {
|
1335 |
-
display: -webkit-box;
|
1336 |
-
display: -webkit-flex;
|
1337 |
-
display: flex;
|
1338 |
-
}
|
1339 |
-
|
1340 |
-
.newsletter-form-container .newsletter-form-email {
|
1341 |
-
border: 1px solid #aaa;
|
1342 |
-
border-color: #ddd;
|
1343 |
-
border-radius: 4px;
|
1344 |
-
height: 42px;
|
1345 |
-
padding: 0 8px;
|
1346 |
-
font-size: 16px;
|
1347 |
-
color: #50575e;
|
1348 |
-
background-color: #fff;
|
1349 |
-
display: inline-block;
|
1350 |
-
margin-right: 6px;
|
1351 |
-
-webkit-box-flex: 1;
|
1352 |
-
-webkit-flex-grow: 1;
|
1353 |
-
flex-grow: 1;
|
1354 |
-
}
|
1355 |
-
|
1356 |
-
.newsletter-form-container .newsletter-form-button-container {
|
1357 |
-
-webkit-box-flex: 0;
|
1358 |
-
-webkit-flex-grow: 0;
|
1359 |
-
flex-grow: 0;
|
1360 |
}
|
1361 |
-
|
1362 |
-
.seopress-setup .seopress-setup-actions .button.newsletter-form-button {
|
1363 |
-
height: 42px;
|
1364 |
-
padding: 0 1em;
|
1365 |
-
margin: 0;
|
1366 |
-
}
|
1367 |
-
|
1368 |
.seopress-wizard-next-steps {
|
1369 |
-
|
1370 |
-
|
1371 |
-
|
1372 |
-
|
1373 |
}
|
1374 |
-
|
1375 |
.seopress-wizard-next-steps li {
|
1376 |
-
|
1377 |
}
|
1378 |
-
|
1379 |
.seopress-wizard-next-steps .seopress-wizard-next-step-item {
|
1380 |
-
|
1381 |
-
|
1382 |
-
display: flex;
|
1383 |
-
border-top: 1px solid #eee;
|
1384 |
-
text-align: left;
|
1385 |
}
|
1386 |
-
|
1387 |
.seopress-wizard-next-steps .seopress-wizard-next-step-item:first-child {
|
1388 |
-
|
1389 |
}
|
1390 |
-
|
1391 |
.seopress-wizard-next-steps .seopress-wizard-next-step-description {
|
1392 |
-
|
1393 |
-
|
1394 |
-
flex-grow: 1;
|
1395 |
-
margin: 1.5em;
|
1396 |
}
|
1397 |
-
|
1398 |
.seopress-wizard-next-steps .seopress-wizard-next-step-action {
|
1399 |
-
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
1403 |
-
|
1404 |
-
|
1405 |
-
-webkit-box-align: center;
|
1406 |
-
-webkit-align-items: center;
|
1407 |
-
align-items: center;
|
1408 |
-
justify-content: center;
|
1409 |
}
|
1410 |
-
|
1411 |
-
.seopress-wizard-next-steps .seopress-wizard-next-step-action .button {
|
1412 |
-
margin: 1em 1.5em;
|
1413 |
-
}
|
1414 |
-
|
1415 |
.seopress-wizard-next-steps p.next-step-heading {
|
1416 |
-
|
1417 |
-
|
1418 |
-
font-weight: 400;
|
1419 |
-
font-variant: all-petite-caps;
|
1420 |
}
|
1421 |
-
|
1422 |
.seopress-wizard-next-steps p.next-step-extra-info {
|
1423 |
-
|
1424 |
}
|
1425 |
-
|
1426 |
.seopress-wizard-next-steps h3.next-step-description {
|
1427 |
-
|
1428 |
-
|
1429 |
-
|
1430 |
}
|
1431 |
-
|
1432 |
.seopress-wizard-next-steps .seopress-wizard-additional-steps {
|
1433 |
-
|
1434 |
-
}
|
1435 |
-
|
1436 |
-
.seopress-wizard-next-steps
|
1437 |
-
.seopress-wizard-additional-steps
|
1438 |
-
.seopress-wizard-next-step-description {
|
1439 |
-
margin-bottom: 0;
|
1440 |
-
}
|
1441 |
-
|
1442 |
-
.seopress-wizard-next-steps
|
1443 |
-
.seopress-wizard-additional-steps
|
1444 |
-
.seopress-setup-actions {
|
1445 |
-
margin: 0 0 1.5em 0;
|
1446 |
}
|
1447 |
|
1448 |
.seopress-wizard-next-steps
|
1449 |
-
|
1450 |
-
|
1451 |
-
|
1452 |
-
font-size: 15px;
|
1453 |
-
margin: 1em 0 1em 1.5em;
|
1454 |
}
|
1455 |
-
|
1456 |
.seopress-wizard-next-steps
|
1457 |
-
|
1458 |
-
|
1459 |
-
|
1460 |
-
margin-right: 1.5em;
|
1461 |
-
}
|
1462 |
-
|
1463 |
-
p.next-steps-help-text {
|
1464 |
-
color: #9f9f9f;
|
1465 |
-
padding: 0 2em;
|
1466 |
-
text-align: center;
|
1467 |
-
font-size: 0.9em;
|
1468 |
-
}
|
1469 |
-
|
1470 |
-
p.jetpack-terms {
|
1471 |
-
font-size: 0.8em;
|
1472 |
-
text-align: center;
|
1473 |
-
max-width: 480px;
|
1474 |
-
margin: 0 auto;
|
1475 |
-
line-height: 1.5em;
|
1476 |
-
}
|
1477 |
-
|
1478 |
-
.seopress-error {
|
1479 |
-
background: #ffe6e5;
|
1480 |
-
border-color: #ffc5c2;
|
1481 |
-
padding: 1em;
|
1482 |
-
margin-bottom: 1em;
|
1483 |
-
}
|
1484 |
-
|
1485 |
-
.seopress-error p {
|
1486 |
-
margin-top: 0;
|
1487 |
-
margin-bottom: 0.5em;
|
1488 |
-
color: #444;
|
1489 |
-
}
|
1490 |
-
|
1491 |
-
.seopress-error a {
|
1492 |
-
color: #ff645c;
|
1493 |
-
}
|
1494 |
-
|
1495 |
-
.seopress-error .reconnect-reminder {
|
1496 |
-
font-size: 0.85em;
|
1497 |
-
}
|
1498 |
-
|
1499 |
-
.seopress-error .seopress-setup-actions .button {
|
1500 |
-
font-size: 14px;
|
1501 |
-
}
|
1502 |
-
|
1503 |
-
.seopress-wizard-service-setting-ppec_paypal_reroute_requests,
|
1504 |
-
.seopress-wizard-service-setting-stripe_create_account {
|
1505 |
-
display: -webkit-box;
|
1506 |
-
display: -webkit-flex;
|
1507 |
-
display: flex;
|
1508 |
-
-webkit-box-align: start;
|
1509 |
-
-webkit-align-items: flex-start;
|
1510 |
-
align-items: flex-start;
|
1511 |
-
}
|
1512 |
-
|
1513 |
-
.seopress-wizard-service-setting-ppec_paypal_reroute_requests
|
1514 |
-
.payment-checkbox-input,
|
1515 |
-
.seopress-wizard-service-setting-stripe_create_account .payment-checkbox-input {
|
1516 |
-
-webkit-box-ordinal-group: 2;
|
1517 |
-
-webkit-order: 1;
|
1518 |
-
order: 1;
|
1519 |
-
margin-top: 5px;
|
1520 |
-
margin-left: 0;
|
1521 |
-
margin-right: 0;
|
1522 |
-
width: 1.5em;
|
1523 |
-
}
|
1524 |
-
|
1525 |
-
.seopress-wizard-service-setting-ppec_paypal_reroute_requests
|
1526 |
-
.ppec_paypal_reroute_requests,
|
1527 |
-
.seopress-wizard-service-setting-ppec_paypal_reroute_requests
|
1528 |
-
.stripe_create_account,
|
1529 |
-
.seopress-wizard-service-setting-stripe_create_account
|
1530 |
-
.ppec_paypal_reroute_requests,
|
1531 |
-
.seopress-wizard-service-setting-stripe_create_account .stripe_create_account {
|
1532 |
-
-webkit-box-ordinal-group: 3;
|
1533 |
-
-webkit-order: 2;
|
1534 |
-
order: 2;
|
1535 |
-
margin-left: 0.3em;
|
1536 |
-
}
|
1537 |
-
|
1538 |
-
.seopress-wizard-service-setting-ppec_paypal_email,
|
1539 |
-
.seopress-wizard-service-setting-stripe_email {
|
1540 |
-
margin-top: 0.75em;
|
1541 |
-
margin-left: 1.5em;
|
1542 |
-
}
|
1543 |
-
|
1544 |
-
.seopress-wizard-service-setting-ppec_paypal_email label.ppec_paypal_email,
|
1545 |
-
.seopress-wizard-service-setting-ppec_paypal_email label.stripe_email,
|
1546 |
-
.seopress-wizard-service-setting-stripe_email label.ppec_paypal_email,
|
1547 |
-
.seopress-wizard-service-setting-stripe_email label.stripe_email {
|
1548 |
-
position: absolute;
|
1549 |
-
margin: -1px;
|
1550 |
-
padding: 0;
|
1551 |
-
height: 1px;
|
1552 |
-
width: 1px;
|
1553 |
-
overflow: hidden;
|
1554 |
-
clip: rect(0 0 0 0);
|
1555 |
-
border: 0;
|
1556 |
}
|
1557 |
-
|
1558 |
-
.seopress-wizard-service-setting-ppec_paypal_email input.payment-email-input,
|
1559 |
-
.seopress-wizard-service-setting-stripe_email input.payment-email-input {
|
1560 |
-
box-sizing: border-box;
|
1561 |
-
margin-bottom: 0.5em;
|
1562 |
-
width: 100%;
|
1563 |
-
height: 32px;
|
1564 |
-
}
|
1565 |
-
|
1566 |
.seopress-setup-content .recommended-step {
|
1567 |
-
|
1568 |
-
|
1569 |
-
|
1570 |
-
width: 100%;
|
1571 |
-
box-sizing: border-box;
|
1572 |
}
|
1573 |
-
|
1574 |
.seopress-setup-content .recommended-step a {
|
1575 |
-
|
1576 |
-
}
|
1577 |
-
|
1578 |
-
.seopress-setup-content .recommended-item {
|
1579 |
-
list-style: none;
|
1580 |
-
margin: 1rem 0;
|
1581 |
-
}
|
1582 |
-
|
1583 |
-
.seopress-setup-content .recommended-item:last-child label {
|
1584 |
-
margin-bottom: 0;
|
1585 |
-
}
|
1586 |
-
|
1587 |
-
.seopress-setup-content .recommended-item label {
|
1588 |
-
display: -webkit-box;
|
1589 |
-
display: -webkit-flex;
|
1590 |
-
display: flex;
|
1591 |
-
-webkit-box-align: center;
|
1592 |
-
-webkit-align-items: center;
|
1593 |
-
align-items: center;
|
1594 |
-
margin-bottom: 1.5em;
|
1595 |
-
}
|
1596 |
-
|
1597 |
-
.seopress-setup-content .recommended-item label::after,
|
1598 |
-
.seopress-setup-content .recommended-item label::before {
|
1599 |
-
top: auto;
|
1600 |
-
}
|
1601 |
-
|
1602 |
-
.seopress-setup-content .recommended-item label::after {
|
1603 |
-
margin-top: -1.5px;
|
1604 |
}
|
1605 |
-
|
1606 |
-
.seopress-setup-content .recommended-item .recommended-item-icon {
|
1607 |
-
border: 1px solid #fff;
|
1608 |
-
border-radius: 7px;
|
1609 |
-
height: 3.5em;
|
1610 |
-
margin-right: 1em;
|
1611 |
-
margin-left: 4px;
|
1612 |
-
}
|
1613 |
-
|
1614 |
-
.seopress-setup-content
|
1615 |
-
.recommended-item
|
1616 |
-
.recommended-item-icon.recommended-item-icon-storefront_theme {
|
1617 |
-
background-color: #f4a224;
|
1618 |
-
max-height: 3em;
|
1619 |
-
max-width: 3em;
|
1620 |
-
padding: 0.25em;
|
1621 |
-
}
|
1622 |
-
|
1623 |
-
.seopress-setup-content
|
1624 |
-
.recommended-item
|
1625 |
-
.recommended-item-icon.recommended-item-icon-automated_taxes {
|
1626 |
-
background-color: #d0011b;
|
1627 |
-
max-height: 1.75em;
|
1628 |
-
padding: 0.875em;
|
1629 |
-
}
|
1630 |
-
|
1631 |
-
.seopress-setup-content
|
1632 |
-
.recommended-item
|
1633 |
-
.recommended-item-icon.recommended-item-icon-mailchimp {
|
1634 |
-
background-color: #ffe01b;
|
1635 |
-
height: 2em;
|
1636 |
-
padding: 0.75em;
|
1637 |
-
}
|
1638 |
-
|
1639 |
-
.seopress-setup-content
|
1640 |
-
.recommended-item
|
1641 |
-
.recommended-item-icon.recommended-item-icon-seopress_services {
|
1642 |
-
background-color: #f0f0f0;
|
1643 |
-
max-height: 1.5em;
|
1644 |
-
padding: 1.3em 0.7em;
|
1645 |
-
}
|
1646 |
-
|
1647 |
-
.seopress-setup-content
|
1648 |
-
.recommended-item
|
1649 |
-
.recommended-item-icon.recommended-item-icon-shipstation {
|
1650 |
-
background-color: #f0f0f0;
|
1651 |
-
padding: 0.3em;
|
1652 |
-
}
|
1653 |
-
|
1654 |
-
.seopress-setup-content
|
1655 |
-
.recommended-item
|
1656 |
-
.recommended-item-description-container
|
1657 |
-
h3 {
|
1658 |
-
font-size: 15px;
|
1659 |
-
font-weight: 700;
|
1660 |
-
letter-spacing: 0.5px;
|
1661 |
-
margin-bottom: 0;
|
1662 |
-
}
|
1663 |
-
|
1664 |
-
.seopress-setup-content
|
1665 |
-
.recommended-item
|
1666 |
-
.recommended-item-description-container
|
1667 |
-
p {
|
1668 |
-
margin-top: 0;
|
1669 |
-
line-height: 1.5em;
|
1670 |
-
}
|
1671 |
-
|
1672 |
-
.seopress-wizard-service-info {
|
1673 |
-
padding: 1em 2em;
|
1674 |
-
background-color: #fafafa;
|
1675 |
-
}
|
1676 |
-
|
1677 |
-
.help_tip {
|
1678 |
-
-webkit-text-decoration: underline dotted;
|
1679 |
-
text-decoration: underline dotted;
|
1680 |
-
}
|
1681 |
-
|
1682 |
-
.seopress-setup #tiptip_content {
|
1683 |
-
background: #5f6973;
|
1684 |
-
}
|
1685 |
-
|
1686 |
-
.seopress-setup #tiptip_holder.tip_top #tiptip_arrow_inner {
|
1687 |
-
border-top-color: #5f6973;
|
1688 |
-
}
|
1689 |
-
|
1690 |
-
.seopress-setup-shipping-recommended {
|
1691 |
-
border-bottom: 1px solid #eee;
|
1692 |
-
margin-top: 0;
|
1693 |
-
padding: 30px 0;
|
1694 |
-
}
|
1695 |
-
|
1696 |
@media only screen and (max-width: 768px) {
|
1697 |
-
|
1698 |
-
|
1699 |
-
|
1700 |
-
|
1701 |
-
|
1702 |
-
|
1703 |
-
|
1704 |
-
|
1705 |
-
|
1706 |
-
|
1707 |
-
|
1708 |
-
|
1709 |
-
|
1710 |
-
|
1711 |
-
|
1712 |
-
|
1713 |
-
|
1714 |
-
|
1715 |
-
|
1716 |
-
|
1717 |
-
|
1718 |
-
|
1719 |
-
|
1720 |
-
|
1721 |
-
|
1722 |
-
|
1723 |
-
|
1724 |
-
|
1725 |
-
|
1726 |
-
|
1727 |
-
|
1728 |
-
|
1729 |
-
|
1730 |
-
|
1731 |
-
|
1732 |
-
|
1733 |
-
|
1734 |
-
|
1735 |
-
|
1736 |
-
|
1737 |
-
|
1738 |
-
|
1739 |
-
|
1740 |
-
|
1741 |
-
|
1742 |
-
|
1743 |
-
display: block;
|
1744 |
-
box-sizing: border-box;
|
1745 |
-
width: 100%;
|
1746 |
-
margin-bottom: 10px;
|
1747 |
-
}
|
1748 |
-
.newsletter-form-container .button.newsletter-form-button {
|
1749 |
-
float: left;
|
1750 |
-
}
|
1751 |
-
.seopress-wizard-next-steps .seopress-wizard-next-step-item {
|
1752 |
-
-webkit-flex-wrap: wrap;
|
1753 |
-
flex-wrap: wrap;
|
1754 |
-
}
|
1755 |
-
.seopress-wizard-next-steps
|
1756 |
-
.seopress-wizard-next-step-item
|
1757 |
-
.seopress-wizard-next-step-description {
|
1758 |
-
margin-bottom: 0;
|
1759 |
-
}
|
1760 |
-
.seopress-wizard-next-steps
|
1761 |
-
.seopress-wizard-next-step-item
|
1762 |
-
.seopress-wizard-next-step-action
|
1763 |
-
p {
|
1764 |
-
margin: 0;
|
1765 |
-
}
|
1766 |
-
.seopress-setup-steps li a {
|
1767 |
-
text-indent: -9999px;
|
1768 |
-
position: absolute;
|
1769 |
-
left: calc(50% - 24px);
|
1770 |
-
top: -10px;
|
1771 |
-
}
|
1772 |
-
.seopress-setup-steps li span {
|
1773 |
-
display: none;
|
1774 |
-
}
|
1775 |
}
|
1 |
html {
|
2 |
+
background-color: #f6f7f7;
|
3 |
+
margin: 0;
|
4 |
}
|
5 |
body.seopress-setup {
|
6 |
+
box-shadow: none;
|
7 |
+
background: #f6f7f7;
|
8 |
+
padding: 0;
|
9 |
+
margin: 0;
|
10 |
+
max-width: 100%;
|
11 |
+
border: none;
|
12 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
.wp-core-ui select:focus,
|
14 |
input[type="text"]:focus,
|
15 |
input[type="password"]:focus,
|
29 |
input[type="radio"]:focus,
|
30 |
select:focus,
|
31 |
textarea:focus {
|
32 |
+
border-color: var(--backgroundPrimary);
|
33 |
+
box-shadow: 0 0 0 1px var(--backgroundPrimary);
|
34 |
+
outline: 2px solid transparent;
|
35 |
+
}
|
36 |
+
.wrap-iframe {
|
37 |
+
overflow:hidden;
|
38 |
+
padding-bottom:56.25%;
|
39 |
+
position:relative;
|
40 |
+
height:0;
|
41 |
+
}
|
42 |
+
.wrap-iframe iframe {
|
43 |
+
left:0;
|
44 |
+
top:0;
|
45 |
+
height:100%;
|
46 |
+
width:100%;
|
47 |
+
position:absolute;
|
48 |
}
|
|
|
49 |
.spinner {
|
50 |
+
display: inline-block;
|
51 |
+
vertical-align: middle;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
}
|
|
|
53 |
.admin_page_seopress_csv_importer.seopress-styles .seopress-option {
|
54 |
+
max-width: 700px;
|
55 |
+
margin: 40px auto;
|
56 |
}
|
|
|
57 |
.admin_page_seopress_csv_importer .description {
|
58 |
+
color: var(--color);
|
59 |
+
margin-top: 4px;
|
60 |
+
display: block;
|
61 |
}
|
|
|
62 |
.admin_page_seopress_csv_importer .description code {
|
63 |
+
background: 0 0;
|
64 |
+
padding: 0;
|
65 |
+
white-space: pre-line;
|
66 |
+
word-wrap: break-word;
|
67 |
+
word-break: break-all;
|
68 |
}
|
|
|
69 |
.admin_page_seopress_csv_importer .seopress-setup-content table thead th {
|
70 |
+
font-weight: bold;
|
71 |
}
|
|
|
72 |
.admin_page_seopress_csv_importer
|
73 |
+
.seopress-setup-content
|
74 |
+
table
|
75 |
+
tr:nth-child(odd)
|
76 |
+
td {
|
77 |
+
background: #fbfbfb;
|
78 |
}
|
|
|
79 |
.admin_page_seopress_csv_importer .seopress-setup-content table td select {
|
80 |
+
width: 100%;
|
|
|
|
|
|
|
|
|
81 |
}
|
|
|
82 |
.admin_page_seopress_csv_importer .seopress-wizard-services {
|
83 |
+
padding: 0;
|
|
|
|
|
|
|
|
|
84 |
}
|
85 |
+
.seopress-setup .seopress-setup-footer {
|
86 |
+
display: flex;
|
87 |
+
justify-content: center;
|
88 |
+
padding: 0 0 30px 0;
|
|
|
|
|
|
|
|
|
89 |
}
|
|
|
90 |
.seopress-setup .seopress-setup-content {
|
91 |
+
box-shadow: 0 1px 3px rgb(0 0 0 / 13%);
|
92 |
+
padding: 2em 2em 1em 2em;
|
93 |
+
margin: 65px auto 20px;
|
94 |
+
background: #fff;
|
95 |
+
zoom: 1;
|
96 |
+
max-width: 35rem;
|
97 |
+
}
|
98 |
+
.admin_page_seopress_csv_importer.seopress-setup .seopress-setup-content {
|
99 |
+
max-width: inherit;
|
100 |
+
margin: 0 auto 20px;
|
101 |
}
|
|
|
102 |
.seopress-setup-content h1,
|
103 |
.seopress-setup-content h2,
|
104 |
.seopress-setup-content h3,
|
105 |
.seopress-setup-content table {
|
106 |
+
margin: 0 0 20px;
|
107 |
+
border: 0;
|
108 |
+
padding: 0;
|
109 |
+
color: var(--colorDark);
|
110 |
+
clear: none;
|
111 |
+
font-weight: 500;
|
112 |
}
|
|
|
113 |
.seopress-setup-content p {
|
114 |
+
font-size: var(--fontSize);
|
|
|
|
|
|
|
115 |
}
|
|
|
|
|
|
|
|
|
|
|
116 |
.seopress-setup-content table {
|
117 |
+
font-size: var(--fontSize);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
}
|
119 |
+
.seopress-setup-content .m0 {
|
120 |
+
margin: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
}
|
122 |
+
.seopress-option .section-tool::after {
|
123 |
+
content: none;
|
|
|
124 |
}
|
|
|
125 |
.seopress-setup-content .seopress-setup-next-steps {
|
126 |
+
margin: 0 0 24px;
|
127 |
+
padding-bottom: 2px;
|
|
|
128 |
}
|
|
|
129 |
.seopress-setup-content .seopress-setup-next-steps h2 {
|
130 |
+
margin-bottom: 12px;
|
131 |
}
|
|
|
132 |
.seopress-setup-content
|
133 |
+
.seopress-setup-next-steps
|
134 |
+
.seopress-setup-next-steps-first {
|
135 |
+
float: left;
|
136 |
+
width: 50%;
|
|
|
137 |
}
|
|
|
138 |
.seopress-setup-content
|
139 |
+
.seopress-setup-next-steps
|
140 |
+
.seopress-setup-next-steps-last {
|
141 |
+
float: right;
|
142 |
+
width: 50%;
|
|
|
143 |
}
|
|
|
144 |
.seopress-setup-content .seopress-setup-next-steps ul {
|
145 |
+
padding: 0 2em 0 0;
|
146 |
+
list-style: none outside;
|
147 |
+
margin: 0;
|
148 |
}
|
|
|
149 |
.seopress-setup-content .seopress-setup-next-steps ul li a {
|
150 |
+
display: block;
|
151 |
+
padding: 0 0 0.75em;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
153 |
.seopress-setup-content .seopress-setup-next-steps ul li a::before {
|
154 |
+
color: var(--color);
|
155 |
+
font: normal 20px/1 'dashicons';
|
156 |
+
speak: none;
|
157 |
+
display: inline-block;
|
158 |
+
padding: 0 10px 0 0;
|
159 |
+
top: 1px;
|
160 |
+
position: relative;
|
161 |
+
text-decoration: none !important;
|
162 |
+
vertical-align: top;
|
|
|
|
|
|
|
|
|
163 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
.seopress-setup-steps {
|
165 |
+
padding: 0 10px;
|
166 |
+
margin: 0;
|
167 |
+
list-style: none outside;
|
168 |
+
color: var(--color);
|
169 |
+
width: 100%;
|
170 |
+
height: 60px;
|
171 |
+
border-bottom: 1px solid var(--borderColorCard);
|
172 |
+
align-items: center;
|
173 |
+
justify-content: center;
|
174 |
+
background: #fff;
|
175 |
+
display: inline-flex;
|
|
|
176 |
}
|
|
|
177 |
.seopress-setup-steps li {
|
178 |
+
width: 100%;
|
179 |
+
display: flex;
|
180 |
+
padding: 0;
|
181 |
+
margin: 0;
|
182 |
+
text-align: center;
|
183 |
+
position: relative;
|
184 |
+
line-height: 24px;
|
185 |
+
font-size: 16px;
|
186 |
+
align-items: center;
|
187 |
+
justify-content: space-evenly;
|
188 |
+
}
|
189 |
+
.seopress-setup-steps li .icon {
|
190 |
+
margin-left: 10px;
|
191 |
}
|
|
|
192 |
.seopress-setup-steps li a {
|
193 |
+
text-decoration: none;
|
194 |
+
position: relative;
|
195 |
+
z-index: 1;
|
196 |
+
color: var(--colorDark);
|
197 |
+
line-height: 24px;
|
198 |
+
font-size: 16px;
|
199 |
+
transition: color 300ms linear;
|
200 |
+
}
|
201 |
+
.seopress-setup-steps li .icon::after {
|
202 |
+
content: attr(data-step);
|
203 |
+
border: 1px solid var(--borderColorLight40);
|
204 |
+
border-radius: 100%;
|
205 |
+
width: 24px;
|
206 |
+
height: 24px;
|
207 |
+
position: relative;
|
208 |
+
background: var(--borderColorLight40);
|
209 |
+
line-height: 24px;
|
210 |
+
color: var(--color);
|
211 |
+
display: inline-flex;
|
212 |
+
align-items: center;
|
213 |
+
justify-content: center;
|
214 |
+
margin-right: 10px;
|
215 |
+
}
|
216 |
+
.seopress-setup-steps li.active .icon::after {
|
217 |
+
background: var(--backgroundPrimary);
|
218 |
+
color: #fff;
|
219 |
+
border: 1px solid var(--backgroundPrimary);
|
|
|
|
|
|
|
220 |
}
|
|
|
221 |
.seopress-setup-steps li.active {
|
222 |
+
color: var(--backgroundPrimary);
|
223 |
+
font-weight: 700;
|
224 |
+
text-decoration: none;
|
225 |
+
position: relative;
|
226 |
+
z-index: 1;
|
227 |
+
color: var(--colorDark);
|
228 |
+
line-height: 24px;
|
229 |
+
}
|
230 |
+
.seopress-setup-steps li .divider {
|
231 |
+
flex-grow: 1;
|
232 |
+
border-bottom: 1px solid var(--borderColorLight40);
|
233 |
+
margin-left: 10px;
|
234 |
+
}
|
235 |
+
.seopress-setup-steps li.done .icon::after {
|
236 |
+
content: "\f15e";
|
237 |
+
font-family: "dashicons";
|
238 |
+
color: #fff;
|
239 |
+
background: var(--backgroundPrimary);
|
240 |
+
border: 1px solid var(--backgroundPrimary);
|
241 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
242 |
.seopress-setup .seopress-setup-actions {
|
243 |
+
margin: 20px auto;
|
244 |
+
position: relative;
|
245 |
+
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
246 |
}
|
|
|
247 |
.seopress-setup-footer-links {
|
248 |
+
font-size: 0.85em;
|
249 |
+
color: var(--color);
|
250 |
+
margin: 1.18em auto;
|
251 |
+
display: inline-block;
|
252 |
+
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
253 |
}
|
254 |
+
.no_nav_menu .seopress-setup-steps {
|
255 |
+
display: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
256 |
}
|
257 |
+
.seopress-setup.no_nav_menu .seopress-setup-content {
|
258 |
+
max-width: 50rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
259 |
}
|
260 |
+
.seopress-setup.no_nav_menu p.seopress-setup-actions {
|
261 |
+
font-size: 18px;
|
|
|
|
|
|
|
|
|
|
|
262 |
}
|
263 |
+
.seopress-wizard-services {
|
264 |
+
border-bottom: 1px solid var(--borderColorLight40);
|
265 |
+
padding: 0 0 20px 0;
|
266 |
+
margin: 0 0 20px 0;
|
267 |
+
list-style: none;
|
268 |
+
display: inline-block;
|
269 |
+
width: 100%;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
270 |
}
|
271 |
+
.seopress-wizard-services:first-child {
|
272 |
+
border-top: 1px solid var(--borderColorLight40);
|
273 |
+
padding-top: 20px;
|
|
|
|
|
|
|
|
|
274 |
}
|
275 |
+
.seopress-wizard-services ul {
|
276 |
+
padding: 0;
|
|
|
|
|
277 |
}
|
278 |
+
.seopress-wizard-services p {
|
279 |
+
margin: 0 0 1em 0;
|
280 |
+
padding: 0;
|
281 |
+
font-size: 1em;
|
282 |
+
line-height: 1.5em;
|
283 |
}
|
284 |
+
.seopress-wizard-services h3 {
|
285 |
+
margin: 2rem 0 1rem 0;
|
|
|
|
|
|
|
286 |
}
|
287 |
+
.seopress-wizard-service-item {
|
288 |
+
display: flex;
|
289 |
+
flex-wrap: nowrap;
|
290 |
+
padding: 0;
|
291 |
+
align-items: center;
|
292 |
+
margin: 1rem 0;
|
293 |
}
|
294 |
+
.seopress-wizard-service-item {
|
295 |
+
margin-top: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
296 |
}
|
297 |
+
.description {
|
298 |
+
margin: 0 0 2em 0;
|
|
|
|
|
299 |
}
|
300 |
+
.seopress-wizard-service-item:last-child {
|
301 |
+
border-bottom: 0;
|
|
|
|
|
302 |
}
|
|
|
303 |
.seopress-wizard-services.manual .seopress-wizard-service-item {
|
304 |
+
display: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
305 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
306 |
.seopress-wizard-next-steps {
|
307 |
+
border: 1px solid var(--borderColorLight40);
|
308 |
+
border-radius: 4px;
|
309 |
+
list-style: none;
|
310 |
+
padding: 0;
|
311 |
}
|
|
|
312 |
.seopress-wizard-next-steps li {
|
313 |
+
padding: 0;
|
314 |
}
|
|
|
315 |
.seopress-wizard-next-steps .seopress-wizard-next-step-item {
|
316 |
+
display: flex;
|
317 |
+
border-top: 1px solid var(--borderColorLight40);
|
|
|
|
|
|
|
318 |
}
|
|
|
319 |
.seopress-wizard-next-steps .seopress-wizard-next-step-item:first-child {
|
320 |
+
border-top: 0;
|
321 |
}
|
|
|
322 |
.seopress-wizard-next-steps .seopress-wizard-next-step-description {
|
323 |
+
padding: 20px;
|
324 |
+
flex-grow: 1;
|
|
|
|
|
325 |
}
|
|
|
326 |
.seopress-wizard-next-steps .seopress-wizard-next-step-action {
|
327 |
+
flex-grow: 0;
|
328 |
+
display: flex;
|
329 |
+
align-items: center;
|
330 |
+
justify-content: center;
|
331 |
+
padding: 0 20px;
|
332 |
+
margin: 0;
|
|
|
|
|
|
|
|
|
333 |
}
|
|
|
|
|
|
|
|
|
|
|
334 |
.seopress-wizard-next-steps p.next-step-heading {
|
335 |
+
margin: 0;
|
336 |
+
font-variant: all-petite-caps;
|
|
|
|
|
337 |
}
|
|
|
338 |
.seopress-wizard-next-steps p.next-step-extra-info {
|
339 |
+
margin: 0;
|
340 |
}
|
|
|
341 |
.seopress-wizard-next-steps h3.next-step-description {
|
342 |
+
margin: 0;
|
343 |
+
font-size: 16px;
|
344 |
+
font-weight: 600;
|
345 |
}
|
|
|
346 |
.seopress-wizard-next-steps .seopress-wizard-additional-steps {
|
347 |
+
border-top: 1px solid var(--borderColorLight40);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
348 |
}
|
349 |
|
350 |
.seopress-wizard-next-steps
|
351 |
+
.seopress-wizard-additional-steps
|
352 |
+
.seopress-wizard-next-step-description {
|
353 |
+
margin-bottom: 0;
|
|
|
|
|
354 |
}
|
|
|
355 |
.seopress-wizard-next-steps
|
356 |
+
.seopress-wizard-additional-steps
|
357 |
+
.seopress-setup-actions {
|
358 |
+
margin: 0 0 1.5em 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
359 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
360 |
.seopress-setup-content .recommended-step {
|
361 |
+
padding: 0;
|
362 |
+
display: inline-block;
|
363 |
+
width: 100%;
|
|
|
|
|
364 |
}
|
|
|
365 |
.seopress-setup-content .recommended-step a {
|
366 |
+
text-decoration: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
367 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
368 |
@media only screen and (max-width: 768px) {
|
369 |
+
.seopress-setup .seopress-setup-content {
|
370 |
+
margin: 25px auto 24px;
|
371 |
+
}
|
372 |
+
#seopress-logo img {
|
373 |
+
max-width: 80%;
|
374 |
+
}
|
375 |
+
.seopress-wizard-service-item {
|
376 |
+
flex-wrap: wrap;
|
377 |
+
}
|
378 |
+
.seopress-wizard-service-item .seopress-wizard-service-enable {
|
379 |
+
order: 2;
|
380 |
+
padding: 20px 0 0;
|
381 |
+
}
|
382 |
+
.seopress-wizard-service-item .seopress-wizard-service-description {
|
383 |
+
order: 3;
|
384 |
+
}
|
385 |
+
.seopress-wizard-service-item .seopress-wizard-service-name {
|
386 |
+
padding: 20px 20px 0;
|
387 |
+
justify-content: space-between !important;
|
388 |
+
}
|
389 |
+
.seopress-wizard-service-item .seopress-wizard-service-name img {
|
390 |
+
margin: 0;
|
391 |
+
}
|
392 |
+
.seopress-wizard-next-steps .seopress-wizard-next-step-item {
|
393 |
+
flex-wrap: wrap;
|
394 |
+
}
|
395 |
+
.seopress-wizard-next-steps
|
396 |
+
.seopress-wizard-next-step-item
|
397 |
+
.seopress-wizard-next-step-description {
|
398 |
+
margin-bottom: 0;
|
399 |
+
}
|
400 |
+
.seopress-wizard-next-steps
|
401 |
+
.seopress-wizard-next-step-item
|
402 |
+
.seopress-wizard-next-step-action
|
403 |
+
p {
|
404 |
+
margin: 0;
|
405 |
+
}
|
406 |
+
.seopress-setup-steps li a {
|
407 |
+
text-indent: -9999px;
|
408 |
+
position: absolute;
|
409 |
+
left: calc(50% - 24px);
|
410 |
+
top: -10px;
|
411 |
+
}
|
412 |
+
.seopress-setup-steps li span {
|
413 |
+
display: none;
|
414 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
415 |
}
|
@@ -1 +1 @@
|
|
1 |
-
html{background-color:#f6f7f7;margin:0}body.seopress-setup{box-shadow:none;background:#f6f7f7;padding:0;margin:0;max-width:100%}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#6159e6;border-color:#6159e6;background:#fff;vertical-align:middle}.wp-core-ui .button-secondary:hover{color:#555d66;background:#fafafa;border-color:#999}.wp-core-ui select:focus,input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#6259e6;box-shadow:0 0 0 1px #6259e6;outline:2px solid transparent}.seopress-setup .sp-progress-bar{background-color:#6159e6}.spinner{display:inline-block}.log{margin:0;text-transform:uppercase;display:inline-block;vertical-align:middle;padding:5px;color:rgba(19,191,17,1);font-style:italic}.admin_page_seopress_csv_importer.seopress-styles .seopress-option{max-width:700px;margin:40px auto}.admin_page_seopress_csv_importer .description{color:#999;margin-top:4px;display:block}.admin_page_seopress_csv_importer .description code{background:0 0;padding:0;white-space:pre-line;word-wrap:break-word;word-break:break-all}.admin_page_seopress_csv_importer .seopress-setup-content table thead th{font-weight:700}.admin_page_seopress_csv_importer .seopress-setup-content table tr:nth-child(odd) td{background:#fbfbfb}.admin_page_seopress_csv_importer .seopress-setup-content table td select{width:100%}.admin_page_seopress_csv_importer .dashicons-yes-alt:before{color:#3642ff}.admin_page_seopress_csv_importer .seopress-wizard-services{padding:0}.seopress-setup{text-align:center}.seopress-setup .select2-container{text-align:left;width:auto}.seopress-setup .hidden{display:none}.seopress-setup .seopress-setup-content{box-shadow:0 1px 3px rgba(0,0,0,.13);padding:2em;margin:65px auto 24px;background:#fff;overflow:hidden;zoom:1;text-align:center;max-width:700px}.seopress-setup-content h1,.seopress-setup-content h2,.seopress-setup-content h3,.seopress-setup-content table{margin:0 0 20px;border:0;padding:0;color:#2c3338;clear:none;font-weight:500}.seopress-setup-content p{margin:20px 0;font-size:1em;line-height:1.75em;color:#50575e}.seopress-setup-content .m0{margin:0}.seopress-setup-content table{font-size:1em;line-height:1.75em;color:#50575e;text-align:left}.seopress-setup-content .description{font-size:13px;margin:1em 0;font-style:italic}.seopress-setup-content a{color:#6259e6}.seopress-setup-content a:focus,.seopress-setup-content a:hover{color:#111}.seopress-option #seopress-edd-license-btn,.seopress-option #seopress-refresh{width:auto}.seopress-setup-content .form-table th{width:35%;vertical-align:top;font-weight:400}.seopress-setup-content .form-table td{vertical-align:top}.seopress-setup-content .form-table td input,.seopress-setup-content .form-table td select{width:100%;box-sizing:border-box}.seopress-setup-content .form-table td input[size]{width:auto}.seopress-setup-content .form-table td .description{line-height:1.5em;display:block;margin-top:.25em;color:#999;font-style:italic}.seopress-setup-content .form-table td .input-checkbox,.seopress-setup-content .form-table td .input-radio{width:auto;box-sizing:inherit;padding:inherit;margin:0 .5em 0 0;box-shadow:none}.seopress-setup-content .form-table .section_title td{padding:0}.seopress-setup-content .form-table .section_title td h2,.seopress-setup-content .form-table .section_title td p{margin:12px 0 0}.seopress-setup-content .form-table td,.seopress-setup-content .form-table th{padding:12px 0;margin:0;border:0}.seopress-setup-content .form-table td:first-child,.seopress-setup-content .form-table th:first-child{padding-right:1em}.seopress-setup-content .seopress-setup-pages{width:100%;border-top:1px solid #eee}.seopress-setup-content .seopress-setup-pages thead th{display:none}.seopress-setup-content .seopress-setup-pages .page-name{width:30%;font-weight:700}.seopress-setup-content .seopress-setup-pages td,.seopress-setup-content .seopress-setup-pages th{padding:14px 0;border-bottom:1px solid #eee}.seopress-setup-content .seopress-setup-pages td:first-child,.seopress-setup-content .seopress-setup-pages th:first-child{padding-right:9px}.seopress-setup-content .seopress-setup-pages th{padding-top:0}.seopress-setup-content .seopress-setup-pages .page-options p{color:#777;margin:6px 0 0 24px;line-height:1.75em}.seopress-setup-content .seopress-setup-pages .page-options p input{vertical-align:middle;margin:1px 0 0;height:1.75em;width:1.75em;line-height:1.75em}.seopress-setup-content .seopress-setup-pages .page-options p label{line-height:1}@media screen and (max-width:782px){.seopress-setup-content .form-table tbody th{width:auto}}.seopress-setup-content .twitter-share-button{float:right}.seopress-setup-content .seopress-setup-next-steps{overflow:hidden;margin:0 0 24px;padding-bottom:2px}.seopress-setup-content .seopress-setup-next-steps h2{margin-bottom:12px}.seopress-setup-content .seopress-setup-next-steps .seopress-setup-next-steps-first{float:left;width:50%;box-sizing:border-box}.seopress-setup-content .seopress-setup-next-steps .seopress-setup-next-steps-last{float:right;width:50%;box-sizing:border-box}.seopress-setup-content .seopress-setup-next-steps ul{padding:0 2em 0 0;list-style:none outside;margin:0}.seopress-setup-content .seopress-setup-next-steps ul li a{display:block;padding:0 0 .75em}.seopress-setup-content .seopress-setup-next-steps ul .setup-product a.button{background-color:#f7f7f7;border-color:#ccc;color:#23282d;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 #ccc;text-shadow:1px 0 1px #eee,0 1px 1px #eee;font-size:1em;height:auto;line-height:1.75em;margin:0 0 .75em;opacity:1;padding:1em;text-align:center}.seopress-setup-content .seopress-setup-next-steps ul .setup-product a.button:active,.seopress-setup-content .seopress-setup-next-steps ul .setup-product a.button:focus,.seopress-setup-content .seopress-setup-next-steps ul .setup-product a.button:hover{background:#f5f5f5;border-color:#aaa}.seopress-setup-content .seopress-setup-next-steps ul .setup-product a.button-primary{color:#fff;background-color:#bb77ae;border-color:#a36597;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 #a36597;text-shadow:0 -1px 1px #a36597,1px 0 1px #a36597,0 1px 1px #a36597,-1px 0 1px #a36597}.seopress-setup-content .seopress-setup-next-steps ul .setup-product a.button-primary:active,.seopress-setup-content .seopress-setup-next-steps ul .setup-product a.button-primary:focus,.seopress-setup-content .seopress-setup-next-steps ul .setup-product a.button-primary:hover{color:#fff;background:#a36597;border-color:#a36597;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 #a36597}.seopress-setup-content .seopress-setup-next-steps ul li a::before{color:#82878c;font:normal 20px/1 dashicons;speak:none;display:inline-block;padding:0 10px 0 0;top:1px;position:relative;text-decoration:none!important;vertical-align:top}.seopress-setup-content .seopress-setup-next-steps ul .learn-more a::before{content:"\f105"}.seopress-setup-content .seopress-setup-next-steps ul .video-walkthrough a::before{content:"\f126"}.seopress-setup-content .seopress-setup-next-steps ul .newsletter a::before{content:"\f465"}.seopress-setup-content .seopress-newsletter,.seopress-setup-content .updated{padding:24px;margin:0 0 24px;overflow:hidden;background:#f5f5f5}.seopress-setup-content .seopress-newsletter p,.seopress-setup-content .updated p{padding:0;margin:0 0 12px}.seopress-setup-content .seopress-newsletter form,.seopress-setup-content .seopress-tracker,.seopress-setup-content .updated form,.seopress-setup-content .updated p:last-child{margin:24px 0;border:1px solid #eee;padding:20px;border-radius:4px;overflow:hidden}.seopress-setup-content .seopress-tracker p{font-size:14px;line-height:1.5em}.seopress-setup-content .seopress-tracker .checkbox{line-height:24px;font-weight:500;font-size:1em;margin-top:0;margin-bottom:20px}.seopress-setup-content .checkbox input[type=checkbox]{opacity:0;position:absolute;left:-9999px}.seopress-setup-content .checkbox label{position:relative;display:inline-block;padding-left:28px}.seopress-setup-content .checkbox label::after,.seopress-setup-content .checkbox label::before{position:absolute;content:"";display:inline-block}.seopress-setup-content .checkbox label::before{height:16px;width:16px;left:0;top:3px;border:1px solid #aaa;background-color:#fff;border-radius:3px}.seopress-setup-content .checkbox label::after{height:5px;width:9px;border-left:2px solid;border-bottom:2px solid;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);left:4px;top:7px;color:#fff}.seopress-setup-content .checkbox input[type=checkbox]+label::after{content:none}.seopress-setup-content .checkbox input[type=checkbox]:checked+label::after{content:""}.seopress-setup-content .checkbox input[type=checkbox]:focus+label::before{outline:#3b99fc auto 5px}.seopress-setup-content .checkbox input[type=checkbox]:checked+label::before{background:#6259e6;border-color:#6259e6}.seopress-setup-steps{padding:10px 0 24px;margin:0;list-style:none outside;overflow:hidden;color:#ccc;width:100%;height:56px;border-bottom:1px solid #dcdcde;align-items:center;justify-content:center;background:#fff;display:inline-flex}.seopress-setup-steps li{width:100%;float:left;padding:0 0 1.5em;margin:0;text-align:center;position:relative;border-bottom:2px solid #ccc;line-height:24px;font-size:16px}.seopress-setup-steps li a{text-decoration:none;padding:1.5em;position:relative;z-index:1;color:#1d2327;line-height:24px;font-size:16px;transition:color .3s linear}.seopress-setup-steps li a:focus,.seopress-setup-steps li a:hover{color:#6159e6}.seopress-setup-steps li::before{content:"";border:3px solid #ccc;border-radius:100%;width:24px;height:24px;position:absolute;bottom:0;left:50%;margin-left:-15px;margin-bottom:-15px;background:#fff;font-family:Dashicons;font-size:24px;line-height:24px}.seopress-setup-steps li.active{color:#6259e6;font-weight:700;text-decoration:none;position:relative;z-index:1;color:#1d2327;line-height:24px}.seopress-setup-steps li.active::before{border-color:#6259e6}@keyframes fade{0%{border-color:#6259e600;left:-100%}100%{border-color:#6259e6;left:0}}.seopress-setup-steps li.active::after{content:"";position:absolute;bottom:-2px;left:0;animation-name:fade;animation-duration:2s;width:100%;animation-iteration-count:1;height:2px;background:#6259e6;z-index:-1}.seopress-setup-steps li.done{border-color:#6259e6;color:#6259e6;z-index:10}.seopress-setup-steps li.done::before{border-color:#6259e6;background:#6259e6;content:"\f147";color:#fff}.seopress-setup .seopress-setup-actions{overflow:hidden;margin:20px 0 0;position:relative}.seopress-setup .seopress-setup-actions .button{font-size:1.25em;padding:.5em 1em;line-height:1em;margin-right:.5em;margin-bottom:2px;height:auto;border-radius:4px}.seopress-setup .seopress-setup-actions .button-primary{background-color:#6259e6;border-color:#6259e6;margin:0;opacity:1;transition:all .3s linear;color:#fff}.seopress-setup .seopress-setup-actions .button-primary:active,.seopress-setup .seopress-setup-actions .button-primary:focus,.seopress-setup .seopress-setup-actions .button-primary:hover{background:0 0;border-color:#6259e6;color:#6259e6}.seopress-setup-content p:last-child{margin-bottom:0}.seopress-setup-content p.store-setup{margin-top:0}.seopress-setup-footer-links{font-size:.85em;color:#7b7b7b;margin:1.18em auto;display:inline-block;text-align:center}.seopress-wizard-services{border:1px solid #eee;padding:1em;margin:0 0 1em;list-style:none outside;border-radius:4px;overflow:hidden;text-align:left}.seopress-wizard-services p{margin:0 0 1em 0;padding:0;font-size:1em;line-height:1.5em}.seopress-wizard-service-item,.seopress-wizard-services-list-toggle{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:0;color:#50575e;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin:1rem 0}.seopress-wizard-service-item,.seopress-wizard-services-list-toggle:first-child{margin-top:0}.seopress-wizard-service-item:last-child,.seopress-wizard-services-list-toggle:last-child{border-bottom:0}.seopress-wizard-service-item .payment-gateway-fee,.seopress-wizard-services-list-toggle .payment-gateway-fee{color:#a6a6a6}.seopress-wizard-service-item .seopress-wizard-service-name,.seopress-wizard-services-list-toggle .seopress-wizard-service-name{-webkit-flex-basis:0;flex-basis:0;min-width:160px;text-align:center;font-weight:700;padding:2em 0;-webkit-align-self:stretch;align-self:stretch;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:baseline;-webkit-align-items:baseline;align-items:baseline}.seopress-wizard-payment-gateway-form .seopress-wizard-service-item .seopress-wizard-service-name,.seopress-wizard-payment-gateway-form .seopress-wizard-services-list-toggle .seopress-wizard-service-name{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.seopress-wizard-service-item .seopress-wizard-service-name img,.seopress-wizard-services-list-toggle .seopress-wizard-service-name img{max-width:75px}.seopress-wizard-service-item.stripe-logo .seopress-wizard-service-name img,.seopress-wizard-services-list-toggle.stripe-logo .seopress-wizard-service-name img{padding:8px 0}.seopress-wizard-service-item.paypal-logo .seopress-wizard-service-name img,.seopress-wizard-services-list-toggle.paypal-logo .seopress-wizard-service-name img{max-width:87px;padding:2px 0}.seopress-wizard-service-item.klarna-logo .seopress-wizard-service-name img,.seopress-wizard-services-list-toggle.klarna-logo .seopress-wizard-service-name img{max-width:87px;padding:12px 0}.seopress-wizard-service-item.square-logo .seopress-wizard-service-name img,.seopress-wizard-services-list-toggle.square-logo .seopress-wizard-service-name img{max-width:95px;padding:12px 0}.seopress-wizard-service-item.eway-logo .seopress-wizard-service-name img,.seopress-wizard-services-list-toggle.eway-logo .seopress-wizard-service-name img{max-width:87px}.seopress-wizard-service-item.payfast-logo .seopress-wizard-service-name img,.seopress-wizard-services-list-toggle.payfast-logo .seopress-wizard-service-name img{max-width:140px}.seopress-wizard-service-item .seopress-wizard-service-description,.seopress-wizard-services-list-toggle .seopress-wizard-service-description{-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;padding:20px}.seopress-wizard-service-item .seopress-wizard-service-description p,.seopress-wizard-services-list-toggle .seopress-wizard-service-description p{margin-bottom:1em}.seopress-wizard-service-item .seopress-wizard-service-description p:last-child,.seopress-wizard-services-list-toggle .seopress-wizard-service-description p:last-child{margin-bottom:0}.seopress-wizard-service-item .seopress-wizard-service-description .seopress-wizard-service-settings-description,.seopress-wizard-services-list-toggle .seopress-wizard-service-description .seopress-wizard-service-settings-description{display:block;font-style:italic;color:#999}.seopress-wizard-service-item .seopress-wizard-service-enable,.seopress-wizard-services-list-toggle .seopress-wizard-service-enable{-webkit-flex-basis:0;flex-basis:0;min-width:75px;text-align:center;cursor:pointer;padding:2em 0;position:relative;max-height:1.5em;-webkit-align-self:flex-start;align-self:flex-start;-webkit-box-ordinal-group:4;-webkit-order:3;order:3}.seopress-wizard-service-item .seopress-wizard-service-toggle,.seopress-wizard-services-list-toggle .seopress-wizard-service-toggle{height:16px;width:32px;border:2px solid #935687;background-color:#935687;display:inline-block;text-indent:-9999px;border-radius:10em;position:relative}.seopress-wizard-service-item .seopress-wizard-service-toggle input[type=checkbox],.seopress-wizard-services-list-toggle .seopress-wizard-service-toggle input[type=checkbox]{display:none}.seopress-wizard-service-item .seopress-wizard-service-toggle::before,.seopress-wizard-services-list-toggle .seopress-wizard-service-toggle::before{content:"";display:block;width:16px;height:16px;background:#fff;position:absolute;top:0;right:0;border-radius:100%}.seopress-wizard-service-item .seopress-wizard-service-toggle.disabled,.seopress-wizard-services-list-toggle .seopress-wizard-service-toggle.disabled{border-color:#999;background-color:#999}.seopress-wizard-service-item .seopress-wizard-service-toggle.disabled::before,.seopress-wizard-services-list-toggle .seopress-wizard-service-toggle.disabled::before{right:auto;left:0}.seopress-wizard-service-item .seopress-wizard-service-settings,.seopress-wizard-services-list-toggle .seopress-wizard-service-settings{display:none;margin-top:.75em;margin-bottom:0;cursor:default}.seopress-wizard-service-item .seopress-wizard-service-settings.hide,.seopress-wizard-services-list-toggle .seopress-wizard-service-settings.hide{display:none}.seopress-wizard-service-item.checked .seopress-wizard-service-settings,.seopress-wizard-services-list-toggle.checked .seopress-wizard-service-settings{display:inline-block}.seopress-wizard-service-item.checked .seopress-wizard-service-settings.hide,.seopress-wizard-services-list-toggle.checked .seopress-wizard-service-settings.hide{display:none}.seopress-wizard-service-item.closed,.seopress-wizard-services-list-toggle.closed{border-bottom:0}.seopress-wizard-services-list-toggle{cursor:pointer}.seopress-wizard-services-list-toggle .seopress-wizard-service-enable::before{content:"\f343";font-family:dashicons;visibility:initial;color:#50575e;font-size:25px;margin-top:-7px;margin-left:-5px;position:absolute;visibility:visible}.seopress-wizard-services-list-toggle.closed .seopress-wizard-service-enable::before{content:"\f347"}.seopress-wizard-services-list-toggle .seopress-wizard-service-enable input{visibility:hidden;position:relative}.seopress-wizard-services.manual .seopress-wizard-service-item{display:none}.seopress-wizard-services.shipping{margin:0}.seopress-wizard-services.shipping .seopress-wizard-service-name{font-weight:400;text-align:left;-webkit-box-align:center;-webkit-align-items:center;align-items:center;max-height:5em;padding:0}.seopress-wizard-services.shipping .seopress-wizard-service-item{padding-left:2em;padding-top:.67em}.seopress-wizard-services.shipping .seopress-wizard-service-item:first-child{border-bottom:0;padding-bottom:0;font-weight:700}.seopress-wizard-services.shipping .seopress-wizard-service-item:first-child .seopress-wizard-service-name{font-weight:700}.seopress-wizard-services.shipping .seopress-wizard-shipping-method-select,.seopress-wizard-services.shipping .shipping-method-setting{display:-webkit-box;display:-webkit-flex;display:flex}.seopress-wizard-services.shipping .seopress-wizard-shipping-method-select.hide,.seopress-wizard-services.shipping .shipping-method-setting.hide{display:none}.seopress-wizard-services.shipping .seopress-wizard-shipping-method-dropdown,.seopress-wizard-services.shipping .shipping-method-setting input{margin-right:2em;margin-bottom:1em}.seopress-wizard-services.shipping .seopress-wizard-shipping-method-dropdown .select2,.seopress-wizard-services.shipping .shipping-method-setting input .select2{min-width:130px}.seopress-wizard-services.shipping .seopress-wizard-service-description{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;color:#a6a6a6}.seopress-wizard-services.shipping .seopress-wizard-service-item:not(:first-child) .seopress-wizard-service-description{font-size:.92em;padding-bottom:10px}.seopress-wizard-services.shipping .shipping-method-setting input{width:95px;border:1px solid #aaa;border-color:#ddd;border-radius:4px;height:28px;padding-left:8px;padding-right:24px;font-size:14px;color:#444;background-color:#fff;display:inline-block}.seopress-wizard-services.shipping .shipping-method-description,.seopress-wizard-services.shipping .shipping-method-setting .description{color:#7e7e7e;font-size:.9em}.seopress-wizard-services.shipping .shipping-method-setting input::-webkit-input-placeholder{color:#e1e1e1}.seopress-wizard-services.shipping .shipping-method-setting input:-ms-input-placeholder{color:#e1e1e1}.seopress-wizard-services.shipping .shipping-method-setting input::-ms-input-placeholder{color:#e1e1e1}.seopress-wizard-services.shipping .shipping-method-setting input::placeholder{color:#e1e1e1}.seopress-setup-shipping-units p{line-height:1.5em;font-size:13px;margin-bottom:.25em;text-align:center}.seopress-setup-shipping-units .seopress-setup-shipping-unit{margin-bottom:1.75em}.seopress-setup-shipping-units .seopress-setup-shipping-unit .select2{min-width:125px;top:-5px}.hide{display:none}.seopress-wizard-features{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;list-style:none;padding:0}.seopress-wizard-features .seopress-wizard-feature-item{-webkit-flex-basis:calc(50% - 4em - 3px);flex-basis:calc(50% - 4em - 3px);border:1px solid #eee;padding:2em}.seopress-wizard-features .seopress-wizard-feature-item:nth-child(1){border-radius:4px 0 0 0}.seopress-wizard-features .seopress-wizard-feature-item:nth-child(2){border-left:0;border-radius:0 4px 0 0}.seopress-wizard-features .seopress-wizard-feature-item:nth-child(3){border-top:0;border-radius:0 0 0 4px}.seopress-wizard-features .seopress-wizard-feature-item:nth-child(4){border-top:0;border-left:0;border-radius:0 0 4px 0}.seopress-wizard-features p.seopress-wizard-feature-description,.seopress-wizard-features p.seopress-wizard-feature-name{margin:0;line-height:1.5em}h3.jetpack-reasons{text-align:center;margin:3em 0 1em 0;font-size:14px}.jetpack-logo,.wcs-notice{display:block;margin:1.75em auto 2em auto;max-height:175px}.activate-splash .jetpack-logo{width:170px;margin-bottom:0}.activate-splash .wcs-notice{margin-top:1em;padding-left:57px}.step{text-align:center}.seopress-setup .seopress-setup-actions .button{text-shadow:none;font-weight:300;font-size:16px;padding:1em 2em;box-shadow:none;min-width:12em;min-width:auto;margin-top:10px}.seopress-setup .seopress-setup-actions .button:active,.seopress-setup .seopress-setup-actions .button:focus,.seopress-setup .seopress-setup-actions .button:hover{box-shadow:none}.seopress-setup .seopress-setup-actions .plugin-install-info{display:block;font-style:italic;color:#999;font-size:14px;line-height:1.5em;margin:5px 0}.seopress-setup .seopress-setup-actions .plugin-install-info>*{display:block}.seopress-setup .seopress-setup-actions .plugin-install-info .plugin-install-info-list-item::after{content:", "}.seopress-setup .seopress-setup-actions .plugin-install-info .plugin-install-info-list-item:last-of-type::after{content:". "}.seopress-setup .seopress-setup-actions .plugin-install-info a{white-space:nowrap}.seopress-setup .seopress-setup-actions .plugin-install-info a:not(:hover):not(:focus){color:inherit}.plugin-install-source{background:rgba(187,119,174,.15)}.plugin-install-source:not(.seopress-wizard-service-item){box-shadow:0 0 0 10px rgba(187,119,174,.15)}.location-prompt{color:#50575e;font-size:13px;font-weight:500;margin-bottom:.5em;margin-top:.85em;display:inline-block;width:100%;text-align:left}.location-input{border:1px solid #aaa;border-color:#ddd;border-radius:4px;height:30px;width:calc(100% - 8px - 24px - 2px);padding-left:8px;padding-right:24px;font-size:16px;color:#444;background-color:#fff;display:inline-block;width:100%}.location-input.dropdown{width:100%;max-width:inherit}.address-step .select2{min-width:100%}.store-address-container .city-and-postcode{display:-webkit-box;display:-webkit-flex;display:flex}.store-address-container .city-and-postcode div{-webkit-flex-basis:50%;flex-basis:50%;margin-right:1em}.store-address-container .city-and-postcode div:last-of-type{margin-right:0}.store-address-container .select2-container,.store-address-container input[type=text],.store-address-container select{margin-bottom:10px}.product-type-container{margin-top:14px;margin-bottom:1px}#seopress_sell_in_person{margin-left:0}.seopress-wizard-service-settings .payment-email-input{border:1px solid #aaa;border-color:#ddd;border-radius:4px;height:30px;padding:0 8px;font-size:14px;color:#444;background-color:#fff;display:inline-block}.seopress-wizard-service-settings .payment-email-input[disabled]{color:#aaa}.newsletter-form-container{display:-webkit-box;display:-webkit-flex;display:flex}.newsletter-form-container .newsletter-form-email{border:1px solid #aaa;border-color:#ddd;border-radius:4px;height:42px;padding:0 8px;font-size:16px;color:#50575e;background-color:#fff;display:inline-block;margin-right:6px;-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1}.newsletter-form-container .newsletter-form-button-container{-webkit-box-flex:0;-webkit-flex-grow:0;flex-grow:0}.seopress-setup .seopress-setup-actions .button.newsletter-form-button{height:42px;padding:0 1em;margin:0}.seopress-wizard-next-steps{border:1px solid #eee;border-radius:4px;list-style:none;padding:0}.seopress-wizard-next-steps li{padding:0}.seopress-wizard-next-steps .seopress-wizard-next-step-item{display:-webkit-box;display:-webkit-flex;display:flex;border-top:1px solid #eee;text-align:left}.seopress-wizard-next-steps .seopress-wizard-next-step-item:first-child{border-top:0}.seopress-wizard-next-steps .seopress-wizard-next-step-description{-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;margin:1.5em}.seopress-wizard-next-steps .seopress-wizard-next-step-action{-webkit-box-flex:0;-webkit-flex-grow:0;flex-grow:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;justify-content:center}.seopress-wizard-next-steps .seopress-wizard-next-step-action .button{margin:1em 1.5em}.seopress-wizard-next-steps p.next-step-heading{margin:0;font-size:.95em;font-weight:400;font-variant:all-petite-caps}.seopress-wizard-next-steps p.next-step-extra-info{margin:0}.seopress-wizard-next-steps h3.next-step-description{margin:0;font-size:16px;font-weight:600}.seopress-wizard-next-steps .seopress-wizard-additional-steps{border-top:1px solid #eee}.seopress-wizard-next-steps .seopress-wizard-additional-steps .seopress-wizard-next-step-description{margin-bottom:0}.seopress-wizard-next-steps .seopress-wizard-additional-steps .seopress-setup-actions{margin:0 0 1.5em 0}.seopress-wizard-next-steps .seopress-wizard-additional-steps .seopress-setup-actions .button{font-size:15px;margin:1em 0 1em 1.5em}.seopress-wizard-next-steps .seopress-wizard-additional-steps .seopress-setup-actions .button::last-child{margin-right:1.5em}p.next-steps-help-text{color:#9f9f9f;padding:0 2em;text-align:center;font-size:.9em}p.jetpack-terms{font-size:.8em;text-align:center;max-width:480px;margin:0 auto;line-height:1.5em}.seopress-error{background:#ffe6e5;border-color:#ffc5c2;padding:1em;margin-bottom:1em}.seopress-error p{margin-top:0;margin-bottom:.5em;color:#444}.seopress-error a{color:#ff645c}.seopress-error .reconnect-reminder{font-size:.85em}.seopress-error .seopress-setup-actions .button{font-size:14px}.seopress-wizard-service-setting-ppec_paypal_reroute_requests,.seopress-wizard-service-setting-stripe_create_account{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}.seopress-wizard-service-setting-ppec_paypal_reroute_requests .payment-checkbox-input,.seopress-wizard-service-setting-stripe_create_account .payment-checkbox-input{-webkit-box-ordinal-group:2;-webkit-order:1;order:1;margin-top:5px;margin-left:0;margin-right:0;width:1.5em}.seopress-wizard-service-setting-ppec_paypal_reroute_requests .ppec_paypal_reroute_requests,.seopress-wizard-service-setting-ppec_paypal_reroute_requests .stripe_create_account,.seopress-wizard-service-setting-stripe_create_account .ppec_paypal_reroute_requests,.seopress-wizard-service-setting-stripe_create_account .stripe_create_account{-webkit-box-ordinal-group:3;-webkit-order:2;order:2;margin-left:.3em}.seopress-wizard-service-setting-ppec_paypal_email,.seopress-wizard-service-setting-stripe_email{margin-top:.75em;margin-left:1.5em}.seopress-wizard-service-setting-ppec_paypal_email label.ppec_paypal_email,.seopress-wizard-service-setting-ppec_paypal_email label.stripe_email,.seopress-wizard-service-setting-stripe_email label.ppec_paypal_email,.seopress-wizard-service-setting-stripe_email label.stripe_email{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.seopress-wizard-service-setting-ppec_paypal_email input.payment-email-input,.seopress-wizard-service-setting-stripe_email input.payment-email-input{box-sizing:border-box;margin-bottom:.5em;width:100%;height:32px}.seopress-setup-content .recommended-step{padding:0 2.5em;text-align:left;display:inline-block;width:100%;box-sizing:border-box}.seopress-setup-content .recommended-step a{text-decoration:none}.seopress-setup-content .recommended-item{list-style:none;margin:1rem 0}.seopress-setup-content .recommended-item:last-child label{margin-bottom:0}.seopress-setup-content .recommended-item label{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-bottom:1.5em}.seopress-setup-content .recommended-item label::after,.seopress-setup-content .recommended-item label::before{top:auto}.seopress-setup-content .recommended-item label::after{margin-top:-1.5px}.seopress-setup-content .recommended-item .recommended-item-icon{border:1px solid #fff;border-radius:7px;height:3.5em;margin-right:1em;margin-left:4px}.seopress-setup-content .recommended-item .recommended-item-icon.recommended-item-icon-storefront_theme{background-color:#f4a224;max-height:3em;max-width:3em;padding:.25em}.seopress-setup-content .recommended-item .recommended-item-icon.recommended-item-icon-automated_taxes{background-color:#d0011b;max-height:1.75em;padding:.875em}.seopress-setup-content .recommended-item .recommended-item-icon.recommended-item-icon-mailchimp{background-color:#ffe01b;height:2em;padding:.75em}.seopress-setup-content .recommended-item .recommended-item-icon.recommended-item-icon-seopress_services{background-color:#f0f0f0;max-height:1.5em;padding:1.3em .7em}.seopress-setup-content .recommended-item .recommended-item-icon.recommended-item-icon-shipstation{background-color:#f0f0f0;padding:.3em}.seopress-setup-content .recommended-item .recommended-item-description-container h3{font-size:15px;font-weight:700;letter-spacing:.5px;margin-bottom:0}.seopress-setup-content .recommended-item .recommended-item-description-container p{margin-top:0;line-height:1.5em}.seopress-wizard-service-info{padding:1em 2em;background-color:#fafafa}.help_tip{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.seopress-setup #tiptip_content{background:#5f6973}.seopress-setup #tiptip_holder.tip_top #tiptip_arrow_inner{border-top-color:#5f6973}.seopress-setup-shipping-recommended{border-bottom:1px solid #eee;margin-top:0;padding:30px 0}@media only screen and (max-width:768px){.seopress-setup .seopress-setup-content{margin:25px auto 24px}#seopress-logo img{max-width:80%}.store-address-container .city-and-postcode{display:block}.store-address-container .city-and-postcode div{margin-right:0}.seopress-wizard-service-item,.seopress-wizard-services-list-toggle{-webkit-flex-wrap:wrap;flex-wrap:wrap}.seopress-wizard-service-item .seopress-wizard-service-enable,.seopress-wizard-services-list-toggle .seopress-wizard-service-enable{-webkit-box-ordinal-group:3;-webkit-order:2;order:2;padding:20px 0 0}.seopress-wizard-service-item .seopress-wizard-service-description,.seopress-wizard-services-list-toggle .seopress-wizard-service-description{-webkit-box-ordinal-group:4;-webkit-order:3;order:3}.seopress-wizard-service-item .seopress-wizard-service-name,.seopress-wizard-services-list-toggle .seopress-wizard-service-name{padding:20px 20px 0;text-align:left;-webkit-box-pack:justify!important;-webkit-justify-content:space-between!important;justify-content:space-between!important}.seopress-wizard-service-item .seopress-wizard-service-name img,.seopress-wizard-services-list-toggle .seopress-wizard-service-name img{margin:0}.newsletter-form-container{display:block}.newsletter-form-container .newsletter-form-email{display:block;box-sizing:border-box;width:100%;margin-bottom:10px}.newsletter-form-container .button.newsletter-form-button{float:left}.seopress-wizard-next-steps .seopress-wizard-next-step-item{-webkit-flex-wrap:wrap;flex-wrap:wrap}.seopress-wizard-next-steps .seopress-wizard-next-step-item .seopress-wizard-next-step-description{margin-bottom:0}.seopress-wizard-next-steps .seopress-wizard-next-step-item .seopress-wizard-next-step-action p{margin:0}.seopress-setup-steps li a{text-indent:-9999px;position:absolute;left:calc(50% - 24px);top:-10px}.seopress-setup-steps li span{display:none}}
|
1 |
+
html{background-color:#f6f7f7;margin:0}body.seopress-setup{box-shadow:none;background:#f6f7f7;padding:0;margin:0;max-width:100%;border:none}.wp-core-ui select:focus,input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:var(--backgroundPrimary);box-shadow:0 0 0 1px var(--backgroundPrimary);outline:2px solid transparent}.wrap-iframe{overflow:hidden;padding-bottom:56.25%;position:relative;height:0}.wrap-iframe iframe{left:0;top:0;height:100%;width:100%;position:absolute}.spinner{display:inline-block;vertical-align:middle}.admin_page_seopress_csv_importer.seopress-styles .seopress-option{max-width:700px;margin:40px auto}.admin_page_seopress_csv_importer .description{color:var(--color);margin-top:4px;display:block}.admin_page_seopress_csv_importer .description code{background:0 0;padding:0;white-space:pre-line;word-wrap:break-word;word-break:break-all}.admin_page_seopress_csv_importer .seopress-setup-content table thead th{font-weight:700}.admin_page_seopress_csv_importer .seopress-setup-content table tr:nth-child(odd) td{background:#fbfbfb}.admin_page_seopress_csv_importer .seopress-setup-content table td select{width:100%}.admin_page_seopress_csv_importer .seopress-wizard-services{padding:0}.seopress-setup .seopress-setup-footer{display:flex;justify-content:center;padding:0 0 30px 0}.seopress-setup .seopress-setup-content{box-shadow:0 1px 3px rgb(0 0 0 / 13%);padding:2em 2em 1em 2em;margin:65px auto 20px;background:#fff;zoom:1;max-width:35rem}.admin_page_seopress_csv_importer.seopress-setup .seopress-setup-content{max-width:inherit;margin:0 auto 20px}.seopress-setup-content h1,.seopress-setup-content h2,.seopress-setup-content h3,.seopress-setup-content table{margin:0 0 20px;border:0;padding:0;color:var(--colorDark);clear:none;font-weight:500}.seopress-setup-content p{font-size:var(--fontSize)}.seopress-setup-content table{font-size:var(--fontSize)}.seopress-setup-content .m0{margin:0}.seopress-option .section-tool::after{content:none}.seopress-setup-content .seopress-setup-next-steps{margin:0 0 24px;padding-bottom:2px}.seopress-setup-content .seopress-setup-next-steps h2{margin-bottom:12px}.seopress-setup-content .seopress-setup-next-steps .seopress-setup-next-steps-first{float:left;width:50%}.seopress-setup-content .seopress-setup-next-steps .seopress-setup-next-steps-last{float:right;width:50%}.seopress-setup-content .seopress-setup-next-steps ul{padding:0 2em 0 0;list-style:none outside;margin:0}.seopress-setup-content .seopress-setup-next-steps ul li a{display:block;padding:0 0 .75em}.seopress-setup-content .seopress-setup-next-steps ul li a::before{color:var(--color);font:normal 20px/1 dashicons;speak:none;display:inline-block;padding:0 10px 0 0;top:1px;position:relative;text-decoration:none!important;vertical-align:top}.seopress-setup-steps{padding:0 10px;margin:0;list-style:none outside;color:var(--color);width:100%;height:60px;border-bottom:1px solid var(--borderColorCard);align-items:center;justify-content:center;background:#fff;display:inline-flex}.seopress-setup-steps li{width:100%;display:flex;padding:0;margin:0;text-align:center;position:relative;line-height:24px;font-size:16px;align-items:center;justify-content:space-evenly}.seopress-setup-steps li .icon{margin-left:10px}.seopress-setup-steps li a{text-decoration:none;position:relative;z-index:1;color:var(--colorDark);line-height:24px;font-size:16px;transition:color .3s linear}.seopress-setup-steps li .icon::after{content:attr(data-step);border:1px solid var(--borderColorLight40);border-radius:100%;width:24px;height:24px;position:relative;background:var(--borderColorLight40);line-height:24px;color:var(--color);display:inline-flex;align-items:center;justify-content:center;margin-right:10px}.seopress-setup-steps li.active .icon::after{background:var(--backgroundPrimary);color:#fff;border:1px solid var(--backgroundPrimary)}.seopress-setup-steps li.active{color:var(--backgroundPrimary);font-weight:700;text-decoration:none;position:relative;z-index:1;color:var(--colorDark);line-height:24px}.seopress-setup-steps li .divider{flex-grow:1;border-bottom:1px solid var(--borderColorLight40);margin-left:10px}.seopress-setup-steps li.done .icon::after{content:"\f15e";font-family:dashicons;color:#fff;background:var(--backgroundPrimary);border:1px solid var(--backgroundPrimary)}.seopress-setup .seopress-setup-actions{margin:20px auto;position:relative;text-align:center}.seopress-setup-footer-links{font-size:.85em;color:var(--color);margin:1.18em auto;display:inline-block;text-align:center}.no_nav_menu .seopress-setup-steps{display:none}.seopress-setup.no_nav_menu .seopress-setup-content{max-width:50rem}.seopress-setup.no_nav_menu p.seopress-setup-actions{font-size:18px}.seopress-wizard-services{border-bottom:1px solid var(--borderColorLight40);padding:0 0 20px 0;margin:0 0 20px 0;list-style:none;display:inline-block;width:100%}.seopress-wizard-services:first-child{border-top:1px solid var(--borderColorLight40);padding-top:20px}.seopress-wizard-services ul{padding:0}.seopress-wizard-services p{margin:0 0 1em 0;padding:0;font-size:1em;line-height:1.5em}.seopress-wizard-services h3{margin:2rem 0 1rem 0}.seopress-wizard-service-item{display:flex;flex-wrap:nowrap;padding:0;align-items:center;margin:1rem 0}.seopress-wizard-service-item{margin-top:0}.description{margin:0 0 2em 0}.seopress-wizard-service-item:last-child{border-bottom:0}.seopress-wizard-services.manual .seopress-wizard-service-item{display:none}.seopress-wizard-next-steps{border:1px solid var(--borderColorLight40);border-radius:4px;list-style:none;padding:0}.seopress-wizard-next-steps li{padding:0}.seopress-wizard-next-steps .seopress-wizard-next-step-item{display:flex;border-top:1px solid var(--borderColorLight40)}.seopress-wizard-next-steps .seopress-wizard-next-step-item:first-child{border-top:0}.seopress-wizard-next-steps .seopress-wizard-next-step-description{padding:20px;flex-grow:1}.seopress-wizard-next-steps .seopress-wizard-next-step-action{flex-grow:0;display:flex;align-items:center;justify-content:center;padding:0 20px;margin:0}.seopress-wizard-next-steps p.next-step-heading{margin:0;font-variant:all-petite-caps}.seopress-wizard-next-steps p.next-step-extra-info{margin:0}.seopress-wizard-next-steps h3.next-step-description{margin:0;font-size:16px;font-weight:600}.seopress-wizard-next-steps .seopress-wizard-additional-steps{border-top:1px solid var(--borderColorLight40)}.seopress-wizard-next-steps .seopress-wizard-additional-steps .seopress-wizard-next-step-description{margin-bottom:0}.seopress-wizard-next-steps .seopress-wizard-additional-steps .seopress-setup-actions{margin:0 0 1.5em 0}.seopress-setup-content .recommended-step{padding:0;display:inline-block;width:100%}.seopress-setup-content .recommended-step a{text-decoration:none}@media only screen and (max-width:768px){.seopress-setup .seopress-setup-content{margin:25px auto 24px}#seopress-logo img{max-width:80%}.seopress-wizard-service-item{flex-wrap:wrap}.seopress-wizard-service-item .seopress-wizard-service-enable{order:2;padding:20px 0 0}.seopress-wizard-service-item .seopress-wizard-service-description{order:3}.seopress-wizard-service-item .seopress-wizard-service-name{padding:20px 20px 0;justify-content:space-between!important}.seopress-wizard-service-item .seopress-wizard-service-name img{margin:0}.seopress-wizard-next-steps .seopress-wizard-next-step-item{flex-wrap:wrap}.seopress-wizard-next-steps .seopress-wizard-next-step-item .seopress-wizard-next-step-description{margin-bottom:0}.seopress-wizard-next-steps .seopress-wizard-next-step-item .seopress-wizard-next-step-action p{margin:0}.seopress-setup-steps li a{text-indent:-9999px;position:absolute;left:calc(50% - 24px);top:-10px}.seopress-setup-steps li span{display:none}}
|
@@ -1,39 +1,10 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
25% {
|
8 |
-
opacity: 1;
|
9 |
-
bottom: 40px;
|
10 |
-
visibility: visible;
|
11 |
-
}
|
12 |
-
75% {
|
13 |
-
opacity: 1;
|
14 |
-
visibility: visible;
|
15 |
-
}
|
16 |
-
100% {
|
17 |
-
opacity: 0;
|
18 |
-
visibility: hidden;
|
19 |
-
}
|
20 |
-
}
|
21 |
-
#adminmenu div.wp-menu-image.dashicons-admin-seopress::before,
|
22 |
-
#seopress-header #seopress-admin h1::before {
|
23 |
-
content: "\e800";
|
24 |
-
font-family: seopress !important;
|
25 |
-
font-weight: bold;
|
26 |
-
font-size: 12px;
|
27 |
-
line-height: 20px;
|
28 |
-
}
|
29 |
-
|
30 |
-
#seopress-header #seopress-admin h1::before,
|
31 |
-
.seopress-page-list .seopress-feature h3,
|
32 |
-
.seopress-styles .seopress-option h1 {
|
33 |
-
-moz-osx-font-smoothing: grayscale;
|
34 |
-
-webkit-font-smoothing: antialiased;
|
35 |
}
|
36 |
-
|
37 |
@font-face {
|
38 |
font-family: seopress;
|
39 |
src: url(../fonts/seopress.eot?81521271);
|
@@ -45,2392 +16,2313 @@
|
|
45 |
font-weight: 400;
|
46 |
font-style: normal;
|
47 |
}
|
48 |
-
|
49 |
[class*=" icon-seopress"],
|
50 |
[class^="icon-seopress-"] {
|
51 |
font-family: seopress !important;
|
52 |
font-size: 14px !important;
|
53 |
line-height: 24px !important;
|
54 |
}
|
55 |
-
|
56 |
-
#tab_seopress_titles_single .form-table th:empty,
|
57 |
-
#tab_seopress_titles_archives .form-table th:empty,
|
58 |
-
#tab_seopress_titles_tax .form-table th:empty {
|
59 |
-
display: none;
|
60 |
-
}
|
61 |
-
|
62 |
-
.icon-seopress-seopress:before {
|
63 |
content: "\e800";
|
|
|
|
|
|
|
|
|
64 |
}
|
65 |
-
#wpadminbar
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
}
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
vertical-align: middle;
|
|
|
|
|
|
|
85 |
}
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
|
|
|
|
|
|
90 |
}
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
|
|
|
|
95 |
}
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
}
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
#wp-admin-bar-seopress_custom_sub_menu_meta_robots
|
111 |
-
.wrap-seopress-cpt-noindex,
|
112 |
-
#wpadminbar
|
113 |
-
#wp-toolbar
|
114 |
-
#wp-admin-bar-seopress_custom_sub_menu_meta_robots
|
115 |
-
.wrap-seopress-cpt-nofollow {
|
116 |
-
display: block;
|
117 |
}
|
118 |
-
|
119 |
-
|
120 |
-
#wp-toolbar
|
121 |
-
#wp-admin-bar-seopress_custom_sub_menu_meta_robots
|
122 |
-
.wrap-seopress-cpt-noindex
|
123 |
-
.ab-icon,
|
124 |
-
#wpadminbar
|
125 |
-
#wp-toolbar
|
126 |
-
#wp-admin-bar-seopress_custom_sub_menu_meta_robots
|
127 |
-
.wrap-seopress-cpt-nofollow
|
128 |
-
.ab-icon {
|
129 |
-
float: none;
|
130 |
vertical-align: middle;
|
|
|
|
|
131 |
}
|
132 |
-
|
133 |
-
|
134 |
-
#
|
135 |
-
#
|
136 |
-
|
137 |
-
|
138 |
-
#
|
139 |
-
#wp-toolbar
|
140 |
-
#wp-admin-bar-seopress_custom_sub_menu_meta_robots
|
141 |
-
.wrap-seopress-cpt-nofollow
|
142 |
-
.on::before {
|
143 |
-
color: red;
|
144 |
-
}
|
145 |
-
#wpadminbar
|
146 |
-
#wp-toolbar
|
147 |
-
#wp-admin-bar-seopress_custom_sub_menu_meta_robots
|
148 |
-
.wrap-seopress-cpt-noindex
|
149 |
-
.off::before,
|
150 |
-
#wpadminbar
|
151 |
-
#wp-toolbar
|
152 |
-
#wp-admin-bar-seopress_custom_sub_menu_meta_robots
|
153 |
-
.wrap-seopress-cpt-nofollow
|
154 |
-
.off::before {
|
155 |
-
color: #46b450;
|
156 |
-
}
|
157 |
-
|
158 |
-
.sp-tooltip {
|
159 |
-
position: relative;
|
160 |
-
margin-left: 5px;
|
161 |
display: inline-block;
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
}
|
169 |
-
|
170 |
-
|
171 |
-
color: #
|
172 |
}
|
173 |
-
|
174 |
-
|
175 |
-
visibility: hidden;
|
176 |
-
position: absolute;
|
177 |
-
z-index: 999999999;
|
178 |
-
width: 300px;
|
179 |
-
right: -303px;
|
180 |
-
padding: 20px;
|
181 |
-
top: 25px;
|
182 |
-
font-weight: 400;
|
183 |
-
box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1);
|
184 |
-
border: 1px solid #e2e4e7;
|
185 |
-
background: #fff;
|
186 |
-
word-break: break-word;
|
187 |
-
text-transform: none;
|
188 |
}
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
|
|
|
|
193 |
}
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
}
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
content: "";
|
208 |
-
position: absolute;
|
209 |
-
height: 0;
|
210 |
-
width: 0;
|
211 |
-
line-height: 0;
|
212 |
-
left: 30px;
|
213 |
}
|
214 |
-
|
215 |
-
|
216 |
-
.sp-tooltip:focus .sp-tooltiptext,
|
217 |
-
.sp-tooltip:active .sp-tooltiptext {
|
218 |
-
visibility: visible;
|
219 |
}
|
220 |
-
|
221 |
-
|
222 |
-
font-size: 18px;
|
223 |
-
font-weight: 600;
|
224 |
-
margin-bottom: 20px;
|
225 |
-
display: block;
|
226 |
}
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
font-size: 13px;
|
234 |
}
|
235 |
-
|
236 |
-
|
237 |
-
font-family: Menlo, Monaco, Andale Mono, Courier New, monospace;
|
238 |
-
display: block;
|
239 |
-
word-break: break-all;
|
240 |
-
color: #1a7a06;
|
241 |
-
font-size: 11px;
|
242 |
}
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
|
|
|
|
|
|
|
|
|
|
247 |
}
|
248 |
-
|
249 |
-
|
250 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
251 |
}
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
|
|
|
|
|
|
|
|
256 |
}
|
257 |
-
|
258 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
259 |
display: inline-block;
|
260 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
261 |
}
|
262 |
-
|
263 |
-
#
|
264 |
-
|
265 |
-
|
266 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
267 |
}
|
268 |
-
|
269 |
-
|
270 |
-
float: right;
|
271 |
-
width: 50%;
|
272 |
}
|
273 |
-
|
274 |
-
|
275 |
-
display: inline-block;
|
276 |
-
width: 100%;
|
277 |
-
margin: 0;
|
278 |
-
height: auto;
|
279 |
-
padding: 20px 0;
|
280 |
}
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
margin: 5px;
|
285 |
-
display: inline-block;
|
286 |
}
|
287 |
-
|
288 |
-
|
289 |
-
clear: both;
|
290 |
-
border-top: 1px solid #e2e4e7;
|
291 |
-
display: flex;
|
292 |
-
justify-content: space-between;
|
293 |
-
align-items: center;
|
294 |
}
|
295 |
-
|
296 |
-
|
297 |
-
display: flex;
|
298 |
-
align-content: center;
|
299 |
}
|
300 |
-
|
301 |
-
|
302 |
-
.
|
303 |
-
|
304 |
-
|
|
|
|
|
|
|
|
|
305 |
}
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
display: inline-block;
|
310 |
-
height: 30px;
|
311 |
-
width: 30px;
|
312 |
-
margin: 0;
|
313 |
-
border-radius: 100%;
|
314 |
-
position: relative;
|
315 |
-
font-weight: 600;
|
316 |
-
shape-rendering: geometricprecision;
|
317 |
-
font-size: 0.5rem;
|
318 |
-
vertical-align: middle;
|
319 |
-
margin-right: 15px;
|
320 |
}
|
321 |
-
|
322 |
-
.
|
323 |
-
.
|
324 |
-
|
|
|
|
|
|
|
325 |
}
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
333 |
}
|
334 |
-
|
335 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
336 |
}
|
337 |
}
|
338 |
-
|
339 |
-
|
340 |
-
stroke-dashoffset: 0 !important;
|
341 |
-
stroke: #adc5d2 !important;
|
342 |
-
animation: loadingPulse 3s infinite ease-in-out;
|
343 |
}
|
344 |
-
|
345 |
-
|
346 |
-
.column-
|
347 |
-
|
348 |
}
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
354 |
}
|
355 |
-
|
356 |
-
|
357 |
-
.column-seopress_score .analysis-score svg circle {
|
358 |
-
stroke-dashoffset: 0;
|
359 |
-
transition: stroke-dashoffset 1s linear;
|
360 |
-
stroke: #ccc;
|
361 |
-
stroke-width: 2em;
|
362 |
}
|
363 |
-
|
364 |
-
|
365 |
-
|
|
|
|
|
|
|
|
|
366 |
}
|
367 |
-
|
368 |
-
|
369 |
-
|
|
|
|
|
|
|
|
|
370 |
position: relative;
|
|
|
|
|
371 |
}
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
position: absolute;
|
376 |
-
|
377 |
-
top:
|
378 |
-
|
379 |
-
height: 10px;
|
380 |
-
border-radius: 50px;
|
381 |
-
padding: 0;
|
382 |
-
margin: 0;
|
383 |
-
border: 1px solid #fff;
|
384 |
}
|
385 |
-
|
386 |
-
|
387 |
-
background: #46b450;
|
388 |
-
box-shadow: 0 0 5px #46b450;
|
389 |
}
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
}
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
399 |
}
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
|
|
405 |
}
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
margin-left: 5px;
|
413 |
-
border-radius: 4px;
|
414 |
-
font-weight: bold;
|
415 |
}
|
416 |
-
|
417 |
-
|
418 |
-
position: relative;
|
419 |
-
top: calc(50% - 18px);
|
420 |
-
display: inline-block;
|
421 |
-
left: inherit;
|
422 |
-
right: -10px;
|
423 |
}
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
font-
|
430 |
}
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
border: 0;
|
435 |
-
cursor: pointer;
|
436 |
-
display: block;
|
437 |
-
margin: 0;
|
438 |
position: relative;
|
439 |
-
|
440 |
-
|
441 |
-
padding:
|
442 |
-
|
443 |
-
|
|
|
444 |
}
|
445 |
-
|
446 |
-
|
447 |
-
|
|
|
|
|
448 |
}
|
449 |
-
|
450 |
-
|
451 |
-
color: #191e23;
|
452 |
-
border: none;
|
453 |
-
box-shadow: none;
|
454 |
-
outline-offset: -2px;
|
455 |
-
outline: 1px dotted #555d66;
|
456 |
}
|
457 |
-
|
458 |
-
#
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
top: calc(50% - 7px);
|
464 |
}
|
465 |
-
|
466 |
-
#
|
467 |
-
|
|
|
|
|
468 |
}
|
469 |
-
|
470 |
-
|
471 |
-
padding: 0 1rem 0.5rem 1rem;
|
472 |
-
display: none;
|
473 |
-
width: 100%;
|
474 |
-
border-top: 1px solid #e2e4e7;
|
475 |
-
box-sizing: border-box;
|
476 |
}
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
table.wp-list-table .manage_column.column-seopress_canonical,
|
482 |
-
table.wp-list-table .manage_column.column-seopress_redirect_enable,
|
483 |
-
table.wp-list-table .manage_column.column-seopress_desc,
|
484 |
-
table.wp-list-table .manage_column.column-seopress_title,
|
485 |
-
table.wp-list-table .manage_column.column-seopress_insights {
|
486 |
-
width: 7% !important;
|
487 |
-
}
|
488 |
-
|
489 |
-
#seopress_content_analysis h3 {
|
490 |
-
margin: 0;
|
491 |
-
font-size: 1em;
|
492 |
}
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
position: -webkit-sticky; /* Required for Safari */
|
500 |
-
position: sticky;
|
501 |
-
top: 0;
|
502 |
-
background: #fff;
|
503 |
}
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
}
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
cursor: default;
|
514 |
}
|
515 |
-
|
516 |
-
#
|
517 |
-
|
518 |
-
|
|
|
|
|
519 |
}
|
520 |
-
|
521 |
-
#
|
522 |
-
|
523 |
-
|
524 |
-
object-fit: cover;
|
525 |
-
border: 1px solid #f3f4f5;
|
526 |
-
cursor: default;
|
527 |
-
padding: 1px;
|
528 |
}
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
}
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
|
|
|
|
|
|
537 |
}
|
538 |
-
|
539 |
-
|
540 |
-
|
|
|
|
|
|
|
541 |
}
|
542 |
-
|
543 |
-
|
|
|
544 |
margin: 0;
|
545 |
-
padding: 0;
|
546 |
}
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
|
551 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
552 |
width: 100%;
|
553 |
-
|
554 |
-
margin: 0;
|
555 |
-
border-radius: 0;
|
556 |
-
padding: 0;
|
557 |
-
background: #f3f4f5;
|
558 |
-
border: none;
|
559 |
}
|
560 |
-
|
561 |
-
#
|
562 |
-
|
563 |
-
|
564 |
}
|
565 |
-
|
566 |
-
|
567 |
-
content: none;
|
568 |
}
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
|
|
573 |
}
|
574 |
-
|
575 |
-
|
576 |
-
|
577 |
-
|
578 |
-
display: inline-block;
|
579 |
-
padding: 1em 1.4em;
|
580 |
-
width: 100%;
|
581 |
-
box-sizing: border-box;
|
582 |
}
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
591 |
}
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
}
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
z-index: 60;
|
601 |
-
cursor: pointer;
|
602 |
-
border-radius: 0;
|
603 |
-
border-bottom: 3px solid #0085ba;
|
604 |
}
|
605 |
-
|
606 |
-
#
|
607 |
-
|
608 |
-
#seopress_cpt #tabs-2 label[for="seopress_robots_breadcrumbs_meta"],
|
609 |
-
#seopress_cpt #tabs-2 label[for="seopress_robots_canonical_meta"],
|
610 |
-
#seopress_cpt #tabs-2 label[for="seopress_robots_primary_cat_meta"],
|
611 |
-
#seopress_cpt #tabs-3 label,
|
612 |
-
#seopress_cpt #tabs-4 label,
|
613 |
-
#seopress_cpt #tabs-5 label,
|
614 |
-
#seopress_cpt #tabs-6 label,
|
615 |
-
#seopress_cpt .subsection-title {
|
616 |
-
display: block;
|
617 |
-
margin: 20px 0 5px;
|
618 |
-
font-weight: 700;
|
619 |
}
|
620 |
-
|
621 |
-
#
|
|
|
|
|
|
|
|
|
622 |
margin: 0;
|
623 |
}
|
624 |
-
|
625 |
-
|
626 |
-
#seopress_cpt #tabs-1 input,
|
627 |
-
#seopress_cpt #tabs-2 input[type="text"],
|
628 |
-
#seopress_cpt #tabs-3 input[type="text"],
|
629 |
-
#seopress_cpt #tabs-3 textarea,
|
630 |
-
#seopress_cpt #tabs-4 input[type="text"],
|
631 |
-
#seopress_cpt #tabs-5 input[type="text"],
|
632 |
-
#seopress_cpt #tabs-6 input[type="text"],
|
633 |
-
#seopress_cpt #tabs-6 textarea {
|
634 |
-
width: 100%;
|
635 |
-
display: inline-block;
|
636 |
}
|
637 |
-
|
638 |
-
|
639 |
-
width: 100%;
|
640 |
}
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
|
|
|
|
|
|
|
|
645 |
}
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
}
|
650 |
-
|
651 |
-
|
652 |
-
width: 300px;
|
653 |
}
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
}
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
|
|
|
|
|
|
663 |
}
|
664 |
-
|
665 |
-
|
666 |
-
padding:
|
|
|
667 |
}
|
668 |
-
|
669 |
-
|
670 |
-
#seopress_cpt #tabs-6 > p {
|
671 |
-
padding: 0 1.4em;
|
672 |
}
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
}
|
677 |
-
|
678 |
-
|
679 |
-
|
|
|
680 |
}
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
font-size: 1em;
|
686 |
-
padding: 1em 1.4em;
|
687 |
}
|
688 |
-
|
689 |
-
|
690 |
-
#seopress_cpt #tabs-6 #wrap-videos .video:last-child .accordion-section-title {
|
691 |
-
border-bottom: 1px solid #eee;
|
692 |
}
|
693 |
-
|
694 |
-
|
695 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
696 |
}
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
-
|
702 |
-
#seopress_cpt #tabs-6 .family-friendly label,
|
703 |
-
#seopress_cpt #tabs-6 .internal_video label {
|
704 |
-
font-weight: 400;
|
705 |
}
|
706 |
-
|
707 |
-
|
708 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
709 |
}
|
710 |
-
|
711 |
-
|
712 |
-
#seopress_cpt .advise,
|
713 |
-
#seopress_pro_cpt .advise,
|
714 |
-
.seopress-option .advise {
|
715 |
-
margin: 5px;
|
716 |
-
display: block;
|
717 |
-
color: red;
|
718 |
-
font-style: italic;
|
719 |
}
|
720 |
-
|
721 |
-
|
722 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
723 |
}
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
-
color: #c00;
|
728 |
}
|
729 |
-
|
730 |
-
|
731 |
-
|
732 |
-
width: 49%;
|
733 |
-
margin-right: 1%;
|
734 |
}
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
739 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
740 |
}
|
741 |
-
|
742 |
-
|
|
|
|
|
743 |
}
|
744 |
-
|
745 |
-
|
|
|
|
|
|
|
746 |
}
|
747 |
-
|
748 |
-
|
749 |
-
|
750 |
-
|
751 |
-
|
752 |
-
|
753 |
-
|
754 |
}
|
755 |
-
|
756 |
-
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
-
}
|
762 |
}
|
763 |
-
|
764 |
-
|
765 |
-
|
766 |
-
|
767 |
-
width: 100%;
|
768 |
-
margin: 0;
|
769 |
}
|
770 |
-
|
771 |
-
|
772 |
-
#seopress_pro_cpt .seopress_media_upload {
|
773 |
-
margin-top: 0.5rem;
|
774 |
}
|
775 |
-
|
776 |
-
|
777 |
-
font-family: arial, sans-serif;
|
778 |
-
word-break: break-all;
|
779 |
}
|
780 |
-
|
781 |
-
|
782 |
-
margin: 0 0 10px 0;
|
783 |
-
box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
|
784 |
-
border-radius: 8px;
|
785 |
-
padding: 12px 16px;
|
786 |
}
|
787 |
-
|
788 |
-
#
|
789 |
-
|
790 |
}
|
791 |
-
|
792 |
-
|
793 |
-
|
794 |
-
#seopress_cpt .google-snippet-preview .snippet-title-default {
|
795 |
-
color: #1a0dab;
|
796 |
-
font-size: 18px;
|
797 |
-
font-weight: 400;
|
798 |
-
line-height: 21.6px;
|
799 |
}
|
800 |
-
|
801 |
-
|
802 |
-
|
803 |
-
|
804 |
-
font-size: 16px;
|
805 |
-
line-height: 20px;
|
806 |
-
margin-bottom: 12px;
|
807 |
}
|
808 |
-
|
809 |
-
|
810 |
-
|
811 |
-
font-size: 14px;
|
812 |
-
font-style: normal;
|
813 |
-
font-weight: 400;
|
814 |
-
line-height: 16px;
|
815 |
-
overflow: hidden;
|
816 |
-
text-overflow: ellipsis;
|
817 |
-
white-space: nowrap;
|
818 |
}
|
819 |
-
|
820 |
-
|
821 |
-
|
822 |
-
|
|
|
|
|
|
|
|
|
823 |
}
|
824 |
-
|
825 |
-
|
826 |
-
|
827 |
-
|
828 |
-
|
829 |
-
|
|
|
|
|
830 |
display: flex;
|
|
|
|
|
831 |
}
|
832 |
-
|
833 |
-
|
834 |
-
|
835 |
-
.wrap-m-icon-permalink
|
836 |
-
.snippet-permalink {
|
837 |
-
display: block;
|
838 |
-
color: #3c4043;
|
839 |
-
font-size: 12px;
|
840 |
}
|
841 |
-
|
842 |
-
|
843 |
-
|
844 |
-
|
845 |
}
|
846 |
-
|
847 |
-
|
848 |
-
|
849 |
-
height:
|
850 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
851 |
}
|
852 |
-
|
853 |
-
|
854 |
-
|
855 |
-
.wrap-snippet
|
856 |
-
.snippet-permalink:first-child {
|
857 |
-
color: #3c4043;
|
858 |
-
white-space: nowrap;
|
859 |
-
font-size: 12px;
|
860 |
-
display: block;
|
861 |
}
|
862 |
-
|
863 |
-
|
864 |
-
#
|
865 |
-
|
866 |
-
|
867 |
-
|
868 |
-
|
869 |
-
|
870 |
-
|
|
|
871 |
}
|
872 |
-
|
873 |
-
|
874 |
-
#
|
875 |
-
|
876 |
-
.snippet-description-custom,
|
877 |
-
#seopress_cpt
|
878 |
-
.google-snippet-preview.mobile-preview
|
879 |
-
.snippet-description-default {
|
880 |
-
color: #3c4043;
|
881 |
-
font-size: 14px;
|
882 |
-
line-height: 20px;
|
883 |
}
|
884 |
-
|
885 |
-
|
886 |
-
|
887 |
-
display: inline;
|
888 |
}
|
889 |
-
#
|
890 |
-
|
891 |
-
|
892 |
-
|
893 |
}
|
894 |
-
#
|
895 |
-
|
896 |
-
|
897 |
-
|
898 |
-
|
899 |
-
|
|
|
900 |
}
|
901 |
-
#
|
902 |
-
|
903 |
-
|
904 |
}
|
905 |
-
#
|
906 |
-
|
907 |
-
|
908 |
-
max-height: 12px;
|
909 |
}
|
910 |
-
#
|
911 |
-
|
912 |
-
#seopress_cpt .fb-by {
|
913 |
-
color: #606770;
|
914 |
-
font-size: 12px;
|
915 |
-
white-space: normal;
|
916 |
-
line-height: 11px;
|
917 |
-
text-transform: uppercase;
|
918 |
-
-webkit-box-orient: vertical;
|
919 |
-
display: -webkit-box;
|
920 |
-
text-overflow: ellipsis;
|
921 |
}
|
922 |
-
#
|
923 |
-
|
924 |
-
|
925 |
-
|
926 |
-
|
927 |
-
|
|
|
|
|
|
|
|
|
|
|
928 |
}
|
929 |
-
#
|
930 |
-
|
931 |
-
background-color: #f2f3f5;
|
932 |
-
padding: 10px 12px;
|
933 |
}
|
934 |
-
#
|
935 |
-
|
936 |
-
overflow: hidden;
|
937 |
}
|
938 |
-
#
|
939 |
-
|
940 |
-
#seopress_cpt .facebook-snippet-box .snippet-fb-title-default {
|
941 |
-
font-size: 16px;
|
942 |
-
line-height: 20px;
|
943 |
-
margin: 3px 0 0;
|
944 |
-
padding-top: 2px;
|
945 |
-
color: #1d2129;
|
946 |
-
font-weight: 700;
|
947 |
-
overflow: hidden;
|
948 |
-
-webkit-box-orient: vertical;
|
949 |
-
display: -webkit-box;
|
950 |
-
text-overflow: ellipsis;
|
951 |
-
white-space: normal;
|
952 |
-
word-break: break-word;
|
953 |
-
max-height: 22px;
|
954 |
}
|
955 |
-
#
|
956 |
-
|
957 |
-
#seopress_cpt .facebook-snippet-box .snippet-fb-description-default {
|
958 |
-
color: #606770;
|
959 |
-
font-size: 14px;
|
960 |
-
line-height: 20px;
|
961 |
-
word-break: break-word;
|
962 |
-
font-family: Helvetica, Arial, sans-serif;
|
963 |
-
max-height: 80px;
|
964 |
-
overflow: hidden;
|
965 |
-
-webkit-box-orient: vertical;
|
966 |
-
display: -webkit-box;
|
967 |
-
text-overflow: ellipsis;
|
968 |
-
white-space: normal;
|
969 |
-
width: 100%;
|
970 |
}
|
971 |
-
#
|
972 |
-
|
973 |
-
|
974 |
-
width: 524px;
|
975 |
-
object-fit: cover;
|
976 |
-
background-color: #edeff0;
|
977 |
-
text-align: center;
|
978 |
-
border-bottom: none;
|
979 |
}
|
980 |
-
|
981 |
-
#
|
982 |
-
|
983 |
-
|
984 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
985 |
}
|
986 |
-
#
|
987 |
-
|
988 |
-
|
989 |
-
white-space: normal;
|
990 |
-
line-height: 11px;
|
991 |
-
text-transform: uppercase;
|
992 |
-
-webkit-box-orient: vertical;
|
993 |
-
display: -webkit-box;
|
994 |
-
text-overflow: ellipsis;
|
995 |
}
|
996 |
-
#
|
997 |
-
|
998 |
-
|
999 |
-
padding: 10px 12px;
|
1000 |
-
border-radius: 0 0 10px 10px;
|
1001 |
}
|
1002 |
-
#
|
1003 |
-
|
1004 |
-
|
1005 |
}
|
1006 |
-
#seopress_cpt .
|
1007 |
-
#
|
1008 |
-
|
1009 |
-
|
1010 |
-
overflow: hidden;
|
1011 |
}
|
1012 |
-
#
|
1013 |
-
|
1014 |
-
|
1015 |
-
|
1016 |
-
|
1017 |
-
margin-
|
1018 |
-
|
1019 |
-
|
1020 |
-
font-weight: 700;
|
1021 |
-
overflow: hidden;
|
1022 |
-
-webkit-box-orient: vertical;
|
1023 |
-
display: -webkit-box;
|
1024 |
-
text-overflow: ellipsis;
|
1025 |
-
white-space: normal;
|
1026 |
-
word-break: break-word;
|
1027 |
}
|
1028 |
-
#seopress_cpt .
|
1029 |
-
|
1030 |
-
|
1031 |
-
|
1032 |
-
|
1033 |
-
|
1034 |
-
word-break: break-word;
|
1035 |
-
font-family: Helvetica, Arial, sans-serif;
|
1036 |
-
max-height: 80px;
|
1037 |
-
overflow: hidden;
|
1038 |
-
-webkit-box-orient: vertical;
|
1039 |
-
display: -webkit-box;
|
1040 |
-
text-overflow: ellipsis;
|
1041 |
-
white-space: normal;
|
1042 |
-
width: 100%;
|
1043 |
}
|
1044 |
-
#seopress_cpt .
|
|
|
|
|
|
|
1045 |
display: block;
|
1046 |
-
height: 200px;
|
1047 |
-
width: 436px;
|
1048 |
-
object-fit: cover;
|
1049 |
-
background-color: #edeff0;
|
1050 |
-
text-align: center;
|
1051 |
-
border-bottom: none;
|
1052 |
-
}
|
1053 |
-
|
1054 |
-
#seopress_cpt .wrap-seopress-counters,
|
1055 |
-
#seopress_pro_cpt .wrap-seopress-counters,
|
1056 |
-
.seopress-styles .wrap-seopress-counters,
|
1057 |
-
.seopress-setup .wrap-seopress-counters {
|
1058 |
-
text-align: right;
|
1059 |
-
background: #e9ecef;
|
1060 |
-
padding: 2px 5px;
|
1061 |
-
display: flex;
|
1062 |
font-size: 12px;
|
1063 |
-
|
1064 |
-
border-radius: 0 0 0.25rem 0.25rem;
|
1065 |
}
|
1066 |
-
|
1067 |
-
#
|
1068 |
-
|
1069 |
-
|
1070 |
-
|
1071 |
-
|
1072 |
-
|
1073 |
-
overflow: hidden;
|
1074 |
-
font-size: 0.75rem;
|
1075 |
-
background-color: #e9ecef;
|
1076 |
-
border-radius: 0.25rem 0.25rem 0 0;
|
1077 |
}
|
1078 |
-
#seopress_cpt .
|
1079 |
-
#
|
1080 |
-
|
1081 |
-
|
1082 |
-
|
1083 |
-
|
1084 |
-
-
|
1085 |
-
flex-direction: column;
|
1086 |
-
-ms-flex-pack: center;
|
1087 |
-
justify-content: center;
|
1088 |
-
color: #fff;
|
1089 |
-
text-align: center;
|
1090 |
-
white-space: nowrap;
|
1091 |
-
background-color: #0085ba;
|
1092 |
-
transition: width 0.6s ease;
|
1093 |
}
|
1094 |
-
#
|
1095 |
-
|
1096 |
-
|
1097 |
-
|
1098 |
-
display:
|
1099 |
-
margin
|
1100 |
-
}
|
1101 |
-
|
1102 |
-
#seopress_cpt #seopress_titles_desc_counters_val,
|
1103 |
-
#seopress_cpt #seopress_titles_title_counters_val,
|
1104 |
-
#seopress_pro_cpt #seopress_rich_snippets_articles_counters_val,
|
1105 |
-
#seopress_pro_cpt #seopress_rich_snippets_courses_counters_val {
|
1106 |
-
display: inline;
|
1107 |
-
font-weight: 700;
|
1108 |
-
}
|
1109 |
-
|
1110 |
-
#term-seopress #seopress_cpt {
|
1111 |
-
width: 95%;
|
1112 |
-
}
|
1113 |
-
|
1114 |
-
.post-type-product table.fixed thead .column-seopress_title,
|
1115 |
-
.post-type-product table.fixed thead .column-seopress_desc {
|
1116 |
-
width: 8%;
|
1117 |
-
}
|
1118 |
-
|
1119 |
-
.post-type-product table.fixed thead .column-seopress_redirect_enable,
|
1120 |
-
.post-type-product table.fixed thead .column-seopress_redirect_url,
|
1121 |
-
.post-type-product table.fixed thead .column-seopress_canonical,
|
1122 |
-
.post-type-product table.fixed thead .column-seopress_tkw,
|
1123 |
-
.post-type-product .fixed .column-seopress_w3c,
|
1124 |
-
.post-type-product .fixed .column-seopress_words,
|
1125 |
-
.post-type-product .fixed .column-seopress_ps {
|
1126 |
-
width: 6%;
|
1127 |
-
}
|
1128 |
-
|
1129 |
-
.post-type-product .fixed .column-seopress_score {
|
1130 |
-
width: 50px;
|
1131 |
-
}
|
1132 |
-
|
1133 |
-
table.fixed thead .column-seopress_nofollow,
|
1134 |
-
table.fixed thead .column-seopress_noindex {
|
1135 |
-
width: 100px;
|
1136 |
-
}
|
1137 |
-
|
1138 |
-
@media only screen and (max-width: 1200px) {
|
1139 |
-
table.fixed .column-seopress_title > div,
|
1140 |
-
table.fixed .column-seopress_desc > div,
|
1141 |
-
table.fixed .column-seopress_redirect_enable > div,
|
1142 |
-
table.fixed .column-seopress_redirect_url > div,
|
1143 |
-
table.fixed .column-seopress_canonical > div {
|
1144 |
-
white-space: nowrap;
|
1145 |
-
overflow: hidden;
|
1146 |
-
text-overflow: ellipsis;
|
1147 |
-
}
|
1148 |
-
|
1149 |
-
table.fixed thead .column-seopress_redirect_enable,
|
1150 |
-
table.fixed thead .column-seopress_redirect_url,
|
1151 |
-
table.fixed thead .column-seopress_canonical,
|
1152 |
-
table.fixed thead .column-seopress_tkw,
|
1153 |
-
table.fixed thead .column-seopress_nofollow,
|
1154 |
-
table.fixed thead .column-seopress_noindex,
|
1155 |
-
table.fixed thead .column-seopress_score,
|
1156 |
-
table.fixed thead .column-seopress_w3c,
|
1157 |
-
table.fixed thead .column-seopress_words,
|
1158 |
-
table.fixed thead .column-seopress_ps {
|
1159 |
-
white-space: nowrap;
|
1160 |
-
overflow: hidden;
|
1161 |
-
text-overflow: ellipsis;
|
1162 |
-
}
|
1163 |
-
}
|
1164 |
-
|
1165 |
-
#seopress_cpt .ui-tabs {
|
1166 |
position: relative;
|
1167 |
-
|
1168 |
-
border: none;
|
1169 |
-
font-family: inherit;
|
1170 |
-
font-size: inherit;
|
1171 |
-
display: inline-block;
|
1172 |
width: 100%;
|
|
|
|
|
|
|
1173 |
}
|
1174 |
-
|
1175 |
-
#
|
1176 |
-
list-style: none;
|
1177 |
-
display: inline-block;
|
1178 |
-
position: relative;
|
1179 |
-
top: 2px;
|
1180 |
-
padding: 0px 5px;
|
1181 |
-
white-space: nowrap;
|
1182 |
-
margin: 0;
|
1183 |
-
border: none;
|
1184 |
-
background: 0 0;
|
1185 |
}
|
1186 |
-
|
1187 |
-
#
|
1188 |
-
|
1189 |
-
|
|
|
|
|
1190 |
}
|
1191 |
-
|
1192 |
-
|
1193 |
-
|
1194 |
-
|
|
|
|
|
1195 |
}
|
1196 |
-
|
1197 |
-
|
1198 |
-
margin-bottom: 2px;
|
1199 |
-
padding-bottom: 1px;
|
1200 |
}
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
1204 |
-
|
1205 |
-
|
1206 |
-
font-weight: bold;
|
1207 |
}
|
1208 |
-
|
1209 |
-
|
1210 |
-
|
1211 |
-
cursor: pointer;
|
1212 |
-
color: #191e23;
|
1213 |
-
text-decoration: none;
|
1214 |
-
height: 40px;
|
1215 |
-
line-height: 40px;
|
1216 |
}
|
1217 |
-
|
1218 |
-
|
1219 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1220 |
}
|
1221 |
-
|
1222 |
-
|
1223 |
-
|
1224 |
-
float: left;
|
1225 |
-
width: 12em;
|
1226 |
}
|
1227 |
-
|
1228 |
-
|
1229 |
-
|
1230 |
-
|
1231 |
-
border-bottom-width: 1px !important;
|
1232 |
-
border-right-width: 0 !important;
|
1233 |
-
margin: 0 -1px 0.2em 0;
|
1234 |
}
|
1235 |
-
|
1236 |
-
|
1237 |
-
padding-bottom:
|
1238 |
-
padding-right: 0.1em;
|
1239 |
-
border-right-width: 1px;
|
1240 |
}
|
1241 |
-
|
1242 |
-
|
1243 |
-
|
1244 |
-
|
1245 |
-
|
|
|
|
|
1246 |
}
|
1247 |
-
|
1248 |
-
#
|
1249 |
-
|
1250 |
}
|
1251 |
-
|
1252 |
-
|
1253 |
-
font-weight: 700;
|
1254 |
-
margin-right: 10px;
|
1255 |
}
|
1256 |
-
|
1257 |
#seopress_content_analysis .dashicons-no-alt,
|
1258 |
#seopress_content_analysis .dashicons-yes,
|
1259 |
#seopress_pro_cpt .dashicons-no-alt,
|
1260 |
#seopress_pro_cpt .dashicons-yes {
|
1261 |
color: #fff;
|
1262 |
-
background:
|
1263 |
border-radius: 50px;
|
1264 |
margin-right: 10px;
|
1265 |
}
|
1266 |
-
|
1267 |
#seopress_content_analysis .dashicons-no-alt,
|
1268 |
#seopress_pro_cpt .dashicons-no-alt {
|
1269 |
-
background:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1270 |
}
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
}
|
1275 |
-
|
1276 |
-
#
|
1277 |
-
|
1278 |
-
|
1279 |
-
|
1280 |
-
|
1281 |
-
|
1282 |
}
|
1283 |
-
|
1284 |
-
|
1285 |
-
|
1286 |
-
|
1287 |
-
|
1288 |
-
|
1289 |
-
margin: -1px 0.2em 0 0;
|
1290 |
padding: 0;
|
1291 |
-
white-space: nowrap;
|
1292 |
-
border: none;
|
1293 |
-
background: 0 0;
|
1294 |
}
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
1298 |
-
|
1299 |
-
|
1300 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1301 |
}
|
1302 |
-
|
1303 |
-
|
1304 |
-
|
1305 |
}
|
1306 |
-
|
1307 |
-
|
1308 |
-
#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-active a,
|
1309 |
-
#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-loading a {
|
1310 |
-
cursor: text;
|
1311 |
-
border-bottom: 2px solid #23282d;
|
1312 |
-
color: #23282d;
|
1313 |
}
|
1314 |
-
|
1315 |
-
|
1316 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1317 |
cursor: pointer;
|
1318 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1319 |
text-decoration: none;
|
|
|
1320 |
}
|
1321 |
-
|
1322 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
1323 |
width: 55em;
|
1324 |
}
|
1325 |
-
|
1326 |
-
#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav {
|
1327 |
padding: 0.2em 0.1em 0.2em 0.2em;
|
1328 |
float: left;
|
1329 |
width: 12em;
|
1330 |
}
|
1331 |
-
|
1332 |
-
#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav li {
|
1333 |
clear: left;
|
1334 |
width: 100%;
|
1335 |
border-bottom-width: 1px !important;
|
1336 |
border-right-width: 0 !important;
|
1337 |
margin: 0 -1px 0.2em 0;
|
1338 |
}
|
1339 |
-
|
1340 |
-
#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active {
|
1341 |
padding-bottom: 0;
|
1342 |
padding-right: 0.1em;
|
1343 |
border-right-width: 1px;
|
1344 |
}
|
1345 |
-
|
1346 |
-
#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-panel {
|
1347 |
padding: 1em;
|
1348 |
float: right;
|
1349 |
width: 40em;
|
1350 |
}
|
1351 |
-
|
1352 |
-
|
1353 |
-
margin: 10px auto 0;
|
1354 |
-
max-width: 90%;
|
1355 |
-
padding: 1rem;
|
1356 |
-
background: #fff;
|
1357 |
-
box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.1);
|
1358 |
-
border-radius: 4px;
|
1359 |
}
|
1360 |
-
|
1361 |
-
|
1362 |
-
font-
|
1363 |
-
|
1364 |
-
color: #3297d3;
|
1365 |
-
text-transform: uppercase;
|
1366 |
-
/* Required for Safari */
|
1367 |
-
z-index: 100;
|
1368 |
-
border-bottom: 1px solid RGB(238, 238, 238);
|
1369 |
-
padding-bottom: 20px;
|
1370 |
}
|
1371 |
-
|
1372 |
-
|
1373 |
-
|
1374 |
-
|
1375 |
-
|
1376 |
-
width: 40px;
|
1377 |
-
height: 40px;
|
1378 |
-
vertical-align: middle;
|
1379 |
}
|
1380 |
-
|
1381 |
-
|
1382 |
-
font-size: 14px;
|
1383 |
}
|
1384 |
-
|
1385 |
-
|
|
|
|
|
1386 |
font-size: 18px;
|
1387 |
-
|
1388 |
-
height:
|
1389 |
-
margin: inherit;
|
1390 |
-
}
|
1391 |
-
|
1392 |
-
.seopress-styles .seopress-option h1 > .dashicons {
|
1393 |
-
font-size: 30px;
|
1394 |
-
width: 30px;
|
1395 |
-
height: 30px;
|
1396 |
-
background: #c4f0ff;
|
1397 |
-
border-radius: 6px;
|
1398 |
-
padding: 10px;
|
1399 |
-
margin-left: 10px;
|
1400 |
-
color: #0085ba;
|
1401 |
}
|
1402 |
-
|
1403 |
-
.
|
|
|
1404 |
font-size: 16px;
|
|
|
|
|
1405 |
}
|
1406 |
-
|
1407 |
-
|
1408 |
-
font-size:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1409 |
width: 16px;
|
1410 |
height: 16px;
|
1411 |
-
|
1412 |
-
margin: 0 10px 0 0;
|
1413 |
}
|
1414 |
-
|
1415 |
-
|
|
|
|
|
|
|
|
|
|
|
1416 |
display: block;
|
1417 |
-
|
1418 |
-
|
1419 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1420 |
max-width: 100%;
|
1421 |
-
margin: 0 auto;
|
1422 |
}
|
1423 |
-
|
1424 |
-
|
1425 |
-
|
1426 |
-
|
1427 |
-
|
1428 |
}
|
1429 |
-
|
1430 |
-
|
1431 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1432 |
text-align: center;
|
1433 |
-
border-
|
1434 |
-
padding-top: 20px;
|
1435 |
-
padding-bottom: 20px;
|
1436 |
-
margin: 0;
|
1437 |
}
|
1438 |
-
|
1439 |
-
|
1440 |
-
|
1441 |
-
|
1442 |
-
|
1443 |
-
|
1444 |
-
|
1445 |
-
|
1446 |
-
|
1447 |
-
|
1448 |
-
border-radius: 4px;
|
1449 |
-
padding-right: 20px;
|
1450 |
-
padding-left: 20px;
|
1451 |
-
line-height: 34px;
|
1452 |
text-transform: uppercase;
|
1453 |
-
|
1454 |
-
|
1455 |
-
text-
|
1456 |
-
box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.1);
|
1457 |
-
margin-right: 15px;
|
1458 |
-
background: RGB(106, 124, 148);
|
1459 |
-
position: relative;
|
1460 |
-
height: auto;
|
1461 |
-
z-index: 10;
|
1462 |
}
|
1463 |
-
|
1464 |
-
|
1465 |
-
|
1466 |
-
|
1467 |
-
|
1468 |
-
.seopress-styles .seopress-option #seopress-squirrly-migrate:hover,
|
1469 |
-
.seopress-styles .seopress-option #submit:hover {
|
1470 |
-
text-decoration: none;
|
1471 |
-
color: #fff;
|
1472 |
-
background: #232323;
|
1473 |
}
|
1474 |
-
|
1475 |
-
|
1476 |
-
|
1477 |
}
|
1478 |
-
|
1479 |
-
.
|
1480 |
-
|
1481 |
-
|
1482 |
-
|
1483 |
-
padding: 7px;
|
1484 |
-
/* display: none; */
|
1485 |
}
|
1486 |
-
|
1487 |
-
.
|
1488 |
-
|
1489 |
-
|
1490 |
-
|
1491 |
-
|
1492 |
-
|
1493 |
-
|
1494 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1495 |
}
|
1496 |
-
|
1497 |
-
#
|
1498 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1499 |
position: relative;
|
1500 |
-
width: 90%;
|
1501 |
-
padding: 1rem;
|
1502 |
}
|
1503 |
-
|
1504 |
-
|
1505 |
-
|
1506 |
-
margin: 0;
|
1507 |
-
display: inline-block;
|
1508 |
-
height: 40px;
|
1509 |
-
width: 40px;
|
1510 |
-
background-size: 100%;
|
1511 |
-
background-repeat: no-repeat;
|
1512 |
}
|
1513 |
-
|
1514 |
-
|
1515 |
-
font-size: 14px;
|
1516 |
-
line-height: 40px;
|
1517 |
-
position: absolute;
|
1518 |
-
border-radius: 6px;
|
1519 |
-
font-weight: 400;
|
1520 |
-
color: #fff;
|
1521 |
-
width: 40px;
|
1522 |
-
height: 40px;
|
1523 |
-
text-align: center;
|
1524 |
-
background: rgb(58, 74, 251);
|
1525 |
-
background: -moz-linear-gradient(
|
1526 |
-
45deg,
|
1527 |
-
rgba(58, 74, 251, 1) 0%,
|
1528 |
-
rgba(71, 190, 165, 1) 100%
|
1529 |
-
);
|
1530 |
-
background: -webkit-linear-gradient(
|
1531 |
-
45deg,
|
1532 |
-
rgba(58, 74, 251, 1) 0%,
|
1533 |
-
rgba(71, 190, 165, 1) 100%
|
1534 |
-
);
|
1535 |
-
background: linear-gradient(
|
1536 |
-
45deg,
|
1537 |
-
rgba(58, 74, 251, 1) 0%,
|
1538 |
-
rgba(71, 190, 165, 1) 100%
|
1539 |
-
);
|
1540 |
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3a4afb', endColorstr='#47bea5',GradientType=1 );
|
1541 |
}
|
1542 |
-
|
1543 |
-
|
1544 |
-
|
|
|
|
|
|
|
|
|
1545 |
}
|
1546 |
-
|
1547 |
-
#
|
1548 |
-
|
1549 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1550 |
}
|
1551 |
-
|
1552 |
-
#
|
1553 |
-
|
1554 |
-
|
1555 |
-
|
1556 |
-
|
1557 |
overflow: hidden;
|
1558 |
-
|
1559 |
-
|
1560 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1561 |
white-space: nowrap;
|
1562 |
-
|
1563 |
-
|
1564 |
-
opacity: 0;
|
1565 |
-
will-change: transform, opacity;
|
1566 |
-
transition-property: transform, opacity;
|
1567 |
-
transition-duration: 0.25s;
|
1568 |
-
z-index: 300;
|
1569 |
-
padding: 0;
|
1570 |
-
display: inline-block;
|
1571 |
-
width: 100%;
|
1572 |
-
top: 52px;
|
1573 |
-
visibility: hidden;
|
1574 |
-
cursor: auto;
|
1575 |
-
left: -0.5rem;
|
1576 |
}
|
1577 |
-
|
1578 |
-
#
|
1579 |
-
|
1580 |
-
|
1581 |
-
|
1582 |
-
|
1583 |
}
|
1584 |
-
|
1585 |
-
#
|
1586 |
-
|
1587 |
-
|
1588 |
-
display:
|
1589 |
-
|
1590 |
-
grid-template-columns: repeat(2, 1fr);
|
1591 |
-
padding: 20px;
|
1592 |
}
|
1593 |
|
1594 |
-
|
1595 |
-
|
1596 |
-
|
1597 |
-
}
|
1598 |
}
|
1599 |
|
1600 |
-
|
1601 |
-
|
1602 |
-
margin: 0;
|
1603 |
-
display: inline-block;
|
1604 |
-
height: 40px;
|
1605 |
-
background-size: 100%;
|
1606 |
-
background-repeat: no-repeat;
|
1607 |
}
|
1608 |
-
|
1609 |
-
|
1610 |
-
|
1611 |
-
|
1612 |
-
border-radius: 50%;
|
1613 |
-
padding: 5px;
|
1614 |
-
margin-right: 15px;
|
1615 |
}
|
1616 |
-
|
1617 |
-
|
1618 |
-
|
1619 |
-
font-
|
1620 |
-
|
1621 |
-
|
1622 |
-
|
1623 |
-
width: 100%;
|
1624 |
-
transition: all 0.3s linear;
|
1625 |
-
color: #3297d3;
|
1626 |
}
|
1627 |
-
|
1628 |
-
|
1629 |
-
|
|
|
|
|
|
|
1630 |
}
|
1631 |
-
|
1632 |
-
#
|
1633 |
-
|
1634 |
-
|
1635 |
-
top: 0;
|
1636 |
-
font-size: 14px;
|
1637 |
-
width: 100px;
|
1638 |
-
display: block;
|
1639 |
}
|
1640 |
-
|
1641 |
-
|
1642 |
-
font-size: 14px;
|
1643 |
-
left: 310px;
|
1644 |
-
position: absolute;
|
1645 |
-
text-indent: 0;
|
1646 |
-
top: 85px;
|
1647 |
}
|
1648 |
-
|
1649 |
-
|
1650 |
-
|
1651 |
-
|
|
|
1652 |
}
|
1653 |
-
|
1654 |
-
|
1655 |
font-size: 16px;
|
|
|
|
|
|
|
|
|
1656 |
}
|
1657 |
-
|
1658 |
-
|
1659 |
-
|
1660 |
-
|
1661 |
-
|
|
|
|
|
|
|
1662 |
}
|
1663 |
-
|
1664 |
-
|
1665 |
-
|
1666 |
-
|
1667 |
}
|
1668 |
-
|
1669 |
-
|
1670 |
-
|
1671 |
}
|
1672 |
-
|
1673 |
-
|
1674 |
-
display: inline;
|
1675 |
}
|
1676 |
-
|
1677 |
-
|
1678 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1679 |
}
|
1680 |
-
|
1681 |
.seopress-option .seopress-settings {
|
1682 |
float: left;
|
1683 |
max-width: 750px;
|
1684 |
width: 100%;
|
1685 |
}
|
1686 |
-
|
1687 |
-
.seopress-option #seopress-edd-license-btn,
|
1688 |
-
.seopress-option #seopress-refresh {
|
1689 |
-
float: left;
|
1690 |
-
}
|
1691 |
-
|
1692 |
-
.wp-admin-ui_page_seopress-import-export .postbox {
|
1693 |
-
margin-right: 20px;
|
1694 |
-
}
|
1695 |
-
|
1696 |
-
.seopress-option #side-sortables .accordion-section-content {
|
1697 |
-
padding: 0;
|
1698 |
-
}
|
1699 |
-
|
1700 |
.seopress-option .seopress-settings label {
|
1701 |
margin: 0 0 0 10px;
|
1702 |
}
|
1703 |
-
|
1704 |
.wrap-seopress-tab-content {
|
1705 |
position: relative;
|
1706 |
display: block;
|
1707 |
width: 100%;
|
1708 |
max-width: 64rem;
|
1709 |
margin: 0 auto;
|
1710 |
-
box-sizing: border-box;
|
1711 |
-
}
|
1712 |
-
|
1713 |
-
#seopress-admin-tabs .seopress-tab {
|
1714 |
-
padding: 1.5rem;
|
1715 |
-
visibility: hidden;
|
1716 |
-
overflow: hidden;
|
1717 |
-
opacity: 0;
|
1718 |
-
transition: all 0.2s ease;
|
1719 |
-
transform: translateX(-15px);
|
1720 |
-
position: absolute;
|
1721 |
-
top: 0;
|
1722 |
-
box-sizing: border-box;
|
1723 |
-
}
|
1724 |
-
|
1725 |
-
#seopress-admin-tabs .seopress-tab.active {
|
1726 |
-
visibility: visible;
|
1727 |
-
overflow: inherit;
|
1728 |
-
opacity: 1;
|
1729 |
-
transform: translateX(0);
|
1730 |
-
display: inherit;
|
1731 |
-
position: relative;
|
1732 |
}
|
1733 |
-
|
1734 |
#seopress-tabs .seopress-tab {
|
1735 |
-
padding:
|
1736 |
-
width:
|
1737 |
display: none;
|
1738 |
}
|
1739 |
-
|
|
|
|
|
1740 |
@media only screen and (max-width: 1024px) {
|
1741 |
#seopress-tabs .seopress-tab {
|
1742 |
width: 100%;
|
1743 |
}
|
1744 |
}
|
1745 |
-
|
1746 |
#seopress-tabs .seopress-tab.active {
|
1747 |
display: inline-block;
|
1748 |
-
|
1749 |
}
|
1750 |
-
|
1751 |
@media only screen and (max-width: 782px) {
|
1752 |
#seopress-tabs .seopress-tab.active {
|
1753 |
width: 100%;
|
1754 |
-
padding: 0;
|
1755 |
border-left: none;
|
1756 |
border-top: 1px solid RGB(238, 238, 238);
|
1757 |
}
|
1758 |
}
|
1759 |
-
|
1760 |
-
.seopress-option input[type="text"],
|
1761 |
-
.seopress-option input[type="password"],
|
1762 |
-
.seopress-option textarea {
|
1763 |
-
min-width: 485px;
|
1764 |
-
}
|
1765 |
-
|
1766 |
-
@media only screen and (max-width: 1024px) {
|
1767 |
-
.seopress-option input[type="text"],
|
1768 |
-
.seopress-option input[type="password"],
|
1769 |
-
.seopress-option textarea {
|
1770 |
-
min-width: inherit;
|
1771 |
-
width: 100%;
|
1772 |
-
}
|
1773 |
-
}
|
1774 |
-
|
1775 |
#seopress_htaccess_file {
|
1776 |
width: 100%;
|
1777 |
}
|
1778 |
-
|
1779 |
.seopress-option textarea {
|
1780 |
min-height: 100px;
|
1781 |
}
|
1782 |
-
|
1783 |
-
|
1784 |
-
border: 1px
|
1785 |
-
|
1786 |
-
|
1787 |
-
|
1788 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1789 |
}
|
1790 |
-
|
1791 |
-
|
1792 |
-
margin-bottom: 9px;
|
1793 |
-
width: 382px;
|
1794 |
}
|
1795 |
-
|
1796 |
-
|
1797 |
-
|
1798 |
-
border: 1px solid #e5e5e5;
|
1799 |
-
background: #fafafa;
|
1800 |
}
|
1801 |
-
|
1802 |
-
|
1803 |
-
|
1804 |
-
border-width: 0 1px 1px;
|
1805 |
-
border-style: solid;
|
1806 |
-
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
1807 |
-
border-color: #e5e5e5;
|
1808 |
-
display: inline-block;
|
1809 |
-
width: calc(100% - 22px);
|
1810 |
-
height: 100%;
|
1811 |
}
|
1812 |
-
|
1813 |
-
|
1814 |
-
padding-left: 10px;
|
1815 |
-
margin-bottom: 0;
|
1816 |
-
padding-top: 2px;
|
1817 |
-
padding-bottom: 2px;
|
1818 |
}
|
1819 |
-
|
1820 |
-
|
1821 |
-
border-left: 2px solid #ccc;
|
1822 |
-
padding-left: 10px;
|
1823 |
-
margin-bottom: 10px;
|
1824 |
}
|
1825 |
-
|
1826 |
-
|
1827 |
-
border-bottom: 1px dotted #e5e5e5;
|
1828 |
-
border-left: 0;
|
1829 |
-
padding-bottom: 10px;
|
1830 |
font-weight: 700;
|
1831 |
-
|
1832 |
-
margin-bottom: 10px;
|
1833 |
}
|
1834 |
-
|
1835 |
-
.seopress-
|
1836 |
-
|
|
|
|
|
1837 |
}
|
1838 |
-
|
1839 |
-
#seopress-
|
1840 |
-
|
1841 |
-
|
1842 |
-
|
1843 |
}
|
1844 |
-
|
1845 |
-
|
1846 |
-
|
1847 |
-
|
1848 |
-
|
1849 |
-
|
1850 |
-
font-size: 12px;
|
1851 |
-
color: #aab7c4;
|
1852 |
-
background: #fff;
|
1853 |
-
box-shadow: 0 1px 2px 0 rgba(49, 49, 93, 0.1), 0 0 1px 0 rgba(0, 0, 0, 0.1);
|
1854 |
-
border-radius: 2px;
|
1855 |
-
position: absolute;
|
1856 |
-
opacity: 0;
|
1857 |
-
top: 30px;
|
1858 |
-
transition: opacity 0.2s ease;
|
1859 |
-
visibility: hidden;
|
1860 |
-
line-height: 20px;
|
1861 |
-
left: -100%;
|
1862 |
-
overflow: hidden;
|
1863 |
}
|
1864 |
-
|
1865 |
-
|
1866 |
-
|
1867 |
-
|
1868 |
}
|
1869 |
-
|
1870 |
-
.seopress-
|
1871 |
-
|
|
|
1872 |
}
|
1873 |
-
|
1874 |
-
|
1875 |
-
.seopress-
|
1876 |
-
|
1877 |
-
|
1878 |
-
color: #6f8096;
|
1879 |
}
|
1880 |
-
|
1881 |
-
|
1882 |
-
|
1883 |
-
.seopress-page-list .seopress-feature,
|
1884 |
-
.seopress-useful-tools,
|
1885 |
-
.seopress-get-started {
|
1886 |
-
margin: 0 auto 20px;
|
1887 |
-
max-width: 64rem;
|
1888 |
-
padding: 2rem;
|
1889 |
-
width: 100%;
|
1890 |
-
border-radius: 0 0 4px 4px;
|
1891 |
-
box-sizing: border-box;
|
1892 |
}
|
1893 |
-
|
1894 |
-
|
1895 |
-
|
1896 |
-
background: #fff url(../img/bg-hero-support.svg) no-repeat 95% 50% / contain;
|
1897 |
-
position: relative;
|
1898 |
-
box-sizing: border-box;
|
1899 |
-
box-shadow: 0 7px 14px 0 rgba(60, 66, 87, 0.12),
|
1900 |
-
0 3px 6px 0 rgba(0, 0, 0, 0.12);
|
1901 |
}
|
1902 |
-
|
1903 |
-
|
1904 |
-
|
|
|
1905 |
}
|
1906 |
-
|
1907 |
-
|
1908 |
-
|
1909 |
-
background: #fff;
|
1910 |
-
}
|
1911 |
-
.seopress-get-started .inside {
|
1912 |
-
max-width: 100%;
|
1913 |
-
}
|
1914 |
}
|
1915 |
-
|
1916 |
-
|
1917 |
-
|
1918 |
-
font-size: 0.8rem;
|
1919 |
-
font-weight: 600;
|
1920 |
}
|
1921 |
-
|
1922 |
-
|
1923 |
-
font-size: 1.85em;
|
1924 |
-
margin: 15px 0 0 0;
|
1925 |
-
font-weight: normal;
|
1926 |
}
|
1927 |
-
|
1928 |
-
|
1929 |
-
margin-bottom: 20px;
|
1930 |
}
|
1931 |
-
|
1932 |
-
|
1933 |
-
|
1934 |
-
|
1935 |
-
|
1936 |
}
|
1937 |
-
|
1938 |
-
|
1939 |
-
|
|
|
|
|
|
|
1940 |
}
|
1941 |
-
|
1942 |
-
|
1943 |
-
margin-right: 5px;
|
1944 |
}
|
1945 |
-
|
1946 |
-
|
1947 |
-
margin: 0 0 0 10px;
|
1948 |
}
|
1949 |
-
|
1950 |
-
|
1951 |
-
|
1952 |
-
background: #fff;
|
1953 |
-
padding: 0;
|
1954 |
}
|
1955 |
-
|
1956 |
-
.seopress-page-list .seopress-feature {
|
1957 |
-
padding: 0;
|
1958 |
-
position: relative;
|
1959 |
-
overflow: hidden;
|
1960 |
-
transition-duration: 0.15s;
|
1961 |
-
display: flex;
|
1962 |
-
margin: 0;
|
1963 |
-
background: #fff;
|
1964 |
-
box-shadow: 0 7px 14px 0 rgba(60, 66, 87, 0.12),
|
1965 |
-
0 3px 6px 0 rgba(0, 0, 0, 0.12);
|
1966 |
-
flex-wrap: wrap;
|
1967 |
-
border-radius: 4px;
|
1968 |
width: 100%;
|
1969 |
-
|
|
|
|
|
1970 |
}
|
1971 |
-
|
1972 |
-
|
1973 |
-
color: #6b7c93;
|
1974 |
-
font-size: 14px;
|
1975 |
-
margin-bottom: 30px;
|
1976 |
}
|
1977 |
-
|
1978 |
-
|
1979 |
-
|
|
|
|
|
|
|
1980 |
}
|
1981 |
-
|
1982 |
-
#seopress-admin-tabs .ui-tabs-nav {
|
1983 |
display: flex;
|
1984 |
-
padding-top: 1rem;
|
1985 |
-
padding-bottom: 0;
|
1986 |
}
|
1987 |
-
|
1988 |
-
|
1989 |
-
height: 50px;
|
1990 |
-
width: 50px;
|
1991 |
-
background: #c4f0ff;
|
1992 |
position: relative;
|
1993 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1994 |
}
|
1995 |
-
|
1996 |
-
|
1997 |
-
|
1998 |
-
|
1999 |
-
|
2000 |
-
|
2001 |
-
width:
|
2002 |
-
height: 100%;
|
2003 |
-
position: absolute;
|
2004 |
-
top: calc(50% - 15px);
|
2005 |
-
left: calc(50% - 15px);
|
2006 |
-
margin: 0;
|
2007 |
}
|
2008 |
-
|
2009 |
-
|
2010 |
-
margin: 0;
|
2011 |
-
display: inline-block;
|
2012 |
-
padding: 1.5rem;
|
2013 |
-
width: 100%;
|
2014 |
-
height: 100%;
|
2015 |
-
box-sizing: border-box;
|
2016 |
}
|
2017 |
-
|
2018 |
-
|
2019 |
-
|
2020 |
-
font-size: 16px;
|
2021 |
-
font-weight: 700;
|
2022 |
-
color: #3297d3;
|
2023 |
-
text-transform: uppercase;
|
2024 |
}
|
2025 |
-
|
2026 |
-
|
2027 |
-
|
2028 |
-
margin-left: 5px;
|
2029 |
-
vertical-align: middle;
|
2030 |
}
|
2031 |
-
|
2032 |
-
|
2033 |
-
|
2034 |
-
.seopress-option .seopress-feature a,
|
2035 |
-
.seopress-useful-tools .widget .button-primary,
|
2036 |
-
.seopress-get-started .button-primary {
|
2037 |
-
color: #fff;
|
2038 |
-
text-decoration: none;
|
2039 |
-
border: none;
|
2040 |
-
border-radius: 4px;
|
2041 |
-
padding-right: 20px;
|
2042 |
-
padding-left: 20px;
|
2043 |
-
line-height: 34px;
|
2044 |
-
text-transform: uppercase;
|
2045 |
-
min-height: 34px;
|
2046 |
-
transition: all 0.3s linear;
|
2047 |
-
text-shadow: none;
|
2048 |
-
box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.1);
|
2049 |
-
background: #6a7c94;
|
2050 |
-
position: relative;
|
2051 |
-
height: auto;
|
2052 |
-
display: flex;
|
2053 |
-
flex-wrap: wrap;
|
2054 |
}
|
2055 |
-
|
2056 |
-
|
2057 |
-
padding-left: 30px;
|
2058 |
}
|
2059 |
-
|
2060 |
-
#seopress-
|
2061 |
-
|
2062 |
-
|
2063 |
-
|
2064 |
-
|
2065 |
-
|
|
|
|
|
|
|
2066 |
font-family: "Dashicons";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2067 |
position: absolute;
|
2068 |
-
|
2069 |
-
|
2070 |
-
|
2071 |
-
|
2072 |
-
|
|
|
2073 |
}
|
2074 |
-
|
2075 |
-
|
2076 |
-
display: inline-flex;
|
2077 |
-
margin-bottom: 2rem;
|
2078 |
-
flex-direction: column;
|
2079 |
}
|
2080 |
-
|
2081 |
-
|
2082 |
-
|
2083 |
-
.seopress-option .button,
|
2084 |
-
.seopress-get-started .button {
|
2085 |
-
color: rgb(106, 124, 148);
|
2086 |
-
background: #ffffff;
|
2087 |
-
font-weight: 500;
|
2088 |
-
transition: all 0.3s linear;
|
2089 |
-
text-shadow: none;
|
2090 |
-
text-transform: uppercase;
|
2091 |
-
padding-right: 20px;
|
2092 |
-
padding-left: 20px;
|
2093 |
-
line-height: 34px;
|
2094 |
-
min-height: 34px;
|
2095 |
-
margin: 10px 0;
|
2096 |
-
border-radius: 4px;
|
2097 |
-
box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px,
|
2098 |
-
rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.12) 0px 1px 1px 0px,
|
2099 |
-
rgba(60, 66, 87, 0.16) 0px 0px 0px 1px, rgba(0, 0, 0, 0) 0px 0px 0px 0px,
|
2100 |
-
rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(60, 66, 87, 0.12) 0px 2px 5px 0px;
|
2101 |
-
vertical-align: baseline;
|
2102 |
-
display: inline-flex;
|
2103 |
-
align-items: center;
|
2104 |
-
border: none;
|
2105 |
-
margin-right: 0.5rem;
|
2106 |
-
cursor: pointer;
|
2107 |
}
|
2108 |
-
|
2109 |
-
|
2110 |
-
|
2111 |
-
|
2112 |
-
|
|
|
2113 |
}
|
2114 |
-
|
2115 |
-
|
2116 |
-
|
2117 |
-
|
2118 |
-
|
2119 |
-
|
2120 |
-
|
|
|
|
|
|
|
2121 |
}
|
2122 |
-
|
2123 |
-
|
2124 |
-
|
|
|
2125 |
}
|
2126 |
-
|
2127 |
-
|
2128 |
-
|
|
|
2129 |
}
|
2130 |
-
|
2131 |
-
|
2132 |
-
|
2133 |
-
|
2134 |
-
border-radius: 0;
|
2135 |
-
background: none;
|
2136 |
-
margin: 0;
|
2137 |
}
|
2138 |
-
|
2139 |
-
|
2140 |
-
background: none;
|
2141 |
-
text-decoration: currentColor;
|
2142 |
-
color: inherit;
|
2143 |
}
|
2144 |
-
|
2145 |
-
|
2146 |
-
font-size: 16px;
|
2147 |
-
align-items: center;
|
2148 |
-
display: flex;
|
2149 |
}
|
2150 |
-
|
2151 |
-
#
|
2152 |
-
|
2153 |
}
|
2154 |
|
2155 |
-
#
|
2156 |
-
|
2157 |
-
|
2158 |
-
right: 10px;
|
2159 |
}
|
2160 |
|
2161 |
-
#
|
2162 |
-
|
2163 |
-
.seopress-feature
|
2164 |
-
a.view-redirects::before {
|
2165 |
-
content: "\f177";
|
2166 |
}
|
2167 |
|
2168 |
-
#
|
2169 |
-
|
2170 |
-
.seopress-option .button:hover,
|
2171 |
-
.seopress-option .seopress-feature a:hover,
|
2172 |
-
.seopress-useful-tools .widget .button-primary:hover,
|
2173 |
-
.seopress-get-started .button-primary:hover {
|
2174 |
-
text-decoration: none;
|
2175 |
-
color: #fff;
|
2176 |
-
background: #232323;
|
2177 |
}
|
2178 |
|
2179 |
-
|
2180 |
-
|
2181 |
}
|
2182 |
-
|
2183 |
-
|
2184 |
-
|
|
|
|
|
2185 |
}
|
2186 |
-
|
2187 |
-
|
2188 |
-
#seopress-content .seopress-page-list .seopress-feature a:focus,
|
2189 |
-
#seopress-content
|
2190 |
-
.seopress-page-list
|
2191 |
-
.seopress-feature
|
2192 |
-
a:focus.button-secondary,
|
2193 |
-
#seopress-content a:focus,
|
2194 |
-
#seopress-notifications-center .seopress-alert .button-primary:focus,
|
2195 |
-
.seopress-option #seopress-tabs .seopress-doc:focus,
|
2196 |
-
.seopress-option .seopress-feature a:focus,
|
2197 |
-
.seopress-styles .seopress-option #seopress-yoast-migrate:focus,
|
2198 |
-
.seopress-styles .seopress-option #seopress-aio-migrate:focus,
|
2199 |
-
.seopress-styles .seopress-option #submit:focus,
|
2200 |
-
.seopress-useful-tools .widget .button-primary:focus {
|
2201 |
-
box-shadow: 0 1px 0 #0073aa, 0 0 2px 1px #33b3db;
|
2202 |
-
background: #008ec2;
|
2203 |
-
border-color: #006799;
|
2204 |
-
color: #fff;
|
2205 |
}
|
2206 |
-
|
2207 |
-
|
2208 |
-
|
2209 |
}
|
2210 |
-
|
2211 |
-
|
2212 |
-
|
2213 |
-
padding-right: 30px;
|
2214 |
}
|
2215 |
-
|
2216 |
-
|
2217 |
-
|
2218 |
-
|
2219 |
-
display: inline-block;
|
2220 |
-
width: 100%;
|
2221 |
}
|
2222 |
-
|
2223 |
-
#seopress-notifications-center
|
2224 |
-
|
2225 |
-
|
2226 |
}
|
2227 |
-
|
2228 |
#seopress-notifications-center .seopress-alert {
|
2229 |
-
padding:
|
2230 |
-
border-bottom: 1px solid #e6ebf1;
|
2231 |
-
width: calc(100% - 3rem);
|
2232 |
-
flex: 1 1 auto;
|
2233 |
position: relative;
|
2234 |
transition: all 150ms ease;
|
2235 |
-
align-items: center;
|
2236 |
-
display: flex;
|
2237 |
justify-content: space-between;
|
|
|
2238 |
}
|
2239 |
-
|
2240 |
#seopress-notifications-center .seopress-alert:last-child {
|
2241 |
margin-bottom: 0;
|
2242 |
border-bottom: none;
|
2243 |
}
|
2244 |
-
|
2245 |
-
#seopress-notifications-center .seopress-alert:hover {
|
2246 |
-
cursor: default;
|
2247 |
-
}
|
2248 |
-
|
2249 |
#seopress-notifications-center .dashicons {
|
2250 |
display: flex;
|
2251 |
align-self: normal;
|
2252 |
-
width:
|
2253 |
-
height:
|
2254 |
-
color:
|
2255 |
-
font-size:
|
2256 |
-
|
2257 |
-
}
|
2258 |
-
|
2259 |
-
#seopress-notifications-center .seopress-alert p {
|
2260 |
-
margin: 0;
|
2261 |
}
|
2262 |
-
|
2263 |
-
|
2264 |
-
|
|
|
|
|
2265 |
}
|
2266 |
-
|
2267 |
-
|
2268 |
-
|
2269 |
-
font-weight: 500;
|
2270 |
}
|
2271 |
-
|
2272 |
-
|
2273 |
-
|
2274 |
-
|
2275 |
}
|
2276 |
-
|
2277 |
-
|
2278 |
-
|
2279 |
-
|
2280 |
-
|
2281 |
-
|
|
|
|
|
|
|
|
|
2282 |
position: absolute;
|
2283 |
-
|
2284 |
-
top:
|
2285 |
-
|
2286 |
-
|
2287 |
-
|
2288 |
-
|
|
|
2289 |
}
|
2290 |
-
|
2291 |
-
|
2292 |
-
|
2293 |
}
|
2294 |
-
|
2295 |
-
|
2296 |
-
background: #e25950;
|
2297 |
}
|
2298 |
-
|
2299 |
-
|
2300 |
-
|
|
|
|
|
|
|
|
|
2301 |
}
|
2302 |
-
|
2303 |
-
|
2304 |
-
|
|
|
2305 |
}
|
2306 |
-
|
2307 |
-
|
2308 |
-
|
2309 |
position: absolute;
|
2310 |
-
|
2311 |
-
|
2312 |
font-size: 20px;
|
2313 |
-
height: 30px;
|
2314 |
-
width: 30px;
|
2315 |
-
vertical-align: middle;
|
2316 |
-
top: 1.2rem;
|
2317 |
-
line-height: 30px;
|
2318 |
-
padding: 5px;
|
2319 |
-
transition: all 0.3s linear;
|
2320 |
-
margin: 0;
|
2321 |
-
display: block;
|
2322 |
}
|
2323 |
-
|
2324 |
-
|
2325 |
-
top: 10px;
|
2326 |
-
right: 10px;
|
2327 |
}
|
2328 |
-
|
2329 |
-
|
2330 |
-
|
2331 |
-
color: #1a1f36;
|
2332 |
cursor: pointer;
|
|
|
|
|
|
|
|
|
2333 |
}
|
2334 |
-
|
2335 |
-
|
2336 |
-
|
2337 |
-
|
2338 |
-
|
2339 |
-
text-decoration: none;
|
2340 |
-
color: inherit;
|
2341 |
-
box-shadow: none;
|
2342 |
-
position: absolute;
|
2343 |
-
right: 0.5rem;
|
2344 |
-
top: 1rem;
|
2345 |
-
}
|
2346 |
-
|
2347 |
-
#seopress-content .seopress-page-list .seopress-feature .seopress-doc:hover,
|
2348 |
-
.seopress-option #seopress-tabs .seopress-doc:hover,
|
2349 |
-
#seopress-content .seopress-page-list .seopress-feature .seopress-doc:active,
|
2350 |
-
.seopress-option #seopress-tabs .seopress-doc:active,
|
2351 |
-
#seopress-content .seopress-page-list .seopress-feature .seopress-doc:focus,
|
2352 |
-
.seopress-option #seopress-tabs .seopress-doc:focus {
|
2353 |
-
color: #747474;
|
2354 |
-
background: 0 0;
|
2355 |
-
box-shadow: none;
|
2356 |
-
border: none;
|
2357 |
-
}
|
2358 |
-
|
2359 |
-
#seopress-content
|
2360 |
-
.seopress-page-list
|
2361 |
-
.seopress-feature
|
2362 |
-
.seopress-doc:hover
|
2363 |
-
.dashicons {
|
2364 |
-
color: #232323;
|
2365 |
}
|
2366 |
-
|
2367 |
-
.seopress-
|
2368 |
background: #fff;
|
2369 |
-
border: 1px solid
|
|
|
|
|
2370 |
}
|
2371 |
-
|
2372 |
-
|
2373 |
-
padding: 15px 10px;
|
2374 |
-
vertical-align: middle;
|
2375 |
}
|
2376 |
-
|
2377 |
-
|
2378 |
-
|
|
|
|
|
|
|
2379 |
}
|
2380 |
-
|
2381 |
-
|
2382 |
-
background: #f1f1f1;
|
2383 |
}
|
2384 |
-
|
2385 |
-
|
2386 |
-
|
2387 |
-
|
2388 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2389 |
}
|
2390 |
-
|
2391 |
-
|
2392 |
-
.seopress-
|
2393 |
-
|
2394 |
-
font-size: 10px;
|
2395 |
-
display: inline-block;
|
2396 |
-
background: rgba(0, 140, 135, 0.1);
|
2397 |
-
padding: 2px 10px;
|
2398 |
-
border-radius: 25px;
|
2399 |
-
color: #444;
|
2400 |
-
font-weight: 400;
|
2401 |
-
text-transform: none;
|
2402 |
-
-moz-osx-font-smoothing: initial;
|
2403 |
-
-webkit-font-smoothing: initial;
|
2404 |
}
|
2405 |
-
|
2406 |
-
|
2407 |
-
|
2408 |
-
|
2409 |
-
|
2410 |
-
}
|
2411 |
}
|
2412 |
-
|
2413 |
-
|
2414 |
-
|
2415 |
-
|
2416 |
-
|
|
|
2417 |
}
|
2418 |
-
|
2419 |
-
|
2420 |
-
|
2421 |
-
.seopress-option #tab_seopress_titles_tax h2 {
|
2422 |
-
margin: 2em 0 1em 0;
|
2423 |
-
border-top: 1px solid #eee;
|
2424 |
-
padding: 1em 0 0 0;
|
2425 |
}
|
2426 |
-
|
2427 |
-
|
2428 |
-
|
2429 |
-
|
2430 |
-
|
2431 |
-
|
|
|
|
|
|
|
|
|
2432 |
}
|
2433 |
-
|
|
|
|
|
|
|
2434 |
#seopress_cpt .tag-title,
|
2435 |
.seopress-button,
|
2436 |
.seopress-option .tag-title,
|
@@ -2442,56 +2334,21 @@ body.seopress-styles {
|
|
2442 |
border-radius: 4px;
|
2443 |
transition: all 0.3s linear;
|
2444 |
}
|
2445 |
-
|
2446 |
-
#seopress-content .feature-state-on,
|
2447 |
-
#seopress-content .feature-state.feature-state-on,
|
2448 |
-
.seopress-option .feature-state-on,
|
2449 |
-
.seopress-option .feature-state.feature-state-on {
|
2450 |
-
display: inline-block;
|
2451 |
-
}
|
2452 |
-
|
2453 |
-
#seopress-content .feature-state-off,
|
2454 |
-
.seopress-option .feature-state-off {
|
2455 |
-
display: none;
|
2456 |
-
}
|
2457 |
-
|
2458 |
-
.seopress-option .postbox .inside li {
|
2459 |
-
list-style: square inside;
|
2460 |
-
padding-left: 5px;
|
2461 |
-
}
|
2462 |
-
|
2463 |
-
#tab_seopress_page_speed .inside li {
|
2464 |
-
list-style: none;
|
2465 |
-
padding-left: 0;
|
2466 |
-
word-break: break-word;
|
2467 |
-
}
|
2468 |
-
|
2469 |
-
.seopress-option .log {
|
2470 |
-
margin: 0;
|
2471 |
-
text-transform: uppercase;
|
2472 |
-
display: inline-block;
|
2473 |
-
vertical-align: middle;
|
2474 |
-
padding: 5px;
|
2475 |
-
color: rgba(19, 191, 17, 1);
|
2476 |
-
font-style: italic;
|
2477 |
-
}
|
2478 |
-
|
2479 |
-
.seopress-option input[type="text"].seopress-admin-menu-input {
|
2480 |
-
min-width: inherit;
|
2481 |
-
width: 100%;
|
2482 |
-
}
|
2483 |
-
|
2484 |
-
.seopress_page_seopress-import-export .postbox {
|
2485 |
-
width: calc(100% - 20px);
|
2486 |
-
}
|
2487 |
-
|
2488 |
#seopress_cpt .wrap-tags,
|
2489 |
.seopress-option .wrap-tags,
|
2490 |
#seopress_pro_cpt .wrap-tags {
|
2491 |
position: relative;
|
2492 |
-
display: inline-
|
2493 |
width: 100%;
|
2494 |
-
margin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2495 |
}
|
2496 |
|
2497 |
#seopress_cpt .sp-wrap-tag-variables-list,
|
@@ -2501,36 +2358,30 @@ body.seopress-styles {
|
|
2501 |
float: left;
|
2502 |
display: none;
|
2503 |
}
|
2504 |
-
|
2505 |
#seopress_cpt .sp-tag-variables-list,
|
2506 |
#seopress_pro_cpt .sp-tag-variables-list,
|
2507 |
-
#seopress-tabs .sp-tag-variables-list {
|
2508 |
-
background: #fff;
|
2509 |
position: absolute;
|
2510 |
-
left: -
|
2511 |
width: 300px;
|
2512 |
-
border-radius: 4px;
|
2513 |
z-index: 100;
|
2514 |
top: 20px;
|
2515 |
-
color:
|
2516 |
-
box-shadow: 0 0 0 0.5px rgba(50, 50, 93, 0.17),
|
2517 |
-
0 2px 5px 0 rgba(50, 50, 93, 0.12), 0 3px 9px 0 rgba(50, 50, 93, 0.08),
|
2518 |
-
0 1px 1.5px 0 rgba(0, 0, 0, 0.08), 0 1px 2px 0 rgba(0, 0, 0, 0.08);
|
2519 |
height: 300px;
|
2520 |
z-index: 100;
|
2521 |
overflow: auto;
|
|
|
|
|
|
|
|
|
|
|
|
|
2522 |
}
|
2523 |
-
|
2524 |
-
#seopress_cpt #seopress_titles_title_meta {
|
2525 |
-
margin-bottom: 0.2rem;
|
2526 |
-
}
|
2527 |
-
|
2528 |
#seopress_cpt .sp-wrap-tag-variables-list.open,
|
2529 |
#seopress_pro_cpt .sp-wrap-tag-variables-list.open,
|
2530 |
#seopress-tabs .sp-wrap-tag-variables-list.open {
|
2531 |
display: block;
|
2532 |
}
|
2533 |
-
|
2534 |
#seopress_cpt .seopress-tag-single-all.tag-title .dashicons,
|
2535 |
#seopress_cpt .seopress-tag-single-all.seopress-tag-dropdown .dashicons,
|
2536 |
#seopress_pro_cpt .seopress-tag-single-all.tag-title .dashicons,
|
@@ -2539,22 +2390,19 @@ body.seopress-styles {
|
|
2539 |
margin: 0;
|
2540 |
transition: all 150ms linear;
|
2541 |
}
|
2542 |
-
|
2543 |
#seopress_cpt .seopress-tag-single-all.open .dashicons,
|
2544 |
#seopress_pro_cpt .seopress-tag-single-all.open .dashicons,
|
2545 |
#seopress-tabs .seopress-tag-single-all.open .dashicons {
|
2546 |
transform: rotateX(180deg);
|
2547 |
}
|
2548 |
-
|
2549 |
#seopress_cpt .sp-tag-variables-list li,
|
2550 |
#seopress_pro_cpt .sp-tag-variables-list li,
|
2551 |
-
#seopress-tabs .sp-tag-variables-list li {
|
2552 |
padding: 8px 12px;
|
2553 |
cursor: pointer;
|
2554 |
margin: 0;
|
2555 |
-
border-bottom: 1px solid
|
2556 |
}
|
2557 |
-
|
2558 |
#seopress_cpt .sp-tag-variables-list li span,
|
2559 |
#seopress_pro_cpt .sp-tag-variables-list li span,
|
2560 |
#seopress-tabs .sp-tag-variables-list li span {
|
@@ -2563,17 +2411,16 @@ body.seopress-styles {
|
|
2563 |
font-size: 12px;
|
2564 |
margin-bottom: 2px;
|
2565 |
}
|
2566 |
-
|
2567 |
#seopress_cpt .sp-tag-variables-list li:hover,
|
2568 |
#seopress_pro_cpt .sp-tag-variables-list li:hover,
|
2569 |
-
#seopress-tabs .sp-tag-variables-list li:hover {
|
2570 |
-
background:
|
2571 |
color: #fff;
|
|
|
2572 |
}
|
2573 |
-
|
2574 |
#seopress_cpt .sp-tag-variables-list li::after,
|
2575 |
#seopress_pro_cpt .sp-tag-variables-list li::after,
|
2576 |
-
#seopress-tabs .sp-tag-variables-list li::after {
|
2577 |
content: attr(data-value);
|
2578 |
display: inline-block;
|
2579 |
background: #e9ecef;
|
@@ -2583,20 +2430,29 @@ body.seopress-styles {
|
|
2583 |
border-radius: 3px;
|
2584 |
font-size: 11px;
|
2585 |
}
|
2586 |
-
|
2587 |
#seopress_cpt .tag-title .dashicons,
|
2588 |
.seopress-option .tag-title .dashicons,
|
2589 |
#seopress_pro_cpt .tag-title .dashicons,
|
2590 |
#seopress_cpt .seopress-tag-dropdown .dashicons,
|
2591 |
-
#seopress-tabs .seopress-tag-dropdown .dashicons {
|
2592 |
padding: 0;
|
2593 |
height: 16px;
|
2594 |
width: 16px;
|
2595 |
font-size: 16px;
|
2596 |
margin-right: 5px;
|
|
|
2597 |
vertical-align: middle;
|
2598 |
}
|
2599 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2600 |
.seopress-overlay-tag-dropdown {
|
2601 |
position: absolute;
|
2602 |
display: none;
|
@@ -2606,204 +2462,83 @@ body.seopress-styles {
|
|
2606 |
height: 100%;
|
2607 |
z-index: 50;
|
2608 |
}
|
2609 |
-
|
2610 |
.seopress-overlay-tag-dropdown.active {
|
2611 |
display: block;
|
2612 |
}
|
2613 |
-
|
2614 |
#seopress_cpt .tag-title,
|
2615 |
.seopress-option .tag-title,
|
2616 |
#seopress_pro_cpt .tag-title,
|
2617 |
#seopress_cpt .seopress-tag-dropdown,
|
2618 |
#seopress-tabs .seopress-tag-dropdown {
|
2619 |
-
padding:
|
2620 |
-
|
2621 |
-
top: 5px;
|
2622 |
-
left: 0;
|
2623 |
-
font-size: 11px;
|
2624 |
-
float: left;
|
2625 |
-
margin-right: 5px;
|
2626 |
user-select: none;
|
2627 |
-
margin
|
2628 |
-
|
2629 |
-
|
2630 |
-
|
2631 |
-
|
2632 |
-
0 1px 1.5px 0 rgba(0, 0, 0, 0.08), 0 1px 2px 0 rgba(0, 0, 0, 0.08);
|
2633 |
}
|
2634 |
-
|
2635 |
-
#seopress_pro_cpt .tag-title:active,
|
2636 |
-
#seopress_pro_cpt .tag-title:focus,
|
2637 |
-
#seopress_pro_cpt .tag-title:hover,
|
2638 |
-
#seopress_cpt .tag-title:active,
|
2639 |
-
#seopress_cpt .tag-title:focus,
|
2640 |
#seopress_cpt .tag-title:hover,
|
2641 |
-
.
|
2642 |
-
.seopress-tag-
|
2643 |
-
.seopress-tag-
|
2644 |
-
#
|
2645 |
-
#
|
2646 |
-
#seopress_cpt
|
2647 |
-
#
|
2648 |
-
#seopress-tabs .seopress-tag-dropdown
|
2649 |
-
#seopress-tabs .seopress-tag-dropdown
|
2650 |
-
|
|
|
2651 |
color: #fff;
|
2652 |
-
user-select: none;
|
2653 |
-
}
|
2654 |
-
|
2655 |
-
.seopress-button {
|
2656 |
-
text-transform: uppercase;
|
2657 |
-
background: #fff;
|
2658 |
-
border-color: #c8d7e1;
|
2659 |
-
border-style: solid;
|
2660 |
-
border-width: 1px 1px 2px;
|
2661 |
-
color: #2e4453;
|
2662 |
-
display: inline-block;
|
2663 |
-
margin: 0;
|
2664 |
-
outline: 0;
|
2665 |
-
overflow: hidden;
|
2666 |
-
text-overflow: ellipsis;
|
2667 |
-
text-decoration: none;
|
2668 |
-
vertical-align: top;
|
2669 |
-
box-sizing: border-box;
|
2670 |
-
font-size: 14px;
|
2671 |
-
line-height: 20px;
|
2672 |
-
padding: 6px 8px 6px;
|
2673 |
-
-webkit-appearance: none;
|
2674 |
-
-moz-appearance: none;
|
2675 |
-
appearance: none;
|
2676 |
-
}
|
2677 |
-
|
2678 |
-
.seopress-button:hover {
|
2679 |
-
border-color: #a8bece;
|
2680 |
-
color: #00a0d2;
|
2681 |
-
}
|
2682 |
-
|
2683 |
-
.seopress-button .dashicons {
|
2684 |
-
vertical-align: middle;
|
2685 |
-
}
|
2686 |
-
|
2687 |
-
#seopress-content #tab_seopress_seo_tools.seopress-useful-tools .widget {
|
2688 |
-
border-right: 1px solid #e6ebf1;
|
2689 |
-
margin: 0;
|
2690 |
-
padding: 0 20px;
|
2691 |
-
width: calc(50% - 2px);
|
2692 |
-
box-sizing: border-box;
|
2693 |
-
display: inline-block;
|
2694 |
-
vertical-align: top;
|
2695 |
-
}
|
2696 |
-
|
2697 |
-
#seopress-content
|
2698 |
-
#tab_seopress_seo_tools.seopress-useful-tools
|
2699 |
-
.widget:first-child {
|
2700 |
-
width: 100%;
|
2701 |
-
display: block;
|
2702 |
-
clear: both;
|
2703 |
-
border-right: none;
|
2704 |
-
border-bottom: 1px solid #e6ebf1;
|
2705 |
-
padding-bottom: 20px;
|
2706 |
-
margin-bottom: 20px;
|
2707 |
-
}
|
2708 |
-
|
2709 |
-
#seopress-content
|
2710 |
-
#tab_seopress_seo_tools.seopress-useful-tools
|
2711 |
-
.widget:last-child {
|
2712 |
-
border-right: none;
|
2713 |
}
|
2714 |
-
|
2715 |
-
#
|
2716 |
-
|
|
|
|
|
|
|
|
|
|
|
2717 |
}
|
2718 |
|
2719 |
#seopress-content .seopress-useful-tools .widget-reverse li {
|
2720 |
padding: 10px;
|
2721 |
margin: 0;
|
2722 |
-
border-bottom: 1px solid
|
2723 |
-
}
|
2724 |
-
|
2725 |
-
#seopress-content .seopress-useful-tools .widget-reverse li:hover {
|
2726 |
-
background: #f5f7fa;
|
2727 |
-
}
|
2728 |
-
|
2729 |
-
#seopress-content .seopress-useful-tools .widget-title {
|
2730 |
-
text-transform: uppercase;
|
2731 |
-
margin: 0 0 10px;
|
2732 |
-
font-size: 13px;
|
2733 |
-
padding: 10px 0;
|
2734 |
-
color: #24b47e;
|
2735 |
}
|
2736 |
-
|
2737 |
#seopress-content .seopress-reverse label,
|
2738 |
#seopress-content .seopress-useful-tools .widget-whois ul li span {
|
2739 |
font-weight: 700;
|
2740 |
}
|
2741 |
-
|
2742 |
#seopress-content #seopress-reverse-url {
|
2743 |
width: 100%;
|
2744 |
margin: 10px 0;
|
2745 |
}
|
2746 |
-
|
2747 |
#seopress-content .widget-reverse p {
|
2748 |
margin: 0;
|
2749 |
}
|
2750 |
-
|
2751 |
-
.post-type-seopress_backlinks .wp-list-table .column-seopress_backlinks_url {
|
2752 |
-
width: 35%;
|
2753 |
-
}
|
2754 |
-
|
2755 |
-
.post-type-seopress_backlinks
|
2756 |
-
.wp-list-table
|
2757 |
-
.column-seopress_backlinks_anchor_text {
|
2758 |
-
width: 20%;
|
2759 |
-
}
|
2760 |
-
|
2761 |
.seopress-styles #screen-meta {
|
2762 |
-
margin: 0;
|
2763 |
position: relative;
|
2764 |
-
|
2765 |
-
border-bottom: 0 solid #f2f2f2;
|
2766 |
-
border-top: none;
|
2767 |
-
-webkit-box-shadow: 0 0 0 1px rgba(136, 152, 170, 0.1),
|
2768 |
-
0 15px 35px 0 rgba(49, 49, 93, 0.1), 0 5px 15px 0 rgba(0, 0, 0, 0.08);
|
2769 |
-
box-shadow: 0 0 0 1px rgba(136, 152, 170, 0.1),
|
2770 |
-
0 15px 35px 0 rgba(49, 49, 93, 0.1), 0 5px 15px 0 rgba(0, 0, 0, 0.08);
|
2771 |
-
top: 0;
|
2772 |
-
}
|
2773 |
-
|
2774 |
-
.seopress-styles #contextual-help-link-wrap,
|
2775 |
-
.seopress-styles #screen-options-link-wrap {
|
2776 |
-
float: right;
|
2777 |
-
height: 28px;
|
2778 |
-
margin: 0 0 0 6px;
|
2779 |
-
border: 1px solid #f2f2f2;
|
2780 |
-
border-top: none;
|
2781 |
-
background: #fff;
|
2782 |
-
-webkit-box-shadow: 0 0 0 1px rgba(136, 152, 170, 0.1),
|
2783 |
-
0 15px 35px 0 rgba(49, 49, 93, 0.1), 0 5px 15px 0 rgba(0, 0, 0, 0.08);
|
2784 |
-
box-shadow: 0 0 0 1px rgba(136, 152, 170, 0.1),
|
2785 |
-
0 15px 35px 0 rgba(49, 49, 93, 0.1), 0 5px 15px 0 rgba(0, 0, 0, 0.08);
|
2786 |
}
|
2787 |
-
|
2788 |
.seopress-styles #screen-meta-links .show-settings {
|
2789 |
box-shadow: none;
|
2790 |
}
|
2791 |
-
|
2792 |
.seopress-styles #screen-meta-links .screen-meta-toggle {
|
2793 |
-
position:
|
2794 |
-
top:
|
2795 |
z-index: 2000;
|
|
|
2796 |
}
|
2797 |
-
|
2798 |
-
.seopress-styles #
|
2799 |
-
|
2800 |
-
|
2801 |
-
|
2802 |
-
.seopress-styles .contextual-help-tabs .active {
|
2803 |
-
border-left: 2px solid #3297d3;
|
2804 |
-
background: #f8fafd;
|
2805 |
}
|
2806 |
-
|
2807 |
#seopress-content input.toggle,
|
2808 |
.seopress-option input.toggle,
|
2809 |
#seopress_cpt input.toggle {
|
@@ -2812,51 +2547,16 @@ body.seopress-styles {
|
|
2812 |
opacity: 0;
|
2813 |
position: relative;
|
2814 |
}
|
2815 |
-
|
2816 |
.seopress-feature input.toggle {
|
2817 |
display: block;
|
2818 |
}
|
2819 |
-
|
2820 |
-
.
|
2821 |
-
|
2822 |
-
|
2823 |
-
|
2824 |
-
|
2825 |
-
|
2826 |
-
margin: 0 0 1rem 0;
|
2827 |
-
}
|
2828 |
-
|
2829 |
-
.seopress_wrap_single_cpt input.toggle,
|
2830 |
-
.seopress_wrap_tax input.toggle,
|
2831 |
-
#seopress_cpt input.toggle {
|
2832 |
-
margin: 0;
|
2833 |
-
border: none;
|
2834 |
-
min-width: 0;
|
2835 |
-
}
|
2836 |
-
#seopress_cpt span.label,
|
2837 |
-
#seopress_content_analysis span.label {
|
2838 |
-
outline: none;
|
2839 |
-
color: #fff;
|
2840 |
-
box-shadow: none;
|
2841 |
-
background: #555d66;
|
2842 |
-
padding: 2px 4px;
|
2843 |
-
border-radius: 4px;
|
2844 |
-
font-weight: bold;
|
2845 |
-
}
|
2846 |
-
|
2847 |
-
#seopress_add_to_insights {
|
2848 |
-
margin-left: 1rem;
|
2849 |
-
}
|
2850 |
-
|
2851 |
-
#seopress_add_to_insights_status {
|
2852 |
-
display: inline-block;
|
2853 |
-
font-weight: bold;
|
2854 |
-
margin: 0 0 0 1rem;
|
2855 |
-
vertical-align: middle;
|
2856 |
-
padding: 0.3rem;
|
2857 |
-
font-style: italic;
|
2858 |
-
}
|
2859 |
-
|
2860 |
#seopress-content input.toggle + label,
|
2861 |
.seopress-option input.toggle + label,
|
2862 |
#seopress_cpt #tabs-1 input.toggle + label {
|
@@ -2867,17 +2567,19 @@ body.seopress-styles {
|
|
2867 |
height: 20px;
|
2868 |
width: 40px;
|
2869 |
border-radius: 15px;
|
|
|
|
|
|
|
|
|
|
|
2870 |
}
|
2871 |
-
|
2872 |
#seopress_cpt #tabs-1 input.toggle + label {
|
2873 |
margin: 0;
|
2874 |
}
|
2875 |
-
|
2876 |
.wrap-toggle-checkboxes input.toggle + label {
|
2877 |
float: left;
|
2878 |
margin-right: 10px;
|
2879 |
}
|
2880 |
-
|
2881 |
#seopress-content input.toggle + label:before,
|
2882 |
.seopress-option input.toggle + label:before,
|
2883 |
#seopress_cpt input.toggle + label:before {
|
@@ -2890,11 +2592,8 @@ body.seopress-styles {
|
|
2890 |
left: 0;
|
2891 |
border-radius: 15px;
|
2892 |
background: rgba(19, 191, 17, 0);
|
2893 |
-
-moz-transition: 0.25s ease-in-out;
|
2894 |
-
-webkit-transition: 0.25s ease-in-out;
|
2895 |
transition: 0.25s ease-in-out;
|
2896 |
}
|
2897 |
-
|
2898 |
#seopress-content input.toggle + label:after,
|
2899 |
.seopress-option input.toggle + label:after,
|
2900 |
#seopress_cpt input.toggle + label:after {
|
@@ -2908,11 +2607,8 @@ body.seopress-styles {
|
|
2908 |
border-radius: 15px;
|
2909 |
background: #fff;
|
2910 |
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.2);
|
2911 |
-
-moz-transition: 0.25s ease-in-out;
|
2912 |
-
-webkit-transition: 0.25s ease-in-out;
|
2913 |
transition: 0.25s ease-in-out;
|
2914 |
}
|
2915 |
-
|
2916 |
.seopress_wrap_single_cpt input.toggle + label,
|
2917 |
.seopress_wrap_single_cpt input.toggle + label:before,
|
2918 |
.seopress_wrap_tax input.toggle + label,
|
@@ -2922,89 +2618,56 @@ body.seopress-styles {
|
|
2922 |
width: 40px;
|
2923 |
height: 20px;
|
2924 |
}
|
2925 |
-
|
2926 |
.seopress_wrap_single_cpt input.toggle + label:after,
|
2927 |
.seopress_wrap_tax input.toggle + label:after,
|
2928 |
#seopress_cpt input.toggle + label:after {
|
2929 |
width: 20px;
|
2930 |
height: 20px;
|
2931 |
}
|
2932 |
-
|
2933 |
#seopress-content input.toggle[data-toggle="1"] + label:before,
|
2934 |
.seopress-option input.toggle[data-toggle="1"] + label:before,
|
2935 |
-
#seopress_cpt input.toggle[data-toggle="1"] + label:before
|
2936 |
-
width: 40px;
|
2937 |
-
background: rgb(49, 151, 211);
|
2938 |
-
}
|
2939 |
-
|
2940 |
.seopress_wrap_single_cpt input.toggle[data-toggle="1"] + label:before,
|
2941 |
#seopress_cpt input.toggle[data-toggle="1"] + label:before,
|
2942 |
.seopress_wrap_tax input.toggle[data-toggle="1"] + label:before,
|
2943 |
#seopress_cpt input.toggle[data-toggle="1"] + label:before {
|
2944 |
width: 40px;
|
2945 |
-
background:
|
2946 |
}
|
2947 |
-
|
2948 |
#seopress-content input.toggle[data-toggle="1"] + label:after,
|
2949 |
.seopress-option input.toggle[data-toggle="1"] + label:after,
|
2950 |
#seopress_cpt input.toggle[data-toggle="1"] + label:after {
|
2951 |
left: 20px;
|
2952 |
-
box-shadow: inset 0 0 0 1px
|
|
|
2953 |
}
|
2954 |
-
|
2955 |
.seopress_wrap_single_cpt input.toggle[data-toggle="1"] + label:after,
|
2956 |
.seopress_wrap_tax input.toggle[data-toggle="1"] + label:after,
|
2957 |
#seopress_cpt input.toggle[data-toggle="1"] + label:after {
|
2958 |
-
box-shadow: inset 0 0 0 1px
|
|
|
2959 |
}
|
2960 |
-
|
2961 |
#seopress-content .seopress-page-list {
|
2962 |
position: relative;
|
2963 |
-
display:
|
2964 |
max-width: 64rem;
|
2965 |
-
grid-gap: 20px 20px;
|
2966 |
-
grid-template-columns: repeat(3, 1fr);
|
2967 |
}
|
2968 |
-
|
2969 |
@media only screen and (max-width: 782px) {
|
2970 |
#seopress-content .seopress-page-list {
|
2971 |
grid-template-columns: repeat(1, 1fr);
|
2972 |
}
|
2973 |
}
|
2974 |
-
|
2975 |
-
#seopress-notice-save {
|
2976 |
-
position: fixed;
|
2977 |
-
color: #fff;
|
2978 |
-
padding: 15px 40px;
|
2979 |
-
font-size: 0.9rem;
|
2980 |
-
text-transform: uppercase;
|
2981 |
-
text-align: center;
|
2982 |
-
border-radius: 0;
|
2983 |
-
background: rgba(74, 184, 102, 0.9);
|
2984 |
-
bottom: 0;
|
2985 |
-
right: 0;
|
2986 |
-
z-index: 500;
|
2987 |
-
width: 100%;
|
2988 |
-
font-weight: bold;
|
2989 |
-
}
|
2990 |
-
|
2991 |
-
#seopress-notice-save .dashicons {
|
2992 |
-
color: #fff;
|
2993 |
-
}
|
2994 |
-
|
2995 |
.seopress-styles .wrap {
|
2996 |
-
margin:
|
2997 |
display: flex;
|
2998 |
position: relative;
|
2999 |
}
|
3000 |
-
|
3001 |
.toplevel_page_seopress-option.seopress-styles .wrap,
|
3002 |
.seopress-insights.seopress-styles .wrap {
|
3003 |
display: inherit;
|
3004 |
position: inherit;
|
3005 |
margin: inherit;
|
3006 |
}
|
3007 |
-
|
3008 |
@media only screen and (max-width: 782px) {
|
3009 |
.seopress-styles .wrap {
|
3010 |
display: inherit;
|
@@ -3012,17 +2675,13 @@ body.seopress-styles {
|
|
3012 |
margin: inherit;
|
3013 |
}
|
3014 |
}
|
3015 |
-
|
3016 |
-
.seopress_page_seopress-pro-page #wpcontent {
|
3017 |
-
background: #f4f7fa;
|
3018 |
-
}
|
3019 |
-
|
3020 |
.seopress-option .wrap div.nav-tab-wrapper {
|
3021 |
-
margin: 0
|
3022 |
-
padding: 0
|
3023 |
line-height: inherit;
|
3024 |
-
width:
|
3025 |
-
z-index:
|
3026 |
font-weight: 400;
|
3027 |
display: block;
|
3028 |
border-bottom: none;
|
@@ -3031,30 +2690,27 @@ body.seopress-styles {
|
|
3031 |
@media only screen and (max-width: 782px) {
|
3032 |
.seopress-option .wrap div.nav-tab-wrapper {
|
3033 |
width: 100%;
|
3034 |
-
margin: 0;
|
3035 |
padding: 0;
|
3036 |
}
|
3037 |
}
|
3038 |
-
|
3039 |
#seopress-admin-tabs.wrap div.nav-tab-wrapper {
|
3040 |
-
|
|
|
3041 |
max-width: 64rem;
|
3042 |
width: 100%;
|
3043 |
-
border-bottom: 1px solid
|
3044 |
padding: 0;
|
3045 |
line-height: inherit;
|
3046 |
-
position: -webkit-sticky; /* Required for Safari */
|
3047 |
position: sticky;
|
3048 |
-
|
3049 |
-
|
3050 |
-
top: 31px;
|
3051 |
border-radius: 4px 4px 0 0;
|
3052 |
font-weight: 400;
|
3053 |
overflow: hidden;
|
3054 |
display: flex;
|
3055 |
align-items: center;
|
3056 |
justify-content: space-between;
|
3057 |
-
box-sizing: border-box;
|
3058 |
}
|
3059 |
|
3060 |
@media only screen and (max-width: 600px) {
|
@@ -3069,57 +2725,34 @@ body.seopress-styles {
|
|
3069 |
display: block;
|
3070 |
}
|
3071 |
}
|
3072 |
-
|
3073 |
-
#seopress-admin-tabs #tab_seopress_notifications.seopress-tab {
|
3074 |
-
background: 0 0;
|
3075 |
-
padding: 0;
|
3076 |
-
border-radius: 0;
|
3077 |
-
}
|
3078 |
-
|
3079 |
.seopress-option .nav-tab {
|
3080 |
-
border: 0
|
3081 |
background: 0 0;
|
3082 |
opacity: 0.5;
|
3083 |
padding: 6px 30px 6px 10px;
|
3084 |
transition: opacity 0.3s linear;
|
3085 |
-
color:
|
3086 |
margin: 0;
|
3087 |
float: none;
|
3088 |
display: inline-block;
|
3089 |
width: 100%;
|
3090 |
text-align: left;
|
3091 |
font-weight: normal;
|
3092 |
-
box-sizing: border-box;
|
3093 |
white-space: normal;
|
3094 |
}
|
3095 |
-
|
3096 |
#seopress-admin-tabs .nav-tab {
|
3097 |
-
border: 0 solid #ccc;
|
3098 |
background: 0 0;
|
3099 |
opacity: 0.5;
|
3100 |
padding: 14px 20px;
|
3101 |
transition: opacity 0.3s linear;
|
3102 |
-
color: #191e23;
|
3103 |
margin: 0;
|
3104 |
-
box-shadow: inset -1px 0 #e3e8ee;
|
3105 |
float: none;
|
3106 |
display: inline-block;
|
3107 |
-
text-align: center;
|
3108 |
font-weight: normal;
|
3109 |
}
|
3110 |
-
|
3111 |
#seopress-admin-tabs .nav-tab {
|
3112 |
width: 100%;
|
3113 |
}
|
3114 |
-
|
3115 |
-
#seopress-admin-tabs .nav-tab-active,
|
3116 |
-
#seopress-admin-tabs .nav-tab-active:hover,
|
3117 |
-
.seopress-option .about-wrap h2 .nav-tab-active,
|
3118 |
-
.seopress-option .nav-tab-active,
|
3119 |
-
.seopress-option .nav-tab-active:hover {
|
3120 |
-
background-color: #fff;
|
3121 |
-
}
|
3122 |
-
|
3123 |
#seopress-admin-tabs .nav-tab-active,
|
3124 |
#seopress-admin-tabs .nav-tab-active:focus,
|
3125 |
#seopress-admin-tabs .nav-tab-active:focus:active,
|
@@ -3134,222 +2767,45 @@ body.seopress-styles {
|
|
3134 |
outline: 0;
|
3135 |
font-weight: 600;
|
3136 |
position: relative;
|
3137 |
-
|
3138 |
-
border-left: 3px solid #0085ba;
|
3139 |
-
background: rgba(0, 133, 186, 0.1);
|
3140 |
}
|
3141 |
#seopress-admin-tabs .nav-tab-active,
|
3142 |
#seopress-admin-tabs .nav-tab-active:focus,
|
3143 |
#seopress-admin-tabs .nav-tab-active:focus:active,
|
3144 |
#seopress-admin-tabs .nav-tab-active:hover,
|
3145 |
#seopress-admin-tabs .nav-tab:focus {
|
3146 |
-
border-bottom:
|
3147 |
border-left: none;
|
3148 |
-
background: #fff;
|
3149 |
}
|
3150 |
-
|
3151 |
#seopress-admin-tabs .nav-tab:hover,
|
3152 |
.seopress-option .nav-tab:hover {
|
3153 |
opacity: 1;
|
3154 |
}
|
3155 |
-
|
3156 |
#seopress-admin-tabs .nav-tab:focus,
|
3157 |
.seopress-option .nav-tab:focus {
|
3158 |
outline: 0;
|
3159 |
box-shadow: none;
|
3160 |
}
|
3161 |
-
|
3162 |
-
|
3163 |
-
|
3164 |
-
|
3165 |
-
|
3166 |
-
|
3167 |
-
}
|
3168 |
-
|
3169 |
-
|
3170 |
-
|
3171 |
-
|
3172 |
-
|
3173 |
-
|
3174 |
-
|
3175 |
-
|
3176 |
-
|
3177 |
-
|
3178 |
-
|
3179 |
-
|
3180 |
-
|
3181 |
-
display: flex;
|
3182 |
-
position: relative;
|
3183 |
-
align-items: center;
|
3184 |
-
padding-bottom: 0.5rem;
|
3185 |
-
}
|
3186 |
-
|
3187 |
-
.seopress-option .sp-section-header::after {
|
3188 |
-
position: absolute;
|
3189 |
-
content: "";
|
3190 |
-
background: #0085ba;
|
3191 |
-
height: 2px;
|
3192 |
-
width: 40px;
|
3193 |
-
bottom: 0px;
|
3194 |
-
left: 0;
|
3195 |
-
}
|
3196 |
-
|
3197 |
-
.seopress-option .sp-section-header h2 {
|
3198 |
-
font-size: 1.5em;
|
3199 |
-
}
|
3200 |
-
|
3201 |
-
.seopress-option .sp-section-header > .dashicons {
|
3202 |
-
color: #0085ba;
|
3203 |
-
padding: 10px;
|
3204 |
-
border-radius: 6px;
|
3205 |
-
margin-right: 10px;
|
3206 |
-
background: #c4f0ff;
|
3207 |
-
}
|
3208 |
-
|
3209 |
-
.seopress-option .sp-section-header .wrap-toggle-checkboxes {
|
3210 |
-
display: flex;
|
3211 |
-
}
|
3212 |
-
|
3213 |
-
.seopress-styles .wrap .notice {
|
3214 |
-
margin: 5px 0 15px 15px;
|
3215 |
-
}
|
3216 |
-
#seopress-tabs.wrap .notice {
|
3217 |
-
margin: 1rem 0;
|
3218 |
-
}
|
3219 |
-
.seopress-BlankState a.button-primary,
|
3220 |
-
.seopress-BlankState button.button-primary,
|
3221 |
-
.seopress-message a.button-primary,
|
3222 |
-
.seopress-message button.button-primary {
|
3223 |
-
background: #6259e6;
|
3224 |
-
border-color: #6259e6;
|
3225 |
-
box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px,
|
3226 |
-
rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.12) 0px 1px 1px 0px,
|
3227 |
-
rgba(60, 66, 87, 0.16) 0px 0px 0px 1px, rgba(0, 0, 0, 0) 0px 0px 0px 0px,
|
3228 |
-
rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(60, 66, 87, 0.12) 0px 2px 5px 0px;
|
3229 |
-
color: #fff;
|
3230 |
-
display: inline-block;
|
3231 |
-
}
|
3232 |
-
.seopress-BlankState a.button-primary:active,
|
3233 |
-
.seopress-BlankState a.button-primary:focus,
|
3234 |
-
.seopress-BlankState a.button-primary:hover,
|
3235 |
-
.seopress-BlankState button.button-primary:active,
|
3236 |
-
.seopress-BlankState button.button-primary:focus,
|
3237 |
-
.seopress-BlankState button.button-primary:hover,
|
3238 |
-
.seopress-message a.button-primary:active,
|
3239 |
-
.seopress-message a.button-primary:focus,
|
3240 |
-
.seopress-message a.button-primary:hover,
|
3241 |
-
.seopress-message button.button-primary:active,
|
3242 |
-
.seopress-message button.button-primary:focus,
|
3243 |
-
.seopress-message button.button-primary:hover {
|
3244 |
-
background: #6259e6;
|
3245 |
-
border-color: #6259e6;
|
3246 |
-
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #6259e6;
|
3247 |
-
}
|
3248 |
-
.post-type-seopress_404 .seopress-BlankState-message::before,
|
3249 |
-
.post-type-seopress_schemas .seopress-BlankState-message::before {
|
3250 |
-
font-family: "Dashicons";
|
3251 |
-
speak: none;
|
3252 |
-
font-weight: 400;
|
3253 |
-
font-variant: normal;
|
3254 |
-
text-transform: none;
|
3255 |
-
line-height: 1;
|
3256 |
-
margin: 0;
|
3257 |
-
text-indent: 0;
|
3258 |
-
position: absolute;
|
3259 |
-
top: 0;
|
3260 |
-
left: 0;
|
3261 |
-
width: 100%;
|
3262 |
-
height: 100%;
|
3263 |
-
text-align: center;
|
3264 |
-
content: "\f103";
|
3265 |
-
}
|
3266 |
-
.post-type-seopress_schemas .seopress-BlankState-message::before {
|
3267 |
-
content: "\f495";
|
3268 |
-
}
|
3269 |
-
.seopress-BlankState {
|
3270 |
-
text-align: center;
|
3271 |
-
padding: 5em 0 0;
|
3272 |
-
}
|
3273 |
-
.seopress-BlankState .seopress-BlankState-message {
|
3274 |
-
color: #aaa;
|
3275 |
-
margin: 0 auto 1.5em;
|
3276 |
-
line-height: 1.5em;
|
3277 |
-
font-size: 1.2em;
|
3278 |
-
max-width: 500px;
|
3279 |
-
}
|
3280 |
-
.seopress-BlankState .seopress-BlankState-message::before {
|
3281 |
-
color: #ddd;
|
3282 |
-
text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.8);
|
3283 |
-
font-size: 8em;
|
3284 |
-
display: block;
|
3285 |
-
position: relative !important;
|
3286 |
-
top: auto;
|
3287 |
-
left: auto;
|
3288 |
-
line-height: 1em;
|
3289 |
-
margin: 0 0 0.1875em;
|
3290 |
-
}
|
3291 |
-
.seopress-BlankState .seopress-BlankState-cta {
|
3292 |
-
font-size: 1.2em;
|
3293 |
-
padding: 0.75em 1.5em;
|
3294 |
-
margin: 0 0.25em;
|
3295 |
-
height: auto;
|
3296 |
-
display: inline-block !important;
|
3297 |
-
}
|
3298 |
-
.seopress-BlankState {
|
3299 |
-
max-width: 764px;
|
3300 |
-
text-align: center;
|
3301 |
-
margin: auto;
|
3302 |
-
}
|
3303 |
-
.seopress-BlankState .seopress-BlankState-message {
|
3304 |
-
color: #444;
|
3305 |
-
font-size: 1.5em;
|
3306 |
-
margin: 0 auto 1em;
|
3307 |
-
}
|
3308 |
-
.seopress-BlankState .seopress-BlankState-message::before {
|
3309 |
-
font-size: 120px;
|
3310 |
-
}
|
3311 |
-
.seopress-BlankState .seopress-BlankState-buttons {
|
3312 |
-
margin-bottom: 4em;
|
3313 |
-
}
|
3314 |
-
#seopress_content_analysis .up,
|
3315 |
-
#seopress_content_analysis .up .dashicons {
|
3316 |
-
color: #4ab866;
|
3317 |
-
}
|
3318 |
-
|
3319 |
-
#seopress_content_analysis .down,
|
3320 |
-
#seopress_content_analysis .down .dashicons {
|
3321 |
-
color: #d94f4f;
|
3322 |
-
}
|
3323 |
-
|
3324 |
-
#seopress_content_analysis .up .dashicons {
|
3325 |
-
transform: rotateZ(45deg);
|
3326 |
-
}
|
3327 |
-
|
3328 |
-
#seopress_content_analysis .stable .dashicons {
|
3329 |
-
transform: rotateZ(90deg);
|
3330 |
-
}
|
3331 |
-
|
3332 |
-
#seopress_content_analysis .down .dashicons {
|
3333 |
-
transform: rotateZ(135deg);
|
3334 |
-
}
|
3335 |
-
#seopress_content_analysis .wrap-insights-post {
|
3336 |
-
clear: both;
|
3337 |
-
border-top: 1px solid #e2e4e7;
|
3338 |
-
display: flex;
|
3339 |
-
align-items: center;
|
3340 |
-
}
|
3341 |
-
#seopress_content_analysis .wrap-insights-post .widget-insights-title {
|
3342 |
-
margin: 0 1rem;
|
3343 |
-
}
|
3344 |
-
#seopress_content_analysis .wrap-insights-post span {
|
3345 |
-
font-weight: 700;
|
3346 |
-
margin: 0 0.2rem 0 0;
|
3347 |
-
}
|
3348 |
-
#seopress_content_analysis .wrap-insights-post .sp-tooltip * {
|
3349 |
-
font-weight: normal;
|
3350 |
-
}
|
3351 |
-
#seopress_content_analysis .wrap-insights-post .sp-tooltip-headings {
|
3352 |
-
font-weight: bold;
|
3353 |
}
|
3354 |
.sp-components-snackbar-list {
|
3355 |
position: fixed;
|
@@ -3371,17 +2827,13 @@ body.seopress-styles {
|
|
3371 |
line-height: 1.4;
|
3372 |
}
|
3373 |
.sp-components-snackbar {
|
3374 |
-
font-family:
|
3375 |
-
|
3376 |
-
font-size: 13px;
|
3377 |
background-color: #32373c;
|
3378 |
border-radius: 4px;
|
3379 |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
3380 |
color: #fff;
|
3381 |
padding: 16px 24px;
|
3382 |
-
width: 100%;
|
3383 |
-
max-width: 600px;
|
3384 |
-
box-sizing: border-box;
|
3385 |
cursor: pointer;
|
3386 |
}
|
3387 |
.sp-components-snackbar .dashicons {
|
1 |
+
.seopress-option *,
|
2 |
+
.seopress-styles *,
|
3 |
+
#seopress_cpt *,
|
4 |
+
#seopress_content_analysis *,
|
5 |
+
#seopress_pro_cpt * {
|
6 |
+
box-sizing: border-box;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
}
|
|
|
8 |
@font-face {
|
9 |
font-family: seopress;
|
10 |
src: url(../fonts/seopress.eot?81521271);
|
16 |
font-weight: 400;
|
17 |
font-style: normal;
|
18 |
}
|
|
|
19 |
[class*=" icon-seopress"],
|
20 |
[class^="icon-seopress-"] {
|
21 |
font-family: seopress !important;
|
22 |
font-size: 14px !important;
|
23 |
line-height: 24px !important;
|
24 |
}
|
25 |
+
#adminmenu div.wp-menu-image.dashicons-admin-seopress::before {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
content: "\e800";
|
27 |
+
font-family: seopress;
|
28 |
+
font-weight: 700;
|
29 |
+
font-size: 12px;
|
30 |
+
line-height: 20px;
|
31 |
}
|
32 |
+
#wpadminbar,
|
33 |
+
.seopress-option #wpcontent,
|
34 |
+
.seopress-styles #wpcontent,
|
35 |
+
.post-type-seopress_404 #wpcontent,
|
36 |
+
.post-type-seopress_schemas #wpcontent,
|
37 |
+
#seopress_cpt,
|
38 |
+
#seopress_content_analysis,
|
39 |
+
#seopress_pro_cpt,
|
40 |
+
.column-seopress_score,
|
41 |
+
.seopress-ui-datepicker {
|
42 |
+
--primaryColor: #007cba;
|
43 |
+
--paragraphColor: #757575;
|
44 |
+
--fontSize: 13px;
|
45 |
+
--fontFamily: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
46 |
+
Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
47 |
+
--color: #757575;
|
48 |
+
--colorDark: #1e1e1e;
|
49 |
+
--colorAlert: #a00;
|
50 |
+
--colorWarning: #ffba00;
|
51 |
+
--colorSuccess: #4ab866;
|
52 |
+
--colorLowAlert: #e39f48;
|
53 |
+
--colorPre: #37864b;
|
54 |
+
--colorIcon: #d7dade;
|
55 |
+
--lineHeight: 24px;
|
56 |
+
--titleColor: #3c434a;
|
57 |
+
--titleFontSize: 20px;
|
58 |
+
--titleFontWeight: normal;
|
59 |
+
--titleMargin: 10px 0;
|
60 |
+
--backgroundPrimary: #007cba;
|
61 |
+
--backgroundPrimaryHover: #006ba1;
|
62 |
+
--backgroundSecondaryHover: #f0f0f0;
|
63 |
+
--borderColor: #a7aaad;
|
64 |
+
--borderColorLight: #dcdcde;
|
65 |
+
--borderColorLight40: rgba(220, 220, 222, 0.4);
|
66 |
+
--borderColorCard: #e2e4e7;
|
67 |
+
--borderColorTab: #c3c4c7;
|
68 |
+
}
|
69 |
+
.seopress-option .text-center,
|
70 |
+
.seopress-styles .text-center {
|
71 |
+
text-align: center;
|
72 |
}
|
73 |
+
/* Button */
|
74 |
+
.seopress-option .btn,
|
75 |
+
.seopress-styles .btn,
|
76 |
+
.post-type-seopress_404 .btn,
|
77 |
+
.post-type-seopress_schemas .btn {
|
78 |
+
display: inline-flex;
|
79 |
+
text-decoration: none;
|
80 |
+
font-size: var(--fontSize);
|
81 |
+
margin: 0;
|
82 |
+
border: 0;
|
83 |
+
cursor: pointer;
|
84 |
+
-webkit-appearance: none;
|
85 |
+
background: none;
|
86 |
+
transition: box-shadow 0.1s linear;
|
87 |
+
height: 36px;
|
88 |
+
align-items: center;
|
89 |
+
padding: 6px 12px;
|
90 |
+
border-radius: 2px;
|
91 |
vertical-align: middle;
|
92 |
+
color: var(--colorDark);
|
93 |
+
white-space: nowrap;
|
94 |
+
outline: 1px solid transparent;
|
95 |
}
|
96 |
+
.seopress-option .btnPrimary,
|
97 |
+
.seopress-styles .btnPrimary,
|
98 |
+
.post-type-seopress_404 .btnPrimary,
|
99 |
+
.post-type-seopress_schemas .btnPrimary {
|
100 |
+
background: var(--primaryColor);
|
101 |
+
color: #fff;
|
102 |
+
text-decoration: none;
|
103 |
}
|
104 |
+
.seopress-option .btnPrimary:hover,
|
105 |
+
.seopress-styles .btnPrimary:hover,
|
106 |
+
.post-type-seopress_404 .btnPrimary:hover,
|
107 |
+
.post-type-seopress_schemas .btnPrimary:hover {
|
108 |
+
background: var(--backgroundPrimaryHover);
|
109 |
+
color: #fff;
|
110 |
}
|
111 |
+
.seopress-option .btnSecondary,
|
112 |
+
.seopress-styles .btnSecondary,
|
113 |
+
.post-type-seopress_404 .btnSecondary,
|
114 |
+
.post-type-seopress_schemas .btnSecondary {
|
115 |
+
box-shadow: inset 0 0 0 1px var(--primaryColor);
|
116 |
+
color: var(--primaryColor);
|
117 |
+
background: transparent;
|
118 |
+
}
|
119 |
+
.seopress-option .btnTertiary,
|
120 |
+
.seopress-styles .btnTertiary,
|
121 |
+
.post-type-seopress_404 .btnTertiary,
|
122 |
+
.post-type-seopress_schemas .btnTertiary {
|
123 |
+
color: var(--primaryColor);
|
124 |
+
background: transparent;
|
125 |
+
}
|
126 |
+
.seopress-option .btnTertiary:hover,
|
127 |
+
.seopress-styles .btnTertiary:hover,
|
128 |
+
.post-type-seopress_404 .btnTertiary:hover,
|
129 |
+
.post-type-seopress_schemas .btnTertiary:hover {
|
130 |
+
box-shadow: inset 0 0 0 1px var(--primaryColor);
|
131 |
+
}
|
132 |
+
.seopress-option hr,
|
133 |
+
.seopress-styles hr {
|
134 |
+
align-self: center;
|
135 |
+
flex-grow: 1;
|
136 |
+
height: 1px;
|
137 |
+
margin: 0 10px;
|
138 |
}
|
139 |
+
#seopress-tabs.wrap .list-none {
|
140 |
+
list-style: none;
|
141 |
+
padding-left: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
}
|
143 |
+
.seopress-option .dashicons,
|
144 |
+
.seopress-page-list .dashicons {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
vertical-align: middle;
|
146 |
+
margin-right: 5px;
|
147 |
+
text-decoration: none;
|
148 |
}
|
149 |
+
.seopress-button {
|
150 |
+
text-transform: uppercase;
|
151 |
+
background: #fff;
|
152 |
+
border-color: #c8d7e1;
|
153 |
+
border-style: solid;
|
154 |
+
border-width: 1px 1px 2px;
|
155 |
+
color: #2e4453;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
display: inline-block;
|
157 |
+
margin: 0;
|
158 |
+
outline: 0;
|
159 |
+
overflow: hidden;
|
160 |
+
text-overflow: ellipsis;
|
161 |
+
text-decoration: none;
|
162 |
+
vertical-align: top;
|
163 |
+
font-size: 14px;
|
164 |
+
line-height: 20px;
|
165 |
+
padding: 6px 8px 6px;
|
166 |
+
-webkit-appearance: none;
|
167 |
+
-moz-appearance: none;
|
168 |
+
appearance: none;
|
169 |
}
|
170 |
+
.seopress-button:hover {
|
171 |
+
border-color: #a8bece;
|
172 |
+
color: #00a0d2;
|
173 |
}
|
174 |
+
.seopress-button .dashicons {
|
175 |
+
vertical-align: middle;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
176 |
}
|
177 |
+
/* Headings */
|
178 |
+
body .seopress-option h2 {
|
179 |
+
color: var(--titleColor);
|
180 |
+
font-size: 20px;
|
181 |
+
line-height: 24px;
|
182 |
+
font-weight: normal;
|
183 |
}
|
184 |
+
body .seopress-option h3 {
|
185 |
+
color: var(--titleColor);
|
186 |
+
font-size: 16px;
|
187 |
+
line-height: 20px;
|
188 |
}
|
189 |
+
#seopress_content_analysis input[type="text"],
|
190 |
+
#seopress_content_analysis textarea,
|
191 |
+
#seopress_cpt input[type="text"],
|
192 |
+
#seopress_cpt textarea,
|
193 |
+
#seopress_pro_cpt input[type="text"],
|
194 |
+
#seopress_pro_cpt textarea {
|
195 |
+
width: 100%;
|
196 |
+
display: inline-block;
|
|
|
|
|
|
|
|
|
|
|
|
|
197 |
}
|
198 |
+
#seopress_cpt #tabs-6 input[type="number"] {
|
199 |
+
min-width: 200px;
|
|
|
|
|
|
|
200 |
}
|
201 |
+
#seopress_cpt #tabs-6 #wrap-videos .video:first-child .remove-video {
|
202 |
+
display: none;
|
|
|
|
|
|
|
|
|
203 |
}
|
204 |
+
#seopress_pro_cpt label,
|
205 |
+
#seopress_cpt label,
|
206 |
+
#seopress_content_analysis label {
|
207 |
+
margin-bottom: 8px;
|
208 |
+
display: inline-block;
|
209 |
+
width: 100%;
|
|
|
210 |
}
|
211 |
+
#seopress_cpt #tabs-6 {
|
212 |
+
padding: 0;
|
|
|
|
|
|
|
|
|
|
|
213 |
}
|
214 |
+
/* Forms */
|
215 |
+
body .seopress-option input[type="text"],
|
216 |
+
body .seopress-option input[type="password"],
|
217 |
+
body .seopress-option select,
|
218 |
+
body .seopress-option textarea {
|
219 |
+
max-width: 35rem;
|
220 |
+
border: 1px solid var(--borderColor);
|
221 |
+
box-shadow: 0 2px 6px rgb(0 0 0 / 5%);
|
222 |
+
width: 100%;
|
223 |
}
|
224 |
+
body .seopress-option select {
|
225 |
+
min-height: 50px;
|
226 |
+
}
|
227 |
+
.wrap-opening-hours select {
|
228 |
+
width: inherit;
|
229 |
+
}
|
230 |
+
body .seopress-option input[type="text"],
|
231 |
+
body .seopress-option input[type="password"],
|
232 |
+
body .seopress-option input[type="number"] {
|
233 |
+
line-height: 46px;
|
234 |
+
}
|
235 |
+
body .seopress-option input[type="text"]:hover,
|
236 |
+
body .seopress-option input[type="password"]:hover,
|
237 |
+
body .seopress-option input[type="number"]:hover,
|
238 |
+
body .seopress-option select:hover,
|
239 |
+
body .seopress-option textarea:hover {
|
240 |
+
border-color: #787c82;
|
241 |
+
}
|
242 |
+
body .seopress-option input[type="text"]:focus,
|
243 |
+
body .seopress-option input[type="password"]:focus,
|
244 |
+
body .seopress-option input[type="number"]:focus,
|
245 |
+
body .seopress-option textarea:focus,
|
246 |
+
body .seopress-option select:focus,
|
247 |
+
body .seopress-option input[type="text"]:active,
|
248 |
+
body .seopress-option input[type="password"]:active,
|
249 |
+
body .seopress-option input[type="number"]:active,
|
250 |
+
body .seopress-option textarea:active,
|
251 |
+
body .seopress-option select:active {
|
252 |
+
box-shadow: 0 0 0 2px var(--primaryColor);
|
253 |
+
border-color: transparent;
|
254 |
}
|
255 |
+
@media only screen and (max-width: 1024px) {
|
256 |
+
body .seopress-option input[type="text"],
|
257 |
+
body .seopress-option input[type="password"],
|
258 |
+
body .seopress-option input[type="number"],
|
259 |
+
body .seopress-option textarea {
|
260 |
+
min-width: inherit;
|
261 |
+
width: 100%;
|
262 |
+
}
|
263 |
}
|
264 |
+
body .seopress-option input[type="checkbox"],
|
265 |
+
#seopress_cpt input[type="checkbox"],
|
266 |
+
#seopress_content_analysis input[type="checkbox"],
|
267 |
+
#seopress_pro_cpt input[type="checkbox"] {
|
268 |
+
font-family: var(--fontFamily);
|
269 |
+
padding: 6px 8px;
|
270 |
+
box-shadow: 0 0 0 transparent;
|
271 |
+
transition: box-shadow 0.1s linear;
|
272 |
+
border-radius: 2px;
|
273 |
+
border: 1px solid var(--color);
|
274 |
+
font-size: 16px;
|
275 |
+
line-height: normal;
|
276 |
+
border: 1px solid var(--colorDark);
|
277 |
+
margin-right: 12px;
|
278 |
+
transition: none;
|
279 |
+
border-radius: 2px;
|
280 |
+
background: #fff;
|
281 |
+
color: var(--colorDark);
|
282 |
+
clear: none;
|
283 |
+
cursor: pointer;
|
284 |
display: inline-block;
|
285 |
+
line-height: 0;
|
286 |
+
margin: -1px 4px 0 0 !important;
|
287 |
+
outline: 0;
|
288 |
+
padding: 0 !important;
|
289 |
+
text-align: center;
|
290 |
+
vertical-align: top;
|
291 |
+
width: 20px;
|
292 |
+
height: 20px;
|
293 |
+
-webkit-appearance: none;
|
294 |
+
appearance: none;
|
295 |
+
transition: 0.1s border-color ease-in-out;
|
296 |
+
}
|
297 |
+
body .seopress-option input[type="checkbox"]:checked::before,
|
298 |
+
#seopress_cpt input[type="checkbox"]:checked::before,
|
299 |
+
#seopress_content_analysis input[type="checkbox"]:checked::before,
|
300 |
+
#seopress_pro_cpt input[type="checkbox"]:checked::before {
|
301 |
+
content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
|
302 |
+
background: var(--primaryColor);
|
303 |
+
margin: -1px;
|
304 |
+
width: 20px;
|
305 |
+
height: 20px;
|
306 |
}
|
307 |
+
body .seopress-option input[type="checkbox"]:focus,
|
308 |
+
#seopress_cpt input[type="checkbox"]:focus,
|
309 |
+
#seopress_content_analysis input[type="checkbox"]:focus,
|
310 |
+
#seopress_pro_cpt input[type="checkbox"]:focus,
|
311 |
+
body .seopress-option input[type="checkbox"]:active,
|
312 |
+
#seopress_cpt input[type="checkbox"]:active,
|
313 |
+
#seopress_content_analysis input[type="checkbox"]:active,
|
314 |
+
#seopress_pro_cpt input[type="checkbox"]:active {
|
315 |
+
box-shadow: 0 0 0 2px var(--primaryColor);
|
316 |
+
border-color: transparent;
|
317 |
+
}
|
318 |
+
.field-required,
|
319 |
+
.field-recommended {
|
320 |
+
font-weight: bold;
|
321 |
}
|
322 |
+
.field-required {
|
323 |
+
color: var(--colorAlert);
|
|
|
|
|
324 |
}
|
325 |
+
.field-recommended {
|
326 |
+
color: var(--colorWarning);
|
|
|
|
|
|
|
|
|
|
|
327 |
}
|
328 |
+
/* Table */
|
329 |
+
.form-table td {
|
330 |
+
padding: 15px 0;
|
|
|
|
|
331 |
}
|
332 |
+
.form-table td p {
|
333 |
+
margin: 4px 0;
|
|
|
|
|
|
|
|
|
|
|
334 |
}
|
335 |
+
.form-table td p.seopress_wrap_archive_cpt {
|
336 |
+
margin-bottom: 15px;
|
|
|
|
|
337 |
}
|
338 |
+
table.wp-list-table .manage_column.column-seopress_noindex,
|
339 |
+
table.wp-list-table .manage_column.column-seopress_tkw,
|
340 |
+
table.wp-list-table .manage_column.column-seopress_redirect_url,
|
341 |
+
table.wp-list-table .manage_column.column-seopress_canonical,
|
342 |
+
table.wp-list-table .manage_column.column-seopress_redirect_enable,
|
343 |
+
table.wp-list-table .manage_column.column-seopress_desc,
|
344 |
+
table.wp-list-table .manage_column.column-seopress_title,
|
345 |
+
table.wp-list-table .manage_column.column-seopress_insights {
|
346 |
+
width: 7% !important;
|
347 |
}
|
348 |
+
.post-type-product table.fixed thead .column-seopress_title,
|
349 |
+
.post-type-product table.fixed thead .column-seopress_desc {
|
350 |
+
width: 8%;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
351 |
}
|
352 |
+
.post-type-product table.fixed thead .column-seopress_redirect_enable,
|
353 |
+
.post-type-product table.fixed thead .column-seopress_redirect_url,
|
354 |
+
.post-type-product table.fixed thead .column-seopress_canonical,
|
355 |
+
.post-type-product table.fixed thead .column-seopress_tkw,
|
356 |
+
.post-type-product .fixed .column-seopress_words,
|
357 |
+
.post-type-product .fixed .column-seopress_ps {
|
358 |
+
width: 6%;
|
359 |
}
|
360 |
+
.post-type-product .fixed .column-seopress_score {
|
361 |
+
width: 50px;
|
362 |
+
}
|
363 |
+
table.fixed thead .column-seopress_nofollow,
|
364 |
+
table.fixed thead .column-seopress_noindex {
|
365 |
+
width: 100px;
|
366 |
+
}
|
367 |
+
@media only screen and (max-width: 1200px) {
|
368 |
+
table.fixed .column-seopress_title > div,
|
369 |
+
table.fixed .column-seopress_desc > div,
|
370 |
+
table.fixed .column-seopress_redirect_enable > div,
|
371 |
+
table.fixed .column-seopress_redirect_url > div,
|
372 |
+
table.fixed .column-seopress_canonical > div {
|
373 |
+
white-space: nowrap;
|
374 |
+
overflow: hidden;
|
375 |
+
text-overflow: ellipsis;
|
376 |
}
|
377 |
+
table.fixed thead .column-seopress_redirect_enable,
|
378 |
+
table.fixed thead .column-seopress_redirect_url,
|
379 |
+
table.fixed thead .column-seopress_canonical,
|
380 |
+
table.fixed thead .column-seopress_tkw,
|
381 |
+
table.fixed thead .column-seopress_nofollow,
|
382 |
+
table.fixed thead .column-seopress_noindex,
|
383 |
+
table.fixed thead .column-seopress_score,
|
384 |
+
table.fixed thead .column-seopress_words,
|
385 |
+
table.fixed thead .column-seopress_ps {
|
386 |
+
white-space: nowrap;
|
387 |
+
overflow: hidden;
|
388 |
+
text-overflow: ellipsis;
|
389 |
}
|
390 |
}
|
391 |
+
.post-type-seopress_backlinks .wp-list-table .column-seopress_backlinks_url {
|
392 |
+
width: 35%;
|
|
|
|
|
|
|
393 |
}
|
394 |
+
.post-type-seopress_backlinks
|
395 |
+
.wp-list-table
|
396 |
+
.column-seopress_backlinks_anchor_text {
|
397 |
+
width: 20%;
|
398 |
}
|
399 |
+
/* SEOPress header */
|
400 |
+
.seopress-styles #seopress-header {
|
401 |
+
padding: 22px 120px 22px 40px;
|
402 |
+
height: 60px;
|
403 |
+
margin: 0 auto;
|
404 |
+
width: calc(100% - 160px);
|
405 |
+
background: #fff;
|
406 |
+
position: fixed;
|
407 |
+
top: 32px;
|
408 |
+
z-index: 100;
|
409 |
+
display: flex;
|
410 |
+
justify-content: space-between;
|
411 |
+
align-items: center;
|
412 |
}
|
413 |
+
.folded.seopress-styles #seopress-header {
|
414 |
+
width: calc(100% - 35px);
|
|
|
|
|
|
|
|
|
|
|
415 |
}
|
416 |
+
@media only screen and (max-width: 782px) {
|
417 |
+
.seopress-styles #seopress-header {
|
418 |
+
width: 100%;
|
419 |
+
padding: 22px;
|
420 |
+
top: 46px;
|
421 |
+
position: absolute;
|
422 |
+
}
|
423 |
}
|
424 |
+
#seopress-header #seopress-navbar ul {
|
425 |
+
margin: 0;
|
426 |
+
padding: 0;
|
427 |
+
}
|
428 |
+
#seopress-header #seopress-navbar ul li {
|
429 |
+
margin: 0;
|
430 |
+
display: inline-block;
|
431 |
position: relative;
|
432 |
+
padding: 0 20px 0 0;
|
433 |
+
font-weight: bold;
|
434 |
}
|
435 |
+
#seopress-header #seopress-navbar ul li::after {
|
436 |
+
content: "/";
|
437 |
+
color: var(--paragraphColor);
|
438 |
position: absolute;
|
439 |
+
display: block;
|
440 |
+
top: 0;
|
441 |
+
left: calc(100% - 10px);
|
|
|
|
|
|
|
|
|
|
|
442 |
}
|
443 |
+
#seopress-header #seopress-navbar ul li:last-child:after {
|
444 |
+
content: none;
|
|
|
|
|
445 |
}
|
446 |
+
/* Dashboard */
|
447 |
+
.seopress-summary-items {
|
448 |
+
display: flex;
|
449 |
+
flex-wrap: wrap;
|
450 |
}
|
451 |
+
.seopress-summary-item {
|
452 |
+
display: flex;
|
453 |
+
flex-direction: column;
|
454 |
+
height: 100%;
|
455 |
+
padding: 20px;
|
456 |
+
border-bottom: 1px solid var(--borderColorLight40);
|
457 |
+
border-right: 1px solid var(--borderColorLight40);
|
458 |
+
line-height: 1.4em;
|
459 |
+
text-decoration: none;
|
460 |
+
width: 50%;
|
461 |
+
color: var(--colorDark);
|
462 |
}
|
463 |
+
.seopress-summary-item-label {
|
464 |
+
display: block;
|
465 |
+
margin-bottom: 16px;
|
466 |
+
color: var(--color);
|
467 |
+
font-size: 14px;
|
468 |
+
line-height: 20px;
|
469 |
}
|
470 |
+
.seopress-summary-item-data {
|
471 |
+
margin-bottom: 4px;
|
472 |
+
font-weight: 500;
|
473 |
+
color: var(--colorDark);
|
474 |
+
font-size: 20px;
|
475 |
+
line-height: 28px;
|
|
|
|
|
|
|
476 |
}
|
477 |
+
.seopress-tab.inside {
|
478 |
+
padding: 20px;
|
|
|
|
|
|
|
|
|
|
|
479 |
}
|
480 |
+
#seopress-admin-tabs.ui-tabs {
|
481 |
+
position: relative;
|
482 |
+
padding: 0.2em;
|
483 |
+
border: none;
|
484 |
+
font-family: inherit;
|
485 |
+
font-size: inherit;
|
486 |
}
|
487 |
+
#seopress-admin-tabs.ui-tabs .ui-tabs-nav li {
|
488 |
+
list-style: none;
|
489 |
+
float: left;
|
|
|
|
|
|
|
|
|
490 |
position: relative;
|
491 |
+
top: 0;
|
492 |
+
margin: -1px 0.2em 0 0;
|
493 |
+
padding: 0;
|
494 |
+
white-space: nowrap;
|
495 |
+
border: none;
|
496 |
+
background: 0 0;
|
497 |
}
|
498 |
+
#seopress-admin-tabs.ui-tabs .ui-tabs-nav li a {
|
499 |
+
float: left;
|
500 |
+
padding: 0.38em 1em 0.75rem;
|
501 |
+
outline: 0;
|
502 |
+
border-bottom: 2px solid #fff;
|
503 |
}
|
504 |
+
#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-active {
|
505 |
+
margin-bottom: -1px;
|
|
|
|
|
|
|
|
|
|
|
506 |
}
|
507 |
+
#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-state-disabled a,
|
508 |
+
#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-active a,
|
509 |
+
#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-loading a {
|
510 |
+
cursor: text;
|
511 |
+
border-bottom: 2px solid #23282d;
|
512 |
+
color: #23282d;
|
|
|
513 |
}
|
514 |
+
#seopress-admin-tabs.ui-tabs .ui-tabs-nav li a,
|
515 |
+
#seopress-admin-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a {
|
516 |
+
cursor: pointer;
|
517 |
+
color: #0073aa;
|
518 |
+
text-decoration: none;
|
519 |
}
|
520 |
+
#seopress-admin-tabs.ui-tabs-vertical {
|
521 |
+
width: 55em;
|
|
|
|
|
|
|
|
|
|
|
522 |
}
|
523 |
+
#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav {
|
524 |
+
padding: 0.2em 0.1em 0.2em 0.2em;
|
525 |
+
float: left;
|
526 |
+
width: 12em;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
527 |
}
|
528 |
+
#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav li {
|
529 |
+
clear: left;
|
530 |
+
width: 100%;
|
531 |
+
border-bottom-width: 1px !important;
|
532 |
+
border-right-width: 0 !important;
|
533 |
+
margin: 0 -1px 0.2em 0;
|
|
|
|
|
|
|
|
|
534 |
}
|
535 |
+
#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active {
|
536 |
+
padding-bottom: 0;
|
537 |
+
padding-right: 0.1em;
|
538 |
+
border-right-width: 1px;
|
539 |
}
|
540 |
+
#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-panel {
|
541 |
+
padding: 1em;
|
542 |
+
float: right;
|
543 |
+
width: 40em;
|
|
|
544 |
}
|
545 |
+
#seopress-admin-tabs.wrap {
|
546 |
+
background: #fff;
|
547 |
+
display: block;
|
548 |
+
width: 64rem;
|
549 |
+
max-width: 100%;
|
550 |
+
margin: 0 auto;
|
551 |
}
|
552 |
+
@media only screen and (max-width: 1024px) {
|
553 |
+
#seopress-admin-tabs.wrap {
|
554 |
+
width: 100%;
|
555 |
+
}
|
|
|
|
|
|
|
|
|
556 |
}
|
557 |
+
#seopress-admin-tabs .seopress-tab {
|
558 |
+
width: 100%;
|
559 |
+
display: none;
|
560 |
}
|
561 |
+
#seopress-admin-tabs .seopress-tab.active {
|
562 |
+
visibility: visible;
|
563 |
+
overflow: inherit;
|
564 |
+
opacity: 1;
|
565 |
+
transform: translateX(0);
|
566 |
+
display: inherit;
|
567 |
+
position: relative;
|
568 |
}
|
569 |
+
.seopress-dashboard-columns {
|
570 |
+
display: flex;
|
571 |
+
max-width: 64rem;
|
572 |
+
margin: 0 auto;
|
573 |
+
justify-content: space-between;
|
574 |
+
flex-direction: row;
|
575 |
}
|
576 |
+
.seopress-dashboard-column {
|
577 |
+
align-self: flex-start;
|
578 |
+
width: calc(50% - 12px);
|
579 |
margin: 0;
|
|
|
580 |
}
|
581 |
+
@media only screen and (max-width: 782px) {
|
582 |
+
.seopress-dashboard-columns {
|
583 |
+
max-width: 100%;
|
584 |
+
flex-direction: column;
|
585 |
+
}
|
586 |
+
.seopress-dashboard-column {
|
587 |
+
width: 100%;
|
588 |
+
}
|
589 |
+
}
|
590 |
+
#seopress-admin-tabs .ui-tabs-nav,
|
591 |
+
.seopress-get-started {
|
592 |
+
margin: 0 auto 20px;
|
593 |
+
max-width: 64rem;
|
594 |
+
padding: 2rem;
|
595 |
width: 100%;
|
596 |
+
border-radius: 0 0 4px 4px;
|
|
|
|
|
|
|
|
|
|
|
597 |
}
|
598 |
+
.seopress-get-started {
|
599 |
+
background: #fff url(../img/bg-hero-started.svg) no-repeat 100% 50% /
|
600 |
+
contain;
|
601 |
+
position: relative;
|
602 |
}
|
603 |
+
.seopress-get-started .inside {
|
604 |
+
padding: 2rem;
|
|
|
605 |
}
|
606 |
+
.seopress-get-started .preheader {
|
607 |
+
text-transform: uppercase;
|
608 |
+
font-size: 11px;
|
609 |
+
font-weight: 600;
|
610 |
+
color: var(--paragraphColor);
|
611 |
}
|
612 |
+
.seopress-activity-panel-tabs {
|
613 |
+
height: 60px;
|
614 |
+
display: flex;
|
615 |
+
align-items: center;
|
|
|
|
|
|
|
|
|
616 |
}
|
617 |
+
.seopress-activity-panel-tabs .btn {
|
618 |
+
display: flex;
|
619 |
+
flex-direction: column;
|
620 |
+
justify-content: center;
|
621 |
+
color: var(--color);
|
622 |
+
height: 60px;
|
623 |
+
padding: 10px 26px;
|
624 |
+
border-bottom: 3px solid transparent;
|
625 |
+
}
|
626 |
+
.seopress-activity-panel-tabs .btn:hover {
|
627 |
+
background: var(--backgroundSecondaryHover);
|
628 |
+
}
|
629 |
+
.seopress-activity-panel-tabs .btn.is-active {
|
630 |
+
border-bottom: 3px solid var(--backgroundPrimary);
|
631 |
+
color: var(--colorDark);
|
632 |
+
}
|
633 |
+
.seopress-activity-panel-wrapper {
|
634 |
+
height: calc(100vh - 92px);
|
635 |
+
top: 92px;
|
636 |
+
background: var(--backgroundSecondaryHover);
|
637 |
+
width: 510px;
|
638 |
+
transform: translateX(100%);
|
639 |
+
transition-duration: 0.3s;
|
640 |
+
transition-timing-function: ease-in-out;
|
641 |
+
position: fixed;
|
642 |
+
right: 0;
|
643 |
+
z-index: 1000;
|
644 |
+
overflow-x: hidden;
|
645 |
+
overflow-y: auto;
|
646 |
}
|
647 |
+
@media only screen and (max-width: 782px) {
|
648 |
+
.seopress-activity-panel-wrapper {
|
649 |
+
top: 106px;
|
650 |
+
}
|
651 |
}
|
652 |
+
.seopress-activity-panel-wrapper.is-open {
|
653 |
+
transform: none;
|
654 |
+
box-shadow: 0 12px 12px 0 rgb(85 93 102 / 30%);
|
|
|
|
|
|
|
|
|
655 |
}
|
656 |
+
.seopress-activity-panel-header {
|
657 |
+
background: #e0e0e0;
|
658 |
+
padding: 16px 24px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
659 |
}
|
660 |
+
.seopress-activity-panel-content {
|
661 |
+
background: #fff;
|
662 |
+
padding: 16px 24px;
|
663 |
+
}
|
664 |
+
.seopress-list-items,
|
665 |
+
.seopress-list-items .seopress-item {
|
666 |
margin: 0;
|
667 |
}
|
668 |
+
.seopress-list-items .seopress-item {
|
669 |
+
border-bottom: 1px solid var(--borderColorLight40);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
670 |
}
|
671 |
+
.seopress-list-items .seopress-item:last-child {
|
672 |
+
border-bottom: none;
|
|
|
673 |
}
|
674 |
+
.seopress-list-items .seopress-item .seopress-item-inner {
|
675 |
+
color: var(--primaryColor);
|
676 |
+
text-decoration: none;
|
677 |
+
padding: 15px 20px;
|
678 |
+
background: #fff;
|
679 |
+
font-size: var(--fontSize);
|
680 |
+
font-weight: bold;
|
681 |
+
width: 100%;
|
682 |
}
|
683 |
+
.has-action {
|
684 |
+
display: flex;
|
685 |
+
align-items: center;
|
686 |
}
|
687 |
+
.seopress-list-items .seopress-item .seopress-item-inner:hover {
|
688 |
+
background: var(--backgroundSecondaryHover);
|
|
|
689 |
}
|
690 |
+
.seopress-list-items .seopress-item-before,
|
691 |
+
.seopress-list-items .seopress-item-after {
|
692 |
+
margin: 0px 20px 0 10px;
|
693 |
+
position: relative;
|
694 |
}
|
695 |
+
.seopress-list-items .seopress-item-before::before,
|
696 |
+
.seopress-list-items .seopress-item-after::after {
|
697 |
+
content: "\f330";
|
698 |
+
font-family: "Dashicons";
|
699 |
+
vertical-align: middle;
|
700 |
+
font-size: 20px;
|
701 |
+
font-weight: normal;
|
702 |
}
|
703 |
+
.seopress-list-items .seopress-item-after {
|
704 |
+
margin-left: auto;
|
705 |
+
padding-left: 20px;
|
706 |
+
margin-right: 0;
|
707 |
}
|
708 |
+
.seopress-list-items .seopress-item-after::after {
|
709 |
+
content: "\f345";
|
|
|
|
|
710 |
}
|
711 |
+
.seopress-list-items .seopress-item .seopress-item-title {
|
712 |
+
margin: 5px 0;
|
713 |
+
color: var(--primaryColor);
|
714 |
}
|
715 |
+
.seopress-list-items .seopress-item .seopress-item-date {
|
716 |
+
color: var(--paragraphColor);
|
717 |
+
font-weight: normal;
|
718 |
+
margin: 0;
|
719 |
}
|
720 |
+
.seopress-list-items .seopress-item .seopress-item-content {
|
721 |
+
color: var(--colorDark);
|
722 |
+
font-weight: normal;
|
723 |
+
margin: 0;
|
|
|
|
|
724 |
}
|
725 |
+
.seopress-list-items .seopress-item .seopress-item-inner.check {
|
726 |
+
position: relative;
|
|
|
|
|
727 |
}
|
728 |
+
.seopress-list-items .seopress-item .seopress-item-inner.check::before {
|
729 |
+
content: "";
|
730 |
+
width: 32px;
|
731 |
+
height: 32px;
|
732 |
+
font-size: 24px;
|
733 |
+
vertical-align: middle;
|
734 |
+
border-radius: 50px;
|
735 |
+
color: #fff;
|
736 |
+
margin-right: 10px;
|
737 |
+
display: inline-block;
|
738 |
+
border: 1px solid var(--borderColorLight);
|
739 |
+
line-height: 32px;
|
740 |
+
text-align: center;
|
741 |
}
|
742 |
+
.seopress-list-items .seopress-item .seopress-item-inner.done::before {
|
743 |
+
background: var(--backgroundPrimary);
|
744 |
+
border: none;
|
745 |
+
content: "\f15e";
|
746 |
+
font-family: "Dashicons";
|
|
|
|
|
|
|
747 |
}
|
748 |
+
/* Tooltip */
|
749 |
+
.sp-tooltip {
|
750 |
+
position: relative;
|
751 |
+
margin-left: 5px;
|
752 |
+
display: inline-block;
|
753 |
+
cursor: help;
|
754 |
+
vertical-align: bottom;
|
755 |
+
text-align: left;
|
756 |
+
background: none;
|
757 |
+
border: none;
|
758 |
+
padding: 0;
|
759 |
}
|
760 |
+
.sp-tooltip .dashicons {
|
761 |
+
color: var(--colorDark);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
762 |
}
|
763 |
+
.sp-tooltip .sp-tooltiptext {
|
764 |
+
visibility: hidden;
|
765 |
+
position: absolute;
|
766 |
+
z-index: 999999999;
|
767 |
+
width: 350px;
|
768 |
+
right: -310px;
|
769 |
+
padding: 20px;
|
770 |
+
top: 25px;
|
771 |
+
font-weight: 400;
|
772 |
+
box-shadow: 0 3px 30px rgb(25 30 35 / 10%);
|
773 |
+
border: 1px solid var(--borderColorLight40);
|
774 |
+
background: #fff;
|
775 |
+
word-break: break-word;
|
776 |
+
text-transform: none;
|
777 |
}
|
778 |
+
.sp-tooltip .sp-tooltiptext::before {
|
779 |
+
border: 8px solid var(--borderColorLight40);
|
780 |
+
top: -8px;
|
|
|
781 |
}
|
782 |
+
.sp-tooltip .sp-tooltiptext::after {
|
783 |
+
border: 8px solid #fff;
|
784 |
+
top: -6px;
|
|
|
|
|
785 |
}
|
786 |
+
.sp-tooltip .sp-tooltiptext::before,
|
787 |
+
.sp-tooltip .sp-tooltiptext::after {
|
788 |
+
border-bottom-style: solid;
|
789 |
+
border-left-color: transparent;
|
790 |
+
border-right-color: transparent;
|
791 |
+
border-top: none;
|
792 |
+
margin-left: -10px;
|
793 |
+
content: "";
|
794 |
+
position: absolute;
|
795 |
+
height: 0;
|
796 |
+
width: 0;
|
797 |
+
line-height: 0;
|
798 |
+
left: 30px;
|
799 |
}
|
800 |
+
.sp-tooltip:hover .sp-tooltiptext,
|
801 |
+
.sp-tooltip:focus .sp-tooltiptext,
|
802 |
+
.sp-tooltip:active .sp-tooltiptext {
|
803 |
+
visibility: visible;
|
804 |
}
|
805 |
+
.sp-tooltip .sp-tooltip-headings {
|
806 |
+
font-size: 18px;
|
807 |
+
font-weight: 600;
|
808 |
+
margin-bottom: 20px;
|
809 |
+
display: block;
|
810 |
}
|
811 |
+
.sp-tooltip .sp-tooltip-desc {
|
812 |
+
margin-bottom: 20px;
|
813 |
+
display: block;
|
814 |
+
border-bottom: 1px solid var(--borderColorLight40);
|
815 |
+
padding-bottom: 20px;
|
816 |
+
font-size: var(--fontSize);
|
817 |
+
line-height: 1.5;
|
818 |
}
|
819 |
+
.sp-tooltip .sp-tooltip-code {
|
820 |
+
font-family: Menlo, Monaco, Andale Mono, Courier New, monospace;
|
821 |
+
display: block;
|
822 |
+
word-break: break-all;
|
823 |
+
color: var(--colorPre);
|
824 |
+
font-size: 11px;
|
|
|
825 |
}
|
826 |
+
/* Content Analysis */
|
827 |
+
.analysis-score .sp-tooltip {
|
828 |
+
vertical-align: middle;
|
829 |
+
font-size: 0.75em;
|
|
|
|
|
830 |
}
|
831 |
+
#seopress_content_analysis .wrap-insights-post .sp-tooltip * {
|
832 |
+
font-weight: normal;
|
|
|
|
|
833 |
}
|
834 |
+
#seopress_content_analysis .wrap-insights-post .sp-tooltip-headings {
|
835 |
+
font-weight: bold;
|
|
|
|
|
836 |
}
|
837 |
+
#seopress_content_analysis a {
|
838 |
+
color: var(--backgroundPrimary);
|
|
|
|
|
|
|
|
|
839 |
}
|
840 |
+
#seopress_content_analysis a.nounderline,
|
841 |
+
#seopress_content_analysis a.nounderline:hover {
|
842 |
+
text-decoration: none;
|
843 |
}
|
844 |
+
#seopress_content_analysis .wrap-seopress-analysis {
|
845 |
+
display: inline-block;
|
846 |
+
width: 100%;
|
|
|
|
|
|
|
|
|
|
|
847 |
}
|
848 |
+
#seopress_content_analysis .col-left {
|
849 |
+
width: calc(50% - 30px);
|
850 |
+
float: left;
|
851 |
+
margin-right: 30px;
|
|
|
|
|
|
|
852 |
}
|
853 |
+
#seopress_content_analysis .col-right {
|
854 |
+
float: right;
|
855 |
+
width: 50%;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
856 |
}
|
857 |
+
#seopress_content_analysis #seopress_suggestions {
|
858 |
+
display: inline-block;
|
859 |
+
width: 100%;
|
860 |
+
margin: 0;
|
861 |
+
height: auto;
|
862 |
+
padding: 20px 0;
|
863 |
+
position: relative;
|
864 |
+
left: -5px;
|
865 |
}
|
866 |
+
#seopress_content_analysis #seopress_suggestions li {
|
867 |
+
list-style: none;
|
868 |
+
margin: 5px;
|
869 |
+
display: inline-block;
|
870 |
+
}
|
871 |
+
#seopress_content_analysis .analysis-score {
|
872 |
+
clear: both;
|
873 |
+
border-top: 1px solid var(--borderColorCard);
|
874 |
display: flex;
|
875 |
+
justify-content: space-between;
|
876 |
+
align-items: center;
|
877 |
}
|
878 |
+
.column-seopress_score .analysis-score {
|
879 |
+
display: flex;
|
880 |
+
align-content: center;
|
|
|
|
|
|
|
|
|
|
|
881 |
}
|
882 |
+
#seopress_content_analysis .analysis-score p,
|
883 |
+
.column-seopress_score .analysis-score p {
|
884 |
+
font-weight: bold;
|
885 |
+
font-size: 1.2em;
|
886 |
}
|
887 |
+
#seopress_content_analysis .analysis-score svg,
|
888 |
+
.column-seopress_score .analysis-score svg {
|
889 |
+
display: inline-block;
|
890 |
+
height: 30px;
|
891 |
+
width: 30px;
|
892 |
+
margin: 0;
|
893 |
+
border-radius: 100%;
|
894 |
+
position: relative;
|
895 |
+
font-weight: 600;
|
896 |
+
shape-rendering: geometricprecision;
|
897 |
+
font-size: 0.5rem;
|
898 |
+
vertical-align: middle;
|
899 |
+
margin-right: 15px;
|
900 |
}
|
901 |
+
.column-seopress_score .analysis-score p,
|
902 |
+
.column-seopress_score .analysis-score svg {
|
903 |
+
margin: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
904 |
}
|
905 |
+
@keyframes loadingPulse {
|
906 |
+
0% {
|
907 |
+
stroke: #adc5d2;
|
908 |
+
}
|
909 |
+
50% {
|
910 |
+
stroke: #00a0d2;
|
911 |
+
}
|
912 |
+
100% {
|
913 |
+
stroke: #adc5d2;
|
914 |
+
}
|
915 |
}
|
916 |
+
#seopress_content_analysis .analysis-score .loading #bar {
|
917 |
+
stroke-dashoffset: 0 !important;
|
918 |
+
stroke: #adc5d2 !important;
|
919 |
+
animation: loadingPulse 3s infinite ease-in-out;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
920 |
}
|
921 |
+
#seopress_content_analysis .analysis-score .good #bar,
|
922 |
+
.column-seopress_score .analysis-score #bar.good {
|
923 |
+
stroke: var(--colorSuccess);
|
|
|
924 |
}
|
925 |
+
#seopress_content_analysis .analysis-score .notgood #bar,
|
926 |
+
.column-seopress_score .analysis-score #bar.notgood {
|
927 |
+
stroke-dashoffset: 565;
|
928 |
+
stroke: var(--colorWarning);
|
929 |
}
|
930 |
+
#seopress_content_analysis .analysis-score svg circle,
|
931 |
+
.column-seopress_score .analysis-score svg circle,
|
932 |
+
#tab_seopress_page_speed .ps-score svg circle {
|
933 |
+
stroke-dashoffset: 0;
|
934 |
+
transition: stroke-dashoffset 1s linear;
|
935 |
+
stroke: #ccc;
|
936 |
+
stroke-width: 2em;
|
937 |
}
|
938 |
+
#tab_seopress_page_speed .ps-score {
|
939 |
+
position: relative;
|
940 |
+
display: inline-block;
|
941 |
}
|
942 |
+
#tab_seopress_page_speed .ps-score svg {
|
943 |
+
width: 60px;
|
944 |
+
height: 60px;
|
|
|
945 |
}
|
946 |
+
#tab_seopress_page_speed .ps-score svg circle {
|
947 |
+
stroke-width: 1em;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
948 |
}
|
949 |
+
#tab_seopress_page_speed .ps-score span {
|
950 |
+
font-weight: bold;
|
951 |
+
left: 0;
|
952 |
+
position: absolute;
|
953 |
+
top: 0;
|
954 |
+
width: 60px;
|
955 |
+
height: 60px;
|
956 |
+
align-items: center;
|
957 |
+
display: flex;
|
958 |
+
justify-content: center;
|
959 |
+
margin: 0;
|
960 |
}
|
961 |
+
#tab_seopress_page_speed .ps-score.green #bar {
|
962 |
+
stroke: var(--colorSuccess);
|
|
|
|
|
963 |
}
|
964 |
+
#tab_seopress_page_speed .ps-score.yellow #bar {
|
965 |
+
stroke: var(--colorWarning);
|
|
|
966 |
}
|
967 |
+
#tab_seopress_page_speed .ps-score.red #bar {
|
968 |
+
stroke: var(--colorAlert);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
969 |
}
|
970 |
+
#seopress_content_analysis .gr-analysis {
|
971 |
+
clear: both;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
972 |
}
|
973 |
+
#seopress_content_analysis .gr-analysis-title {
|
974 |
+
border-top: 1px solid var(--borderColorCard);
|
975 |
+
position: relative;
|
|
|
|
|
|
|
|
|
|
|
976 |
}
|
977 |
+
#seopress_cpt .impact,
|
978 |
+
#seopress_content_analysis .gr-analysis-title .impact {
|
979 |
+
position: absolute;
|
980 |
+
left: 10px;
|
981 |
+
top: calc(50% - 5px);
|
982 |
+
width: 10px;
|
983 |
+
height: 10px;
|
984 |
+
border-radius: 50px;
|
985 |
+
padding: 0;
|
986 |
+
margin: 0;
|
987 |
+
border: 1px solid #fff;
|
988 |
}
|
989 |
+
#seopress_content_analysis .gr-analysis .impact.good {
|
990 |
+
background: var(--colorSuccess);
|
991 |
+
box-shadow: 0 0 5px var(--colorSuccess);
|
|
|
|
|
|
|
|
|
|
|
|
|
992 |
}
|
993 |
+
#seopress_content_analysis .gr-analysis .impact.low {
|
994 |
+
background: var(--colorWarning);
|
995 |
+
box-shadow: 0 0 5px var(--colorWarning);
|
|
|
|
|
996 |
}
|
997 |
+
#seopress_content_analysis .gr-analysis .impact.medium {
|
998 |
+
background: var(--colorLowAlert);
|
999 |
+
box-shadow: 0 0 5px var(--colorLowAlert);
|
1000 |
}
|
1001 |
+
#seopress_cpt .impact.high,
|
1002 |
+
#seopress_content_analysis .gr-analysis .impact.high {
|
1003 |
+
background: var(--colorAlert);
|
1004 |
+
box-shadow: 0 0 5px var(--colorAlert);
|
|
|
1005 |
}
|
1006 |
+
#seopress_content_analysis .gr-analysis-content .impact.high {
|
1007 |
+
background: var(--colorAlert);
|
1008 |
+
box-shadow: none;
|
1009 |
+
color: #fff;
|
1010 |
+
padding: 2px 4px;
|
1011 |
+
margin-left: 5px;
|
1012 |
+
border-radius: 4px;
|
1013 |
+
font-weight: bold;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1014 |
}
|
1015 |
+
#seopress_cpt .impact.high {
|
1016 |
+
position: relative;
|
1017 |
+
top: calc(50% - 18px);
|
1018 |
+
display: inline-block;
|
1019 |
+
left: inherit;
|
1020 |
+
right: -10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1021 |
}
|
1022 |
+
#seopress_cpt .description,
|
1023 |
+
#seopress_pro_cpt .description,
|
1024 |
+
#seopress_content_analysis .description,
|
1025 |
+
.seopress-option .description {
|
1026 |
display: block;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1027 |
font-size: 12px;
|
1028 |
+
color: var(--color);
|
|
|
1029 |
}
|
1030 |
+
@media only screen and (max-width: 782px) {
|
1031 |
+
#seopress_cpt .description,
|
1032 |
+
#seopress_pro_cpt .description,
|
1033 |
+
#seopress_content_analysis .description,
|
1034 |
+
.seopress-option .description {
|
1035 |
+
word-break: break-word;
|
1036 |
+
}
|
|
|
|
|
|
|
|
|
1037 |
}
|
1038 |
+
#seopress_cpt input ~ span.description,
|
1039 |
+
#seopress_cpt span.description ~ input,
|
1040 |
+
#seopress_content_analysis input ~ span.description,
|
1041 |
+
#seopress_content_analysis span.description ~ input,
|
1042 |
+
#seopress_pro_cpt input ~ span.description,
|
1043 |
+
#seopress_pro_cpt span.description ~ input {
|
1044 |
+
margin-top: 5px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1045 |
}
|
1046 |
+
#seopress_content_analysis .gr-analysis-title button {
|
1047 |
+
background: #fff;
|
1048 |
+
border: 0;
|
1049 |
+
cursor: pointer;
|
1050 |
+
display: block;
|
1051 |
+
margin: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1052 |
position: relative;
|
1053 |
+
text-align: left;
|
|
|
|
|
|
|
|
|
1054 |
width: 100%;
|
1055 |
+
padding: 15px 30px;
|
1056 |
+
align-items: center;
|
1057 |
+
transition: all 300ms linear;
|
1058 |
}
|
1059 |
+
#seopress_content_analysis .gr-analysis-title button:hover {
|
1060 |
+
background: #f3f4f5;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1061 |
}
|
1062 |
+
#seopress_content_analysis .gr-analysis-title button:focus {
|
1063 |
+
color: #191e23;
|
1064 |
+
border: none;
|
1065 |
+
box-shadow: none;
|
1066 |
+
outline-offset: -2px;
|
1067 |
+
outline: 1px dotted #555d66;
|
1068 |
}
|
1069 |
+
#seopress_content_analysis .gr-analysis-title button .sp-arrow::after {
|
1070 |
+
content: "\f343";
|
1071 |
+
font-family: "Dashicons";
|
1072 |
+
position: absolute;
|
1073 |
+
right: 10px;
|
1074 |
+
top: calc(50% - 7px);
|
1075 |
}
|
1076 |
+
#seopress_content_analysis .gr-analysis-title button.open .sp-arrow::after {
|
1077 |
+
content: "\f347";
|
|
|
|
|
1078 |
}
|
1079 |
+
#seopress_content_analysis .gr-analysis-content {
|
1080 |
+
padding: 0 1rem 0.5rem 1rem;
|
1081 |
+
display: none;
|
1082 |
+
width: 100%;
|
1083 |
+
border-top: 1px solid var(--borderColorCard);
|
|
|
1084 |
}
|
1085 |
+
#seopress_content_analysis h3 {
|
1086 |
+
margin: 0;
|
1087 |
+
font-size: 1em;
|
|
|
|
|
|
|
|
|
|
|
1088 |
}
|
1089 |
+
#seopress_content_analysis h4 {
|
1090 |
+
border-bottom: 1px solid var(--borderColorCard);
|
1091 |
+
padding-bottom: 0.5rem;
|
1092 |
+
text-transform: uppercase;
|
1093 |
+
font-size: 0.85em;
|
1094 |
+
position: -webkit-sticky; /* Required for Safari */
|
1095 |
+
position: sticky;
|
1096 |
+
top: 0;
|
1097 |
+
background: #fff;
|
1098 |
}
|
1099 |
+
#seopress_content_analysis .wrap-analysis-img ul {
|
1100 |
+
display: flex;
|
1101 |
+
flex-wrap: wrap;
|
|
|
|
|
1102 |
}
|
1103 |
+
#seopress_content_analysis .wrap-analysis-img ul li {
|
1104 |
+
padding: 0;
|
1105 |
+
text-align: left;
|
1106 |
+
cursor: default;
|
|
|
|
|
|
|
1107 |
}
|
1108 |
+
#seopress_content_analysis .wrap-analysis-img h4 {
|
1109 |
+
border-bottom: 1px solid var(--borderColorLight);
|
1110 |
+
padding-bottom: 10px;
|
|
|
|
|
1111 |
}
|
1112 |
+
#seopress_content_analysis .wrap-analysis-img ul li img {
|
1113 |
+
max-width: 150px;
|
1114 |
+
max-height: 150px;
|
1115 |
+
object-fit: cover;
|
1116 |
+
border: 1px solid var(--borderColorLight);
|
1117 |
+
cursor: default;
|
1118 |
+
padding: 1px;
|
1119 |
}
|
1120 |
+
#seopress_cpt .dashicons,
|
1121 |
+
#seopress-analysis-tabs .dashicons {
|
1122 |
+
vertical-align: middle;
|
1123 |
}
|
1124 |
+
#seopress-analysis-tabs {
|
1125 |
+
clear: both;
|
|
|
|
|
1126 |
}
|
|
|
1127 |
#seopress_content_analysis .dashicons-no-alt,
|
1128 |
#seopress_content_analysis .dashicons-yes,
|
1129 |
#seopress_pro_cpt .dashicons-no-alt,
|
1130 |
#seopress_pro_cpt .dashicons-yes {
|
1131 |
color: #fff;
|
1132 |
+
background: var(--colorSuccess);
|
1133 |
border-radius: 50px;
|
1134 |
margin-right: 10px;
|
1135 |
}
|
|
|
1136 |
#seopress_content_analysis .dashicons-no-alt,
|
1137 |
#seopress_pro_cpt .dashicons-no-alt {
|
1138 |
+
background: var(--colorAlert);
|
1139 |
+
}
|
1140 |
+
/* SEO metabox */
|
1141 |
+
#seopress_cpt .description-alt,
|
1142 |
+
#seopress_content_analysis .description-alt {
|
1143 |
+
padding: 1em 0;
|
1144 |
+
border-top: 1px solid var(--borderColorLight);
|
1145 |
+
border-bottom: 1px solid var(--borderColorLight);
|
1146 |
+
display: flex;
|
1147 |
}
|
1148 |
+
#seopress_cpt .desc-fb {
|
1149 |
+
margin-top: 0;
|
1150 |
+
border-top: none;
|
1151 |
}
|
1152 |
+
#seopress_cpt .description-alt svg,
|
1153 |
+
#seopress_content_analysis .description-alt svg {
|
1154 |
+
vertical-align: middle;
|
1155 |
+
align-self: center;
|
1156 |
+
fill: #f0b849;
|
1157 |
+
flex-shrink: 0;
|
1158 |
+
margin-right: 16px;
|
1159 |
}
|
1160 |
+
#seopress_cpt .notice {
|
1161 |
+
padding: 10px 14px;
|
1162 |
+
margin: 0;
|
1163 |
+
}
|
1164 |
+
#seopress_cpt .inside {
|
1165 |
+
margin: 0;
|
|
|
1166 |
padding: 0;
|
|
|
|
|
|
|
1167 |
}
|
1168 |
+
#seopress_cpt .ui-tabs .ui-tabs-nav {
|
1169 |
+
display: flex;
|
1170 |
+
position: relative;
|
1171 |
+
width: 100%;
|
1172 |
+
z-index: 10;
|
1173 |
+
margin: 0;
|
1174 |
+
border-radius: 0;
|
1175 |
+
padding: 0;
|
1176 |
+
align-items: center;
|
1177 |
+
padding: 0;
|
1178 |
+
height: 48px;
|
1179 |
+
border-bottom: 1px solid #ddd;
|
1180 |
+
background: inherit;
|
1181 |
+
line-height: inherit;
|
1182 |
+
color: inherit;
|
1183 |
+
border-top: none;
|
1184 |
+
border-left: none;
|
1185 |
+
border-right: none;
|
1186 |
}
|
1187 |
+
#seopress_cpt .ui-tabs .sp-section {
|
1188 |
+
font-weight: 700;
|
1189 |
+
font-size: var(--fontSize);
|
1190 |
}
|
1191 |
+
#seopress_cpt .ui-helper-clearfix:after {
|
1192 |
+
content: none;
|
|
|
|
|
|
|
|
|
|
|
1193 |
}
|
1194 |
+
.seopress_page_seopress-titles #seopress-tabs .form-table td,
|
1195 |
+
.seopress_page_seopress-titles #seopress_content_analysis .form-table td {
|
1196 |
+
padding: 0;
|
1197 |
+
}
|
1198 |
+
#seopress_cpt .ui-tabs .ui-tabs-panel {
|
1199 |
+
background: #fff;
|
1200 |
+
border-radius: 0;
|
1201 |
+
display: inline-block;
|
1202 |
+
padding: 1em 1.4em;
|
1203 |
+
width: 100%;
|
1204 |
+
}
|
1205 |
+
#seopress_content_analysis .dashicons-info,
|
1206 |
+
#seopress_cpt .ui-tabs .ui-tabs-panel .dashicons-info,
|
1207 |
+
#seopress_pro_cpt .dashicons-info {
|
1208 |
+
font-size: 16px;
|
1209 |
+
vertical-align: middle;
|
1210 |
+
height: 16px;
|
1211 |
+
width: 16px;
|
1212 |
+
}
|
1213 |
+
#seopress_cpt .ui-tabs .ui-tabs-nav li,
|
1214 |
+
#seopress_cpt .ui-tabs-anchor {
|
1215 |
+
cursor: pointer !important;
|
1216 |
+
}
|
1217 |
+
body #seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-active {
|
1218 |
+
position: relative;
|
1219 |
+
z-index: 60;
|
1220 |
cursor: pointer;
|
1221 |
+
border-radius: 0;
|
1222 |
+
border-bottom: 4px solid var(--backgroundPrimary) !important;
|
1223 |
+
}
|
1224 |
+
#seopress_cpt .wp-color-result {
|
1225 |
+
margin: 0;
|
1226 |
+
}
|
1227 |
+
#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-content,
|
1228 |
+
#seopress_cpt #tabs-6 > p {
|
1229 |
+
padding: 0 1.4em;
|
1230 |
+
}
|
1231 |
+
#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-content {
|
1232 |
+
padding: 0 1.4em 1em;
|
1233 |
+
}
|
1234 |
+
#seopress_cpt #tabs-6 #wrap-videos .video {
|
1235 |
+
border-top: 1px solid var(--borderColorLight);
|
1236 |
+
}
|
1237 |
+
#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-title {
|
1238 |
+
border-left: none;
|
1239 |
+
border-right: none;
|
1240 |
+
font-size: 1em;
|
1241 |
+
padding: 1em 1.4em;
|
1242 |
+
}
|
1243 |
+
#seopress_cpt #tabs-6 #wrap-videos .video:last-child .accordion-section-content,
|
1244 |
+
#seopress_cpt #tabs-6 #wrap-videos .video:last-child .accordion-section-title {
|
1245 |
+
border-bottom: 1px solid var(--borderColorLight);
|
1246 |
+
}
|
1247 |
+
#seopress_content_analysis .mandatory,
|
1248 |
+
#seopress_cpt .mandatory {
|
1249 |
+
color: var(--colorAlert);
|
1250 |
+
}
|
1251 |
+
#seopress_cpt .box-left {
|
1252 |
+
float: left;
|
1253 |
+
width: 49%;
|
1254 |
+
margin-right: 1%;
|
1255 |
+
}
|
1256 |
+
#seopress_cpt .box-right {
|
1257 |
+
float: left;
|
1258 |
+
width: 49%;
|
1259 |
+
margin-left: 1%;
|
1260 |
+
}
|
1261 |
+
#seopress_cpt #tabs-3 .box-left {
|
1262 |
+
width: 44%;
|
1263 |
+
}
|
1264 |
+
#seopress_cpt #tabs-3 .box-right {
|
1265 |
+
width: 54%;
|
1266 |
+
}
|
1267 |
+
@media only screen and (max-width: 1200px) {
|
1268 |
+
#seopress_cpt .box-left,
|
1269 |
+
#seopress_cpt .box-right {
|
1270 |
+
float: none;
|
1271 |
+
width: 100%;
|
1272 |
+
margin: 0;
|
1273 |
+
}
|
1274 |
+
}
|
1275 |
+
@media only screen and (max-width: 1500px) {
|
1276 |
+
#seopress_cpt #tabs-3 .box-left,
|
1277 |
+
#seopress_cpt #tabs-3 .box-right {
|
1278 |
+
float: none;
|
1279 |
+
width: 100%;
|
1280 |
+
margin: 0;
|
1281 |
+
}
|
1282 |
+
}
|
1283 |
+
#edittag #seopress_cpt #tabs-3 .box-left,
|
1284 |
+
#edittag #seopress_cpt #tabs-3 .box-right {
|
1285 |
+
float: none;
|
1286 |
+
width: 100%;
|
1287 |
+
margin: 0;
|
1288 |
+
}
|
1289 |
+
#seopress-tabs .seopress_media_upload,
|
1290 |
+
#seopress_pro_cpt .seopress_media_upload {
|
1291 |
+
margin-top: 0.5rem;
|
1292 |
+
}
|
1293 |
+
#term-seopress #seopress_cpt {
|
1294 |
+
width: 95%;
|
1295 |
+
}
|
1296 |
+
#seopress_cpt .ui-tabs {
|
1297 |
+
position: relative;
|
1298 |
+
padding: 0;
|
1299 |
+
border: none;
|
1300 |
+
font-family: inherit;
|
1301 |
+
font-size: inherit;
|
1302 |
+
display: inline-block;
|
1303 |
+
width: 100%;
|
1304 |
+
}
|
1305 |
+
#seopress_cpt .ui-tabs .ui-tabs-nav li {
|
1306 |
+
list-style: none;
|
1307 |
+
position: relative;
|
1308 |
+
padding: 0;
|
1309 |
+
white-space: nowrap;
|
1310 |
+
margin: 0;
|
1311 |
+
border: none;
|
1312 |
+
height: 48px;
|
1313 |
+
background: 0 0;
|
1314 |
+
}
|
1315 |
+
#seopress_cpt .ui-tabs .ui-tabs-nav li a {
|
1316 |
+
display: flex;
|
1317 |
+
padding: 3px 15px;
|
1318 |
+
align-items: center;
|
1319 |
+
}
|
1320 |
+
#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav li a,
|
1321 |
+
#seopress_cpt .ui-tabs-vertical .ui-tabs-nav li a {
|
1322 |
+
display: block;
|
1323 |
+
}
|
1324 |
+
#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-active {
|
1325 |
+
margin-bottom: 0px;
|
1326 |
+
padding-bottom: 0px;
|
1327 |
+
}
|
1328 |
+
#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-state-disabled a,
|
1329 |
+
#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-active a,
|
1330 |
+
#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-loading a {
|
1331 |
+
font-weight: 500;
|
1332 |
+
}
|
1333 |
+
#seopress_cpt .ui-tabs .ui-tabs-nav li a,
|
1334 |
+
#seopress_cpt .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a {
|
1335 |
+
cursor: pointer;
|
1336 |
+
color: #191e23;
|
1337 |
text-decoration: none;
|
1338 |
+
height: 48px;
|
1339 |
}
|
1340 |
+
#seopress_cpt .ui-tabs .ui-tabs-nav li a:focus,
|
1341 |
+
#seopress_cpt .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a:focus {
|
1342 |
+
outline: 3px solid transparent;
|
1343 |
+
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus)
|
1344 |
+
var(--backgroundPrimary),
|
1345 |
+
inset 0 -4px 0 0 var(--backgroundPrimary);
|
1346 |
+
}
|
1347 |
+
#seopress_cpt .ui-tabs-vertical {
|
1348 |
width: 55em;
|
1349 |
}
|
1350 |
+
#seopress_cpt .ui-tabs-vertical .ui-tabs-nav {
|
|
|
1351 |
padding: 0.2em 0.1em 0.2em 0.2em;
|
1352 |
float: left;
|
1353 |
width: 12em;
|
1354 |
}
|
1355 |
+
#seopress_cpt .ui-tabs-vertical .ui-tabs-nav li {
|
|
|
1356 |
clear: left;
|
1357 |
width: 100%;
|
1358 |
border-bottom-width: 1px !important;
|
1359 |
border-right-width: 0 !important;
|
1360 |
margin: 0 -1px 0.2em 0;
|
1361 |
}
|
1362 |
+
#seopress_cpt .ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active {
|
|
|
1363 |
padding-bottom: 0;
|
1364 |
padding-right: 0.1em;
|
1365 |
border-right-width: 1px;
|
1366 |
}
|
1367 |
+
#seopress_cpt .ui-tabs-vertical .ui-tabs-panel {
|
|
|
1368 |
padding: 1em;
|
1369 |
float: right;
|
1370 |
width: 40em;
|
1371 |
}
|
1372 |
+
#seopress_cpt .ui-tabs .ui-tabs-nav li a .dashicons {
|
1373 |
+
margin-right: 2px;
|
|
|
|
|
|
|
|
|
|
|
|
|
1374 |
}
|
1375 |
+
/* Google / Social Preview */
|
1376 |
+
#seopress_cpt .google-snippet-preview {
|
1377 |
+
font-family: arial, sans-serif;
|
1378 |
+
word-break: break-all;
|
|
|
|
|
|
|
|
|
|
|
|
|
1379 |
}
|
1380 |
+
#seopress_cpt .google-snippet-preview.mobile-preview .wrap-snippet {
|
1381 |
+
margin: 0 0 10px 0;
|
1382 |
+
box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
|
1383 |
+
border-radius: 8px;
|
1384 |
+
padding: 12px 16px;
|
|
|
|
|
|
|
1385 |
}
|
1386 |
+
#seopress_cpt .google-snippet-preview > p {
|
1387 |
+
word-break: normal;
|
|
|
1388 |
}
|
1389 |
+
#seopress_cpt .google-snippet-preview .snippet-title,
|
1390 |
+
#seopress_cpt .google-snippet-preview .snippet-title-custom,
|
1391 |
+
#seopress_cpt .google-snippet-preview .snippet-title-default {
|
1392 |
+
color: #1a0dab;
|
1393 |
font-size: 18px;
|
1394 |
+
font-weight: 400;
|
1395 |
+
line-height: 21.6px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1396 |
}
|
1397 |
+
#seopress_cpt .google-snippet-preview.mobile-preview .snippet-title,
|
1398 |
+
#seopress_cpt .google-snippet-preview.mobile-preview .snippet-title-custom,
|
1399 |
+
#seopress_cpt .google-snippet-preview.mobile-preview .snippet-title-default {
|
1400 |
font-size: 16px;
|
1401 |
+
line-height: 20px;
|
1402 |
+
margin-bottom: 12px;
|
1403 |
}
|
1404 |
+
#seopress_cpt .google-snippet-preview .snippet-permalink {
|
1405 |
+
color: #006621;
|
1406 |
+
font-size: 14px;
|
1407 |
+
font-style: normal;
|
1408 |
+
font-weight: 400;
|
1409 |
+
line-height: 16px;
|
1410 |
+
overflow: hidden;
|
1411 |
+
text-overflow: ellipsis;
|
1412 |
+
white-space: nowrap;
|
1413 |
+
}
|
1414 |
+
#seopress_cpt .google-snippet-preview .wrap-snippet .wrap-m-icon-permalink,
|
1415 |
+
#seopress_cpt .google-snippet-preview.mobile-preview .snippet-permalink {
|
1416 |
+
display: none;
|
1417 |
+
}
|
1418 |
+
#seopress_cpt .google-snippet-preview.mobile-preview .wrap-m-icon-permalink {
|
1419 |
+
overflow: hidden;
|
1420 |
+
text-overflow: ellipsis;
|
1421 |
+
white-space: nowrap;
|
1422 |
+
margin-bottom: 12px;
|
1423 |
+
display: flex;
|
1424 |
+
}
|
1425 |
+
#seopress_cpt
|
1426 |
+
.google-snippet-preview.mobile-preview
|
1427 |
+
.wrap-m-icon-permalink
|
1428 |
+
.snippet-permalink {
|
1429 |
+
display: block;
|
1430 |
+
color: #3c4043;
|
1431 |
+
font-size: 12px;
|
1432 |
+
}
|
1433 |
+
#seopress_cpt .google-snippet-preview.mobile-preview .snippet-favicon {
|
1434 |
+
margin-right: 12px;
|
1435 |
+
vertical-align: middle;
|
1436 |
+
}
|
1437 |
+
#seopress_cpt .google-snippet-preview.mobile-preview .snippet-favicon img {
|
1438 |
width: 16px;
|
1439 |
height: 16px;
|
1440 |
+
max-width: inherit;
|
|
|
1441 |
}
|
1442 |
+
#seopress_cpt
|
1443 |
+
.google-snippet-preview.mobile-preview
|
1444 |
+
.wrap-snippet
|
1445 |
+
.snippet-permalink:first-child {
|
1446 |
+
color: #3c4043;
|
1447 |
+
white-space: nowrap;
|
1448 |
+
font-size: 12px;
|
1449 |
display: block;
|
1450 |
+
}
|
1451 |
+
#seopress_cpt .google-snippet-preview .snippet-description,
|
1452 |
+
#seopress_cpt .google-snippet-preview .snippet-description-custom,
|
1453 |
+
#seopress_cpt .google-snippet-preview .snippet-description-default {
|
1454 |
+
color: #545454;
|
1455 |
+
font-size: 14px;
|
1456 |
+
font-weight: 400;
|
1457 |
+
line-height: 18.2px;
|
1458 |
+
display: inline;
|
1459 |
+
}
|
1460 |
+
#seopress_cpt .google-snippet-preview.mobile-preview .snippet-description,
|
1461 |
+
#seopress_cpt
|
1462 |
+
.google-snippet-preview.mobile-preview
|
1463 |
+
.snippet-description-custom,
|
1464 |
+
#seopress_cpt
|
1465 |
+
.google-snippet-preview.mobile-preview
|
1466 |
+
.snippet-description-default {
|
1467 |
+
color: #3c4043;
|
1468 |
+
font-size: 14px;
|
1469 |
+
line-height: 20px;
|
1470 |
+
}
|
1471 |
+
#seopress_cpt .google-snippet-preview .snippet-date {
|
1472 |
+
color: grey;
|
1473 |
+
display: inline;
|
1474 |
+
}
|
1475 |
+
#seopress_cpt .facebook-snippet-box {
|
1476 |
+
color: #4b4f56;
|
1477 |
+
font-size: 14px;
|
1478 |
+
width: 524px;
|
1479 |
max-width: 100%;
|
|
|
1480 |
}
|
1481 |
+
#seopress_cpt .facebook-snippet-box .notice,
|
1482 |
+
#seopress_cpt .twitter-snippet-box .notice {
|
1483 |
+
padding: 10px 14px;
|
1484 |
+
margin: 0 0 10px 0;
|
1485 |
+
width: 100%;
|
1486 |
}
|
1487 |
+
#seopress_cpt .facebook-snippet-box .notice span,
|
1488 |
+
#seopress_cpt .twitter-snippet-box .notice span {
|
1489 |
+
font-weight: bold;
|
1490 |
+
}
|
1491 |
+
#seopress_cpt .snippet-meta {
|
1492 |
+
display: flex;
|
1493 |
+
overflow: hidden;
|
1494 |
+
max-height: 12px;
|
1495 |
+
}
|
1496 |
+
#seopress_cpt .snippet-fb-site-name,
|
1497 |
+
#seopress_cpt .snippet-fb-url,
|
1498 |
+
#seopress_cpt .fb-by {
|
1499 |
+
color: #606770;
|
1500 |
+
font-size: 12px;
|
1501 |
+
white-space: normal;
|
1502 |
+
line-height: 11px;
|
1503 |
+
text-transform: uppercase;
|
1504 |
+
-webkit-box-orient: vertical;
|
1505 |
+
display: -webkit-box;
|
1506 |
+
text-overflow: ellipsis;
|
1507 |
+
}
|
1508 |
+
#seopress_cpt .fb-sep {
|
1509 |
+
padding-left: 5px;
|
1510 |
+
padding-right: 5px;
|
1511 |
+
color: #606770;
|
1512 |
+
line-height: 11px;
|
1513 |
+
font-size: 12px;
|
1514 |
+
}
|
1515 |
+
#seopress_cpt .facebook-snippet-box .facebook-snippet-text {
|
1516 |
+
border: 1px solid #dadde1;
|
1517 |
+
background-color: #f2f3f5;
|
1518 |
+
padding: 10px 12px;
|
1519 |
+
}
|
1520 |
+
#seopress_cpt .facebook-snippet-box .title-desc {
|
1521 |
+
max-height: 46px;
|
1522 |
+
overflow: hidden;
|
1523 |
+
}
|
1524 |
+
#seopress_cpt .facebook-snippet-box .snippet-fb-title,
|
1525 |
+
#seopress_cpt .facebook-snippet-box .snippet-fb-title-custom,
|
1526 |
+
#seopress_cpt .facebook-snippet-box .snippet-fb-title-default {
|
1527 |
+
font-size: 16px;
|
1528 |
+
line-height: 20px;
|
1529 |
+
margin: 3px 0 0;
|
1530 |
+
padding-top: 2px;
|
1531 |
+
color: #1d2129;
|
1532 |
+
font-weight: 700;
|
1533 |
+
overflow: hidden;
|
1534 |
+
-webkit-box-orient: vertical;
|
1535 |
+
display: -webkit-box;
|
1536 |
+
text-overflow: ellipsis;
|
1537 |
+
white-space: normal;
|
1538 |
+
word-break: break-word;
|
1539 |
+
max-height: 22px;
|
1540 |
+
}
|
1541 |
+
#seopress_cpt .facebook-snippet-box .snippet-fb-description,
|
1542 |
+
#seopress_cpt .facebook-snippet-box .snippet-fb-description-custom,
|
1543 |
+
#seopress_cpt .facebook-snippet-box .snippet-fb-description-default {
|
1544 |
+
color: #606770;
|
1545 |
+
font-size: 14px;
|
1546 |
+
line-height: 20px;
|
1547 |
+
word-break: break-word;
|
1548 |
+
font-family: Helvetica, Arial, sans-serif;
|
1549 |
+
max-height: 80px;
|
1550 |
+
overflow: hidden;
|
1551 |
+
-webkit-box-orient: vertical;
|
1552 |
+
display: -webkit-box;
|
1553 |
+
text-overflow: ellipsis;
|
1554 |
+
white-space: normal;
|
1555 |
+
width: 100%;
|
1556 |
+
}
|
1557 |
+
#seopress_cpt .facebook-snippet-box img {
|
1558 |
+
display: block;
|
1559 |
+
height: 274px;
|
1560 |
+
width: 524px;
|
1561 |
+
object-fit: cover;
|
1562 |
+
background-color: #f0f0f0;
|
1563 |
text-align: center;
|
1564 |
+
border-bottom: none;
|
|
|
|
|
|
|
1565 |
}
|
1566 |
+
#seopress_cpt .twitter-snippet-box {
|
1567 |
+
color: #4b4f56;
|
1568 |
+
font-size: 14px;
|
1569 |
+
width: 436px;
|
1570 |
+
}
|
1571 |
+
#seopress_cpt .snippet-twitter-url {
|
1572 |
+
color: #8899a6;
|
1573 |
+
font-size: 14px;
|
1574 |
+
white-space: normal;
|
1575 |
+
line-height: 11px;
|
|
|
|
|
|
|
|
|
1576 |
text-transform: uppercase;
|
1577 |
+
-webkit-box-orient: vertical;
|
1578 |
+
display: -webkit-box;
|
1579 |
+
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
|
|
|
|
|
1580 |
}
|
1581 |
+
#seopress_cpt .twitter-snippet-box .twitter-snippet-text {
|
1582 |
+
border: 1px solid #dadde1;
|
1583 |
+
background-color: #fff;
|
1584 |
+
padding: 10px 12px;
|
1585 |
+
border-radius: 0 0 10px 10px;
|
|
|
|
|
|
|
|
|
|
|
1586 |
}
|
1587 |
+
#seopress_cpt .twitter-snippet-box .title-desc {
|
1588 |
+
max-height: 46px;
|
1589 |
+
overflow: hidden;
|
1590 |
}
|
1591 |
+
#seopress_cpt .twitter-snippet-box .snippet-twitter-img,
|
1592 |
+
#seopress_cpt .twitter-snippet-box .snippet-twitter-img-default,
|
1593 |
+
#seopress_cpt .twitter-snippet-box .snippet-twitter-img-custom {
|
1594 |
+
border-radius: 10px 10px 0 0;
|
1595 |
+
overflow: hidden;
|
|
|
|
|
1596 |
}
|
1597 |
+
#seopress_cpt .twitter-snippet-box .snippet-twitter-title,
|
1598 |
+
#seopress_cpt .twitter-snippet-box .snippet-twitter-title-custom,
|
1599 |
+
#seopress_cpt .twitter-snippet-box .snippet-twitter-title-default {
|
1600 |
+
font-size: 1em;
|
1601 |
+
line-height: 20px;
|
1602 |
+
margin-bottom: 5px;
|
1603 |
+
max-height: 1.3em;
|
1604 |
+
color: #000;
|
1605 |
+
font-weight: 700;
|
1606 |
+
overflow: hidden;
|
1607 |
+
-webkit-box-orient: vertical;
|
1608 |
+
display: -webkit-box;
|
1609 |
+
text-overflow: ellipsis;
|
1610 |
+
white-space: normal;
|
1611 |
+
word-break: break-word;
|
1612 |
}
|
1613 |
+
#seopress_cpt .twitter-snippet-box .snippet-twitter-description,
|
1614 |
+
#seopress_cpt .twitter-snippet-box .snippet-twitter-description-custom,
|
1615 |
+
#seopress_cpt .twitter-snippet-box .snippet-twitter-description-default {
|
1616 |
+
color: #000;
|
1617 |
+
font-size: 14px;
|
1618 |
+
line-height: 20px;
|
1619 |
+
word-break: break-word;
|
1620 |
+
font-family: Helvetica, Arial, sans-serif;
|
1621 |
+
max-height: 80px;
|
1622 |
+
overflow: hidden;
|
1623 |
+
-webkit-box-orient: vertical;
|
1624 |
+
display: -webkit-box;
|
1625 |
+
text-overflow: ellipsis;
|
1626 |
+
white-space: normal;
|
1627 |
+
width: 100%;
|
1628 |
+
}
|
1629 |
+
#seopress_cpt .twitter-snippet-box img {
|
1630 |
+
display: block;
|
1631 |
+
height: 200px;
|
1632 |
+
width: 436px;
|
1633 |
+
object-fit: cover;
|
1634 |
+
background-color: #f0f0f0;
|
1635 |
+
text-align: center;
|
1636 |
+
border-bottom: none;
|
1637 |
+
}
|
1638 |
+
.wrap-toggle-preview {
|
1639 |
position: relative;
|
|
|
|
|
1640 |
}
|
1641 |
+
.wrap-toggle-preview p {
|
1642 |
+
font-weight: bold;
|
1643 |
+
margin: 0 0 1rem 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
1644 |
}
|
1645 |
+
#seopress_add_to_insights {
|
1646 |
+
margin-left: 1rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1647 |
}
|
1648 |
+
#seopress_add_to_insights_status {
|
1649 |
+
display: inline-block;
|
1650 |
+
font-weight: bold;
|
1651 |
+
margin: 0 0 0 1rem;
|
1652 |
+
vertical-align: middle;
|
1653 |
+
padding: 0.3rem;
|
1654 |
+
font-style: italic;
|
1655 |
}
|
1656 |
+
/* Counters */
|
1657 |
+
#seopress_cpt .wrap-seopress-counters,
|
1658 |
+
#seopress_pro_cpt .wrap-seopress-counters,
|
1659 |
+
.seopress-styles .wrap-seopress-counters,
|
1660 |
+
.seopress-setup .wrap-seopress-counters {
|
1661 |
+
text-align: right;
|
1662 |
+
background: #e9ecef;
|
1663 |
+
padding: 2px 5px;
|
1664 |
+
display: flex;
|
1665 |
+
font-size: 12px;
|
1666 |
+
justify-content: flex-end;
|
1667 |
+
border-radius: 0 0 0.25rem 0.25rem;
|
1668 |
}
|
1669 |
+
#seopress_cpt .sp-progress,
|
1670 |
+
#seopress_pro_cpt .sp-progress,
|
1671 |
+
.seopress-styles .sp-progress,
|
1672 |
+
.seopress-setup .sp-progress {
|
1673 |
+
display: flex;
|
1674 |
+
height: 1rem;
|
1675 |
overflow: hidden;
|
1676 |
+
font-size: 0.75rem;
|
1677 |
+
background-color: #e9ecef;
|
1678 |
+
border-radius: 0.25rem 0.25rem 0 0;
|
1679 |
+
margin: -15px 0 0 0;
|
1680 |
+
}
|
1681 |
+
#seopress_cpt .sp-progress-bar,
|
1682 |
+
#seopress_pro_cpt .sp-progress-bar,
|
1683 |
+
.seopress-styles .sp-progress-bar,
|
1684 |
+
.seopress-setup .sp-progress-bar {
|
1685 |
+
display: flex;
|
1686 |
+
flex-direction: column;
|
1687 |
+
justify-content: center;
|
1688 |
+
color: #fff;
|
1689 |
+
text-align: center;
|
1690 |
white-space: nowrap;
|
1691 |
+
background-color: #0085ba;
|
1692 |
+
transition: width 0.6s ease;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1693 |
}
|
1694 |
+
#seopress_cpt #seopress_titles_desc_counters,
|
1695 |
+
#seopress_cpt #seopress_titles_title_counters,
|
1696 |
+
#seopress_pro_cpt #seopress_rich_snippets_articles_counters,
|
1697 |
+
#seopress_pro_cpt #seopress_rich_snippets_courses_counters {
|
1698 |
+
display: inline;
|
1699 |
+
margin-right: 5px;
|
1700 |
}
|
1701 |
+
#seopress_cpt #seopress_titles_desc_counters_val,
|
1702 |
+
#seopress_cpt #seopress_titles_title_counters_val,
|
1703 |
+
#seopress_pro_cpt #seopress_rich_snippets_articles_counters_val,
|
1704 |
+
#seopress_pro_cpt #seopress_rich_snippets_courses_counters_val {
|
1705 |
+
display: inline;
|
1706 |
+
font-weight: 700;
|
|
|
|
|
1707 |
}
|
1708 |
|
1709 |
+
#tab-panel-seopress_titles_help_tab li span {
|
1710 |
+
font-weight: 700;
|
1711 |
+
margin-right: 10px;
|
|
|
1712 |
}
|
1713 |
|
1714 |
+
.seopress-styles .seopress-option {
|
1715 |
+
margin: 85px 40px 40px;
|
|
|
|
|
|
|
|
|
|
|
1716 |
}
|
1717 |
+
@media only screen and (max-width: 782px) {
|
1718 |
+
.seopress-styles .seopress-option {
|
1719 |
+
margin: 85px 22px 22px;
|
1720 |
+
}
|
|
|
|
|
|
|
1721 |
}
|
1722 |
+
.seopress-styles .seopress-option h1 {
|
1723 |
+
font-size: var(--titleFontSize);
|
1724 |
+
color: var(--titleColor);
|
1725 |
+
font-weight: var(--titleFontWeight);
|
1726 |
+
margin: var(--titleMargin);
|
1727 |
+
display: flex;
|
1728 |
+
justify-content: space-between;
|
|
|
|
|
|
|
1729 |
}
|
1730 |
+
/* Titles & metas */
|
1731 |
+
.seopress_wrap_single_cpt,
|
1732 |
+
.seopress_wrap_tax,
|
1733 |
+
.seopress_wrap_archive_cpt,
|
1734 |
+
.seopress_wrap_single_tax {
|
1735 |
+
margin: 0 0 20px 0;
|
1736 |
}
|
1737 |
+
#tab_seopress_titles_single .form-table th:empty,
|
1738 |
+
#tab_seopress_titles_archives .form-table th:empty,
|
1739 |
+
#tab_seopress_titles_tax .form-table th:empty {
|
1740 |
+
display: none;
|
|
|
|
|
|
|
|
|
1741 |
}
|
1742 |
+
.seopress-styles .seopress-option .link-archive {
|
1743 |
+
font-size: var(--fontSize);
|
|
|
|
|
|
|
|
|
|
|
1744 |
}
|
1745 |
+
.seopress-styles .seopress-option .link-archive .dashicons {
|
1746 |
+
font-size: 18px;
|
1747 |
+
width: 20px;
|
1748 |
+
height: 20px;
|
1749 |
+
margin: inherit;
|
1750 |
}
|
1751 |
+
/* General options page */
|
1752 |
+
.seopress-option h1 .feature-state .dashicons {
|
1753 |
font-size: 16px;
|
1754 |
+
width: 16px;
|
1755 |
+
height: 16px;
|
1756 |
+
vertical-align: middle;
|
1757 |
+
margin: 0 10px 0 0;
|
1758 |
}
|
1759 |
+
.seopress-styles .seopress-option .submit {
|
1760 |
+
padding: 20px 0px 20px 0px;
|
1761 |
+
left: 0;
|
1762 |
+
margin: 0;
|
1763 |
+
position: sticky;
|
1764 |
+
bottom: 0;
|
1765 |
+
z-index: 100;
|
1766 |
+
display: inline-block;
|
1767 |
}
|
1768 |
+
@media only screen and (max-width: 782px) {
|
1769 |
+
.seopress-styles .seopress-option .submit {
|
1770 |
+
position: relative;
|
1771 |
+
}
|
1772 |
}
|
1773 |
+
.seopress-styles .seopress-option .seopress-tab .submit {
|
1774 |
+
display: block;
|
1775 |
+
position: relative;
|
1776 |
}
|
1777 |
+
.seopress-styles #wpcontent {
|
1778 |
+
padding-left: 0;
|
|
|
1779 |
}
|
1780 |
+
.seopress-styles pre {
|
1781 |
+
font-family: Menlo, Monaco, Andale Mono, Courier New, monospace;
|
1782 |
+
padding: 10px;
|
1783 |
+
display: inline-block;
|
1784 |
+
background-color: var(--backgroundSecondaryHover);
|
1785 |
+
border-radius: 3px;
|
1786 |
+
color: var(--colorDark);
|
1787 |
+
font-size: var(--fontSize);
|
1788 |
+
/* display: none; */
|
1789 |
}
|
|
|
1790 |
.seopress-option .seopress-settings {
|
1791 |
float: left;
|
1792 |
max-width: 750px;
|
1793 |
width: 100%;
|
1794 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1795 |
.seopress-option .seopress-settings label {
|
1796 |
margin: 0 0 0 10px;
|
1797 |
}
|
|
|
1798 |
.wrap-seopress-tab-content {
|
1799 |
position: relative;
|
1800 |
display: block;
|
1801 |
width: 100%;
|
1802 |
max-width: 64rem;
|
1803 |
margin: 0 auto;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1804 |
}
|
|
|
1805 |
#seopress-tabs .seopress-tab {
|
1806 |
+
padding: 10px 1.5rem;
|
1807 |
+
width: 100%;
|
1808 |
display: none;
|
1809 |
}
|
1810 |
+
#seopress-tabs.full-width .seopress-tab {
|
1811 |
+
width: 100%;
|
1812 |
+
}
|
1813 |
@media only screen and (max-width: 1024px) {
|
1814 |
#seopress-tabs .seopress-tab {
|
1815 |
width: 100%;
|
1816 |
}
|
1817 |
}
|
|
|
1818 |
#seopress-tabs .seopress-tab.active {
|
1819 |
display: inline-block;
|
1820 |
+
background: #fff;
|
1821 |
}
|
|
|
1822 |
@media only screen and (max-width: 782px) {
|
1823 |
#seopress-tabs .seopress-tab.active {
|
1824 |
width: 100%;
|
|
|
1825 |
border-left: none;
|
1826 |
border-top: 1px solid RGB(238, 238, 238);
|
1827 |
}
|
1828 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1829 |
#seopress_htaccess_file {
|
1830 |
width: 100%;
|
1831 |
}
|
|
|
1832 |
.seopress-option textarea {
|
1833 |
min-height: 100px;
|
1834 |
}
|
1835 |
+
.seopress-option .wp-picker-container button {
|
1836 |
+
box-shadow: none;
|
1837 |
+
border: 1px solid #0071a1;
|
1838 |
+
border-radius: 3px;
|
1839 |
+
background: rgb(243, 245, 246);
|
1840 |
+
text-transform: none;
|
1841 |
+
}
|
1842 |
+
.seopress-option .wp-picker-container input[type="text"].wp-color-picker {
|
1843 |
+
min-width: inherit;
|
1844 |
+
}
|
1845 |
+
.seopress-option .wp-picker-container .wp-picker-default {
|
1846 |
+
margin: 0;
|
1847 |
+
}
|
1848 |
+
.seopress-option .wp-picker-container .wp-picker-clear {
|
1849 |
+
box-shadow: none;
|
1850 |
+
text-transform: none;
|
1851 |
+
border-radius: 0;
|
1852 |
+
background: none;
|
1853 |
+
margin: 0;
|
1854 |
+
}
|
1855 |
+
.seopress-option .wp-picker-container .wp-picker-clear:hover {
|
1856 |
+
background: none;
|
1857 |
+
text-decoration: currentColor;
|
1858 |
+
color: inherit;
|
1859 |
+
}
|
1860 |
+
.seopress-inbox-title p {
|
1861 |
+
font-size: 20px;
|
1862 |
+
color: var(--titleColor);
|
1863 |
+
margin: 0;
|
1864 |
+
}
|
1865 |
+
#seopress-admin-tabs .ui-tabs-nav {
|
1866 |
+
display: flex;
|
1867 |
+
padding-top: 1rem;
|
1868 |
+
padding-bottom: 0;
|
1869 |
+
}
|
1870 |
+
#seopress-admin-tabs .nav-tab-wrapper a.nav-tab-active:focus {
|
1871 |
+
color: inherit;
|
1872 |
}
|
1873 |
+
.seopress-intro {
|
1874 |
+
padding: 20px;
|
|
|
|
|
1875 |
}
|
1876 |
+
.seopress-option .seopress-table {
|
1877 |
+
background: #fff;
|
1878 |
+
border: 1px solid var(--borderColorLight);
|
|
|
|
|
1879 |
}
|
1880 |
+
.seopress-option .seopress-table th {
|
1881 |
+
padding: 15px 10px;
|
1882 |
+
vertical-align: middle;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1883 |
}
|
1884 |
+
.wp-admin-ui_page_seopress-roles .seopress-option .seopress-table th {
|
1885 |
+
min-width: 200px;
|
|
|
|
|
|
|
|
|
1886 |
}
|
1887 |
+
.seopress-option .seopress-table .seopress-settings-section {
|
1888 |
+
background: #f1f1f1;
|
|
|
|
|
|
|
1889 |
}
|
1890 |
+
.seopress-option .seopress-table .seopress-table-head .seopress-feature {
|
1891 |
+
border-bottom: 1px solid var(--borderColorLight);
|
|
|
|
|
|
|
1892 |
font-weight: 700;
|
1893 |
+
background: #f1f1f1;
|
|
|
1894 |
}
|
1895 |
+
#seopress-content .feature-state,
|
1896 |
+
.seopress-option .feature-state {
|
1897 |
+
font-style: italic;
|
1898 |
+
font-size: 11px;
|
1899 |
+
font-weight: normal;
|
1900 |
}
|
1901 |
+
@media only screen and (max-width: 782px) {
|
1902 |
+
#seopress-content .feature-state,
|
1903 |
+
.seopress-option .feature-state {
|
1904 |
+
display: none;
|
1905 |
+
}
|
1906 |
}
|
1907 |
+
.seopress-option #tab_seopress_titles_single h3,
|
1908 |
+
.seopress-option #tab_seopress_titles_archives h3,
|
1909 |
+
.seopress-option #tab_seopress_titles_tax h3 {
|
1910 |
+
margin: 2em 0 1em 0;
|
1911 |
+
border-top: 1px solid var(--borderColorLight);
|
1912 |
+
padding: 1em 0 0 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1913 |
}
|
1914 |
+
.seopress-option #tab_seopress_titles_single h3:first-child,
|
1915 |
+
.seopress-option #tab_seopress_titles_archives h3:first-child,
|
1916 |
+
.seopress-option #tab_seopress_titles_tax h3:first-child {
|
1917 |
+
margin: 0 0 1em 0;
|
1918 |
}
|
1919 |
+
.seopress-option #tab_seopress_titles_single h3 div,
|
1920 |
+
.seopress-option #tab_seopress_titles_archives h3 div,
|
1921 |
+
.seopress-option #tab_seopress_titles_tax h3 div {
|
1922 |
+
display: inline;
|
1923 |
}
|
1924 |
+
#seopress-content .feature-state-on,
|
1925 |
+
#seopress-content .feature-state.feature-state-on,
|
1926 |
+
.seopress-option .feature-state-on,
|
1927 |
+
.seopress-option .feature-state.feature-state-on {
|
1928 |
+
display: inline-block;
|
|
|
1929 |
}
|
1930 |
+
#seopress-content .feature-state-off,
|
1931 |
+
.seopress-option .feature-state-off {
|
1932 |
+
display: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1933 |
}
|
1934 |
+
.seopress-option .postbox .inside li {
|
1935 |
+
list-style: square inside;
|
1936 |
+
padding-left: 5px;
|
|
|
|
|
|
|
|
|
|
|
1937 |
}
|
1938 |
+
#tab_seopress_page_speed .inside li {
|
1939 |
+
list-style: none;
|
1940 |
+
padding-left: 0;
|
1941 |
+
word-break: break-word;
|
1942 |
}
|
1943 |
+
.seopress-option .log {
|
1944 |
+
display: none;
|
1945 |
+
font-weight: bold;
|
|
|
|
|
|
|
|
|
|
|
1946 |
}
|
1947 |
+
.seopress-option input[type="text"].seopress-admin-menu-input {
|
1948 |
+
min-width: inherit;
|
1949 |
+
width: 100%;
|
|
|
|
|
1950 |
}
|
1951 |
+
.seopress_page_seopress-import-export .postbox {
|
1952 |
+
width: calc(100% - 20px);
|
|
|
|
|
|
|
1953 |
}
|
1954 |
+
#seopress_cpt #seopress_titles_title_meta {
|
1955 |
+
margin-bottom: 0.2rem;
|
|
|
1956 |
}
|
1957 |
+
.seopress-option .section-tool {
|
1958 |
+
border: none;
|
1959 |
+
box-shadow: none;
|
1960 |
+
background: none;
|
1961 |
+
position: relative;
|
1962 |
}
|
1963 |
+
.seopress-option .section-tool::after {
|
1964 |
+
content: "";
|
1965 |
+
background: #dedede;
|
1966 |
+
height: 1px;
|
1967 |
+
width: 100%;
|
1968 |
+
display: block;
|
1969 |
}
|
1970 |
+
.seopress-option .section-tool:last-child {
|
1971 |
+
margin-bottom: 0;
|
|
|
1972 |
}
|
1973 |
+
.seopress-option .section-tool:last-child::after {
|
1974 |
+
content: none;
|
|
|
1975 |
}
|
1976 |
+
.seopress-option .section-tool .inside {
|
1977 |
+
padding-left: 0;
|
1978 |
+
padding-right: 0;
|
|
|
|
|
1979 |
}
|
1980 |
+
.seopress-option .sp-section-header {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1981 |
width: 100%;
|
1982 |
+
display: flex;
|
1983 |
+
position: relative;
|
1984 |
+
align-items: center;
|
1985 |
}
|
1986 |
+
.seopress-option .sp-section-header h2 {
|
1987 |
+
font-size: 1.5em;
|
|
|
|
|
|
|
1988 |
}
|
1989 |
+
.seopress-option .sp-section-header > .dashicons {
|
1990 |
+
color: var(--primaryColor);
|
1991 |
+
padding: 10px;
|
1992 |
+
border-radius: 6px;
|
1993 |
+
margin-right: 10px;
|
1994 |
+
background: #c4f0ff;
|
1995 |
}
|
1996 |
+
.seopress-option .sp-section-header .wrap-toggle-checkboxes {
|
|
|
1997 |
display: flex;
|
|
|
|
|
1998 |
}
|
1999 |
+
.seopress-notice {
|
2000 |
+
margin: 5px 0 35px 15px;
|
|
|
|
|
|
|
2001 |
position: relative;
|
2002 |
+
top: 75px;
|
2003 |
+
left: 25px;
|
2004 |
+
background: rgb(0 124 186 / 10%);
|
2005 |
+
border-left: 4px solid var(--primaryColor);
|
2006 |
+
padding: 8px 12px;
|
2007 |
+
width: calc(100% - 108px);
|
2008 |
+
z-index: 10;
|
2009 |
}
|
2010 |
+
.seopress-setup .seopress-notice,
|
2011 |
+
#seopress-tabs .seopress-notice,
|
2012 |
+
#seopress_pro_cpt .seopress-notice {
|
2013 |
+
top: inherit;
|
2014 |
+
left: inherit;
|
2015 |
+
margin: 15px 0 30px 0;
|
2016 |
+
width: auto;
|
|
|
|
|
|
|
|
|
|
|
2017 |
}
|
2018 |
+
.seopress-notice pre {
|
2019 |
+
background: #fff;
|
|
|
|
|
|
|
|
|
|
|
|
|
2020 |
}
|
2021 |
+
.seopress-notice.is-success {
|
2022 |
+
border-left-color: var(--colorSuccess);
|
2023 |
+
background: #eff9f1;
|
|
|
|
|
|
|
|
|
2024 |
}
|
2025 |
+
.seopress-notice.is-warning {
|
2026 |
+
border-left-color: #f0b849;
|
2027 |
+
background: #fef8ee;
|
|
|
|
|
2028 |
}
|
2029 |
+
.seopress-notice.is-error {
|
2030 |
+
border-left-color: #cc1818;
|
2031 |
+
background: rgb(244 162 162 / 30%);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2032 |
}
|
2033 |
+
#seopress-tabs.wrap {
|
2034 |
+
margin: 30px 0 0 0;
|
|
|
2035 |
}
|
2036 |
+
#seopress-tabs.wrap ul,
|
2037 |
+
#seopress-notifications-center .seopress-alert ul {
|
2038 |
+
list-style: square inside;
|
2039 |
+
padding-left: 5px;
|
2040 |
+
display: inline-block;
|
2041 |
+
max-width: 35rem;
|
2042 |
+
width: 100%;
|
2043 |
+
}
|
2044 |
+
.post-type-seopress_404 .seopress-BlankState-message::before,
|
2045 |
+
.post-type-seopress_schemas .seopress-BlankState-message::before {
|
2046 |
font-family: "Dashicons";
|
2047 |
+
speak: none;
|
2048 |
+
font-weight: 400;
|
2049 |
+
font-variant: normal;
|
2050 |
+
text-transform: none;
|
2051 |
+
line-height: 1;
|
2052 |
+
margin: 0;
|
2053 |
+
text-indent: 0;
|
2054 |
position: absolute;
|
2055 |
+
top: 0;
|
2056 |
+
left: 0;
|
2057 |
+
width: 100%;
|
2058 |
+
height: 100%;
|
2059 |
+
text-align: center;
|
2060 |
+
content: "\f103";
|
2061 |
}
|
2062 |
+
.post-type-seopress_schemas .seopress-BlankState-message::before {
|
2063 |
+
content: "\f495";
|
|
|
|
|
|
|
2064 |
}
|
2065 |
+
.seopress-BlankState {
|
2066 |
+
text-align: center;
|
2067 |
+
padding: 5em 0 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2068 |
}
|
2069 |
+
.seopress-BlankState .seopress-BlankState-message {
|
2070 |
+
color: #aaa;
|
2071 |
+
margin: 0 auto 1.5em;
|
2072 |
+
line-height: 1.5em;
|
2073 |
+
font-size: 1.2em;
|
2074 |
+
max-width: 500px;
|
2075 |
}
|
2076 |
+
.seopress-BlankState .seopress-BlankState-message::before {
|
2077 |
+
color: #ddd;
|
2078 |
+
text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.8);
|
2079 |
+
font-size: 8em;
|
2080 |
+
display: block;
|
2081 |
+
position: relative !important;
|
2082 |
+
top: auto;
|
2083 |
+
left: auto;
|
2084 |
+
line-height: 1em;
|
2085 |
+
margin: 0 0 0.1875em;
|
2086 |
}
|
2087 |
+
.seopress-BlankState .seopress-BlankState-cta {
|
2088 |
+
font-size: 1.2em;
|
2089 |
+
padding: 0.75em 1.5em;
|
2090 |
+
margin: 0 0.25em;
|
2091 |
}
|
2092 |
+
.seopress-BlankState {
|
2093 |
+
max-width: 764px;
|
2094 |
+
text-align: center;
|
2095 |
+
margin: auto;
|
2096 |
}
|
2097 |
+
.seopress-BlankState .seopress-BlankState-message {
|
2098 |
+
color: var(--titleColor);
|
2099 |
+
font-size: 1.5em;
|
2100 |
+
margin: 0 auto 1em;
|
|
|
|
|
|
|
2101 |
}
|
2102 |
+
.seopress-BlankState .seopress-BlankState-message::before {
|
2103 |
+
font-size: 120px;
|
|
|
|
|
|
|
2104 |
}
|
2105 |
+
.seopress-BlankState .seopress-BlankState-buttons {
|
2106 |
+
margin-bottom: 4em;
|
|
|
|
|
|
|
2107 |
}
|
2108 |
+
#seopress_content_analysis .up,
|
2109 |
+
#seopress_content_analysis .up .dashicons {
|
2110 |
+
color: var(--colorSuccess);
|
2111 |
}
|
2112 |
|
2113 |
+
#seopress_content_analysis .down,
|
2114 |
+
#seopress_content_analysis .down .dashicons {
|
2115 |
+
color: var(--colorAlert);
|
|
|
2116 |
}
|
2117 |
|
2118 |
+
#seopress_content_analysis .up .dashicons {
|
2119 |
+
transform: rotateZ(45deg);
|
|
|
|
|
|
|
2120 |
}
|
2121 |
|
2122 |
+
#seopress_content_analysis .stable .dashicons {
|
2123 |
+
transform: rotateZ(90deg);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2124 |
}
|
2125 |
|
2126 |
+
#seopress_content_analysis .down .dashicons {
|
2127 |
+
transform: rotateZ(135deg);
|
2128 |
}
|
2129 |
+
#seopress_content_analysis .wrap-insights-post {
|
2130 |
+
clear: both;
|
2131 |
+
border-top: 1px solid var(--borderColorCard);
|
2132 |
+
display: flex;
|
2133 |
+
align-items: center;
|
2134 |
}
|
2135 |
+
#seopress_content_analysis .wrap-insights-post .widget-insights-title {
|
2136 |
+
margin: 0 1rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2137 |
}
|
2138 |
+
#seopress_content_analysis .wrap-insights-post span {
|
2139 |
+
font-weight: 700;
|
2140 |
+
margin: 0 0.2rem 0 0;
|
2141 |
}
|
2142 |
+
.wrap-user-roles {
|
2143 |
+
display: grid;
|
2144 |
+
grid-template-columns: repeat(4, 1fr);
|
|
|
2145 |
}
|
2146 |
+
@media only screen and (max-width: 782px) {
|
2147 |
+
.wrap-user-roles {
|
2148 |
+
display: block;
|
2149 |
+
}
|
|
|
|
|
2150 |
}
|
2151 |
+
/* Notifications */
|
2152 |
+
#seopress-notifications-center.is-active,
|
2153 |
+
#seopress-news-panel.is-active {
|
2154 |
+
display: block !important;
|
2155 |
}
|
|
|
2156 |
#seopress-notifications-center .seopress-alert {
|
2157 |
+
padding: 16px 25px;
|
|
|
|
|
|
|
2158 |
position: relative;
|
2159 |
transition: all 150ms ease;
|
|
|
|
|
2160 |
justify-content: space-between;
|
2161 |
+
margin-bottom: 20px;
|
2162 |
}
|
|
|
2163 |
#seopress-notifications-center .seopress-alert:last-child {
|
2164 |
margin-bottom: 0;
|
2165 |
border-bottom: none;
|
2166 |
}
|
|
|
|
|
|
|
|
|
|
|
2167 |
#seopress-notifications-center .dashicons {
|
2168 |
display: flex;
|
2169 |
align-self: normal;
|
2170 |
+
width: 30px;
|
2171 |
+
height: 30px;
|
2172 |
+
color: var(--colorIcon);
|
2173 |
+
font-size: 30px;
|
2174 |
+
margin: 0 0 10px 0;
|
|
|
|
|
|
|
|
|
2175 |
}
|
2176 |
+
#seopress-admin-tabs #tab_seopress_notifications.seopress-tab {
|
2177 |
+
background: 0 0;
|
2178 |
+
padding: 0;
|
2179 |
+
border-radius: 0;
|
2180 |
+
width: 100%;
|
2181 |
}
|
2182 |
+
/* Notice */
|
2183 |
+
.seopress-notice #message {
|
2184 |
+
margin: 5px 10px 2px 0;
|
|
|
2185 |
}
|
2186 |
+
#seopress-notice a {
|
2187 |
+
position: relative;
|
2188 |
+
text-decoration: none;
|
2189 |
+
margin: 0 0 0 0.3rem;
|
2190 |
}
|
2191 |
+
#seopress-notice a .tooltip {
|
2192 |
+
white-space: pre;
|
2193 |
+
z-index: 200;
|
2194 |
+
padding: 2px 5px;
|
2195 |
+
font-weight: 500;
|
2196 |
+
font-size: 12px;
|
2197 |
+
color: #aab7c4;
|
2198 |
+
background: #fff;
|
2199 |
+
box-shadow: 0 1px 2px 0 rgba(49, 49, 93, 0.1), 0 0 1px 0 rgba(0, 0, 0, 0.1);
|
2200 |
+
border-radius: 2px;
|
2201 |
position: absolute;
|
2202 |
+
opacity: 0;
|
2203 |
+
top: 30px;
|
2204 |
+
transition: opacity 0.2s ease;
|
2205 |
+
visibility: hidden;
|
2206 |
+
line-height: 20px;
|
2207 |
+
left: -100%;
|
2208 |
+
overflow: hidden;
|
2209 |
}
|
2210 |
+
#seopress-notice a:hover .tooltip {
|
2211 |
+
opacity: 1;
|
2212 |
+
visibility: visible;
|
2213 |
}
|
2214 |
+
.seopress-page-list {
|
2215 |
+
margin: 1.5rem auto;
|
|
|
2216 |
}
|
2217 |
+
.post-type-seopress_404 .seopress-notice,
|
2218 |
+
.post-type-seopress_schemas .seopress-notice,
|
2219 |
+
.post-type-seopress_bot .seopress-notice {
|
2220 |
+
left: 0;
|
2221 |
+
top: 40px;
|
2222 |
+
margin: 0 0 50px;
|
2223 |
+
width: calc(100% - 48px);
|
2224 |
}
|
2225 |
+
/* Searchbox */
|
2226 |
+
.seopress-search {
|
2227 |
+
position: relative;
|
2228 |
+
padding: 20px;
|
2229 |
}
|
2230 |
+
.seopress-search::before {
|
2231 |
+
content: "\f179";
|
2232 |
+
font-family: "Dashicons";
|
2233 |
position: absolute;
|
2234 |
+
top: 35px;
|
2235 |
+
left: 30px;
|
2236 |
font-size: 20px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2237 |
}
|
2238 |
+
.seopress-search input {
|
2239 |
+
padding-left: 40px;
|
|
|
|
|
2240 |
}
|
2241 |
+
/* Item */
|
2242 |
+
.seopress-item-toggle-options {
|
2243 |
+
position: relative;
|
|
|
2244 |
cursor: pointer;
|
2245 |
+
padding: 5px 10px;
|
2246 |
+
border: 1px solid var(--borderColor);
|
2247 |
+
border-radius: 3px;
|
2248 |
+
transform: rotate(90deg);
|
2249 |
}
|
2250 |
+
.seopress-item-toggle-options::before {
|
2251 |
+
content: "\f11c";
|
2252 |
+
font-family: "Dashicons";
|
2253 |
+
font-size: 18px;
|
2254 |
+
vertical-align: middle;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2255 |
}
|
2256 |
+
/* Card */
|
2257 |
+
.seopress-card {
|
2258 |
background: #fff;
|
2259 |
+
border: 1px solid var(--borderColorCard);
|
2260 |
+
border-radius: 3px;
|
2261 |
+
position: relative;
|
2262 |
}
|
2263 |
+
.seopress-option .seopress-card-actions button {
|
2264 |
+
margin-left: 0.5em;
|
|
|
|
|
2265 |
}
|
2266 |
+
.seopress-card-title {
|
2267 |
+
border-bottom: 1px solid var(--borderColorCard);
|
2268 |
+
padding: 18px 24px;
|
2269 |
+
display: flex;
|
2270 |
+
justify-content: space-between;
|
2271 |
+
align-items: center;
|
2272 |
}
|
2273 |
+
.seopress-card-title h2 {
|
2274 |
+
margin: 0;
|
|
|
2275 |
}
|
2276 |
+
.seopress-cart-list {
|
2277 |
+
border-bottom: 1px solid var(--borderColorCard);
|
2278 |
+
padding: 18px 24px;
|
2279 |
+
display: flex;
|
2280 |
+
align-items: center;
|
2281 |
+
text-decoration: none;
|
2282 |
+
color: var(--primaryColor);
|
2283 |
+
font-weight: bold;
|
2284 |
+
line-height: 20px;
|
2285 |
+
}
|
2286 |
+
.seopress-cart-list:last-child {
|
2287 |
+
border-bottom: none;
|
2288 |
}
|
2289 |
+
.seopress-cart-list:hover,
|
2290 |
+
.seopress-cart-list:focus,
|
2291 |
+
.seopress-cart-list:active {
|
2292 |
+
background: var(--backgroundSecondaryHover);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2293 |
}
|
2294 |
+
body .seopress-cart-list h3 {
|
2295 |
+
font-size: var(--fontSize);
|
2296 |
+
color: var(--primaryColor);
|
2297 |
+
font-weight: bold;
|
2298 |
+
margin: 0;
|
|
|
2299 |
}
|
2300 |
+
.seopress-cart-list p {
|
2301 |
+
color: var(--titleColor);
|
2302 |
+
font-weight: normal;
|
2303 |
+
margin: 0;
|
2304 |
+
font-size: 12px;
|
2305 |
+
line-height: 20px;
|
2306 |
}
|
2307 |
+
.seopress-card-footer {
|
2308 |
+
padding: 10px 20px;
|
2309 |
+
border-top: 1px solid var(--borderColorLight40);
|
|
|
|
|
|
|
|
|
2310 |
}
|
2311 |
+
.seopress-card-popover {
|
2312 |
+
display: none;
|
2313 |
+
background: #fff;
|
2314 |
+
border: 1px solid var(--borderColor);
|
2315 |
+
padding: 20px;
|
2316 |
+
position: absolute;
|
2317 |
+
top: 55px;
|
2318 |
+
overflow-y: auto;
|
2319 |
+
right: 28px;
|
2320 |
+
z-index: 20;
|
2321 |
}
|
2322 |
+
.seopress-card-popover.is-open {
|
2323 |
+
display: block;
|
2324 |
+
}
|
2325 |
+
/* Quick tags */
|
2326 |
#seopress_cpt .tag-title,
|
2327 |
.seopress-button,
|
2328 |
.seopress-option .tag-title,
|
2334 |
border-radius: 4px;
|
2335 |
transition: all 0.3s linear;
|
2336 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2337 |
#seopress_cpt .wrap-tags,
|
2338 |
.seopress-option .wrap-tags,
|
2339 |
#seopress_pro_cpt .wrap-tags {
|
2340 |
position: relative;
|
2341 |
+
display: inline-flex;
|
2342 |
width: 100%;
|
2343 |
+
margin: 10px 0;
|
2344 |
+
}
|
2345 |
+
|
2346 |
+
@media only screen and (max-width: 782px) {
|
2347 |
+
#seopress_cpt .wrap-tags,
|
2348 |
+
.seopress-option .wrap-tags,
|
2349 |
+
#seopress_pro_cpt .wrap-tags {
|
2350 |
+
flex-wrap: wrap;
|
2351 |
+
}
|
2352 |
}
|
2353 |
|
2354 |
#seopress_cpt .sp-wrap-tag-variables-list,
|
2358 |
float: left;
|
2359 |
display: none;
|
2360 |
}
|
|
|
2361 |
#seopress_cpt .sp-tag-variables-list,
|
2362 |
#seopress_pro_cpt .sp-tag-variables-list,
|
2363 |
+
#seopress-tabs.wrap .sp-tag-variables-list {
|
|
|
2364 |
position: absolute;
|
2365 |
+
left: -48px;
|
2366 |
width: 300px;
|
|
|
2367 |
z-index: 100;
|
2368 |
top: 20px;
|
2369 |
+
color: var(--titleColor);
|
|
|
|
|
|
|
2370 |
height: 300px;
|
2371 |
z-index: 100;
|
2372 |
overflow: auto;
|
2373 |
+
background: #fff;
|
2374 |
+
border: 1px solid var(--borderColorLight);
|
2375 |
+
box-shadow: 0 2px 6px rgb(0 0 0 / 5%);
|
2376 |
+
border-radius: 2px;
|
2377 |
+
list-style: none;
|
2378 |
+
padding: 0;
|
2379 |
}
|
|
|
|
|
|
|
|
|
|
|
2380 |
#seopress_cpt .sp-wrap-tag-variables-list.open,
|
2381 |
#seopress_pro_cpt .sp-wrap-tag-variables-list.open,
|
2382 |
#seopress-tabs .sp-wrap-tag-variables-list.open {
|
2383 |
display: block;
|
2384 |
}
|
|
|
2385 |
#seopress_cpt .seopress-tag-single-all.tag-title .dashicons,
|
2386 |
#seopress_cpt .seopress-tag-single-all.seopress-tag-dropdown .dashicons,
|
2387 |
#seopress_pro_cpt .seopress-tag-single-all.tag-title .dashicons,
|
2390 |
margin: 0;
|
2391 |
transition: all 150ms linear;
|
2392 |
}
|
|
|
2393 |
#seopress_cpt .seopress-tag-single-all.open .dashicons,
|
2394 |
#seopress_pro_cpt .seopress-tag-single-all.open .dashicons,
|
2395 |
#seopress-tabs .seopress-tag-single-all.open .dashicons {
|
2396 |
transform: rotateX(180deg);
|
2397 |
}
|
|
|
2398 |
#seopress_cpt .sp-tag-variables-list li,
|
2399 |
#seopress_pro_cpt .sp-tag-variables-list li,
|
2400 |
+
#seopress-tabs.wrap .sp-tag-variables-list li {
|
2401 |
padding: 8px 12px;
|
2402 |
cursor: pointer;
|
2403 |
margin: 0;
|
2404 |
+
border-bottom: 1px solid var(--borderColorLight40);
|
2405 |
}
|
|
|
2406 |
#seopress_cpt .sp-tag-variables-list li span,
|
2407 |
#seopress_pro_cpt .sp-tag-variables-list li span,
|
2408 |
#seopress-tabs .sp-tag-variables-list li span {
|
2411 |
font-size: 12px;
|
2412 |
margin-bottom: 2px;
|
2413 |
}
|
|
|
2414 |
#seopress_cpt .sp-tag-variables-list li:hover,
|
2415 |
#seopress_pro_cpt .sp-tag-variables-list li:hover,
|
2416 |
+
#seopress-tabs.wrap .sp-tag-variables-list li:hover {
|
2417 |
+
background: var(--backgroundPrimaryHover);
|
2418 |
color: #fff;
|
2419 |
+
border-bottom-color: #fff;
|
2420 |
}
|
|
|
2421 |
#seopress_cpt .sp-tag-variables-list li::after,
|
2422 |
#seopress_pro_cpt .sp-tag-variables-list li::after,
|
2423 |
+
#seopress-tabs.wrap .sp-tag-variables-list li::after {
|
2424 |
content: attr(data-value);
|
2425 |
display: inline-block;
|
2426 |
background: #e9ecef;
|
2430 |
border-radius: 3px;
|
2431 |
font-size: 11px;
|
2432 |
}
|
|
|
2433 |
#seopress_cpt .tag-title .dashicons,
|
2434 |
.seopress-option .tag-title .dashicons,
|
2435 |
#seopress_pro_cpt .tag-title .dashicons,
|
2436 |
#seopress_cpt .seopress-tag-dropdown .dashicons,
|
2437 |
+
#seopress-tabs.wrap .seopress-tag-dropdown .dashicons {
|
2438 |
padding: 0;
|
2439 |
height: 16px;
|
2440 |
width: 16px;
|
2441 |
font-size: 16px;
|
2442 |
margin-right: 5px;
|
2443 |
+
color: var(--primaryColor);
|
2444 |
vertical-align: middle;
|
2445 |
}
|
2446 |
+
#seopress_cpt .tag-title:hover .dashicons,
|
2447 |
+
.seopress-option .tag-title:hover .dashicons,
|
2448 |
+
#seopress_pro_cpt .tag-title:hover .dashicons,
|
2449 |
+
#seopress_cpt .seopress-tag-dropdown:hover .dashicons,
|
2450 |
+
#seopress-tabs.wrap .seopress-tag-dropdown:hover .dashicons {
|
2451 |
+
color: #fff;
|
2452 |
+
}
|
2453 |
+
#seopress-tabs.wrap .seopress-tag-dropdown .dashicons {
|
2454 |
+
margin: 0;
|
2455 |
+
}
|
2456 |
.seopress-overlay-tag-dropdown {
|
2457 |
position: absolute;
|
2458 |
display: none;
|
2462 |
height: 100%;
|
2463 |
z-index: 50;
|
2464 |
}
|
|
|
2465 |
.seopress-overlay-tag-dropdown.active {
|
2466 |
display: block;
|
2467 |
}
|
|
|
2468 |
#seopress_cpt .tag-title,
|
2469 |
.seopress-option .tag-title,
|
2470 |
#seopress_pro_cpt .tag-title,
|
2471 |
#seopress_cpt .seopress-tag-dropdown,
|
2472 |
#seopress-tabs .seopress-tag-dropdown {
|
2473 |
+
padding: 5px 12px;
|
2474 |
+
font-size: 10px;
|
|
|
|
|
|
|
|
|
|
|
2475 |
user-select: none;
|
2476 |
+
margin: 0px 5px 0px 0;
|
2477 |
+
display: inline-flex;
|
2478 |
+
text-transform: uppercase;
|
2479 |
+
align-items: center;
|
2480 |
+
color: var(--primaryColor);
|
|
|
2481 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2482 |
#seopress_cpt .tag-title:hover,
|
2483 |
+
#seopress_cpt .tag-title:focus,
|
2484 |
+
.seopress-option .tag-title:hover,
|
2485 |
+
.seopress-option .tag-title:focus,
|
2486 |
+
#seopress_pro_cpt .tag-title:hover,
|
2487 |
+
#seopress_pro_cpt .tag-title:focus,
|
2488 |
+
#seopress_cpt .seopress-tag-dropdown:hover,
|
2489 |
+
#seopress_cpt .seopress-tag-dropdown:focus,
|
2490 |
+
#seopress-tabs .seopress-tag-dropdown:hover,
|
2491 |
+
#seopress-tabs .seopress-tag-dropdown:focus {
|
2492 |
+
box-shadow: 0 0 var(--wp-admin-border-width-focus) var(--backgroundPrimary);
|
2493 |
+
background: var(--backgroundPrimaryHover);
|
2494 |
color: #fff;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2495 |
}
|
2496 |
+
@media only screen and (max-width: 782px) {
|
2497 |
+
#seopress_cpt .tag-title,
|
2498 |
+
.seopress-option .tag-title,
|
2499 |
+
#seopress_pro_cpt .tag-title,
|
2500 |
+
#seopress_cpt .seopress-tag-dropdown,
|
2501 |
+
#seopress-tabs .seopress-tag-dropdown {
|
2502 |
+
margin-bottom: 10px;
|
2503 |
+
}
|
2504 |
}
|
2505 |
|
2506 |
#seopress-content .seopress-useful-tools .widget-reverse li {
|
2507 |
padding: 10px;
|
2508 |
margin: 0;
|
2509 |
+
border-bottom: 1px solid var(--borderColorLight);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2510 |
}
|
|
|
2511 |
#seopress-content .seopress-reverse label,
|
2512 |
#seopress-content .seopress-useful-tools .widget-whois ul li span {
|
2513 |
font-weight: 700;
|
2514 |
}
|
|
|
2515 |
#seopress-content #seopress-reverse-url {
|
2516 |
width: 100%;
|
2517 |
margin: 10px 0;
|
2518 |
}
|
|
|
2519 |
#seopress-content .widget-reverse p {
|
2520 |
margin: 0;
|
2521 |
}
|
2522 |
+
/* Help tab */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2523 |
.seopress-styles #screen-meta {
|
|
|
2524 |
position: relative;
|
2525 |
+
top: 60px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2526 |
}
|
|
|
2527 |
.seopress-styles #screen-meta-links .show-settings {
|
2528 |
box-shadow: none;
|
2529 |
}
|
|
|
2530 |
.seopress-styles #screen-meta-links .screen-meta-toggle {
|
2531 |
+
position: fixed;
|
2532 |
+
top: 32px;
|
2533 |
z-index: 2000;
|
2534 |
+
right: 40px;
|
2535 |
}
|
2536 |
+
@media only screen and (max-width: 782px) {
|
2537 |
+
.seopress-styles #screen-meta-links .screen-meta-toggle {
|
2538 |
+
position: relative;
|
2539 |
+
top: 60px;
|
2540 |
+
}
|
|
|
|
|
|
|
2541 |
}
|
|
|
2542 |
#seopress-content input.toggle,
|
2543 |
.seopress-option input.toggle,
|
2544 |
#seopress_cpt input.toggle {
|
2547 |
opacity: 0;
|
2548 |
position: relative;
|
2549 |
}
|
|
|
2550 |
.seopress-feature input.toggle {
|
2551 |
display: block;
|
2552 |
}
|
2553 |
+
.seopress_wrap_single_cpt input.toggle,
|
2554 |
+
.seopress_wrap_tax input.toggle,
|
2555 |
+
#seopress_cpt input.toggle {
|
2556 |
+
margin: 0;
|
2557 |
+
border: none;
|
2558 |
+
min-width: 0;
|
2559 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2560 |
#seopress-content input.toggle + label,
|
2561 |
.seopress-option input.toggle + label,
|
2562 |
#seopress_cpt #tabs-1 input.toggle + label {
|
2567 |
height: 20px;
|
2568 |
width: 40px;
|
2569 |
border-radius: 15px;
|
2570 |
+
margin: 0 10px 0 0;
|
2571 |
+
}
|
2572 |
+
#seopress-content input.toggle + label {
|
2573 |
+
margin: 0 0px 0 0;
|
2574 |
+
left: -20px;
|
2575 |
}
|
|
|
2576 |
#seopress_cpt #tabs-1 input.toggle + label {
|
2577 |
margin: 0;
|
2578 |
}
|
|
|
2579 |
.wrap-toggle-checkboxes input.toggle + label {
|
2580 |
float: left;
|
2581 |
margin-right: 10px;
|
2582 |
}
|
|
|
2583 |
#seopress-content input.toggle + label:before,
|
2584 |
.seopress-option input.toggle + label:before,
|
2585 |
#seopress_cpt input.toggle + label:before {
|
2592 |
left: 0;
|
2593 |
border-radius: 15px;
|
2594 |
background: rgba(19, 191, 17, 0);
|
|
|
|
|
2595 |
transition: 0.25s ease-in-out;
|
2596 |
}
|
|
|
2597 |
#seopress-content input.toggle + label:after,
|
2598 |
.seopress-option input.toggle + label:after,
|
2599 |
#seopress_cpt input.toggle + label:after {
|
2607 |
border-radius: 15px;
|
2608 |
background: #fff;
|
2609 |
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
|
|
|
2610 |
transition: 0.25s ease-in-out;
|
2611 |
}
|
|
|
2612 |
.seopress_wrap_single_cpt input.toggle + label,
|
2613 |
.seopress_wrap_single_cpt input.toggle + label:before,
|
2614 |
.seopress_wrap_tax input.toggle + label,
|
2618 |
width: 40px;
|
2619 |
height: 20px;
|
2620 |
}
|
|
|
2621 |
.seopress_wrap_single_cpt input.toggle + label:after,
|
2622 |
.seopress_wrap_tax input.toggle + label:after,
|
2623 |
#seopress_cpt input.toggle + label:after {
|
2624 |
width: 20px;
|
2625 |
height: 20px;
|
2626 |
}
|
|
|
2627 |
#seopress-content input.toggle[data-toggle="1"] + label:before,
|
2628 |
.seopress-option input.toggle[data-toggle="1"] + label:before,
|
2629 |
+
#seopress_cpt input.toggle[data-toggle="1"] + label:before,
|
|
|
|
|
|
|
|
|
2630 |
.seopress_wrap_single_cpt input.toggle[data-toggle="1"] + label:before,
|
2631 |
#seopress_cpt input.toggle[data-toggle="1"] + label:before,
|
2632 |
.seopress_wrap_tax input.toggle[data-toggle="1"] + label:before,
|
2633 |
#seopress_cpt input.toggle[data-toggle="1"] + label:before {
|
2634 |
width: 40px;
|
2635 |
+
background: var(--backgroundPrimary);
|
2636 |
}
|
|
|
2637 |
#seopress-content input.toggle[data-toggle="1"] + label:after,
|
2638 |
.seopress-option input.toggle[data-toggle="1"] + label:after,
|
2639 |
#seopress_cpt input.toggle[data-toggle="1"] + label:after {
|
2640 |
left: 20px;
|
2641 |
+
box-shadow: inset 0 0 0 1px var(--backgroundPrimary),
|
2642 |
+
0 2px 4px rgba(0, 0, 0, 0.2);
|
2643 |
}
|
|
|
2644 |
.seopress_wrap_single_cpt input.toggle[data-toggle="1"] + label:after,
|
2645 |
.seopress_wrap_tax input.toggle[data-toggle="1"] + label:after,
|
2646 |
#seopress_cpt input.toggle[data-toggle="1"] + label:after {
|
2647 |
+
box-shadow: inset 0 0 0 1px var(--backgroundPrimary),
|
2648 |
+
0 2px 4px rgba(0, 0, 0, 0.2);
|
2649 |
}
|
|
|
2650 |
#seopress-content .seopress-page-list {
|
2651 |
position: relative;
|
2652 |
+
display: block;
|
2653 |
max-width: 64rem;
|
|
|
|
|
2654 |
}
|
|
|
2655 |
@media only screen and (max-width: 782px) {
|
2656 |
#seopress-content .seopress-page-list {
|
2657 |
grid-template-columns: repeat(1, 1fr);
|
2658 |
}
|
2659 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2660 |
.seopress-styles .wrap {
|
2661 |
+
margin: 0;
|
2662 |
display: flex;
|
2663 |
position: relative;
|
2664 |
}
|
|
|
2665 |
.toplevel_page_seopress-option.seopress-styles .wrap,
|
2666 |
.seopress-insights.seopress-styles .wrap {
|
2667 |
display: inherit;
|
2668 |
position: inherit;
|
2669 |
margin: inherit;
|
2670 |
}
|
|
|
2671 |
@media only screen and (max-width: 782px) {
|
2672 |
.seopress-styles .wrap {
|
2673 |
display: inherit;
|
2675 |
margin: inherit;
|
2676 |
}
|
2677 |
}
|
2678 |
+
/* Nav */
|
|
|
|
|
|
|
|
|
2679 |
.seopress-option .wrap div.nav-tab-wrapper {
|
2680 |
+
margin: 0;
|
2681 |
+
padding: 0;
|
2682 |
line-height: inherit;
|
2683 |
+
width: 15%;
|
2684 |
+
z-index: 10;
|
2685 |
font-weight: 400;
|
2686 |
display: block;
|
2687 |
border-bottom: none;
|
2690 |
@media only screen and (max-width: 782px) {
|
2691 |
.seopress-option .wrap div.nav-tab-wrapper {
|
2692 |
width: 100%;
|
2693 |
+
margin: 0 0 20px 0;
|
2694 |
padding: 0;
|
2695 |
}
|
2696 |
}
|
|
|
2697 |
#seopress-admin-tabs.wrap div.nav-tab-wrapper {
|
2698 |
+
background: #fff;
|
2699 |
+
margin: 0 auto;
|
2700 |
max-width: 64rem;
|
2701 |
width: 100%;
|
2702 |
+
border-bottom: 1px solid var(--borderColorCard);
|
2703 |
padding: 0;
|
2704 |
line-height: inherit;
|
|
|
2705 |
position: sticky;
|
2706 |
+
z-index: 10;
|
2707 |
+
top: 92px;
|
|
|
2708 |
border-radius: 4px 4px 0 0;
|
2709 |
font-weight: 400;
|
2710 |
overflow: hidden;
|
2711 |
display: flex;
|
2712 |
align-items: center;
|
2713 |
justify-content: space-between;
|
|
|
2714 |
}
|
2715 |
|
2716 |
@media only screen and (max-width: 600px) {
|
2725 |
display: block;
|
2726 |
}
|
2727 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2728 |
.seopress-option .nav-tab {
|
2729 |
+
border: 0;
|
2730 |
background: 0 0;
|
2731 |
opacity: 0.5;
|
2732 |
padding: 6px 30px 6px 10px;
|
2733 |
transition: opacity 0.3s linear;
|
2734 |
+
color: var(--titleColor);
|
2735 |
margin: 0;
|
2736 |
float: none;
|
2737 |
display: inline-block;
|
2738 |
width: 100%;
|
2739 |
text-align: left;
|
2740 |
font-weight: normal;
|
|
|
2741 |
white-space: normal;
|
2742 |
}
|
|
|
2743 |
#seopress-admin-tabs .nav-tab {
|
|
|
2744 |
background: 0 0;
|
2745 |
opacity: 0.5;
|
2746 |
padding: 14px 20px;
|
2747 |
transition: opacity 0.3s linear;
|
|
|
2748 |
margin: 0;
|
|
|
2749 |
float: none;
|
2750 |
display: inline-block;
|
|
|
2751 |
font-weight: normal;
|
2752 |
}
|
|
|
2753 |
#seopress-admin-tabs .nav-tab {
|
2754 |
width: 100%;
|
2755 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2756 |
#seopress-admin-tabs .nav-tab-active,
|
2757 |
#seopress-admin-tabs .nav-tab-active:focus,
|
2758 |
#seopress-admin-tabs .nav-tab-active:focus:active,
|
2767 |
outline: 0;
|
2768 |
font-weight: 600;
|
2769 |
position: relative;
|
2770 |
+
border-left: 3px solid var(--backgroundPrimary);
|
|
|
|
|
2771 |
}
|
2772 |
#seopress-admin-tabs .nav-tab-active,
|
2773 |
#seopress-admin-tabs .nav-tab-active:focus,
|
2774 |
#seopress-admin-tabs .nav-tab-active:focus:active,
|
2775 |
#seopress-admin-tabs .nav-tab-active:hover,
|
2776 |
#seopress-admin-tabs .nav-tab:focus {
|
2777 |
+
border-bottom: 4px solid var(--backgroundPrimary);
|
2778 |
border-left: none;
|
|
|
2779 |
}
|
|
|
2780 |
#seopress-admin-tabs .nav-tab:hover,
|
2781 |
.seopress-option .nav-tab:hover {
|
2782 |
opacity: 1;
|
2783 |
}
|
|
|
2784 |
#seopress-admin-tabs .nav-tab:focus,
|
2785 |
.seopress-option .nav-tab:focus {
|
2786 |
outline: 0;
|
2787 |
box-shadow: none;
|
2788 |
}
|
2789 |
+
/* Snackbar */
|
2790 |
+
@keyframes sp-fade-in-out {
|
2791 |
+
0% {
|
2792 |
+
opacity: 0;
|
2793 |
+
bottom: 0;
|
2794 |
+
visibility: hidden;
|
2795 |
+
}
|
2796 |
+
25% {
|
2797 |
+
opacity: 1;
|
2798 |
+
bottom: 40px;
|
2799 |
+
visibility: visible;
|
2800 |
+
}
|
2801 |
+
75% {
|
2802 |
+
opacity: 1;
|
2803 |
+
visibility: visible;
|
2804 |
+
}
|
2805 |
+
100% {
|
2806 |
+
opacity: 0;
|
2807 |
+
visibility: hidden;
|
2808 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2809 |
}
|
2810 |
.sp-components-snackbar-list {
|
2811 |
position: fixed;
|
2827 |
line-height: 1.4;
|
2828 |
}
|
2829 |
.sp-components-snackbar {
|
2830 |
+
font-family: var(--fontFamily);
|
2831 |
+
font-size: var(--fontSize);
|
|
|
2832 |
background-color: #32373c;
|
2833 |
border-radius: 4px;
|
2834 |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
2835 |
color: #fff;
|
2836 |
padding: 16px 24px;
|
|
|
|
|
|
|
2837 |
cursor: pointer;
|
2838 |
}
|
2839 |
.sp-components-snackbar .dashicons {
|
@@ -1 +1 @@
|
|
1 |
-
@keyframes sp-fade-in-out{0%{opacity:0;bottom:0;visibility:hidden}25%{opacity:1;bottom:40px;visibility:visible}75%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}#adminmenu div.wp-menu-image.dashicons-admin-seopress::before,#seopress-header #seopress-admin h1::before{content:"\e800";font-family:seopress!important;font-weight:700;font-size:12px;line-height:20px}#seopress-header #seopress-admin h1::before,.seopress-page-list .seopress-feature h3,.seopress-styles .seopress-option h1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}@font-face{font-family:seopress;src:url(../fonts/seopress.eot?81521271);src:url(../fonts/seopress.eot?81521271#iefix) format("embedded-opentype"),url(../fonts/seopress.woff?81521271) format("woff2"),url(../fonts/seopress.woff?81521271) format("woff"),url(../fonts/seopress.ttf?81521271) format("truetype"),url(../fonts/seopress.svg?81521271#seopress) format("svg");font-weight:400;font-style:normal}[class*=" icon-seopress"],[class^=icon-seopress-]{font-family:seopress!important;font-size:14px!important;line-height:24px!important}#tab_seopress_titles_archives .form-table th:empty,#tab_seopress_titles_single .form-table th:empty,#tab_seopress_titles_tax .form-table th:empty{display:none}.icon-seopress-seopress:before{content:"\e800"}#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_top_level .wrap-seopress-noindex{background:red;color:#fff;padding:0 8px;float:right;margin-left:6px}#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_top_level>a{display:inline-block}#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_top_level .wrap-seopress-noindex .ab-icon::before{color:#eee;vertical-align:middle}#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots{display:block;background:#23292d}#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots a{height:inherit;padding-bottom:5px}#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots .wrap-seopress-cpt-seo{font-weight:700;border-bottom:1px solid currentColor;width:100%;display:block;margin-bottom:5px}#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots .wrap-seopress-cpt-nofollow,#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots .wrap-seopress-cpt-noindex{display:block}#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots .wrap-seopress-cpt-nofollow .ab-icon,#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots .wrap-seopress-cpt-noindex .ab-icon{float:none;vertical-align:middle}#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots .wrap-seopress-cpt-nofollow .on::before,#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots .wrap-seopress-cpt-noindex .on::before{color:red}#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots .wrap-seopress-cpt-nofollow .off::before,#wpadminbar #wp-toolbar #wp-admin-bar-seopress_custom_sub_menu_meta_robots .wrap-seopress-cpt-noindex .off::before{color:#46b450}.sp-tooltip{position:relative;margin-left:5px;display:inline-block;cursor:help;vertical-align:bottom;text-align:left;background:0 0;border:none;padding:0}.sp-tooltip .dashicons{color:#666}.sp-tooltip .sp-tooltiptext{visibility:hidden;position:absolute;z-index:999999999;width:300px;right:-303px;padding:20px;top:25px;font-weight:400;box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff;word-break:break-word;text-transform:none}.sp-tooltip .sp-tooltiptext::before{border:8px solid #e2e4e7;top:-8px}.sp-tooltip .sp-tooltiptext::after{border:8px solid #fff;top:-6px}.sp-tooltip .sp-tooltiptext::after,.sp-tooltip .sp-tooltiptext::before{border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;border-top:none;margin-left:-10px;content:"";position:absolute;height:0;width:0;line-height:0;left:30px}.sp-tooltip:active .sp-tooltiptext,.sp-tooltip:focus .sp-tooltiptext,.sp-tooltip:hover .sp-tooltiptext{visibility:visible}.sp-tooltip .sp-tooltip-headings{font-size:18px;font-weight:600;margin-bottom:20px;display:block}.sp-tooltip .sp-tooltip-desc{margin-bottom:20px;display:block;border-bottom:1px solid #e2e4e7;padding-bottom:20px;font-size:13px}.sp-tooltip .sp-tooltip-code{font-family:Menlo,Monaco,Andale Mono,Courier New,monospace;display:block;word-break:break-all;color:#1a7a06;font-size:11px}.analysis-score .sp-tooltip{vertical-align:middle;font-size:.75em}#seopress_content_analysis a{color:#0073aa}#seopress_content_analysis a.nounderline,#seopress_content_analysis a.nounderline:hover{text-decoration:none}#seopress_content_analysis .wrap-seopress-analysis{display:inline-block;width:100%}#seopress_content_analysis .col-left{width:calc(50% - 30px);float:left;margin-right:30px}#seopress_content_analysis .col-right{float:right;width:50%}#seopress_content_analysis #seopress_suggestions{display:inline-block;width:100%;margin:0;height:auto;padding:20px 0}#seopress_content_analysis #seopress_suggestions li{list-style:none;margin:5px;display:inline-block}#seopress_content_analysis .analysis-score{clear:both;border-top:1px solid #e2e4e7;display:flex;justify-content:space-between;align-items:center}.column-seopress_score .analysis-score{display:flex;align-content:center}#seopress_content_analysis .analysis-score p,.column-seopress_score .analysis-score p{font-weight:700;font-size:1.2em}#seopress_content_analysis .analysis-score svg,.column-seopress_score .analysis-score svg{display:inline-block;height:30px;width:30px;margin:0;border-radius:100%;position:relative;font-weight:600;shape-rendering:geometricprecision;font-size:.5rem;vertical-align:middle;margin-right:15px}.column-seopress_score .analysis-score p,.column-seopress_score .analysis-score svg{margin:0}@keyframes loadingPulse{0%{stroke:#adc5d2}50%{stroke:#00a0d2}100%{stroke:#adc5d2}}#seopress_content_analysis .analysis-score .loading #bar{stroke-dashoffset:0!important;stroke:#adc5d2!important;animation:loadingPulse 3s infinite ease-in-out}#seopress_content_analysis .analysis-score .good #bar,.column-seopress_score .analysis-score #bar.good{stroke:#46b450}#seopress_content_analysis .analysis-score .notgood #bar,.column-seopress_score .analysis-score #bar.notgood{stroke-dashoffset:565;stroke:#ffb900}#seopress_content_analysis .analysis-score svg circle,.column-seopress_score .analysis-score svg circle{stroke-dashoffset:0;transition:stroke-dashoffset 1s linear;stroke:#ccc;stroke-width:2em}#seopress_content_analysis .gr-analysis{clear:both}#seopress_content_analysis .gr-analysis-title{border-top:1px solid #e2e4e7;position:relative}#seopress_content_analysis .gr-analysis-title .impact,#seopress_cpt .impact{position:absolute;left:10px;top:calc(50% - 5px);width:10px;height:10px;border-radius:50px;padding:0;margin:0;border:1px solid #fff}#seopress_content_analysis .gr-analysis .impact.good{background:#46b450;box-shadow:0 0 5px #46b450}#seopress_content_analysis .gr-analysis .impact.low{background:#ffde24;box-shadow:0 0 5px #ffde24}#seopress_content_analysis .gr-analysis .impact.medium{background:#e39f48;box-shadow:0 0 5px #e39f48}#seopress_content_analysis .gr-analysis .impact.high,#seopress_cpt .impact.high{background:#e25950;box-shadow:0 0 5px #e25950}#seopress_content_analysis .gr-analysis-content .impact.high{background:#e25950;box-shadow:none;color:#fff;padding:2px 4px;margin-left:5px;border-radius:4px;font-weight:700}#seopress_cpt .impact.high{position:relative;top:calc(50% - 18px);display:inline-block;left:inherit;right:-10px}#seopress_content_analysis .description,#seopress_cpt .description,.seopress-tab .description{display:block;font-style:italic}#seopress_content_analysis .gr-analysis-title button{background:#fff;border:0;cursor:pointer;display:block;margin:0;position:relative;text-align:left;width:100%;padding:15px 30px;align-items:center;transition:all .3s linear}#seopress_content_analysis .gr-analysis-title button:hover{background:#f3f4f5}#seopress_content_analysis .gr-analysis-title button:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}#seopress_content_analysis .gr-analysis-title button .sp-arrow::after{content:"\f343";font-family:Dashicons;position:absolute;right:10px;top:calc(50% - 7px)}#seopress_content_analysis .gr-analysis-title button.open .sp-arrow::after{content:"\f347"}#seopress_content_analysis .gr-analysis-content{padding:0 1rem .5rem 1rem;display:none;width:100%;border-top:1px solid #e2e4e7;box-sizing:border-box}table.wp-list-table .manage_column.column-seopress_canonical,table.wp-list-table .manage_column.column-seopress_desc,table.wp-list-table .manage_column.column-seopress_insights,table.wp-list-table .manage_column.column-seopress_noindex,table.wp-list-table .manage_column.column-seopress_redirect_enable,table.wp-list-table .manage_column.column-seopress_redirect_url,table.wp-list-table .manage_column.column-seopress_title,table.wp-list-table .manage_column.column-seopress_tkw{width:7%!important}#seopress_content_analysis h3{margin:0;font-size:1em}#seopress_content_analysis h4{border-bottom:1px solid #e2e4e7;padding-bottom:.5rem;text-transform:uppercase;font-size:.85em;position:-webkit-sticky;position:sticky;top:0;background:#fff}#seopress_content_analysis .wrap-analysis-img ul{display:flex;flex-wrap:wrap}#seopress_content_analysis .wrap-analysis-img ul li{padding:0;text-align:left;cursor:default}#seopress_content_analysis .wrap-analysis-img h4{border-bottom:1px solid #ddd;padding-bottom:10px}#seopress_content_analysis .wrap-analysis-img ul li img{max-width:150px;max-height:150px;object-fit:cover;border:1px solid #f3f4f5;cursor:default;padding:1px}#seopress_cpt .notice{padding:10px 14px}#seopress-analysis-tabs .dashicons,#seopress_cpt .dashicons{vertical-align:middle}#seopress-analysis-tabs{clear:both}#seopress_cpt .inside{margin:0;padding:0}#seopress_cpt .ui-tabs .ui-tabs-nav{display:inline-block;min-height:26px;position:relative;width:100%;z-index:10;margin:0;border-radius:0;padding:0;background:#f3f4f5;border:none}#seopress_cpt .ui-tabs .sp-section{font-weight:700;font-size:13px}#seopress_cpt .ui-helper-clearfix:after{content:none}.seopress_page_seopress-titles #seopress-tabs .form-table td,.seopress_page_seopress-titles #seopress_content_analysis .form-table td{padding:0}#seopress_cpt .ui-tabs .ui-tabs-panel{background:#fff;border-radius:0;display:inline-block;padding:1em 1.4em;width:100%;box-sizing:border-box}#seopress_content_analysis .dashicons-info,#seopress_cpt .ui-tabs .ui-tabs-panel .dashicons-info,#seopress_pro_cpt .dashicons-info{font-size:16px;vertical-align:middle;height:16px;width:16px}#seopress_cpt .ui-tabs .ui-tabs-nav li,#seopress_cpt .ui-tabs-anchor{cursor:pointer!important}#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-active{position:relative;z-index:60;cursor:pointer;border-radius:0;border-bottom:3px solid #0085ba}#seopress_content_analysis label,#seopress_cpt #tabs-1 label,#seopress_cpt #tabs-2 label[for=seopress_robots_breadcrumbs_meta],#seopress_cpt #tabs-2 label[for=seopress_robots_canonical_meta],#seopress_cpt #tabs-2 label[for=seopress_robots_primary_cat_meta],#seopress_cpt #tabs-3 label,#seopress_cpt #tabs-4 label,#seopress_cpt #tabs-5 label,#seopress_cpt #tabs-6 label,#seopress_cpt .subsection-title{display:block;margin:20px 0 5px;font-weight:700}#seopress_cpt .wp-color-result{margin:0}#seopress_content_analysis input[type=text],#seopress_cpt #tabs-1 input,#seopress_cpt #tabs-2 input[type=text],#seopress_cpt #tabs-3 input[type=text],#seopress_cpt #tabs-3 textarea,#seopress_cpt #tabs-4 input[type=text],#seopress_cpt #tabs-5 input[type=text],#seopress_cpt #tabs-6 input[type=text],#seopress_cpt #tabs-6 textarea{width:100%;display:inline-block}#seopress_cpt #tabs-1 input{width:100%}#seopress_cpt #tabs-6 input[type=number]{width:30%;min-width:200px}#seopress_cpt #tabs-6 #wrap-videos .video:first-child .remove-video{display:none}#seopress_cpt select{width:300px}#seopress_cpt #tabs-4 select{width:250px;display:inline}#seopress_cpt #tabs-4 #seopress_redirections_value_meta{width:calc(100% - 258px);float:right}#seopress_cpt #tabs-6{padding:0}#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-content,#seopress_cpt #tabs-6>p{padding:0 1.4em}#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-content{padding:0 1.4em 1em}#seopress_cpt #tabs-6 #wrap-videos .video{border-top:1px solid #eee}#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-title{border-left:none;border-right:none;font-size:1em;padding:1em 1.4em}#seopress_cpt #tabs-6 #wrap-videos .video:last-child .accordion-section-content,#seopress_cpt #tabs-6 #wrap-videos .video:last-child .accordion-section-title{border-bottom:1px solid #eee}#seopress_cpt #tabs-6 #wrap-videos .video .inside{padding:0}#seopress_cpt #tabs-4 #seopress_redirections_enabled,#seopress_cpt #tabs-5 #seopress_news_disabled,#seopress_cpt #tabs-5 #seopress_news_standout,#seopress_cpt #tabs-6 #seopress_video_disabled,#seopress_cpt #tabs-6 .family-friendly label,#seopress_cpt #tabs-6 .internal_video label{font-weight:400}#seopress_cpt #tabs-6 #wrap-videos .video:nth-child(odd){background:#fdfdfd}#seopress_content_analysis .advise,#seopress_cpt .advise,#seopress_pro_cpt .advise,.seopress-option .advise{margin:5px;display:block;color:red;font-style:italic}#seopress_cpt #tabs-6 #wrap-videos .video .advise{color:#555}#seopress_content_analysis .mandatory,#seopress_cpt .mandatory{color:#c00}#seopress_cpt .box-left{float:left;width:49%;margin-right:1%}#seopress_cpt .box-right{float:left;width:49%;margin-left:1%}#seopress_cpt #tabs-3 .box-left{width:44%}#seopress_cpt #tabs-3 .box-right{width:54%}@media only screen and (max-width:1200px){#seopress_cpt .box-left,#seopress_cpt .box-right{float:none;width:100%;margin:0}}@media only screen and (max-width:1500px){#seopress_cpt #tabs-3 .box-left,#seopress_cpt #tabs-3 .box-right{float:none;width:100%;margin:0}}#edittag #seopress_cpt #tabs-3 .box-left,#edittag #seopress_cpt #tabs-3 .box-right{float:none;width:100%;margin:0}#seopress-tabs .seopress_media_upload,#seopress_pro_cpt .seopress_media_upload{margin-top:.5rem}#seopress_cpt .google-snippet-preview{font-family:arial,sans-serif;word-break:break-all}#seopress_cpt .google-snippet-preview.mobile-preview .wrap-snippet{margin:0 0 10px 0;box-shadow:0 1px 6px rgba(32,33,36,.28);border-radius:8px;padding:12px 16px}#seopress_cpt .google-snippet-preview>p{word-break:normal}#seopress_cpt .google-snippet-preview .snippet-title,#seopress_cpt .google-snippet-preview .snippet-title-custom,#seopress_cpt .google-snippet-preview .snippet-title-default{color:#1a0dab;font-size:18px;font-weight:400;line-height:21.6px}#seopress_cpt .google-snippet-preview.mobile-preview .snippet-title,#seopress_cpt .google-snippet-preview.mobile-preview .snippet-title-custom,#seopress_cpt .google-snippet-preview.mobile-preview .snippet-title-default{font-size:16px;line-height:20px;margin-bottom:12px}#seopress_cpt .google-snippet-preview .snippet-permalink{color:#006621;font-size:14px;font-style:normal;font-weight:400;line-height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#seopress_cpt .google-snippet-preview .wrap-snippet .wrap-m-icon-permalink,#seopress_cpt .google-snippet-preview.mobile-preview .snippet-permalink{display:none}#seopress_cpt .google-snippet-preview.mobile-preview .wrap-m-icon-permalink{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:12px;display:flex}#seopress_cpt .google-snippet-preview.mobile-preview .wrap-m-icon-permalink .snippet-permalink{display:block;color:#3c4043;font-size:12px}#seopress_cpt .google-snippet-preview.mobile-preview .snippet-favicon{margin-right:12px;vertical-align:middle}#seopress_cpt .google-snippet-preview.mobile-preview .snippet-favicon img{width:16px;height:16px;max-width:inherit}#seopress_cpt .google-snippet-preview.mobile-preview .wrap-snippet .snippet-permalink:first-child{color:#3c4043;white-space:nowrap;font-size:12px;display:block}#seopress_cpt .google-snippet-preview .snippet-description,#seopress_cpt .google-snippet-preview .snippet-description-custom,#seopress_cpt .google-snippet-preview .snippet-description-default{color:#545454;font-size:14px;font-weight:400;line-height:18.2px;display:inline}#seopress_cpt .google-snippet-preview.mobile-preview .snippet-description,#seopress_cpt .google-snippet-preview.mobile-preview .snippet-description-custom,#seopress_cpt .google-snippet-preview.mobile-preview .snippet-description-default{color:#3c4043;font-size:14px;line-height:20px}#seopress_cpt .google-snippet-preview .snippet-date{color:grey;display:inline}#seopress_cpt .facebook-snippet-box{color:#4b4f56;font-size:14px;width:524px}#seopress_cpt .facebook-snippet-box .notice,#seopress_cpt .twitter-snippet-box .notice{padding:10px 14px;margin:0 0 10px 0;box-sizing:border-box;width:100%}#seopress_cpt .facebook-snippet-box .notice span,#seopress_cpt .twitter-snippet-box .notice span{font-weight:700}#seopress_cpt .snippet-meta{display:flex;overflow:hidden;max-height:12px}#seopress_cpt .fb-by,#seopress_cpt .snippet-fb-site-name,#seopress_cpt .snippet-fb-url{color:#606770;font-size:12px;white-space:normal;line-height:11px;text-transform:uppercase;-webkit-box-orient:vertical;display:-webkit-box;text-overflow:ellipsis}#seopress_cpt .fb-sep{padding-left:5px;padding-right:5px;color:#606770;line-height:11px;font-size:12px}#seopress_cpt .facebook-snippet-box .facebook-snippet-text{border:1px solid #dadde1;background-color:#f2f3f5;padding:10px 12px}#seopress_cpt .facebook-snippet-box .title-desc{max-height:46px;overflow:hidden}#seopress_cpt .facebook-snippet-box .snippet-fb-title,#seopress_cpt .facebook-snippet-box .snippet-fb-title-custom,#seopress_cpt .facebook-snippet-box .snippet-fb-title-default{font-size:16px;line-height:20px;margin:3px 0 0;padding-top:2px;color:#1d2129;font-weight:700;overflow:hidden;-webkit-box-orient:vertical;display:-webkit-box;text-overflow:ellipsis;white-space:normal;word-break:break-word;max-height:22px}#seopress_cpt .facebook-snippet-box .snippet-fb-description,#seopress_cpt .facebook-snippet-box .snippet-fb-description-custom,#seopress_cpt .facebook-snippet-box .snippet-fb-description-default{color:#606770;font-size:14px;line-height:20px;word-break:break-word;font-family:Helvetica,Arial,sans-serif;max-height:80px;overflow:hidden;-webkit-box-orient:vertical;display:-webkit-box;text-overflow:ellipsis;white-space:normal;width:100%}#seopress_cpt .facebook-snippet-box img{display:block;height:274px;width:524px;object-fit:cover;background-color:#edeff0;text-align:center;border-bottom:none}#seopress_cpt .twitter-snippet-box{color:#4b4f56;font-size:14px;width:436px}#seopress_cpt .snippet-twitter-url{color:#8899a6;font-size:14px;white-space:normal;line-height:11px;text-transform:uppercase;-webkit-box-orient:vertical;display:-webkit-box;text-overflow:ellipsis}#seopress_cpt .twitter-snippet-box .twitter-snippet-text{border:1px solid #dadde1;background-color:#fff;padding:10px 12px;border-radius:0 0 10px 10px}#seopress_cpt .twitter-snippet-box .title-desc{max-height:46px;overflow:hidden}#seopress_cpt .twitter-snippet-box .snippet-twitter-img,#seopress_cpt .twitter-snippet-box .snippet-twitter-img-custom,#seopress_cpt .twitter-snippet-box .snippet-twitter-img-default{border-radius:10px 10px 0 0;overflow:hidden}#seopress_cpt .twitter-snippet-box .snippet-twitter-title,#seopress_cpt .twitter-snippet-box .snippet-twitter-title-custom,#seopress_cpt .twitter-snippet-box .snippet-twitter-title-default{font-size:1em;line-height:20px;margin-bottom:5px;max-height:1.3em;color:#000;font-weight:700;overflow:hidden;-webkit-box-orient:vertical;display:-webkit-box;text-overflow:ellipsis;white-space:normal;word-break:break-word}#seopress_cpt .twitter-snippet-box .snippet-twitter-description,#seopress_cpt .twitter-snippet-box .snippet-twitter-description-custom,#seopress_cpt .twitter-snippet-box .snippet-twitter-description-default{color:#000;font-size:14px;line-height:20px;word-break:break-word;font-family:Helvetica,Arial,sans-serif;max-height:80px;overflow:hidden;-webkit-box-orient:vertical;display:-webkit-box;text-overflow:ellipsis;white-space:normal;width:100%}#seopress_cpt .twitter-snippet-box img{display:block;height:200px;width:436px;object-fit:cover;background-color:#edeff0;text-align:center;border-bottom:none}#seopress_cpt .wrap-seopress-counters,#seopress_pro_cpt .wrap-seopress-counters,.seopress-setup .wrap-seopress-counters,.seopress-styles .wrap-seopress-counters{text-align:right;background:#e9ecef;padding:2px 5px;display:flex;font-size:12px;justify-content:flex-end;border-radius:0 0 .25rem .25rem}#seopress_cpt .sp-progress,#seopress_pro_cpt .sp-progress,.seopress-setup .sp-progress,.seopress-styles .sp-progress{display:-ms-flexbox;display:flex;height:1rem;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem .25rem 0 0}#seopress_cpt .sp-progress-bar,#seopress_pro_cpt .sp-progress-bar,.seopress-setup .sp-progress-bar,.seopress-styles .sp-progress-bar{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;color:#fff;text-align:center;white-space:nowrap;background-color:#0085ba;transition:width .6s ease}#seopress_cpt #seopress_titles_desc_counters,#seopress_cpt #seopress_titles_title_counters,#seopress_pro_cpt #seopress_rich_snippets_articles_counters,#seopress_pro_cpt #seopress_rich_snippets_courses_counters{display:inline;margin-right:5px}#seopress_cpt #seopress_titles_desc_counters_val,#seopress_cpt #seopress_titles_title_counters_val,#seopress_pro_cpt #seopress_rich_snippets_articles_counters_val,#seopress_pro_cpt #seopress_rich_snippets_courses_counters_val{display:inline;font-weight:700}#term-seopress #seopress_cpt{width:95%}.post-type-product table.fixed thead .column-seopress_desc,.post-type-product table.fixed thead .column-seopress_title{width:8%}.post-type-product .fixed .column-seopress_ps,.post-type-product .fixed .column-seopress_w3c,.post-type-product .fixed .column-seopress_words,.post-type-product table.fixed thead .column-seopress_canonical,.post-type-product table.fixed thead .column-seopress_redirect_enable,.post-type-product table.fixed thead .column-seopress_redirect_url,.post-type-product table.fixed thead .column-seopress_tkw{width:6%}.post-type-product .fixed .column-seopress_score{width:50px}table.fixed thead .column-seopress_nofollow,table.fixed thead .column-seopress_noindex{width:100px}@media only screen and (max-width:1200px){table.fixed .column-seopress_canonical>div,table.fixed .column-seopress_desc>div,table.fixed .column-seopress_redirect_enable>div,table.fixed .column-seopress_redirect_url>div,table.fixed .column-seopress_title>div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}table.fixed thead .column-seopress_canonical,table.fixed thead .column-seopress_nofollow,table.fixed thead .column-seopress_noindex,table.fixed thead .column-seopress_ps,table.fixed thead .column-seopress_redirect_enable,table.fixed thead .column-seopress_redirect_url,table.fixed thead .column-seopress_score,table.fixed thead .column-seopress_tkw,table.fixed thead .column-seopress_w3c,table.fixed thead .column-seopress_words{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}#seopress_cpt .ui-tabs{position:relative;padding:0;border:none;font-family:inherit;font-size:inherit;display:inline-block;width:100%}#seopress_cpt .ui-tabs .ui-tabs-nav li{list-style:none;display:inline-block;position:relative;top:2px;padding:0 5px;white-space:nowrap;margin:0;border:none;background:0 0}#seopress_cpt .ui-tabs .ui-tabs-nav li a{display:inline-block;padding:5px 10px}#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav li a,#seopress_cpt .ui-tabs-vertical .ui-tabs-nav li a{display:block}#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:2px;padding-bottom:1px}#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-state-disabled a,#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-active a,#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-loading a{color:#191e23;font-weight:700}#seopress_cpt .ui-tabs .ui-tabs-nav li a,#seopress_cpt .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a{cursor:pointer;color:#191e23;text-decoration:none;height:40px;line-height:40px}#seopress_cpt .ui-tabs-vertical{width:55em}#seopress_cpt .ui-tabs-vertical .ui-tabs-nav{padding:.2em .1em .2em .2em;float:left;width:12em}#seopress_cpt .ui-tabs-vertical .ui-tabs-nav li{clear:left;width:100%;border-bottom-width:1px!important;border-right-width:0!important;margin:0 -1px .2em 0}#seopress_cpt .ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active{padding-bottom:0;padding-right:.1em;border-right-width:1px}#seopress_cpt .ui-tabs-vertical .ui-tabs-panel{padding:1em;float:right;width:40em}#seopress_cpt .ui-tabs .ui-tabs-nav li a .dashicons{margin-right:2px}#tab-panel-seopress_titles_help_tab li span{font-weight:700;margin-right:10px}#seopress_content_analysis .dashicons-no-alt,#seopress_content_analysis .dashicons-yes,#seopress_pro_cpt .dashicons-no-alt,#seopress_pro_cpt .dashicons-yes{color:#fff;background:#12bd10;border-radius:50px;margin-right:10px}#seopress_content_analysis .dashicons-no-alt,#seopress_pro_cpt .dashicons-no-alt{background:#e25950}body.seopress-styles{background:#f8fafd}#seopress-admin-tabs.ui-tabs{position:relative;padding:.2em;border:none;font-family:inherit;font-size:inherit}#seopress-admin-tabs.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:-1px .2em 0 0;padding:0;white-space:nowrap;border:none;background:0 0}#seopress-admin-tabs.ui-tabs .ui-tabs-nav li a{float:left;padding:.38em 1em .75rem;outline:0;border-bottom:2px solid #fff}#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px}#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-state-disabled a,#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-active a,#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-loading a{cursor:text;border-bottom:2px solid #23282d;color:#23282d}#seopress-admin-tabs.ui-tabs .ui-tabs-nav li a,#seopress-admin-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a{cursor:pointer;color:#0073aa;text-decoration:none}#seopress-admin-tabs.ui-tabs-vertical{width:55em}#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav{padding:.2em .1em .2em .2em;float:left;width:12em}#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav li{clear:left;width:100%;border-bottom-width:1px!important;border-right-width:0!important;margin:0 -1px .2em 0}#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active{padding-bottom:0;padding-right:.1em;border-right-width:1px}#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-panel{padding:1em;float:right;width:40em}.seopress-styles .seopress-option{margin:10px auto 0;max-width:90%;padding:1rem;background:#fff;box-shadow:0 15px 35px rgba(50,50,93,.1),0 5px 15px rgba(0,0,0,.1);border-radius:4px}.seopress-styles .seopress-option h1{font-size:16px;font-weight:700;color:#3297d3;text-transform:uppercase;z-index:100;border-bottom:1px solid RGB(238,238,238);padding-bottom:20px}.seopress-styles .seopress-option h1 .dashicons,.seopress-styles .seopress-option h2 .dashicons{margin:0 10px;font-size:40px;width:40px;height:40px;vertical-align:middle}.seopress-styles .seopress-option .link-archive{font-size:14px}.seopress-styles .seopress-option .link-archive .dashicons{font-size:18px;width:20px;height:20px;margin:inherit}.seopress-styles .seopress-option h1>.dashicons{font-size:30px;width:30px;height:30px;background:#c4f0ff;border-radius:6px;padding:10px;margin-left:10px;color:#0085ba}.seopress-styles .seopress-option .metabox-holder h2 .dashicons{font-size:16px}.seopress-option h1 .feature-state .dashicons{font-size:16px;width:16px;height:16px;vertical-align:middle;margin:0 10px 0 0}#seopress-admin-tabs.wrap{display:block;box-shadow:0 7px 14px 0 rgba(60,66,87,.12),0 3px 6px 0 rgba(0,0,0,.12);width:64rem;max-width:100%;margin:0 auto}@media only screen and (max-width:1024px){#seopress-admin-tabs.wrap{width:100%}}.seopress-styles .seopress-option .submit{background:#fff;text-align:center;border-top:1px solid #f1f1f1;padding-top:20px;padding-bottom:20px;margin:0}.seopress-styles .seopress-option #seopress-aio-migrate,.seopress-styles .seopress-option #seopress-rk-migrate,.seopress-styles .seopress-option #seopress-seo-framework-migrate,.seopress-styles .seopress-option #seopress-squirrly-migrate,.seopress-styles .seopress-option #seopress-yoast-migrate,.seopress-styles .seopress-option #submit{color:#fff;text-decoration:none;border:none;border-radius:4px;padding-right:20px;padding-left:20px;line-height:34px;text-transform:uppercase;min-height:34px;transition:all .3s linear;text-shadow:none;box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.1);margin-right:15px;background:RGB(106,124,148);position:relative;height:auto;z-index:10}.seopress-styles .seopress-option #seopress-aio-migrate:hover,.seopress-styles .seopress-option #seopress-rk-migrate:hover,.seopress-styles .seopress-option #seopress-seo-framework-migrate:hover,.seopress-styles .seopress-option #seopress-squirrly-migrate:hover,.seopress-styles .seopress-option #seopress-yoast-migrate:hover,.seopress-styles .seopress-option #submit:hover{text-decoration:none;color:#fff;background:#232323}.seopress-styles #wpcontent{padding-left:0}.seopress-styles pre{color:#42b72a;background:#f5f6f7;font-family:Menlo,Monaco,Andale Mono,Courier New,monospace;padding:7px}.seopress-styles #seopress-navbar{padding:10px .5rem;height:60px;margin:0 auto;width:64rem;box-sizing:border-box;position:relative;max-width:100%}#seopress-header{margin:0 auto;position:relative;width:90%;padding:1rem}#seopress-header #seopress-admin h1{line-height:40px;margin:0;display:inline-block;height:40px;width:40px;background-size:100%;background-repeat:no-repeat}#seopress-header #seopress-admin h1::before{font-size:14px;line-height:40px;position:absolute;border-radius:6px;font-weight:400;color:#fff;width:40px;height:40px;text-align:center;background:#3a4afb;background:-moz-linear-gradient(45deg,rgba(58,74,251,1) 0,rgba(71,190,165,1) 100%);background:-webkit-linear-gradient(45deg,rgba(58,74,251,1) 0,rgba(71,190,165,1) 100%);background:linear-gradient(45deg,rgba(58,74,251,1) 0,rgba(71,190,165,1) 100%)}#seopress-header #seopress-admin h1:hover{cursor:pointer}#seopress-header #seopress-admin h1>a{text-decoration:none;color:inherit}#seopress-header #seopress-admin .seopress-quick-access{background:#fff;box-shadow:0 50px 100px rgba(50,50,93,.1),0 15px 35px rgba(50,50,93,.2),0 5px 15px rgba(0,0,0,.1);border-radius:4px;overflow:hidden;position:absolute;font-size:17px;line-height:40px;white-space:nowrap;transform:rotate3d(1,1,0,-15deg);transform-origin:100% 0;opacity:0;will-change:transform,opacity;transition-property:transform,opacity;transition-duration:.25s;z-index:300;padding:0;display:inline-block;width:100%;top:52px;visibility:hidden;cursor:auto;left:-.5rem}#seopress-header #seopress-admin h1:hover .seopress-quick-access{transform:none;opacity:1;pointer-events:auto;visibility:visible}#seopress-header #seopress-admin .seopress-quick-access>ul{margin:0;box-sizing:border-box;display:grid;grid-gap:0 10px;grid-template-columns:repeat(2,1fr);padding:20px}@media only screen and (max-width:1024px){#seopress-header #seopress-admin .seopress-quick-access>ul{grid-template-columns:repeat(1,1fr)}}#seopress-header #seopress-admin h1 .seopress-quick-access li{line-height:40px;margin:0;display:inline-block;height:40px;background-size:100%;background-repeat:no-repeat}#seopress-header #seopress-admin h1 .seopress-quick-access li .dashicons{vertical-align:middle;background:#b7e1f3;border-radius:50%;padding:5px;margin-right:15px}#seopress-header #seopress-admin h1 .seopress-quick-access li a{text-decoration:none;font-size:15px;line-height:30px;text-transform:uppercase;display:block;width:100%;transition:all .3s linear;color:#3297d3}#seopress-header #seopress-admin h1 .seopress-quick-access li a:hover{color:#647a88}#seopress-header #seopress-admin h1 .seopress-info-version{position:relative;left:50px;top:0;font-size:14px;width:100px;display:block}#seopress-header #seopress-admin .wpc-info-version{font-size:14px;left:310px;position:absolute;text-indent:0;top:85px}#seopress-header #seopress-notice{float:right;line-height:40px}#seopress-header #seopress-notice p{font-size:16px}#seopress-header #seopress-notice .dashicons{color:#6f8096;text-decoration:none;line-height:40px}#seopress-header #seopress-notice div.small{font-size:13px;display:inline}#seopress-footer-credits{font-style:italic}#seopress-footer-credits .wporg-ratings{display:inline}#seopress-footer-credits .wporg-ratings a{text-decoration:none}.seopress-option .seopress-settings{float:left;max-width:750px;width:100%}.seopress-option #seopress-edd-license-btn,.seopress-option #seopress-refresh{float:left}.wp-admin-ui_page_seopress-import-export .postbox{margin-right:20px}.seopress-option #side-sortables .accordion-section-content{padding:0}.seopress-option .seopress-settings label{margin:0 0 0 10px}.wrap-seopress-tab-content{position:relative;display:block;width:100%;max-width:64rem;margin:0 auto;box-sizing:border-box}#seopress-admin-tabs .seopress-tab{padding:1.5rem;visibility:hidden;overflow:hidden;opacity:0;transition:all .2s ease;transform:translateX(-15px);position:absolute;top:0;box-sizing:border-box}#seopress-admin-tabs .seopress-tab.active{visibility:visible;overflow:inherit;opacity:1;transform:translateX(0);display:inherit;position:relative}#seopress-tabs .seopress-tab{padding:0 1.5rem;width:calc(100% - 230px);display:none}@media only screen and (max-width:1024px){#seopress-tabs .seopress-tab{width:100%}}#seopress-tabs .seopress-tab.active{display:inline-block;border-left:1px solid RGB(238,238,238)}@media only screen and (max-width:782px){#seopress-tabs .seopress-tab.active{width:100%;padding:0;border-left:none;border-top:1px solid RGB(238,238,238)}}.seopress-option input[type=password],.seopress-option input[type=text],.seopress-option textarea{min-width:485px}@media only screen and (max-width:1024px){.seopress-option input[type=password],.seopress-option input[type=text],.seopress-option textarea{min-width:inherit;width:100%}}#seopress_htaccess_file{width:100%}.seopress-option textarea{min-height:100px}.seopress-option #side-sortables .highlight{border:1px dashed #ccc;display:block;width:382px;height:40px;background:0 0}.seopress-option #side-sortables .accordion-section{margin-bottom:9px;width:382px}.seopress-option #side-sortables .accordion-section h3{cursor:move;border:1px solid #e5e5e5;background:#fafafa}.seopress-option #side-sortables .accordion-section .inside{padding:10px 10px 24px;border-width:0 1px 1px;border-style:solid;box-shadow:0 1px 1px rgba(0,0,0,.04);border-color:#e5e5e5;display:inline-block;width:calc(100% - 22px);height:100%}.seopress-option #side-sortables .accordion-section .inside ul{padding-left:10px;margin-bottom:0;padding-top:2px;padding-bottom:2px}.seopress-option #side-sortables .accordion-section .inside ul li{border-left:2px solid #ccc;padding-left:10px;margin-bottom:10px}.seopress-option #side-sortables .accordion-section .inside ul li:first-child{border-bottom:1px dotted #e5e5e5;border-left:0;padding-bottom:10px;font-weight:700;margin-left:-15px;margin-bottom:10px}.seopress-notice #message{margin:5px 10px 2px 0}#seopress-notice a{position:relative;text-decoration:none;margin:0 0 0 .3rem}#seopress-notice a .tooltip{white-space:pre;z-index:200;padding:2px 5px;font-weight:500;font-size:12px;color:#aab7c4;background:#fff;box-shadow:0 1px 2px 0 rgba(49,49,93,.1),0 0 1px 0 rgba(0,0,0,.1);border-radius:2px;position:absolute;opacity:0;top:30px;transition:opacity .2s ease;visibility:hidden;line-height:20px;left:-100%;overflow:hidden}#seopress-notice a:hover .tooltip{opacity:1;visibility:visible}.seopress-page-list{margin:1.5rem auto}.seopress-option .dashicons,.seopress-page-list .dashicons{vertical-align:middle;margin-right:5px;color:#6f8096}#seopress-admin-tabs .ui-tabs-nav,#seopress-notifications-center,.seopress-get-started,.seopress-page-list .seopress-feature,.seopress-useful-tools{margin:0 auto 20px;max-width:64rem;padding:2rem;width:100%;border-radius:0 0 4px 4px;box-sizing:border-box}.seopress-get-started{margin-top:20px;background:#fff url(img/bg-hero-support.svg) no-repeat 95% 50%/contain;position:relative;box-sizing:border-box;box-shadow:0 7px 14px 0 rgba(60,66,87,.12),0 3px 6px 0 rgba(0,0,0,.12)}.seopress-get-started .inside{max-width:calc(100% - 380px)}@media only screen and (max-width:782px){.seopress-get-started{background:#fff}.seopress-get-started .inside{max-width:100%}}.seopress-get-started .preheader{text-transform:uppercase;font-size:.8rem;font-weight:600}.seopress-get-started h2{font-size:1.85em;margin:15px 0 0 0;font-weight:400}.seopress-get-started p{margin-bottom:20px}.seopress-get-started a .dashicons{vertical-align:middle;text-decoration:none;color:#6a7c94}.seopress-get-started a.button-primary .dashicons{color:#fff}.seopress-get-started a.btn-link .dashicons{margin-right:5px}.seopress-get-started a.btn-link{margin:0 0 0 10px}#seopress-notifications-center,.seopress-useful-tools{background:#fff;padding:0}.seopress-page-list .seopress-feature{padding:0;position:relative;overflow:hidden;transition-duration:.15s;display:flex;margin:0;background:#fff;box-shadow:0 7px 14px 0 rgba(60,66,87,.12),0 3px 6px 0 rgba(0,0,0,.12);flex-wrap:wrap;border-radius:4px;width:100%;height:100%}.seopress-page-list .seopress-feature p{color:#6b7c93;font-size:14px;margin-bottom:30px}#seopress-notifications-center{margin-top:0}#seopress-admin-tabs .ui-tabs-nav{display:flex;padding-top:1rem;padding-bottom:0}.seopress-page-list .seopress-feature .img-tool{height:50px;width:50px;background:#c4f0ff;position:relative;border-radius:6px}.seopress-page-list .seopress-feature .img-tool .dashicons{color:#217ab7;font-size:30px;text-align:left;vertical-align:middle;width:100%;height:100%;position:absolute;top:calc(50% - 15px);left:calc(50% - 15px);margin:0}.seopress-page-list .seopress-feature .inner{margin:0;display:inline-block;padding:1.5rem;width:100%;height:100%;box-sizing:border-box}.seopress-page-list .seopress-feature h3{margin:1rem 0 0 0;font-size:16px;font-weight:700;color:#3297d3;text-transform:uppercase}.seopress-page-list .seopress-feature h3 .dashicons{font-size:16px;margin-left:5px;vertical-align:middle}#seopress-content .seopress-page-list .seopress-feature a,#seopress-notifications-center .seopress-alert .button-primary,.seopress-get-started .button-primary,.seopress-option .seopress-feature a,.seopress-useful-tools .widget .button-primary{color:#fff;text-decoration:none;border:none;border-radius:4px;padding-right:20px;padding-left:20px;line-height:34px;text-transform:uppercase;min-height:34px;transition:all .3s linear;text-shadow:none;box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.1);background:#6a7c94;position:relative;height:auto;display:flex;flex-wrap:wrap}#seopress-content .seopress-page-list .seopress-feature a.button-secondary{padding-left:30px}#seopress-content .seopress-page-list .seopress-feature a.button-secondary::before,#seopress-notifications-center .seopress-alert .button-primary::after{content:"\f111";font-family:Dashicons;position:absolute;left:10px;top:1px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:16px}#seopress-content .seopress-page-list .wrap-btn{display:inline-flex;margin-bottom:2rem;flex-direction:column}#seopress-content .seopress-page-list .seopress-feature a.view-redirects,#seopress-notifications-center .seopress-alert .button-primary,.seopress-get-started .button,.seopress-option .button{color:#6a7c94;background:#fff;font-weight:500;transition:all .3s linear;text-shadow:none;text-transform:uppercase;padding-right:20px;padding-left:20px;line-height:34px;min-height:34px;margin:10px 0;border-radius:4px;box-shadow:transparent 0 0 0 0,transparent 0 0 0 0,rgba(0,0,0,.12) 0 1px 1px 0,rgba(60,66,87,.16) 0 0 0 1px,transparent 0 0 0 0,transparent 0 0 0 0,rgba(60,66,87,.12) 0 2px 5px 0;vertical-align:baseline;display:inline-flex;align-items:center;border:none;margin-right:.5rem;cursor:pointer}.seopress-get-started .button{color:#fff;background:#6259e6;box-shadow:none}.seopress-option .wp-picker-container button{box-shadow:none;border:1px solid #0071a1;border-radius:3px;background:#f3f5f6;text-transform:none}.seopress-option .wp-picker-container input[type=text].wp-color-picker{min-width:inherit}.seopress-option .wp-picker-container .wp-picker-default{margin:0}.seopress-option .wp-picker-container .wp-picker-clear{box-shadow:none;text-transform:none;border-radius:0;background:0 0;margin:0}.seopress-option .wp-picker-container .wp-picker-clear:hover{background:0 0;text-decoration:currentColor;color:inherit}.seopress-option .button .dashicons{font-size:16px;align-items:center;display:flex}#seopress-content .seopress-page-list .seopress-feature a.view-redirects{padding-left:30px}#seopress-notifications-center .seopress-alert .button-primary::after{content:"\f344";left:inherit;right:10px}#seopress-content .seopress-page-list .seopress-feature a.view-redirects::before{content:"\f177"}#seopress-content .seopress-page-list .seopress-feature a:hover,#seopress-notifications-center .seopress-alert .button-primary:hover,.seopress-get-started .button-primary:hover,.seopress-option .button:hover,.seopress-option .seopress-feature a:hover,.seopress-useful-tools .widget .button-primary:hover{text-decoration:none;color:#fff;background:#232323}.seopress-get-started .button .dashicons{transition:all .3s linear}.seopress-get-started .button:hover .dashicons{color:#fff}#seopress-content .seopress-page-list .seopress-feature .seopress-doc:focus,#seopress-content .seopress-page-list .seopress-feature a:focus,#seopress-content .seopress-page-list .seopress-feature a:focus.button-secondary,#seopress-content a:focus,#seopress-notifications-center .seopress-alert .button-primary:focus,.seopress-option #seopress-tabs .seopress-doc:focus,.seopress-option .seopress-feature a:focus,.seopress-styles .seopress-option #seopress-aio-migrate:focus,.seopress-styles .seopress-option #seopress-yoast-migrate:focus,.seopress-styles .seopress-option #submit:focus,.seopress-useful-tools .widget .button-primary:focus{box-shadow:0 1px 0 #0073aa,0 0 2px 1px #33b3db;background:#008ec2;border-color:#006799;color:#fff}#seopress-admin-tabs .nav-tab-wrapper a.nav-tab-active:focus{color:inherit}#seopress-notifications-center .seopress-alert .button-primary{margin:5px 0;padding-right:30px}#seopress-notifications-center h2,.seopress-useful-tools h2{margin:5px 0 15px 5px;display:inline-block;width:100%}#seopress-notifications-center .dashicons,.seopress-useful-tools .dashicons{margin-right:10px}#seopress-notifications-center .seopress-alert{padding:1.5rem 2rem 1.2rem 1rem;border-bottom:1px solid #e6ebf1;width:calc(100% - 3rem);flex:1 1 auto;position:relative;transition:all 150ms ease;align-items:center;display:flex;justify-content:space-between}#seopress-notifications-center .seopress-alert:last-child{margin-bottom:0;border-bottom:none}#seopress-notifications-center .seopress-alert:hover{cursor:default}#seopress-notifications-center .dashicons{display:flex;align-self:normal;width:48px;height:48px;color:#d7dade;font-size:48px;padding:0 1rem}#seopress-notifications-center .seopress-alert p{margin:0}#seopress-notifications-center .notice-left{flex:1}#seopress-notifications-center .notice-left>p:first-child{color:#1a1f36;font-weight:500}#seopress-notifications-center .notice-right{padding:1rem 0 0 0;display:flex}#seopress-notifications-center .seopress-alert.impact::after{content:"";width:10px;height:10px;border-radius:50px;position:absolute;right:1rem;top:1rem}#seopress-notifications-center .seopress-alert.impact.low::after{background:#ffde24}#seopress-notifications-center .seopress-alert.impact.medium::after{background:#e39f48}#seopress-notifications-center .seopress-alert.impact.high::after{background:#e25950}#seopress-notifications-center .seopress-alert.impact.info::after{background:#0085ba}#seopress-notifications-center .seopress-alert.dashicons{color:#6f8096}#seopress-notifications-center .dashicons.remove-notice,.seopress-get-started .remove-notice{position:absolute;right:0;color:#6b7c93;font-size:20px;height:30px;width:30px;vertical-align:middle;top:1.2rem;line-height:30px;padding:5px;transition:all .3s linear;margin:0;display:block}.seopress-get-started .remove-notice{top:10px;right:10px}#seopress-notifications-center .dashicons.remove-notice:hover,.seopress-get-started .remove-notice:hover{color:#1a1f36;cursor:pointer}#seopress-content .seopress-page-list .seopress-feature .seopress-doc,.seopress-option #seopress-tabs .seopress-doc{background:0 0;padding:0;text-decoration:none;color:inherit;box-shadow:none;position:absolute;right:.5rem;top:1rem}#seopress-content .seopress-page-list .seopress-feature .seopress-doc:active,#seopress-content .seopress-page-list .seopress-feature .seopress-doc:focus,#seopress-content .seopress-page-list .seopress-feature .seopress-doc:hover,.seopress-option #seopress-tabs .seopress-doc:active,.seopress-option #seopress-tabs .seopress-doc:focus,.seopress-option #seopress-tabs .seopress-doc:hover{color:#747474;background:0 0;box-shadow:none;border:none}#seopress-content .seopress-page-list .seopress-feature .seopress-doc:hover .dashicons{color:#232323}.seopress-option .seopress-table{background:#fff;border:1px solid #ccc}.seopress-option .seopress-table th{padding:15px 10px;vertical-align:middle}.wp-admin-ui_page_seopress-roles .seopress-option .seopress-table th{min-width:200px}.seopress-option .seopress-table .seopress-settings-section{background:#f1f1f1}.seopress-option .seopress-table .seopress-table-head .seopress-feature{border-bottom:1px solid #ccc;font-weight:700;background:#f1f1f1}#seopress-content .feature-state,.seopress-option .feature-state{font-style:italic;font-size:10px;display:inline-block;background:rgba(0,140,135,.1);padding:2px 10px;border-radius:25px;color:#444;font-weight:400;text-transform:none;-moz-osx-font-smoothing:initial;-webkit-font-smoothing:initial}@media only screen and (max-width:782px){#seopress-content .feature-state,.seopress-option .feature-state{display:none}}.seopress-option .seopress_wrap_single_cpt .feature-state,.seopress-option .seopress_wrap_tax .feature-state{padding:2px 12px;margin:0 0 .5rem .5rem}.seopress-option #tab_seopress_titles_archives h2,.seopress-option #tab_seopress_titles_single h2,.seopress-option #tab_seopress_titles_tax h2{margin:2em 0 1em 0;border-top:1px solid #eee;padding:1em 0 0 0}.seopress-option #tab_seopress_titles_archives h2:first-child,.seopress-option #tab_seopress_titles_single h2:first-child,.seopress-option #tab_seopress_titles_tax h2:first-child{border-top:none;margin:0 0 1em 0}#seopress-tabs .seopress-tag-dropdown,#seopress_cpt .seopress-tag-dropdown,#seopress_cpt .tag-title,#seopress_pro_cpt .tag-title,.seopress-button,.seopress-option .tag-title{cursor:pointer;font-weight:500;border-radius:4px;transition:all .3s linear}#seopress-content .feature-state-on,#seopress-content .feature-state.feature-state-on,.seopress-option .feature-state-on,.seopress-option .feature-state.feature-state-on{display:inline-block}#seopress-content .feature-state-off,.seopress-option .feature-state-off{display:none}.seopress-option .postbox .inside li{list-style:square inside;padding-left:5px}#tab_seopress_page_speed .inside li{list-style:none;padding-left:0;word-break:break-word}.seopress-option .log{margin:0;text-transform:uppercase;display:inline-block;vertical-align:middle;padding:5px;color:rgba(19,191,17,1);font-style:italic}.seopress-option input[type=text].seopress-admin-menu-input{min-width:inherit;width:100%}.seopress_page_seopress-import-export .postbox{width:calc(100% - 20px)}#seopress_cpt .wrap-tags,#seopress_pro_cpt .wrap-tags,.seopress-option .wrap-tags{position:relative;display:inline-block;width:100%;margin-bottom:10px}#seopress-tabs .sp-wrap-tag-variables-list,#seopress_cpt .sp-wrap-tag-variables-list,#seopress_pro_cpt .sp-wrap-tag-variables-list{position:relative;float:left;display:none}#seopress-tabs .sp-tag-variables-list,#seopress_cpt .sp-tag-variables-list,#seopress_pro_cpt .sp-tag-variables-list{background:#fff;position:absolute;left:-42px;width:300px;border-radius:4px;z-index:100;top:20px;color:#6b7c93;box-shadow:0 0 0 .5px rgba(50,50,93,.17),0 2px 5px 0 rgba(50,50,93,.12),0 3px 9px 0 rgba(50,50,93,.08),0 1px 1.5px 0 rgba(0,0,0,.08),0 1px 2px 0 rgba(0,0,0,.08);height:300px;z-index:100;overflow:auto}#seopress_cpt #seopress_titles_title_meta{margin-bottom:.2rem}#seopress-tabs .sp-wrap-tag-variables-list.open,#seopress_cpt .sp-wrap-tag-variables-list.open,#seopress_pro_cpt .sp-wrap-tag-variables-list.open{display:block}#seopress-tabs .seopress-tag-single-all.tag-description .dashicons,#seopress-tabs .seopress-tag-single-all.tag-title .dashicons,#seopress_cpt .seopress-tag-single-all.seopress-tag-dropdown .dashicons,#seopress_cpt .seopress-tag-single-all.tag-title .dashicons,#seopress_pro_cpt .seopress-tag-single-all.tag-title .dashicons{margin:0;transition:all 150ms linear}#seopress-tabs .seopress-tag-single-all.open .dashicons,#seopress_cpt .seopress-tag-single-all.open .dashicons,#seopress_pro_cpt .seopress-tag-single-all.open .dashicons{transform:rotateX(180deg)}#seopress-tabs .sp-tag-variables-list li,#seopress_cpt .sp-tag-variables-list li,#seopress_pro_cpt .sp-tag-variables-list li{padding:8px 12px;cursor:pointer;margin:0;border-bottom:1px solid #f0f0f0}#seopress-tabs .sp-tag-variables-list li span,#seopress_cpt .sp-tag-variables-list li span,#seopress_pro_cpt .sp-tag-variables-list li span{display:block;font-weight:700;font-size:12px;margin-bottom:2px}#seopress-tabs .sp-tag-variables-list li:hover,#seopress_cpt .sp-tag-variables-list li:hover,#seopress_pro_cpt .sp-tag-variables-list li:hover{background:#0385ba;color:#fff}#seopress-tabs .sp-tag-variables-list li::after,#seopress_cpt .sp-tag-variables-list li::after,#seopress_pro_cpt .sp-tag-variables-list li::after{content:attr(data-value);display:inline-block;background:#e9ecef;padding:1px 5px;color:#333;font-family:Menlo,Monaco,Andale Mono,Courier New,monospace;border-radius:3px;font-size:11px}#seopress-tabs .seopress-tag-dropdown .dashicons,#seopress_cpt .seopress-tag-dropdown .dashicons,#seopress_cpt .tag-title .dashicons,#seopress_pro_cpt .tag-title .dashicons,.seopress-option .tag-title .dashicons{padding:0;height:16px;width:16px;font-size:16px;margin-right:5px;vertical-align:middle}.seopress-overlay-tag-dropdown{position:absolute;display:none;top:0;left:0;width:100%;height:100%;z-index:50}.seopress-overlay-tag-dropdown.active{display:block}#seopress-tabs .seopress-tag-dropdown,#seopress_cpt .seopress-tag-dropdown,#seopress_cpt .tag-title,#seopress_pro_cpt .tag-title,.seopress-option .tag-title{padding:4px 8px;position:relative;top:5px;left:0;font-size:11px;float:left;margin-right:5px;user-select:none;margin-bottom:5px;background:#fff;color:#6b7c93;box-shadow:0 0 0 .5px rgba(50,50,93,.17),0 2px 5px 0 rgba(50,50,93,.12),0 3px 9px 0 rgba(50,50,93,.08),0 1px 1.5px 0 rgba(0,0,0,.08),0 1px 2px 0 rgba(0,0,0,.08)}#seopress-tabs .seopress-tag-dropdown .tag-title:active,#seopress-tabs .seopress-tag-dropdown .tag-title:focus,#seopress-tabs .seopress-tag-dropdown .tag-title:hover,#seopress_cpt .seopress-tag-dropdown .tag-title:active,#seopress_cpt .tag-title:active,#seopress_cpt .tag-title:focus,#seopress_cpt .tag-title:hover,#seopress_cpt-option .seopress-tag-dropdown .tag-title:focus,#seopress_cpt-option .seopress-tag-dropdown .tag-title:hover,#seopress_pro_cpt .tag-title:active,#seopress_pro_cpt .tag-title:focus,#seopress_pro_cpt .tag-title:hover,.seopress-tag-dropdown:active,.seopress-tag-dropdown:focus,.seopress-tag-dropdown:hover{background:#232323;color:#fff;user-select:none}.seopress-button{text-transform:uppercase;background:#fff;border-color:#c8d7e1;border-style:solid;border-width:1px 1px 2px;color:#2e4453;display:inline-block;margin:0;outline:0;overflow:hidden;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:20px;padding:6px 8px 6px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.seopress-button:hover{border-color:#a8bece;color:#00a0d2}.seopress-button .dashicons{vertical-align:middle}#seopress-content #tab_seopress_seo_tools.seopress-useful-tools .widget{border-right:1px solid #e6ebf1;margin:0;padding:0 20px;width:calc(50% - 2px);box-sizing:border-box;display:inline-block;vertical-align:top}#seopress-content #tab_seopress_seo_tools.seopress-useful-tools .widget:first-child{width:100%;display:block;clear:both;border-right:none;border-bottom:1px solid #e6ebf1;padding-bottom:20px;margin-bottom:20px}#seopress-content #tab_seopress_seo_tools.seopress-useful-tools .widget:last-child{border-right:none}#seopress-content .seopress-useful-tools .widget-reverse ul{background:#fff}#seopress-content .seopress-useful-tools .widget-reverse li{padding:10px;margin:0;border-bottom:1px solid #e6ebf1}#seopress-content .seopress-useful-tools .widget-reverse li:hover{background:#f5f7fa}#seopress-content .seopress-useful-tools .widget-title{text-transform:uppercase;margin:0 0 10px;font-size:13px;padding:10px 0;color:#24b47e}#seopress-content .seopress-reverse label,#seopress-content .seopress-useful-tools .widget-whois ul li span{font-weight:700}#seopress-content #seopress-reverse-url{width:100%;margin:10px 0}#seopress-content .widget-reverse p{margin:0}.post-type-seopress_backlinks .wp-list-table .column-seopress_backlinks_url{width:35%}.post-type-seopress_backlinks .wp-list-table .column-seopress_backlinks_anchor_text{width:20%}.seopress-styles #screen-meta{margin:0;position:relative;background-color:#fff;border-bottom:0 solid #f2f2f2;border-top:none;-webkit-box-shadow:0 0 0 1px rgba(136,152,170,.1),0 15px 35px 0 rgba(49,49,93,.1),0 5px 15px 0 rgba(0,0,0,.08);box-shadow:0 0 0 1px rgba(136,152,170,.1),0 15px 35px 0 rgba(49,49,93,.1),0 5px 15px 0 rgba(0,0,0,.08);top:0}.seopress-styles #contextual-help-link-wrap,.seopress-styles #screen-options-link-wrap{float:right;height:28px;margin:0 0 0 6px;border:1px solid #f2f2f2;border-top:none;background:#fff;-webkit-box-shadow:0 0 0 1px rgba(136,152,170,.1),0 15px 35px 0 rgba(49,49,93,.1),0 5px 15px 0 rgba(0,0,0,.08);box-shadow:0 0 0 1px rgba(136,152,170,.1),0 15px 35px 0 rgba(49,49,93,.1),0 5px 15px 0 rgba(0,0,0,.08)}.seopress-styles #screen-meta-links .show-settings{box-shadow:none}.seopress-styles #screen-meta-links .screen-meta-toggle{position:relative;top:0;z-index:2000}.seopress-styles #contextual-help-back{background:#f8fafd}.seopress-styles .contextual-help-tabs .active{border-left:2px solid #3297d3;background:#f8fafd}#seopress-content input.toggle,#seopress_cpt input.toggle,.seopress-option input.toggle{max-height:0;max-width:0;opacity:0;position:relative}.seopress-feature input.toggle{display:block}.wrap-toggle-preview{position:relative}.wrap-toggle-preview p{font-weight:700;margin:0 0 1rem 0}#seopress_cpt input.toggle,.seopress_wrap_single_cpt input.toggle,.seopress_wrap_tax input.toggle{margin:0;border:none;min-width:0}#seopress_content_analysis span.label,#seopress_cpt span.label{outline:0;color:#fff;box-shadow:none;background:#555d66;padding:2px 4px;border-radius:4px;font-weight:700}#seopress_add_to_insights{margin-left:1rem}#seopress_add_to_insights_status{display:inline-block;font-weight:700;margin:0 0 0 1rem;vertical-align:middle;padding:.3rem;font-style:italic}#seopress-content input.toggle+label,#seopress_cpt #tabs-1 input.toggle+label,.seopress-option input.toggle+label{display:inline-block;position:relative;box-shadow:inset 0 0 0 1px #d5d5d5;text-indent:-5000px;height:20px;width:40px;border-radius:15px}#seopress_cpt #tabs-1 input.toggle+label{margin:0}.wrap-toggle-checkboxes input.toggle+label{float:left;margin-right:10px}#seopress-content input.toggle+label:before,#seopress_cpt input.toggle+label:before,.seopress-option input.toggle+label:before{content:"";position:absolute;display:block;height:20px;width:30px;top:0;left:0;border-radius:15px;background:rgba(19,191,17,0);-moz-transition:.25s ease-in-out;-webkit-transition:.25s ease-in-out;transition:.25s ease-in-out}#seopress-content input.toggle+label:after,#seopress_cpt input.toggle+label:after,.seopress-option input.toggle+label:after{content:"";position:absolute;display:block;height:20px;width:20px;top:0;left:0;border-radius:15px;background:#fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2),0 2px 4px rgba(0,0,0,.2);-moz-transition:.25s ease-in-out;-webkit-transition:.25s ease-in-out;transition:.25s ease-in-out}#seopress_cpt input.toggle+label,#seopress_cpt input.toggle+label:before,.seopress_wrap_single_cpt input.toggle+label,.seopress_wrap_single_cpt input.toggle+label:before,.seopress_wrap_tax input.toggle+label,.seopress_wrap_tax input.toggle+label:before{width:40px;height:20px}#seopress_cpt input.toggle+label:after,.seopress_wrap_single_cpt input.toggle+label:after,.seopress_wrap_tax input.toggle+label:after{width:20px;height:20px}#seopress-content input.toggle[data-toggle="1"]+label:before,#seopress_cpt input.toggle[data-toggle="1"]+label:before,.seopress-option input.toggle[data-toggle="1"]+label:before{width:40px;background:#3197d3}#seopress_cpt input.toggle[data-toggle="1"]+label:before,.seopress_wrap_single_cpt input.toggle[data-toggle="1"]+label:before,.seopress_wrap_tax input.toggle[data-toggle="1"]+label:before{width:40px;background:#3197d3}#seopress-content input.toggle[data-toggle="1"]+label:after,#seopress_cpt input.toggle[data-toggle="1"]+label:after,.seopress-option input.toggle[data-toggle="1"]+label:after{left:20px;box-shadow:inset 0 0 0 1px #3197d3,0 2px 4px rgba(0,0,0,.2)}#seopress_cpt input.toggle[data-toggle="1"]+label:after,.seopress_wrap_single_cpt input.toggle[data-toggle="1"]+label:after,.seopress_wrap_tax input.toggle[data-toggle="1"]+label:after{box-shadow:inset 0 0 0 1px #3197d3,0 2px 4px rgba(0,0,0,.2)}#seopress-content .seopress-page-list{position:relative;display:grid;max-width:64rem;grid-gap:20px 20px;grid-template-columns:repeat(3,1fr)}@media only screen and (max-width:782px){#seopress-content .seopress-page-list{grid-template-columns:repeat(1,1fr)}}#seopress-notice-save{position:fixed;color:#fff;padding:15px 40px;font-size:.9rem;text-transform:uppercase;text-align:center;border-radius:0;background:rgba(74,184,102,.9);bottom:0;right:0;z-index:500;width:100%;font-weight:700}#seopress-notice-save .dashicons{color:#fff}.seopress-styles .wrap{margin:20px 0 0 0;display:flex;position:relative}.seopress-insights.seopress-styles .wrap,.toplevel_page_seopress-option.seopress-styles .wrap{display:inherit;position:inherit;margin:inherit}@media only screen and (max-width:782px){.seopress-styles .wrap{display:inherit;position:inherit;margin:inherit}}.seopress_page_seopress-pro-page #wpcontent{background:#f4f7fa}.seopress-option .wrap div.nav-tab-wrapper{margin:0 0 0 -26px;padding:0 0 0 10px;line-height:inherit;width:230px;z-index:95;font-weight:400;display:block;border-bottom:none}@media only screen and (max-width:782px){.seopress-option .wrap div.nav-tab-wrapper{width:100%;margin:0;padding:0}}#seopress-admin-tabs.wrap div.nav-tab-wrapper{margin:20px auto 0;max-width:64rem;width:100%;border-bottom:1px solid #e6ebf1;padding:0;line-height:inherit;position:-webkit-sticky;position:sticky;background:#f5f7fa;z-index:100;top:31px;border-radius:4px 4px 0 0;font-weight:400;overflow:hidden;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box}@media only screen and (max-width:600px){#seopress-admin-tabs.wrap div.nav-tab-wrapper{top:0;display:block}}@media only screen and (max-width:1024px){#seopress-admin-tabs.wrap div.nav-tab-wrapper{display:block}}#seopress-admin-tabs #tab_seopress_notifications.seopress-tab{background:0 0;padding:0;border-radius:0}.seopress-option .nav-tab{border:0 solid #ccc;background:0 0;opacity:.5;padding:6px 30px 6px 10px;transition:opacity .3s linear;color:#191e23;margin:0;float:none;display:inline-block;width:100%;text-align:left;font-weight:400;box-sizing:border-box;white-space:normal}#seopress-admin-tabs .nav-tab{border:0 solid #ccc;background:0 0;opacity:.5;padding:14px 20px;transition:opacity .3s linear;color:#191e23;margin:0;box-shadow:inset -1px 0 #e3e8ee;float:none;display:inline-block;text-align:center;font-weight:400}#seopress-admin-tabs .nav-tab{width:100%}#seopress-admin-tabs .nav-tab-active,#seopress-admin-tabs .nav-tab-active:hover,.seopress-option .about-wrap h2 .nav-tab-active,.seopress-option .nav-tab-active,.seopress-option .nav-tab-active:hover{background-color:#fff}#seopress-admin-tabs .nav-tab-active,#seopress-admin-tabs .nav-tab-active:focus,#seopress-admin-tabs .nav-tab-active:focus:active,#seopress-admin-tabs .nav-tab-active:hover,#seopress-admin-tabs .nav-tab:focus,.nav-tab-active:focus,.seopress-option .nav-tab-active,.seopress-option .nav-tab-active:focus:active,.seopress-option .nav-tab-active:hover,.seopress-option .nav-tab:focus{opacity:1;outline:0;font-weight:600;position:relative;color:#191e23;border-left:3px solid #0085ba;background:rgba(0,133,186,.1)}#seopress-admin-tabs .nav-tab-active,#seopress-admin-tabs .nav-tab-active:focus,#seopress-admin-tabs .nav-tab-active:focus:active,#seopress-admin-tabs .nav-tab-active:hover,#seopress-admin-tabs .nav-tab:focus{border-bottom:3px solid #3197d3;border-left:none;background:#fff}#seopress-admin-tabs .nav-tab:hover,.seopress-option .nav-tab:hover{opacity:1}#seopress-admin-tabs .nav-tab:focus,.seopress-option .nav-tab:focus{outline:0;box-shadow:none}.seopress-option .section-tool{border:none;box-shadow:none;background:0 0;position:relative}.seopress-option .section-tool::after{content:"";background:#dedede;height:1px;width:100%;display:block}.seopress-option .sp-section-header{border-bottom:1px solid #eee;margin:0 0 1rem 0;width:100%;display:flex;position:relative;align-items:center;padding-bottom:.5rem}.seopress-option .sp-section-header::after{position:absolute;content:"";background:#0085ba;height:2px;width:40px;bottom:0;left:0}.seopress-option .sp-section-header h2{font-size:1.5em}.seopress-option .sp-section-header>.dashicons{color:#0085ba;padding:10px;border-radius:6px;margin-right:10px;background:#c4f0ff}.seopress-option .sp-section-header .wrap-toggle-checkboxes{display:flex}.seopress-styles .wrap .notice{margin:5px 0 15px 15px}#seopress-tabs.wrap .notice{margin:1rem 0}.seopress-BlankState a.button-primary,.seopress-BlankState button.button-primary,.seopress-message a.button-primary,.seopress-message button.button-primary{background:#6259e6;border-color:#6259e6;box-shadow:transparent 0 0 0 0,transparent 0 0 0 0,rgba(0,0,0,.12) 0 1px 1px 0,rgba(60,66,87,.16) 0 0 0 1px,transparent 0 0 0 0,transparent 0 0 0 0,rgba(60,66,87,.12) 0 2px 5px 0;color:#fff;display:inline-block}.seopress-BlankState a.button-primary:active,.seopress-BlankState a.button-primary:focus,.seopress-BlankState a.button-primary:hover,.seopress-BlankState button.button-primary:active,.seopress-BlankState button.button-primary:focus,.seopress-BlankState button.button-primary:hover,.seopress-message a.button-primary:active,.seopress-message a.button-primary:focus,.seopress-message a.button-primary:hover,.seopress-message button.button-primary:active,.seopress-message button.button-primary:focus,.seopress-message button.button-primary:hover{background:#6259e6;border-color:#6259e6;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 #6259e6}.post-type-seopress_404 .seopress-BlankState-message::before,.post-type-seopress_schemas .seopress-BlankState-message::before{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"\f103"}.post-type-seopress_schemas .seopress-BlankState-message::before{content:"\f495"}.seopress-BlankState{text-align:center;padding:5em 0 0}.seopress-BlankState .seopress-BlankState-message{color:#aaa;margin:0 auto 1.5em;line-height:1.5em;font-size:1.2em;max-width:500px}.seopress-BlankState .seopress-BlankState-message::before{color:#ddd;text-shadow:0 -1px 1px rgba(0,0,0,.2),0 1px 0 rgba(255,255,255,.8);font-size:8em;display:block;position:relative!important;top:auto;left:auto;line-height:1em;margin:0 0 .1875em}.seopress-BlankState .seopress-BlankState-cta{font-size:1.2em;padding:.75em 1.5em;margin:0 .25em;height:auto;display:inline-block!important}.seopress-BlankState{max-width:764px;text-align:center;margin:auto}.seopress-BlankState .seopress-BlankState-message{color:#444;font-size:1.5em;margin:0 auto 1em}.seopress-BlankState .seopress-BlankState-message::before{font-size:120px}.seopress-BlankState .seopress-BlankState-buttons{margin-bottom:4em}#seopress_content_analysis .up,#seopress_content_analysis .up .dashicons{color:#4ab866}#seopress_content_analysis .down,#seopress_content_analysis .down .dashicons{color:#d94f4f}#seopress_content_analysis .up .dashicons{transform:rotateZ(45deg)}#seopress_content_analysis .stable .dashicons{transform:rotateZ(90deg)}#seopress_content_analysis .down .dashicons{transform:rotateZ(135deg)}#seopress_content_analysis .wrap-insights-post{clear:both;border-top:1px solid #e2e4e7;display:flex;align-items:center}#seopress_content_analysis .wrap-insights-post .widget-insights-title{margin:0 1rem}#seopress_content_analysis .wrap-insights-post span{font-weight:700;margin:0 .2rem 0 0}#seopress_content_analysis .wrap-insights-post .sp-tooltip *{font-weight:400}#seopress_content_analysis .wrap-insights-post .sp-tooltip-headings{font-weight:700}.sp-components-snackbar-list{position:fixed;right:0;bottom:40px;padding-left:16px;padding-right:16px;animation-name:sp-fade-in-out;animation-duration:5s;animation-iteration-count:1;animation-fill-mode:forwards;visibility:hidden;z-index:1}.sp-components-snackbar__content{display:flex;align-items:center;justify-content:space-between;line-height:1.4}.sp-components-snackbar{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background-color:#32373c;border-radius:4px;box-shadow:0 2px 4px rgba(0,0,0,.3);color:#fff;padding:16px 24px;width:100%;max-width:600px;box-sizing:border-box;cursor:pointer}.sp-components-snackbar .dashicons{color:#fff}
|
1 |
+
#seopress_content_analysis *,#seopress_cpt *,#seopress_pro_cpt *,.seopress-option *,.seopress-styles *{box-sizing:border-box}@font-face{font-family:seopress;src:url(../fonts/seopress.eot?81521271);src:url(../fonts/seopress.eot?81521271#iefix) format("embedded-opentype"),url(../fonts/seopress.woff?81521271) format("woff2"),url(../fonts/seopress.woff?81521271) format("woff"),url(../fonts/seopress.ttf?81521271) format("truetype"),url(../fonts/seopress.svg?81521271#seopress) format("svg");font-weight:400;font-style:normal}[class*=" icon-seopress"],[class^=icon-seopress-]{font-family:seopress!important;font-size:14px!important;line-height:24px!important}#adminmenu div.wp-menu-image.dashicons-admin-seopress::before{content:"\e800";font-family:seopress;font-weight:700;font-size:12px;line-height:20px}#seopress_content_analysis,#seopress_cpt,#seopress_pro_cpt,#wpadminbar,.column-seopress_score,.post-type-seopress_404 #wpcontent,.post-type-seopress_schemas #wpcontent,.seopress-option #wpcontent,.seopress-styles #wpcontent,.seopress-ui-datepicker{--primaryColor:#007cba;--paragraphColor:#757575;--fontSize:13px;--fontFamily:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--color:#757575;--colorDark:#1e1e1e;--colorAlert:#a00;--colorWarning:#ffba00;--colorSuccess:#4ab866;--colorLowAlert:#e39f48;--colorPre:#37864b;--colorIcon:#d7dade;--lineHeight:24px;--titleColor:#3c434a;--titleFontSize:20px;--titleFontWeight:normal;--titleMargin:10px 0;--backgroundPrimary:#007cba;--backgroundPrimaryHover:#006ba1;--backgroundSecondaryHover:#f0f0f0;--borderColor:#a7aaad;--borderColorLight:#dcdcde;--borderColorLight40:rgba(220, 220, 222, 0.4);--borderColorCard:#e2e4e7;--borderColorTab:#c3c4c7}.seopress-option .text-center,.seopress-styles .text-center{text-align:center}.post-type-seopress_404 .btn,.post-type-seopress_schemas .btn,.seopress-option .btn,.seopress-styles .btn{display:inline-flex;text-decoration:none;font-size:var(--fontSize);margin:0;border:0;cursor:pointer;-webkit-appearance:none;background:0 0;transition:box-shadow .1s linear;height:36px;align-items:center;padding:6px 12px;border-radius:2px;vertical-align:middle;color:var(--colorDark);white-space:nowrap;outline:1px solid transparent}.post-type-seopress_404 .btnPrimary,.post-type-seopress_schemas .btnPrimary,.seopress-option .btnPrimary,.seopress-styles .btnPrimary{background:var(--primaryColor);color:#fff;text-decoration:none}.post-type-seopress_404 .btnPrimary:hover,.post-type-seopress_schemas .btnPrimary:hover,.seopress-option .btnPrimary:hover,.seopress-styles .btnPrimary:hover{background:var(--backgroundPrimaryHover);color:#fff}.post-type-seopress_404 .btnSecondary,.post-type-seopress_schemas .btnSecondary,.seopress-option .btnSecondary,.seopress-styles .btnSecondary{box-shadow:inset 0 0 0 1px var(--primaryColor);color:var(--primaryColor);background:0 0}.post-type-seopress_404 .btnTertiary,.post-type-seopress_schemas .btnTertiary,.seopress-option .btnTertiary,.seopress-styles .btnTertiary{color:var(--primaryColor);background:0 0}.post-type-seopress_404 .btnTertiary:hover,.post-type-seopress_schemas .btnTertiary:hover,.seopress-option .btnTertiary:hover,.seopress-styles .btnTertiary:hover{box-shadow:inset 0 0 0 1px var(--primaryColor)}.seopress-option hr,.seopress-styles hr{align-self:center;flex-grow:1;height:1px;margin:0 10px}#seopress-tabs.wrap .list-none{list-style:none;padding-left:0}.seopress-option .dashicons,.seopress-page-list .dashicons{vertical-align:middle;margin-right:5px;text-decoration:none}.seopress-button{text-transform:uppercase;background:#fff;border-color:#c8d7e1;border-style:solid;border-width:1px 1px 2px;color:#2e4453;display:inline-block;margin:0;outline:0;overflow:hidden;text-overflow:ellipsis;text-decoration:none;vertical-align:top;font-size:14px;line-height:20px;padding:6px 8px 6px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.seopress-button:hover{border-color:#a8bece;color:#00a0d2}.seopress-button .dashicons{vertical-align:middle}body .seopress-option h2{color:var(--titleColor);font-size:20px;line-height:24px;font-weight:400}body .seopress-option h3{color:var(--titleColor);font-size:16px;line-height:20px}#seopress_content_analysis input[type=text],#seopress_content_analysis textarea,#seopress_cpt input[type=text],#seopress_cpt textarea,#seopress_pro_cpt input[type=text],#seopress_pro_cpt textarea{width:100%;display:inline-block}#seopress_cpt #tabs-6 input[type=number]{min-width:200px}#seopress_cpt #tabs-6 #wrap-videos .video:first-child .remove-video{display:none}#seopress_content_analysis label,#seopress_cpt label,#seopress_pro_cpt label{margin-bottom:8px;display:inline-block;width:100%}#seopress_cpt #tabs-6{padding:0}body .seopress-option input[type=password],body .seopress-option input[type=text],body .seopress-option select,body .seopress-option textarea{max-width:35rem;border:1px solid var(--borderColor);box-shadow:0 2px 6px rgb(0 0 0 / 5%);width:100%}body .seopress-option select{min-height:50px}.wrap-opening-hours select{width:inherit}body .seopress-option input[type=number],body .seopress-option input[type=password],body .seopress-option input[type=text]{line-height:46px}body .seopress-option input[type=number]:hover,body .seopress-option input[type=password]:hover,body .seopress-option input[type=text]:hover,body .seopress-option select:hover,body .seopress-option textarea:hover{border-color:#787c82}body .seopress-option input[type=number]:active,body .seopress-option input[type=number]:focus,body .seopress-option input[type=password]:active,body .seopress-option input[type=password]:focus,body .seopress-option input[type=text]:active,body .seopress-option input[type=text]:focus,body .seopress-option select:active,body .seopress-option select:focus,body .seopress-option textarea:active,body .seopress-option textarea:focus{box-shadow:0 0 0 2px var(--primaryColor);border-color:transparent}@media only screen and (max-width:1024px){body .seopress-option input[type=number],body .seopress-option input[type=password],body .seopress-option input[type=text],body .seopress-option textarea{min-width:inherit;width:100%}}#seopress_content_analysis input[type=checkbox],#seopress_cpt input[type=checkbox],#seopress_pro_cpt input[type=checkbox],body .seopress-option input[type=checkbox]{font-family:var(--fontFamily);padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid var(--color);font-size:16px;line-height:normal;border:1px solid var(--colorDark);margin-right:12px;transition:none;border-radius:2px;background:#fff;color:var(--colorDark);clear:none;cursor:pointer;display:inline-block;line-height:0;margin:-1px 4px 0 0!important;outline:0;padding:0!important;text-align:center;vertical-align:top;width:20px;height:20px;-webkit-appearance:none;appearance:none;transition:.1s border-color ease-in-out}#seopress_content_analysis input[type=checkbox]:checked::before,#seopress_cpt input[type=checkbox]:checked::before,#seopress_pro_cpt input[type=checkbox]:checked::before,body .seopress-option input[type=checkbox]:checked::before{content:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");background:var(--primaryColor);margin:-1px;width:20px;height:20px}#seopress_content_analysis input[type=checkbox]:active,#seopress_content_analysis input[type=checkbox]:focus,#seopress_cpt input[type=checkbox]:active,#seopress_cpt input[type=checkbox]:focus,#seopress_pro_cpt input[type=checkbox]:active,#seopress_pro_cpt input[type=checkbox]:focus,body .seopress-option input[type=checkbox]:active,body .seopress-option input[type=checkbox]:focus{box-shadow:0 0 0 2px var(--primaryColor);border-color:transparent}.field-recommended,.field-required{font-weight:700}.field-required{color:var(--colorAlert)}.field-recommended{color:var(--colorWarning)}.form-table td{padding:15px 0}.form-table td p{margin:4px 0}.form-table td p.seopress_wrap_archive_cpt{margin-bottom:15px}table.wp-list-table .manage_column.column-seopress_canonical,table.wp-list-table .manage_column.column-seopress_desc,table.wp-list-table .manage_column.column-seopress_insights,table.wp-list-table .manage_column.column-seopress_noindex,table.wp-list-table .manage_column.column-seopress_redirect_enable,table.wp-list-table .manage_column.column-seopress_redirect_url,table.wp-list-table .manage_column.column-seopress_title,table.wp-list-table .manage_column.column-seopress_tkw{width:7%!important}.post-type-product table.fixed thead .column-seopress_desc,.post-type-product table.fixed thead .column-seopress_title{width:8%}.post-type-product .fixed .column-seopress_ps,.post-type-product .fixed .column-seopress_words,.post-type-product table.fixed thead .column-seopress_canonical,.post-type-product table.fixed thead .column-seopress_redirect_enable,.post-type-product table.fixed thead .column-seopress_redirect_url,.post-type-product table.fixed thead .column-seopress_tkw{width:6%}.post-type-product .fixed .column-seopress_score{width:50px}table.fixed thead .column-seopress_nofollow,table.fixed thead .column-seopress_noindex{width:100px}@media only screen and (max-width:1200px){table.fixed .column-seopress_canonical>div,table.fixed .column-seopress_desc>div,table.fixed .column-seopress_redirect_enable>div,table.fixed .column-seopress_redirect_url>div,table.fixed .column-seopress_title>div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}table.fixed thead .column-seopress_canonical,table.fixed thead .column-seopress_nofollow,table.fixed thead .column-seopress_noindex,table.fixed thead .column-seopress_ps,table.fixed thead .column-seopress_redirect_enable,table.fixed thead .column-seopress_redirect_url,table.fixed thead .column-seopress_score,table.fixed thead .column-seopress_tkw,table.fixed thead .column-seopress_words{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}.post-type-seopress_backlinks .wp-list-table .column-seopress_backlinks_url{width:35%}.post-type-seopress_backlinks .wp-list-table .column-seopress_backlinks_anchor_text{width:20%}.seopress-styles #seopress-header{padding:22px 120px 22px 40px;height:60px;margin:0 auto;width:calc(100% - 160px);background:#fff;position:fixed;top:32px;z-index:100;display:flex;justify-content:space-between;align-items:center}.folded.seopress-styles #seopress-header{width:calc(100% - 35px)}@media only screen and (max-width:782px){.seopress-styles #seopress-header{width:100%;padding:22px;top:46px;position:absolute}}#seopress-header #seopress-navbar ul{margin:0;padding:0}#seopress-header #seopress-navbar ul li{margin:0;display:inline-block;position:relative;padding:0 20px 0 0;font-weight:700}#seopress-header #seopress-navbar ul li::after{content:"/";color:var(--paragraphColor);position:absolute;display:block;top:0;left:calc(100% - 10px)}#seopress-header #seopress-navbar ul li:last-child:after{content:none}.seopress-summary-items{display:flex;flex-wrap:wrap}.seopress-summary-item{display:flex;flex-direction:column;height:100%;padding:20px;border-bottom:1px solid var(--borderColorLight40);border-right:1px solid var(--borderColorLight40);line-height:1.4em;text-decoration:none;width:50%;color:var(--colorDark)}.seopress-summary-item-label{display:block;margin-bottom:16px;color:var(--color);font-size:14px;line-height:20px}.seopress-summary-item-data{margin-bottom:4px;font-weight:500;color:var(--colorDark);font-size:20px;line-height:28px}.seopress-tab.inside{padding:20px}#seopress-admin-tabs.ui-tabs{position:relative;padding:.2em;border:none;font-family:inherit;font-size:inherit}#seopress-admin-tabs.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:-1px .2em 0 0;padding:0;white-space:nowrap;border:none;background:0 0}#seopress-admin-tabs.ui-tabs .ui-tabs-nav li a{float:left;padding:.38em 1em .75rem;outline:0;border-bottom:2px solid #fff}#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px}#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-state-disabled a,#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-active a,#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-loading a{cursor:text;border-bottom:2px solid #23282d;color:#23282d}#seopress-admin-tabs.ui-tabs .ui-tabs-nav li a,#seopress-admin-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a{cursor:pointer;color:#0073aa;text-decoration:none}#seopress-admin-tabs.ui-tabs-vertical{width:55em}#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav{padding:.2em .1em .2em .2em;float:left;width:12em}#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav li{clear:left;width:100%;border-bottom-width:1px!important;border-right-width:0!important;margin:0 -1px .2em 0}#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active{padding-bottom:0;padding-right:.1em;border-right-width:1px}#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-panel{padding:1em;float:right;width:40em}#seopress-admin-tabs.wrap{background:#fff;display:block;width:64rem;max-width:100%;margin:0 auto}@media only screen and (max-width:1024px){#seopress-admin-tabs.wrap{width:100%}}#seopress-admin-tabs .seopress-tab{width:100%;display:none}#seopress-admin-tabs .seopress-tab.active{visibility:visible;overflow:inherit;opacity:1;transform:translateX(0);display:inherit;position:relative}.seopress-dashboard-columns{display:flex;max-width:64rem;margin:0 auto;justify-content:space-between;flex-direction:row}.seopress-dashboard-column{align-self:flex-start;width:calc(50% - 12px);margin:0}@media only screen and (max-width:782px){.seopress-dashboard-columns{max-width:100%;flex-direction:column}.seopress-dashboard-column{width:100%}}#seopress-admin-tabs .ui-tabs-nav,.seopress-get-started{margin:0 auto 20px;max-width:64rem;padding:2rem;width:100%;border-radius:0 0 4px 4px}.seopress-get-started{background:#fff url(img/bg-hero-started.svg) no-repeat 100% 50%/contain;position:relative}.seopress-get-started .inside{padding:2rem}.seopress-get-started .preheader{text-transform:uppercase;font-size:11px;font-weight:600;color:var(--paragraphColor)}.seopress-activity-panel-tabs{height:60px;display:flex;align-items:center}.seopress-activity-panel-tabs .btn{display:flex;flex-direction:column;justify-content:center;color:var(--color);height:60px;padding:10px 26px;border-bottom:3px solid transparent}.seopress-activity-panel-tabs .btn:hover{background:var(--backgroundSecondaryHover)}.seopress-activity-panel-tabs .btn.is-active{border-bottom:3px solid var(--backgroundPrimary);color:var(--colorDark)}.seopress-activity-panel-wrapper{height:calc(100vh - 92px);top:92px;background:var(--backgroundSecondaryHover);width:510px;transform:translateX(100%);transition-duration:.3s;transition-timing-function:ease-in-out;position:fixed;right:0;z-index:1000;overflow-x:hidden;overflow-y:auto}@media only screen and (max-width:782px){.seopress-activity-panel-wrapper{top:106px}}.seopress-activity-panel-wrapper.is-open{transform:none;box-shadow:0 12px 12px 0 rgb(85 93 102 / 30%)}.seopress-activity-panel-header{background:#e0e0e0;padding:16px 24px}.seopress-activity-panel-content{background:#fff;padding:16px 24px}.seopress-list-items,.seopress-list-items .seopress-item{margin:0}.seopress-list-items .seopress-item{border-bottom:1px solid var(--borderColorLight40)}.seopress-list-items .seopress-item:last-child{border-bottom:none}.seopress-list-items .seopress-item .seopress-item-inner{color:var(--primaryColor);text-decoration:none;padding:15px 20px;background:#fff;font-size:var(--fontSize);font-weight:700;width:100%}.has-action{display:flex;align-items:center}.seopress-list-items .seopress-item .seopress-item-inner:hover{background:var(--backgroundSecondaryHover)}.seopress-list-items .seopress-item-after,.seopress-list-items .seopress-item-before{margin:0 20px 0 10px;position:relative}.seopress-list-items .seopress-item-after::after,.seopress-list-items .seopress-item-before::before{content:"\f330";font-family:Dashicons;vertical-align:middle;font-size:20px;font-weight:400}.seopress-list-items .seopress-item-after{margin-left:auto;padding-left:20px;margin-right:0}.seopress-list-items .seopress-item-after::after{content:"\f345"}.seopress-list-items .seopress-item .seopress-item-title{margin:5px 0;color:var(--primaryColor)}.seopress-list-items .seopress-item .seopress-item-date{color:var(--paragraphColor);font-weight:400;margin:0}.seopress-list-items .seopress-item .seopress-item-content{color:var(--colorDark);font-weight:400;margin:0}.seopress-list-items .seopress-item .seopress-item-inner.check{position:relative}.seopress-list-items .seopress-item .seopress-item-inner.check::before{content:"";width:32px;height:32px;font-size:24px;vertical-align:middle;border-radius:50px;color:#fff;margin-right:10px;display:inline-block;border:1px solid var(--borderColorLight);line-height:32px;text-align:center}.seopress-list-items .seopress-item .seopress-item-inner.done::before{background:var(--backgroundPrimary);border:none;content:"\f15e";font-family:Dashicons}.sp-tooltip{position:relative;margin-left:5px;display:inline-block;cursor:help;vertical-align:bottom;text-align:left;background:0 0;border:none;padding:0}.sp-tooltip .dashicons{color:var(--colorDark)}.sp-tooltip .sp-tooltiptext{visibility:hidden;position:absolute;z-index:999999999;width:350px;right:-310px;padding:20px;top:25px;font-weight:400;box-shadow:0 3px 30px rgb(25 30 35 / 10%);border:1px solid var(--borderColorLight40);background:#fff;word-break:break-word;text-transform:none}.sp-tooltip .sp-tooltiptext::before{border:8px solid var(--borderColorLight40);top:-8px}.sp-tooltip .sp-tooltiptext::after{border:8px solid #fff;top:-6px}.sp-tooltip .sp-tooltiptext::after,.sp-tooltip .sp-tooltiptext::before{border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;border-top:none;margin-left:-10px;content:"";position:absolute;height:0;width:0;line-height:0;left:30px}.sp-tooltip:active .sp-tooltiptext,.sp-tooltip:focus .sp-tooltiptext,.sp-tooltip:hover .sp-tooltiptext{visibility:visible}.sp-tooltip .sp-tooltip-headings{font-size:18px;font-weight:600;margin-bottom:20px;display:block}.sp-tooltip .sp-tooltip-desc{margin-bottom:20px;display:block;border-bottom:1px solid var(--borderColorLight40);padding-bottom:20px;font-size:var(--fontSize);line-height:1.5}.sp-tooltip .sp-tooltip-code{font-family:Menlo,Monaco,Andale Mono,Courier New,monospace;display:block;word-break:break-all;color:var(--colorPre);font-size:11px}.analysis-score .sp-tooltip{vertical-align:middle;font-size:.75em}#seopress_content_analysis .wrap-insights-post .sp-tooltip *{font-weight:400}#seopress_content_analysis .wrap-insights-post .sp-tooltip-headings{font-weight:700}#seopress_content_analysis a{color:var(--backgroundPrimary)}#seopress_content_analysis a.nounderline,#seopress_content_analysis a.nounderline:hover{text-decoration:none}#seopress_content_analysis .wrap-seopress-analysis{display:inline-block;width:100%}#seopress_content_analysis .col-left{width:calc(50% - 30px);float:left;margin-right:30px}#seopress_content_analysis .col-right{float:right;width:50%}#seopress_content_analysis #seopress_suggestions{display:inline-block;width:100%;margin:0;height:auto;padding:20px 0;position:relative;left:-5px}#seopress_content_analysis #seopress_suggestions li{list-style:none;margin:5px;display:inline-block}#seopress_content_analysis .analysis-score{clear:both;border-top:1px solid var(--borderColorCard);display:flex;justify-content:space-between;align-items:center}.column-seopress_score .analysis-score{display:flex;align-content:center}#seopress_content_analysis .analysis-score p,.column-seopress_score .analysis-score p{font-weight:700;font-size:1.2em}#seopress_content_analysis .analysis-score svg,.column-seopress_score .analysis-score svg{display:inline-block;height:30px;width:30px;margin:0;border-radius:100%;position:relative;font-weight:600;shape-rendering:geometricprecision;font-size:.5rem;vertical-align:middle;margin-right:15px}.column-seopress_score .analysis-score p,.column-seopress_score .analysis-score svg{margin:0}@keyframes loadingPulse{0%{stroke:#adc5d2}50%{stroke:#00a0d2}100%{stroke:#adc5d2}}#seopress_content_analysis .analysis-score .loading #bar{stroke-dashoffset:0!important;stroke:#adc5d2!important;animation:loadingPulse 3s infinite ease-in-out}#seopress_content_analysis .analysis-score .good #bar,.column-seopress_score .analysis-score #bar.good{stroke:var(--colorSuccess)}#seopress_content_analysis .analysis-score .notgood #bar,.column-seopress_score .analysis-score #bar.notgood{stroke-dashoffset:565;stroke:var(--colorWarning)}#seopress_content_analysis .analysis-score svg circle,#tab_seopress_page_speed .ps-score svg circle,.column-seopress_score .analysis-score svg circle{stroke-dashoffset:0;transition:stroke-dashoffset 1s linear;stroke:#ccc;stroke-width:2em}#tab_seopress_page_speed .ps-score{position:relative;display:inline-block}#tab_seopress_page_speed .ps-score svg{width:60px;height:60px}#tab_seopress_page_speed .ps-score svg circle{stroke-width:1em}#tab_seopress_page_speed .ps-score span{font-weight:700;left:0;position:absolute;top:0;width:60px;height:60px;align-items:center;display:flex;justify-content:center;margin:0}#tab_seopress_page_speed .ps-score.green #bar{stroke:var(--colorSuccess)}#tab_seopress_page_speed .ps-score.yellow #bar{stroke:var(--colorWarning)}#tab_seopress_page_speed .ps-score.red #bar{stroke:var(--colorAlert)}#seopress_content_analysis .gr-analysis{clear:both}#seopress_content_analysis .gr-analysis-title{border-top:1px solid var(--borderColorCard);position:relative}#seopress_content_analysis .gr-analysis-title .impact,#seopress_cpt .impact{position:absolute;left:10px;top:calc(50% - 5px);width:10px;height:10px;border-radius:50px;padding:0;margin:0;border:1px solid #fff}#seopress_content_analysis .gr-analysis .impact.good{background:var(--colorSuccess);box-shadow:0 0 5px var(--colorSuccess)}#seopress_content_analysis .gr-analysis .impact.low{background:var(--colorWarning);box-shadow:0 0 5px var(--colorWarning)}#seopress_content_analysis .gr-analysis .impact.medium{background:var(--colorLowAlert);box-shadow:0 0 5px var(--colorLowAlert)}#seopress_content_analysis .gr-analysis .impact.high,#seopress_cpt .impact.high{background:var(--colorAlert);box-shadow:0 0 5px var(--colorAlert)}#seopress_content_analysis .gr-analysis-content .impact.high{background:var(--colorAlert);box-shadow:none;color:#fff;padding:2px 4px;margin-left:5px;border-radius:4px;font-weight:700}#seopress_cpt .impact.high{position:relative;top:calc(50% - 18px);display:inline-block;left:inherit;right:-10px}#seopress_content_analysis .description,#seopress_cpt .description,#seopress_pro_cpt .description,.seopress-option .description{display:block;font-size:12px;color:var(--color)}@media only screen and (max-width:782px){#seopress_content_analysis .description,#seopress_cpt .description,#seopress_pro_cpt .description,.seopress-option .description{word-break:break-word}}#seopress_content_analysis input~span.description,#seopress_content_analysis span.description~input,#seopress_cpt input~span.description,#seopress_cpt span.description~input,#seopress_pro_cpt input~span.description,#seopress_pro_cpt span.description~input{margin-top:5px}#seopress_content_analysis .gr-analysis-title button{background:#fff;border:0;cursor:pointer;display:block;margin:0;position:relative;text-align:left;width:100%;padding:15px 30px;align-items:center;transition:all .3s linear}#seopress_content_analysis .gr-analysis-title button:hover{background:#f3f4f5}#seopress_content_analysis .gr-analysis-title button:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}#seopress_content_analysis .gr-analysis-title button .sp-arrow::after{content:"\f343";font-family:Dashicons;position:absolute;right:10px;top:calc(50% - 7px)}#seopress_content_analysis .gr-analysis-title button.open .sp-arrow::after{content:"\f347"}#seopress_content_analysis .gr-analysis-content{padding:0 1rem .5rem 1rem;display:none;width:100%;border-top:1px solid var(--borderColorCard)}#seopress_content_analysis h3{margin:0;font-size:1em}#seopress_content_analysis h4{border-bottom:1px solid var(--borderColorCard);padding-bottom:.5rem;text-transform:uppercase;font-size:.85em;position:-webkit-sticky;position:sticky;top:0;background:#fff}#seopress_content_analysis .wrap-analysis-img ul{display:flex;flex-wrap:wrap}#seopress_content_analysis .wrap-analysis-img ul li{padding:0;text-align:left;cursor:default}#seopress_content_analysis .wrap-analysis-img h4{border-bottom:1px solid var(--borderColorLight);padding-bottom:10px}#seopress_content_analysis .wrap-analysis-img ul li img{max-width:150px;max-height:150px;object-fit:cover;border:1px solid var(--borderColorLight);cursor:default;padding:1px}#seopress-analysis-tabs .dashicons,#seopress_cpt .dashicons{vertical-align:middle}#seopress-analysis-tabs{clear:both}#seopress_content_analysis .dashicons-no-alt,#seopress_content_analysis .dashicons-yes,#seopress_pro_cpt .dashicons-no-alt,#seopress_pro_cpt .dashicons-yes{color:#fff;background:var(--colorSuccess);border-radius:50px;margin-right:10px}#seopress_content_analysis .dashicons-no-alt,#seopress_pro_cpt .dashicons-no-alt{background:var(--colorAlert)}#seopress_content_analysis .description-alt,#seopress_cpt .description-alt{padding:1em 0;border-top:1px solid var(--borderColorLight);border-bottom:1px solid var(--borderColorLight);display:flex}#seopress_cpt .desc-fb{margin-top:0;border-top:none}#seopress_content_analysis .description-alt svg,#seopress_cpt .description-alt svg{vertical-align:middle;align-self:center;fill:#f0b849;flex-shrink:0;margin-right:16px}#seopress_cpt .notice{padding:10px 14px;margin:0}#seopress_cpt .inside{margin:0;padding:0}#seopress_cpt .ui-tabs .ui-tabs-nav{display:flex;position:relative;width:100%;z-index:10;margin:0;border-radius:0;padding:0;align-items:center;padding:0;height:48px;border-bottom:1px solid #ddd;background:inherit;line-height:inherit;color:inherit;border-top:none;border-left:none;border-right:none}#seopress_cpt .ui-tabs .sp-section{font-weight:700;font-size:var(--fontSize)}#seopress_cpt .ui-helper-clearfix:after{content:none}.seopress_page_seopress-titles #seopress-tabs .form-table td,.seopress_page_seopress-titles #seopress_content_analysis .form-table td{padding:0}#seopress_cpt .ui-tabs .ui-tabs-panel{background:#fff;border-radius:0;display:inline-block;padding:1em 1.4em;width:100%}#seopress_content_analysis .dashicons-info,#seopress_cpt .ui-tabs .ui-tabs-panel .dashicons-info,#seopress_pro_cpt .dashicons-info{font-size:16px;vertical-align:middle;height:16px;width:16px}#seopress_cpt .ui-tabs .ui-tabs-nav li,#seopress_cpt .ui-tabs-anchor{cursor:pointer!important}body #seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-active{position:relative;z-index:60;cursor:pointer;border-radius:0;border-bottom:4px solid var(--backgroundPrimary)!important}#seopress_cpt .wp-color-result{margin:0}#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-content,#seopress_cpt #tabs-6>p{padding:0 1.4em}#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-content{padding:0 1.4em 1em}#seopress_cpt #tabs-6 #wrap-videos .video{border-top:1px solid var(--borderColorLight)}#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-title{border-left:none;border-right:none;font-size:1em;padding:1em 1.4em}#seopress_cpt #tabs-6 #wrap-videos .video:last-child .accordion-section-content,#seopress_cpt #tabs-6 #wrap-videos .video:last-child .accordion-section-title{border-bottom:1px solid var(--borderColorLight)}#seopress_content_analysis .mandatory,#seopress_cpt .mandatory{color:var(--colorAlert)}#seopress_cpt .box-left{float:left;width:49%;margin-right:1%}#seopress_cpt .box-right{float:left;width:49%;margin-left:1%}#seopress_cpt #tabs-3 .box-left{width:44%}#seopress_cpt #tabs-3 .box-right{width:54%}@media only screen and (max-width:1200px){#seopress_cpt .box-left,#seopress_cpt .box-right{float:none;width:100%;margin:0}}@media only screen and (max-width:1500px){#seopress_cpt #tabs-3 .box-left,#seopress_cpt #tabs-3 .box-right{float:none;width:100%;margin:0}}#edittag #seopress_cpt #tabs-3 .box-left,#edittag #seopress_cpt #tabs-3 .box-right{float:none;width:100%;margin:0}#seopress-tabs .seopress_media_upload,#seopress_pro_cpt .seopress_media_upload{margin-top:.5rem}#term-seopress #seopress_cpt{width:95%}#seopress_cpt .ui-tabs{position:relative;padding:0;border:none;font-family:inherit;font-size:inherit;display:inline-block;width:100%}#seopress_cpt .ui-tabs .ui-tabs-nav li{list-style:none;position:relative;padding:0;white-space:nowrap;margin:0;border:none;height:48px;background:0 0}#seopress_cpt .ui-tabs .ui-tabs-nav li a{display:flex;padding:3px 15px;align-items:center}#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav li a,#seopress_cpt .ui-tabs-vertical .ui-tabs-nav li a{display:block}#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:0;padding-bottom:0}#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-state-disabled a,#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-active a,#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-loading a{font-weight:500}#seopress_cpt .ui-tabs .ui-tabs-nav li a,#seopress_cpt .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a{cursor:pointer;color:#191e23;text-decoration:none;height:48px}#seopress_cpt .ui-tabs .ui-tabs-nav li a:focus,#seopress_cpt .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a:focus{outline:3px solid transparent;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--backgroundPrimary),inset 0 -4px 0 0 var(--backgroundPrimary)}#seopress_cpt .ui-tabs-vertical{width:55em}#seopress_cpt .ui-tabs-vertical .ui-tabs-nav{padding:.2em .1em .2em .2em;float:left;width:12em}#seopress_cpt .ui-tabs-vertical .ui-tabs-nav li{clear:left;width:100%;border-bottom-width:1px!important;border-right-width:0!important;margin:0 -1px .2em 0}#seopress_cpt .ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active{padding-bottom:0;padding-right:.1em;border-right-width:1px}#seopress_cpt .ui-tabs-vertical .ui-tabs-panel{padding:1em;float:right;width:40em}#seopress_cpt .ui-tabs .ui-tabs-nav li a .dashicons{margin-right:2px}#seopress_cpt .google-snippet-preview{font-family:arial,sans-serif;word-break:break-all}#seopress_cpt .google-snippet-preview.mobile-preview .wrap-snippet{margin:0 0 10px 0;box-shadow:0 1px 6px rgba(32,33,36,.28);border-radius:8px;padding:12px 16px}#seopress_cpt .google-snippet-preview>p{word-break:normal}#seopress_cpt .google-snippet-preview .snippet-title,#seopress_cpt .google-snippet-preview .snippet-title-custom,#seopress_cpt .google-snippet-preview .snippet-title-default{color:#1a0dab;font-size:18px;font-weight:400;line-height:21.6px}#seopress_cpt .google-snippet-preview.mobile-preview .snippet-title,#seopress_cpt .google-snippet-preview.mobile-preview .snippet-title-custom,#seopress_cpt .google-snippet-preview.mobile-preview .snippet-title-default{font-size:16px;line-height:20px;margin-bottom:12px}#seopress_cpt .google-snippet-preview .snippet-permalink{color:#006621;font-size:14px;font-style:normal;font-weight:400;line-height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#seopress_cpt .google-snippet-preview .wrap-snippet .wrap-m-icon-permalink,#seopress_cpt .google-snippet-preview.mobile-preview .snippet-permalink{display:none}#seopress_cpt .google-snippet-preview.mobile-preview .wrap-m-icon-permalink{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:12px;display:flex}#seopress_cpt .google-snippet-preview.mobile-preview .wrap-m-icon-permalink .snippet-permalink{display:block;color:#3c4043;font-size:12px}#seopress_cpt .google-snippet-preview.mobile-preview .snippet-favicon{margin-right:12px;vertical-align:middle}#seopress_cpt .google-snippet-preview.mobile-preview .snippet-favicon img{width:16px;height:16px;max-width:inherit}#seopress_cpt .google-snippet-preview.mobile-preview .wrap-snippet .snippet-permalink:first-child{color:#3c4043;white-space:nowrap;font-size:12px;display:block}#seopress_cpt .google-snippet-preview .snippet-description,#seopress_cpt .google-snippet-preview .snippet-description-custom,#seopress_cpt .google-snippet-preview .snippet-description-default{color:#545454;font-size:14px;font-weight:400;line-height:18.2px;display:inline}#seopress_cpt .google-snippet-preview.mobile-preview .snippet-description,#seopress_cpt .google-snippet-preview.mobile-preview .snippet-description-custom,#seopress_cpt .google-snippet-preview.mobile-preview .snippet-description-default{color:#3c4043;font-size:14px;line-height:20px}#seopress_cpt .google-snippet-preview .snippet-date{color:grey;display:inline}#seopress_cpt .facebook-snippet-box{color:#4b4f56;font-size:14px;width:524px;max-width:100%}#seopress_cpt .facebook-snippet-box .notice,#seopress_cpt .twitter-snippet-box .notice{padding:10px 14px;margin:0 0 10px 0;width:100%}#seopress_cpt .facebook-snippet-box .notice span,#seopress_cpt .twitter-snippet-box .notice span{font-weight:700}#seopress_cpt .snippet-meta{display:flex;overflow:hidden;max-height:12px}#seopress_cpt .fb-by,#seopress_cpt .snippet-fb-site-name,#seopress_cpt .snippet-fb-url{color:#606770;font-size:12px;white-space:normal;line-height:11px;text-transform:uppercase;-webkit-box-orient:vertical;display:-webkit-box;text-overflow:ellipsis}#seopress_cpt .fb-sep{padding-left:5px;padding-right:5px;color:#606770;line-height:11px;font-size:12px}#seopress_cpt .facebook-snippet-box .facebook-snippet-text{border:1px solid #dadde1;background-color:#f2f3f5;padding:10px 12px}#seopress_cpt .facebook-snippet-box .title-desc{max-height:46px;overflow:hidden}#seopress_cpt .facebook-snippet-box .snippet-fb-title,#seopress_cpt .facebook-snippet-box .snippet-fb-title-custom,#seopress_cpt .facebook-snippet-box .snippet-fb-title-default{font-size:16px;line-height:20px;margin:3px 0 0;padding-top:2px;color:#1d2129;font-weight:700;overflow:hidden;-webkit-box-orient:vertical;display:-webkit-box;text-overflow:ellipsis;white-space:normal;word-break:break-word;max-height:22px}#seopress_cpt .facebook-snippet-box .snippet-fb-description,#seopress_cpt .facebook-snippet-box .snippet-fb-description-custom,#seopress_cpt .facebook-snippet-box .snippet-fb-description-default{color:#606770;font-size:14px;line-height:20px;word-break:break-word;font-family:Helvetica,Arial,sans-serif;max-height:80px;overflow:hidden;-webkit-box-orient:vertical;display:-webkit-box;text-overflow:ellipsis;white-space:normal;width:100%}#seopress_cpt .facebook-snippet-box img{display:block;height:274px;width:524px;object-fit:cover;background-color:#f0f0f0;text-align:center;border-bottom:none}#seopress_cpt .twitter-snippet-box{color:#4b4f56;font-size:14px;width:436px}#seopress_cpt .snippet-twitter-url{color:#8899a6;font-size:14px;white-space:normal;line-height:11px;text-transform:uppercase;-webkit-box-orient:vertical;display:-webkit-box;text-overflow:ellipsis}#seopress_cpt .twitter-snippet-box .twitter-snippet-text{border:1px solid #dadde1;background-color:#fff;padding:10px 12px;border-radius:0 0 10px 10px}#seopress_cpt .twitter-snippet-box .title-desc{max-height:46px;overflow:hidden}#seopress_cpt .twitter-snippet-box .snippet-twitter-img,#seopress_cpt .twitter-snippet-box .snippet-twitter-img-custom,#seopress_cpt .twitter-snippet-box .snippet-twitter-img-default{border-radius:10px 10px 0 0;overflow:hidden}#seopress_cpt .twitter-snippet-box .snippet-twitter-title,#seopress_cpt .twitter-snippet-box .snippet-twitter-title-custom,#seopress_cpt .twitter-snippet-box .snippet-twitter-title-default{font-size:1em;line-height:20px;margin-bottom:5px;max-height:1.3em;color:#000;font-weight:700;overflow:hidden;-webkit-box-orient:vertical;display:-webkit-box;text-overflow:ellipsis;white-space:normal;word-break:break-word}#seopress_cpt .twitter-snippet-box .snippet-twitter-description,#seopress_cpt .twitter-snippet-box .snippet-twitter-description-custom,#seopress_cpt .twitter-snippet-box .snippet-twitter-description-default{color:#000;font-size:14px;line-height:20px;word-break:break-word;font-family:Helvetica,Arial,sans-serif;max-height:80px;overflow:hidden;-webkit-box-orient:vertical;display:-webkit-box;text-overflow:ellipsis;white-space:normal;width:100%}#seopress_cpt .twitter-snippet-box img{display:block;height:200px;width:436px;object-fit:cover;background-color:#f0f0f0;text-align:center;border-bottom:none}.wrap-toggle-preview{position:relative}.wrap-toggle-preview p{font-weight:700;margin:0 0 1rem 0}#seopress_add_to_insights{margin-left:1rem}#seopress_add_to_insights_status{display:inline-block;font-weight:700;margin:0 0 0 1rem;vertical-align:middle;padding:.3rem;font-style:italic}#seopress_cpt .wrap-seopress-counters,#seopress_pro_cpt .wrap-seopress-counters,.seopress-setup .wrap-seopress-counters,.seopress-styles .wrap-seopress-counters{text-align:right;background:#e9ecef;padding:2px 5px;display:flex;font-size:12px;justify-content:flex-end;border-radius:0 0 .25rem .25rem}#seopress_cpt .sp-progress,#seopress_pro_cpt .sp-progress,.seopress-setup .sp-progress,.seopress-styles .sp-progress{display:flex;height:1rem;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem .25rem 0 0;margin:-15px 0 0 0}#seopress_cpt .sp-progress-bar,#seopress_pro_cpt .sp-progress-bar,.seopress-setup .sp-progress-bar,.seopress-styles .sp-progress-bar{display:flex;flex-direction:column;justify-content:center;color:#fff;text-align:center;white-space:nowrap;background-color:#0085ba;transition:width .6s ease}#seopress_cpt #seopress_titles_desc_counters,#seopress_cpt #seopress_titles_title_counters,#seopress_pro_cpt #seopress_rich_snippets_articles_counters,#seopress_pro_cpt #seopress_rich_snippets_courses_counters{display:inline;margin-right:5px}#seopress_cpt #seopress_titles_desc_counters_val,#seopress_cpt #seopress_titles_title_counters_val,#seopress_pro_cpt #seopress_rich_snippets_articles_counters_val,#seopress_pro_cpt #seopress_rich_snippets_courses_counters_val{display:inline;font-weight:700}#tab-panel-seopress_titles_help_tab li span{font-weight:700;margin-right:10px}.seopress-styles .seopress-option{margin:85px 40px 40px}@media only screen and (max-width:782px){.seopress-styles .seopress-option{margin:85px 22px 22px}}.seopress-styles .seopress-option h1{font-size:var(--titleFontSize);color:var(--titleColor);font-weight:var(--titleFontWeight);margin:var(--titleMargin);display:flex;justify-content:space-between}.seopress_wrap_archive_cpt,.seopress_wrap_single_cpt,.seopress_wrap_single_tax,.seopress_wrap_tax{margin:0 0 20px 0}#tab_seopress_titles_archives .form-table th:empty,#tab_seopress_titles_single .form-table th:empty,#tab_seopress_titles_tax .form-table th:empty{display:none}.seopress-styles .seopress-option .link-archive{font-size:var(--fontSize)}.seopress-styles .seopress-option .link-archive .dashicons{font-size:18px;width:20px;height:20px;margin:inherit}.seopress-option h1 .feature-state .dashicons{font-size:16px;width:16px;height:16px;vertical-align:middle;margin:0 10px 0 0}.seopress-styles .seopress-option .submit{padding:20px 0 20px 0;left:0;margin:0;position:sticky;bottom:0;z-index:100;display:inline-block}@media only screen and (max-width:782px){.seopress-styles .seopress-option .submit{position:relative}}.seopress-styles .seopress-option .seopress-tab .submit{display:block;position:relative}.seopress-styles #wpcontent{padding-left:0}.seopress-styles pre{font-family:Menlo,Monaco,Andale Mono,Courier New,monospace;padding:10px;display:inline-block;background-color:var(--backgroundSecondaryHover);border-radius:3px;color:var(--colorDark);font-size:var(--fontSize)}.seopress-option .seopress-settings{float:left;max-width:750px;width:100%}.seopress-option .seopress-settings label{margin:0 0 0 10px}.wrap-seopress-tab-content{position:relative;display:block;width:100%;max-width:64rem;margin:0 auto}#seopress-tabs .seopress-tab{padding:10px 1.5rem;width:100%;display:none}#seopress-tabs.full-width .seopress-tab{width:100%}@media only screen and (max-width:1024px){#seopress-tabs .seopress-tab{width:100%}}#seopress-tabs .seopress-tab.active{display:inline-block;background:#fff}@media only screen and (max-width:782px){#seopress-tabs .seopress-tab.active{width:100%;border-left:none;border-top:1px solid RGB(238,238,238)}}#seopress_htaccess_file{width:100%}.seopress-option textarea{min-height:100px}.seopress-option .wp-picker-container button{box-shadow:none;border:1px solid #0071a1;border-radius:3px;background:#f3f5f6;text-transform:none}.seopress-option .wp-picker-container input[type=text].wp-color-picker{min-width:inherit}.seopress-option .wp-picker-container .wp-picker-default{margin:0}.seopress-option .wp-picker-container .wp-picker-clear{box-shadow:none;text-transform:none;border-radius:0;background:0 0;margin:0}.seopress-option .wp-picker-container .wp-picker-clear:hover{background:0 0;text-decoration:currentColor;color:inherit}.seopress-inbox-title p{font-size:20px;color:var(--titleColor);margin:0}#seopress-admin-tabs .ui-tabs-nav{display:flex;padding-top:1rem;padding-bottom:0}#seopress-admin-tabs .nav-tab-wrapper a.nav-tab-active:focus{color:inherit}.seopress-intro{padding:20px}.seopress-option .seopress-table{background:#fff;border:1px solid var(--borderColorLight)}.seopress-option .seopress-table th{padding:15px 10px;vertical-align:middle}.wp-admin-ui_page_seopress-roles .seopress-option .seopress-table th{min-width:200px}.seopress-option .seopress-table .seopress-settings-section{background:#f1f1f1}.seopress-option .seopress-table .seopress-table-head .seopress-feature{border-bottom:1px solid var(--borderColorLight);font-weight:700;background:#f1f1f1}#seopress-content .feature-state,.seopress-option .feature-state{font-style:italic;font-size:11px;font-weight:400}@media only screen and (max-width:782px){#seopress-content .feature-state,.seopress-option .feature-state{display:none}}.seopress-option #tab_seopress_titles_archives h3,.seopress-option #tab_seopress_titles_single h3,.seopress-option #tab_seopress_titles_tax h3{margin:2em 0 1em 0;border-top:1px solid var(--borderColorLight);padding:1em 0 0 0}.seopress-option #tab_seopress_titles_archives h3:first-child,.seopress-option #tab_seopress_titles_single h3:first-child,.seopress-option #tab_seopress_titles_tax h3:first-child{margin:0 0 1em 0}.seopress-option #tab_seopress_titles_archives h3 div,.seopress-option #tab_seopress_titles_single h3 div,.seopress-option #tab_seopress_titles_tax h3 div{display:inline}#seopress-content .feature-state-on,#seopress-content .feature-state.feature-state-on,.seopress-option .feature-state-on,.seopress-option .feature-state.feature-state-on{display:inline-block}#seopress-content .feature-state-off,.seopress-option .feature-state-off{display:none}.seopress-option .postbox .inside li{list-style:square inside;padding-left:5px}#tab_seopress_page_speed .inside li{list-style:none;padding-left:0;word-break:break-word}.seopress-option .log{display:none;font-weight:700}.seopress-option input[type=text].seopress-admin-menu-input{min-width:inherit;width:100%}.seopress_page_seopress-import-export .postbox{width:calc(100% - 20px)}#seopress_cpt #seopress_titles_title_meta{margin-bottom:.2rem}.seopress-option .section-tool{border:none;box-shadow:none;background:0 0;position:relative}.seopress-option .section-tool::after{content:"";background:#dedede;height:1px;width:100%;display:block}.seopress-option .section-tool:last-child{margin-bottom:0}.seopress-option .section-tool:last-child::after{content:none}.seopress-option .section-tool .inside{padding-left:0;padding-right:0}.seopress-option .sp-section-header{width:100%;display:flex;position:relative;align-items:center}.seopress-option .sp-section-header h2{font-size:1.5em}.seopress-option .sp-section-header>.dashicons{color:var(--primaryColor);padding:10px;border-radius:6px;margin-right:10px;background:#c4f0ff}.seopress-option .sp-section-header .wrap-toggle-checkboxes{display:flex}.seopress-notice{margin:5px 0 35px 15px;position:relative;top:75px;left:25px;background:rgb(0 124 186 / 10%);border-left:4px solid var(--primaryColor);padding:8px 12px;width:calc(100% - 108px);z-index:10}#seopress-tabs .seopress-notice,#seopress_pro_cpt .seopress-notice,.seopress-setup .seopress-notice{top:inherit;left:inherit;margin:15px 0 30px 0;width:auto}.seopress-notice pre{background:#fff}.seopress-notice.is-success{border-left-color:var(--colorSuccess);background:#eff9f1}.seopress-notice.is-warning{border-left-color:#f0b849;background:#fef8ee}.seopress-notice.is-error{border-left-color:#cc1818;background:rgb(244 162 162 / 30%)}#seopress-tabs.wrap{margin:30px 0 0 0}#seopress-notifications-center .seopress-alert ul,#seopress-tabs.wrap ul{list-style:square inside;padding-left:5px;display:inline-block;max-width:35rem;width:100%}.post-type-seopress_404 .seopress-BlankState-message::before,.post-type-seopress_schemas .seopress-BlankState-message::before{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"\f103"}.post-type-seopress_schemas .seopress-BlankState-message::before{content:"\f495"}.seopress-BlankState{text-align:center;padding:5em 0 0}.seopress-BlankState .seopress-BlankState-message{color:#aaa;margin:0 auto 1.5em;line-height:1.5em;font-size:1.2em;max-width:500px}.seopress-BlankState .seopress-BlankState-message::before{color:#ddd;text-shadow:0 -1px 1px rgba(0,0,0,.2),0 1px 0 rgba(255,255,255,.8);font-size:8em;display:block;position:relative!important;top:auto;left:auto;line-height:1em;margin:0 0 .1875em}.seopress-BlankState .seopress-BlankState-cta{font-size:1.2em;padding:.75em 1.5em;margin:0 .25em}.seopress-BlankState{max-width:764px;text-align:center;margin:auto}.seopress-BlankState .seopress-BlankState-message{color:var(--titleColor);font-size:1.5em;margin:0 auto 1em}.seopress-BlankState .seopress-BlankState-message::before{font-size:120px}.seopress-BlankState .seopress-BlankState-buttons{margin-bottom:4em}#seopress_content_analysis .up,#seopress_content_analysis .up .dashicons{color:var(--colorSuccess)}#seopress_content_analysis .down,#seopress_content_analysis .down .dashicons{color:var(--colorAlert)}#seopress_content_analysis .up .dashicons{transform:rotateZ(45deg)}#seopress_content_analysis .stable .dashicons{transform:rotateZ(90deg)}#seopress_content_analysis .down .dashicons{transform:rotateZ(135deg)}#seopress_content_analysis .wrap-insights-post{clear:both;border-top:1px solid var(--borderColorCard);display:flex;align-items:center}#seopress_content_analysis .wrap-insights-post .widget-insights-title{margin:0 1rem}#seopress_content_analysis .wrap-insights-post span{font-weight:700;margin:0 .2rem 0 0}.wrap-user-roles{display:grid;grid-template-columns:repeat(4,1fr)}@media only screen and (max-width:782px){.wrap-user-roles{display:block}}#seopress-news-panel.is-active,#seopress-notifications-center.is-active{display:block!important}#seopress-notifications-center .seopress-alert{padding:16px 25px;position:relative;transition:all 150ms ease;justify-content:space-between;margin-bottom:20px}#seopress-notifications-center .seopress-alert:last-child{margin-bottom:0;border-bottom:none}#seopress-notifications-center .dashicons{display:flex;align-self:normal;width:30px;height:30px;color:var(--colorIcon);font-size:30px;margin:0 0 10px 0}#seopress-admin-tabs #tab_seopress_notifications.seopress-tab{background:0 0;padding:0;border-radius:0;width:100%}.seopress-notice #message{margin:5px 10px 2px 0}#seopress-notice a{position:relative;text-decoration:none;margin:0 0 0 .3rem}#seopress-notice a .tooltip{white-space:pre;z-index:200;padding:2px 5px;font-weight:500;font-size:12px;color:#aab7c4;background:#fff;box-shadow:0 1px 2px 0 rgba(49,49,93,.1),0 0 1px 0 rgba(0,0,0,.1);border-radius:2px;position:absolute;opacity:0;top:30px;transition:opacity .2s ease;visibility:hidden;line-height:20px;left:-100%;overflow:hidden}#seopress-notice a:hover .tooltip{opacity:1;visibility:visible}.seopress-page-list{margin:1.5rem auto}.post-type-seopress_404 .seopress-notice,.post-type-seopress_bot .seopress-notice,.post-type-seopress_schemas .seopress-notice{left:0;top:40px;margin:0 0 50px;width:calc(100% - 48px)}.seopress-search{position:relative;padding:20px}.seopress-search::before{content:"\f179";font-family:Dashicons;position:absolute;top:35px;left:30px;font-size:20px}.seopress-search input{padding-left:40px}.seopress-item-toggle-options{position:relative;cursor:pointer;padding:5px 10px;border:1px solid var(--borderColor);border-radius:3px;transform:rotate(90deg)}.seopress-item-toggle-options::before{content:"\f11c";font-family:Dashicons;font-size:18px;vertical-align:middle}.seopress-card{background:#fff;border:1px solid var(--borderColorCard);border-radius:3px;position:relative}.seopress-option .seopress-card-actions button{margin-left:.5em}.seopress-card-title{border-bottom:1px solid var(--borderColorCard);padding:18px 24px;display:flex;justify-content:space-between;align-items:center}.seopress-card-title h2{margin:0}.seopress-cart-list{border-bottom:1px solid var(--borderColorCard);padding:18px 24px;display:flex;align-items:center;text-decoration:none;color:var(--primaryColor);font-weight:700;line-height:20px}.seopress-cart-list:last-child{border-bottom:none}.seopress-cart-list:active,.seopress-cart-list:focus,.seopress-cart-list:hover{background:var(--backgroundSecondaryHover)}body .seopress-cart-list h3{font-size:var(--fontSize);color:var(--primaryColor);font-weight:700;margin:0}.seopress-cart-list p{color:var(--titleColor);font-weight:400;margin:0;font-size:12px;line-height:20px}.seopress-card-footer{padding:10px 20px;border-top:1px solid var(--borderColorLight40)}.seopress-card-popover{display:none;background:#fff;border:1px solid var(--borderColor);padding:20px;position:absolute;top:55px;overflow-y:auto;right:28px;z-index:20}.seopress-card-popover.is-open{display:block}#seopress-tabs .seopress-tag-dropdown,#seopress_cpt .seopress-tag-dropdown,#seopress_cpt .tag-title,#seopress_pro_cpt .tag-title,.seopress-button,.seopress-option .tag-title{cursor:pointer;font-weight:500;border-radius:4px;transition:all .3s linear}#seopress_cpt .wrap-tags,#seopress_pro_cpt .wrap-tags,.seopress-option .wrap-tags{position:relative;display:inline-flex;width:100%;margin:10px 0}@media only screen and (max-width:782px){#seopress_cpt .wrap-tags,#seopress_pro_cpt .wrap-tags,.seopress-option .wrap-tags{flex-wrap:wrap}}#seopress-tabs .sp-wrap-tag-variables-list,#seopress_cpt .sp-wrap-tag-variables-list,#seopress_pro_cpt .sp-wrap-tag-variables-list{position:relative;float:left;display:none}#seopress-tabs.wrap .sp-tag-variables-list,#seopress_cpt .sp-tag-variables-list,#seopress_pro_cpt .sp-tag-variables-list{position:absolute;left:-48px;width:300px;z-index:100;top:20px;color:var(--titleColor);height:300px;z-index:100;overflow:auto;background:#fff;border:1px solid var(--borderColorLight);box-shadow:0 2px 6px rgb(0 0 0 / 5%);border-radius:2px;list-style:none;padding:0}#seopress-tabs .sp-wrap-tag-variables-list.open,#seopress_cpt .sp-wrap-tag-variables-list.open,#seopress_pro_cpt .sp-wrap-tag-variables-list.open{display:block}#seopress-tabs .seopress-tag-single-all.tag-description .dashicons,#seopress-tabs .seopress-tag-single-all.tag-title .dashicons,#seopress_cpt .seopress-tag-single-all.seopress-tag-dropdown .dashicons,#seopress_cpt .seopress-tag-single-all.tag-title .dashicons,#seopress_pro_cpt .seopress-tag-single-all.tag-title .dashicons{margin:0;transition:all 150ms linear}#seopress-tabs .seopress-tag-single-all.open .dashicons,#seopress_cpt .seopress-tag-single-all.open .dashicons,#seopress_pro_cpt .seopress-tag-single-all.open .dashicons{transform:rotateX(180deg)}#seopress-tabs.wrap .sp-tag-variables-list li,#seopress_cpt .sp-tag-variables-list li,#seopress_pro_cpt .sp-tag-variables-list li{padding:8px 12px;cursor:pointer;margin:0;border-bottom:1px solid var(--borderColorLight40)}#seopress-tabs .sp-tag-variables-list li span,#seopress_cpt .sp-tag-variables-list li span,#seopress_pro_cpt .sp-tag-variables-list li span{display:block;font-weight:700;font-size:12px;margin-bottom:2px}#seopress-tabs.wrap .sp-tag-variables-list li:hover,#seopress_cpt .sp-tag-variables-list li:hover,#seopress_pro_cpt .sp-tag-variables-list li:hover{background:var(--backgroundPrimaryHover);color:#fff;border-bottom-color:#fff}#seopress-tabs.wrap .sp-tag-variables-list li::after,#seopress_cpt .sp-tag-variables-list li::after,#seopress_pro_cpt .sp-tag-variables-list li::after{content:attr(data-value);display:inline-block;background:#e9ecef;padding:1px 5px;color:#333;font-family:Menlo,Monaco,Andale Mono,Courier New,monospace;border-radius:3px;font-size:11px}#seopress-tabs.wrap .seopress-tag-dropdown .dashicons,#seopress_cpt .seopress-tag-dropdown .dashicons,#seopress_cpt .tag-title .dashicons,#seopress_pro_cpt .tag-title .dashicons,.seopress-option .tag-title .dashicons{padding:0;height:16px;width:16px;font-size:16px;margin-right:5px;color:var(--primaryColor);vertical-align:middle}#seopress-tabs.wrap .seopress-tag-dropdown:hover .dashicons,#seopress_cpt .seopress-tag-dropdown:hover .dashicons,#seopress_cpt .tag-title:hover .dashicons,#seopress_pro_cpt .tag-title:hover .dashicons,.seopress-option .tag-title:hover .dashicons{color:#fff}#seopress-tabs.wrap .seopress-tag-dropdown .dashicons{margin:0}.seopress-overlay-tag-dropdown{position:absolute;display:none;top:0;left:0;width:100%;height:100%;z-index:50}.seopress-overlay-tag-dropdown.active{display:block}#seopress-tabs .seopress-tag-dropdown,#seopress_cpt .seopress-tag-dropdown,#seopress_cpt .tag-title,#seopress_pro_cpt .tag-title,.seopress-option .tag-title{padding:5px 12px;font-size:10px;user-select:none;margin:0 5px 0 0;display:inline-flex;text-transform:uppercase;align-items:center;color:var(--primaryColor)}#seopress-tabs .seopress-tag-dropdown:focus,#seopress-tabs .seopress-tag-dropdown:hover,#seopress_cpt .seopress-tag-dropdown:focus,#seopress_cpt .seopress-tag-dropdown:hover,#seopress_cpt .tag-title:focus,#seopress_cpt .tag-title:hover,#seopress_pro_cpt .tag-title:focus,#seopress_pro_cpt .tag-title:hover,.seopress-option .tag-title:focus,.seopress-option .tag-title:hover{box-shadow:0 0 var(--wp-admin-border-width-focus) var(--backgroundPrimary);background:var(--backgroundPrimaryHover);color:#fff}@media only screen and (max-width:782px){#seopress-tabs .seopress-tag-dropdown,#seopress_cpt .seopress-tag-dropdown,#seopress_cpt .tag-title,#seopress_pro_cpt .tag-title,.seopress-option .tag-title{margin-bottom:10px}}#seopress-content .seopress-useful-tools .widget-reverse li{padding:10px;margin:0;border-bottom:1px solid var(--borderColorLight)}#seopress-content .seopress-reverse label,#seopress-content .seopress-useful-tools .widget-whois ul li span{font-weight:700}#seopress-content #seopress-reverse-url{width:100%;margin:10px 0}#seopress-content .widget-reverse p{margin:0}.seopress-styles #screen-meta{position:relative;top:60px}.seopress-styles #screen-meta-links .show-settings{box-shadow:none}.seopress-styles #screen-meta-links .screen-meta-toggle{position:fixed;top:32px;z-index:2000;right:40px}@media only screen and (max-width:782px){.seopress-styles #screen-meta-links .screen-meta-toggle{position:relative;top:60px}}#seopress-content input.toggle,#seopress_cpt input.toggle,.seopress-option input.toggle{max-height:0;max-width:0;opacity:0;position:relative}.seopress-feature input.toggle{display:block}#seopress_cpt input.toggle,.seopress_wrap_single_cpt input.toggle,.seopress_wrap_tax input.toggle{margin:0;border:none;min-width:0}#seopress-content input.toggle+label,#seopress_cpt #tabs-1 input.toggle+label,.seopress-option input.toggle+label{display:inline-block;position:relative;box-shadow:inset 0 0 0 1px #d5d5d5;text-indent:-5000px;height:20px;width:40px;border-radius:15px;margin:0 10px 0 0}#seopress-content input.toggle+label{margin:0;left:-20px}#seopress_cpt #tabs-1 input.toggle+label{margin:0}.wrap-toggle-checkboxes input.toggle+label{float:left;margin-right:10px}#seopress-content input.toggle+label:before,#seopress_cpt input.toggle+label:before,.seopress-option input.toggle+label:before{content:"";position:absolute;display:block;height:20px;width:30px;top:0;left:0;border-radius:15px;background:rgba(19,191,17,0);transition:.25s ease-in-out}#seopress-content input.toggle+label:after,#seopress_cpt input.toggle+label:after,.seopress-option input.toggle+label:after{content:"";position:absolute;display:block;height:20px;width:20px;top:0;left:0;border-radius:15px;background:#fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2),0 2px 4px rgba(0,0,0,.2);transition:.25s ease-in-out}#seopress_cpt input.toggle+label,#seopress_cpt input.toggle+label:before,.seopress_wrap_single_cpt input.toggle+label,.seopress_wrap_single_cpt input.toggle+label:before,.seopress_wrap_tax input.toggle+label,.seopress_wrap_tax input.toggle+label:before{width:40px;height:20px}#seopress_cpt input.toggle+label:after,.seopress_wrap_single_cpt input.toggle+label:after,.seopress_wrap_tax input.toggle+label:after{width:20px;height:20px}#seopress-content input.toggle[data-toggle="1"]+label:before,#seopress_cpt input.toggle[data-toggle="1"]+label:before,.seopress-option input.toggle[data-toggle="1"]+label:before,.seopress_wrap_single_cpt input.toggle[data-toggle="1"]+label:before,.seopress_wrap_tax input.toggle[data-toggle="1"]+label:before{width:40px;background:var(--backgroundPrimary)}#seopress-content input.toggle[data-toggle="1"]+label:after,#seopress_cpt input.toggle[data-toggle="1"]+label:after,.seopress-option input.toggle[data-toggle="1"]+label:after{left:20px;box-shadow:inset 0 0 0 1px var(--backgroundPrimary),0 2px 4px rgba(0,0,0,.2)}#seopress_cpt input.toggle[data-toggle="1"]+label:after,.seopress_wrap_single_cpt input.toggle[data-toggle="1"]+label:after,.seopress_wrap_tax input.toggle[data-toggle="1"]+label:after{box-shadow:inset 0 0 0 1px var(--backgroundPrimary),0 2px 4px rgba(0,0,0,.2)}#seopress-content .seopress-page-list{position:relative;display:block;max-width:64rem}@media only screen and (max-width:782px){#seopress-content .seopress-page-list{grid-template-columns:repeat(1,1fr)}}.seopress-styles .wrap{margin:0;display:flex;position:relative}.seopress-insights.seopress-styles .wrap,.toplevel_page_seopress-option.seopress-styles .wrap{display:inherit;position:inherit;margin:inherit}@media only screen and (max-width:782px){.seopress-styles .wrap{display:inherit;position:inherit;margin:inherit}}.seopress-option .wrap div.nav-tab-wrapper{margin:0;padding:0;line-height:inherit;width:15%;z-index:10;font-weight:400;display:block;border-bottom:none}@media only screen and (max-width:782px){.seopress-option .wrap div.nav-tab-wrapper{width:100%;margin:0 0 20px 0;padding:0}}#seopress-admin-tabs.wrap div.nav-tab-wrapper{background:#fff;margin:0 auto;max-width:64rem;width:100%;border-bottom:1px solid var(--borderColorCard);padding:0;line-height:inherit;position:sticky;z-index:10;top:92px;border-radius:4px 4px 0 0;font-weight:400;overflow:hidden;display:flex;align-items:center;justify-content:space-between}@media only screen and (max-width:600px){#seopress-admin-tabs.wrap div.nav-tab-wrapper{top:0;display:block}}@media only screen and (max-width:1024px){#seopress-admin-tabs.wrap div.nav-tab-wrapper{display:block}}.seopress-option .nav-tab{border:0;background:0 0;opacity:.5;padding:6px 30px 6px 10px;transition:opacity .3s linear;color:var(--titleColor);margin:0;float:none;display:inline-block;width:100%;text-align:left;font-weight:400;white-space:normal}#seopress-admin-tabs .nav-tab{background:0 0;opacity:.5;padding:14px 20px;transition:opacity .3s linear;margin:0;float:none;display:inline-block;font-weight:400}#seopress-admin-tabs .nav-tab{width:100%}#seopress-admin-tabs .nav-tab-active,#seopress-admin-tabs .nav-tab-active:focus,#seopress-admin-tabs .nav-tab-active:focus:active,#seopress-admin-tabs .nav-tab-active:hover,#seopress-admin-tabs .nav-tab:focus,.nav-tab-active:focus,.seopress-option .nav-tab-active,.seopress-option .nav-tab-active:focus:active,.seopress-option .nav-tab-active:hover,.seopress-option .nav-tab:focus{opacity:1;outline:0;font-weight:600;position:relative;border-left:3px solid var(--backgroundPrimary)}#seopress-admin-tabs .nav-tab-active,#seopress-admin-tabs .nav-tab-active:focus,#seopress-admin-tabs .nav-tab-active:focus:active,#seopress-admin-tabs .nav-tab-active:hover,#seopress-admin-tabs .nav-tab:focus{border-bottom:4px solid var(--backgroundPrimary);border-left:none}#seopress-admin-tabs .nav-tab:hover,.seopress-option .nav-tab:hover{opacity:1}#seopress-admin-tabs .nav-tab:focus,.seopress-option .nav-tab:focus{outline:0;box-shadow:none}@keyframes sp-fade-in-out{0%{opacity:0;bottom:0;visibility:hidden}25%{opacity:1;bottom:40px;visibility:visible}75%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}.sp-components-snackbar-list{position:fixed;right:0;bottom:40px;padding-left:16px;padding-right:16px;animation-name:sp-fade-in-out;animation-duration:5s;animation-iteration-count:1;animation-fill-mode:forwards;visibility:hidden;z-index:1}.sp-components-snackbar__content{display:flex;align-items:center;justify-content:space-between;line-height:1.4}.sp-components-snackbar{font-family:var(--fontFamily);font-size:var(--fontSize);background-color:#32373c;border-radius:4px;box-shadow:0 2px 4px rgba(0,0,0,.3);color:#fff;padding:16px 24px;cursor:pointer}.sp-components-snackbar .dashicons{color:#fff}
|
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="30.147" height="30.132" viewBox="0 0 30.147 30.132"><g transform="translate(-27.479 15.194) rotate(-45)"><path d="M39.7,32.49H31.088a.933.933,0,0,0,0,1.861H39.7a.933.933,0,0,0,0-1.861Z" transform="translate(-13.553 3.439)" fill="#fff"/><path d="M31.088,1.951H39.7A.933.933,0,0,0,39.7.09H31.088a.933.933,0,0,0,0,1.861Z" transform="translate(-13.553 22.105)" fill="#fff"/><path d="M49.465.11a7.8,7.8,0,0,0-7.74,6.867h-10.6a.933.933,0,0,0,0,1.861h10.6A7.8,7.8,0,1,0,49.465.11Zm0,13.687a5.888,5.888,0,1,1,5.888-5.888A5.888,5.888,0,0,1,49.465,13.8Z" transform="translate(-13.576 22.094)" fill="#fff"/></g></svg>
|
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1680" height="800" viewBox="0 0 1680 800"><defs><clipPath id="a"><rect width="1680" height="800" fill="#f8f9fb"/></clipPath></defs><g clip-path="url(#a)"><g transform="translate(-1605.187 -1524.6)"><g transform="translate(203.883)"><circle cx="493.36" cy="493.36" r="493.36" transform="translate(1040.44 1040.44)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><circle cx="201.432" cy="201.432" r="201.432" transform="translate(1332.369 1332.369)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><g transform="translate(795.996 795.996)"><circle cx="737.804" cy="737.804" r="737.804" transform="translate(0 0)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1" stroke-dasharray="40 10 80"/></g><circle cx="992.713" cy="992.713" r="992.713" transform="translate(541.087 541.087)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1" stroke-dasharray="0 10 460"/><circle cx="1316.278" cy="1316.278" r="1316.278" transform="translate(217.522 217.522)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1" stroke-dasharray="0 10 460"/><circle cx="1533.8" cy="1533.8" r="1533.8" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1" stroke-dasharray="0 10 460"/><circle cx="546.112" cy="546.112" r="546.112" transform="translate(987.688 987.688)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1" stroke-dasharray="40 10 80"/><path d="M1016.9,663.112" transform="translate(516.901 870.688)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/></g><g transform="translate(395.32 650.056)"><line x1="410.7" y1="706.481" transform="translate(832.134)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><line x1="1161.273" y1="680.85" transform="translate(0 108.731)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><line x1="466.469" transform="translate(673.259 883.745)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><line x1="702.653" y2="418.187" transform="translate(458.619 975.788)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><line y2="819.16" transform="translate(1342.363 1085.044)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><line x2="219.716" y2="387.943" transform="translate(1445.968 1055.81)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><line x2="109.269" y2="64.916" transform="translate(1521.366 977.044)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><line y1="416.067" x2="706.273" transform="translate(1519.835 373.514)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><path d="M1016.9,681.73l41.876-61.518,160.43-235.678,223.725-84.909" transform="translate(428.401 24.751)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/></g><circle cx="19.373" cy="19.373" r="19.373" transform="translate(508.799 814.869)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><circle cx="19.373" cy="19.373" r="19.373" transform="translate(707.763 931.494)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><circle cx="16.178" cy="16.178" r="16.178" transform="translate(1228.146 717.922)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><circle cx="19.373" cy="19.373" r="19.373" transform="translate(2146.26 1267.96)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><circle cx="9.373" cy="9.373" r="9.373" transform="translate(1918.709 1850.938)" fill="#f8f9fb" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><circle cx="32.373" cy="32.373" r="32.373" transform="translate(3008.709 1668.938)" fill="#f8f9fb" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><circle cx="144.373" cy="144.373" r="144.373" transform="translate(3073.709 1850.938)" fill="#f8f9fb" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><path d="M-112.276,1070.365l779,178.1,424.8-412.655,40.526-490.063L364.914-229.331" transform="translate(112.276 389.754)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><circle cx="19.282" cy="19.282" r="19.282" transform="translate(755.89 1618.934)" fill="none" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><circle cx="8.373" cy="8.373" r="8.373" transform="translate(1730.412 2171.855) rotate(-90)" fill="#f8f9fb" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><circle cx="8.373" cy="8.373" r="8.373" transform="translate(3061.899 2301.855) rotate(-90)" fill="#f8f9fb" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/><circle cx="7.373" cy="7.373" r="7.373" transform="translate(1730.311 1850.938)" fill="#f8f9fb" stroke="#e8e7ff" stroke-miterlimit="10" stroke-width="1"/></g></g></svg>
|
@@ -1 +0,0 @@
|
|
1 |
-
<svg xmlns="http://www.w3.org/2000/svg" width="703.709" height="540.708" viewBox="0 0 703.709 540.708"><ellipse cx="292.438" cy="22.707" rx="292.438" ry="22.707" transform="translate(30.021 432.038)" fill="#6c63ff" opacity="0.1"/><g transform="translate(467.793 63.325)" opacity="0.1"><path d="M810.974,444.387c-1.748-5.305-8.835-7.748-15.826-5.45a17.037,17.037,0,0,0-2.91,1.259c-.447-.124-.908-.234-1.376-.317a15.434,15.434,0,0,0,.433-4.672,16.927,16.927,0,0,0,7.5-14.773,16.947,16.947,0,0,0,7.473-14.773,16.347,16.347,0,0,0,5.663-6.413c3.372-6.674,1.975-14.175-3.124-16.755s-11.973.743-15.344,7.418a16.3,16.3,0,0,0-1.81,8.36,16.948,16.948,0,0,0-7.473,14.773,16.947,16.947,0,0,0-7.473,14.773,16.955,16.955,0,0,0-7.5,14.78,16.347,16.347,0,0,0-5.663,6.413,17.532,17.532,0,0,0-1.431,3.95,14.57,14.57,0,0,0-3.055-3.255,17.466,17.466,0,0,0-.688-3.1c-2.3-7-8.464-11.264-13.762-9.516s-7.748,8.828-5.45,15.826a15.871,15.871,0,0,0,5.2,7.624,17.471,17.471,0,0,0,.688,3.1,15.14,15.14,0,0,0,6.984,8.773,15.952,15.952,0,0,0-.571,2.684,17.4,17.4,0,0,0-5.188,10.259,17.389,17.389,0,0,0-5.188,10.266,16.955,16.955,0,0,0-3.44,4.686c-3.378,6.674-1.982,14.182,3.117,16.755s11.973-.736,15.351-7.418a16.945,16.945,0,0,0,1.72-5.567,17.4,17.4,0,0,0,5.188-10.259,17.389,17.389,0,0,0,5.188-10.266,17.347,17.347,0,0,0,5.126-10.259,17.346,17.346,0,0,0,5.2-10.28,16.568,16.568,0,0,0,2.333-2.752,16.139,16.139,0,0,0,8.443-.53,17.035,17.035,0,0,0,2.91-1.259,15.969,15.969,0,0,0,9.234-.33C808.428,455.865,812.715,449.7,810.974,444.387Z" transform="translate(-697.297 -182.356)" fill="#3f3d56"/><g transform="translate(39.24 217.808)" opacity="0.1"><path d="M825.7,442.44a14.79,14.79,0,0,1-2.367,1.892,15.823,15.823,0,0,1-.764,5.8,18.041,18.041,0,0,0,1.445-2.36A16.956,16.956,0,0,0,825.7,442.44Z" transform="translate(-763.601 -419.134)"/><path d="M836.561,420.97a14.783,14.783,0,0,1-2.367,1.892,15.821,15.821,0,0,1-.764,5.8,17.683,17.683,0,0,0,1.445-2.367A17.1,17.1,0,0,0,836.561,420.97Z" transform="translate(-766.988 -412.438)"/><path d="M811.438,411.6a15.066,15.066,0,0,1,.117-3.034,17.144,17.144,0,0,0-3.289,4.521,17.629,17.629,0,0,0-1.046,2.567A15.658,15.658,0,0,1,811.438,411.6Z" transform="translate(-758.813 -408.57)"/><path d="M744.42,540.608a16.251,16.251,0,0,1,2.03-2.326,15.752,15.752,0,0,1,.6-2.752,17.287,17.287,0,0,0-1.576,2.553A17.655,17.655,0,0,0,744.42,540.608Z" transform="translate(-739.225 -448.17)"/><path d="M751.96,525.739a16.19,16.19,0,0,1,2.03-2.326,15.81,15.81,0,0,1,.571-2.684h0a17.7,17.7,0,0,0-1.514,2.47A18.482,18.482,0,0,0,751.96,525.739Z" transform="translate(-741.577 -443.554)"/><path d="M814.984,463.836a14.318,14.318,0,0,1-2.36,1.885,15.434,15.434,0,0,1-.433,4.672,12.879,12.879,0,0,1,1.376.317,17.033,17.033,0,0,1,2.911-1.259c7-2.3,14.085.145,15.826,5.45a8.039,8.039,0,0,1,.22,4.129c2.305-2.711,3.261-6.014,2.271-9.042-1.748-5.305-8.835-7.748-15.826-5.45a17.033,17.033,0,0,0-2.911,1.259c-.447-.124-.908-.234-1.376-.317C814.812,464.93,814.908,464.387,814.984,463.836Z" transform="translate(-760.363 -425.757)"/><path d="M739.505,550.4a17.224,17.224,0,0,0-1.576,2.553,18.286,18.286,0,0,0-1.06,2.573,16.851,16.851,0,0,1,2.064-2.339A15.77,15.77,0,0,1,739.505,550.4Z" transform="translate(-736.87 -452.808)"/><path d="M800.528,433.074a15.175,15.175,0,0,1,.117-3.034,17.144,17.144,0,0,0-3.289,4.521,17.633,17.633,0,0,0-1.046,2.567A15.66,15.66,0,0,1,800.528,433.074Z" transform="translate(-755.41 -415.267)"/><path d="M786.438,521.055a16.7,16.7,0,0,1-.688,3.014,18.334,18.334,0,0,0,1.438-2.367,17.5,17.5,0,0,0,1.122-2.752A16.678,16.678,0,0,1,786.438,521.055Z" transform="translate(-752.116 -442.999)"/><path d="M771.358,550.875a16.625,16.625,0,0,1-.688,3.014,17.7,17.7,0,0,0,1.445-2.367,18.231,18.231,0,0,0,1.122-2.752A16.219,16.219,0,0,1,771.358,550.875Z" transform="translate(-747.413 -452.3)"/><path d="M778.9,535.974a16.576,16.576,0,0,1-.688,3.014,18.372,18.372,0,0,0,1.473-2.326,17.5,17.5,0,0,0,1.122-2.752A16.667,16.667,0,0,1,778.9,535.974Z" transform="translate(-749.764 -447.665)"/><path d="M793.978,506.124a16.481,16.481,0,0,1-.688,3.007,17.819,17.819,0,0,0,1.438-2.36,17.542,17.542,0,0,0,1.129-2.8A15.977,15.977,0,0,1,793.978,506.124Z" transform="translate(-754.468 -438.326)"/><path d="M743.367,466.97c5.312-1.741,11.477,2.518,13.762,9.516a17.66,17.66,0,0,1,.688,3.1,14.567,14.567,0,0,1,3.055,3.255,17.554,17.554,0,0,1,1.431-3.957c.241-.468.5-.915.771-1.376a14.5,14.5,0,0,0-2.752-2.876,17.473,17.473,0,0,0-.688-3.1c-2.3-7-8.464-11.264-13.762-9.516-3.028.991-5.119,3.723-5.931,7.177A8.041,8.041,0,0,1,743.367,466.97Z" transform="translate(-737.828 -425.12)"/><path d="M778.808,476.018a15.057,15.057,0,0,1,.124-3.028,17.024,17.024,0,0,0-3.3,4.521,17.239,17.239,0,0,0-1.046,2.56A15.825,15.825,0,0,1,778.808,476.018Z" transform="translate(-748.635 -428.663)"/><path d="M789.668,454.538a15.048,15.048,0,0,1,.124-3.028,16.874,16.874,0,0,0-3.3,4.514,17.652,17.652,0,0,0-1.046,2.567A15.66,15.66,0,0,1,789.668,454.538Z" transform="translate(-752.023 -421.963)"/><path d="M763.818,565.773a16.643,16.643,0,0,1-.688,3.021,17.692,17.692,0,0,0,2.567-5.154A16.174,16.174,0,0,1,763.818,565.773Z" transform="translate(-745.061 -456.938)"/></g><path d="M846.823,362.718a16.29,16.29,0,0,0,5.663-6.413c3.379-6.674,1.982-14.182-3.117-16.762s-11.973.743-15.351,7.424a16.289,16.289,0,0,0-1.8,8.381,16.947,16.947,0,0,0-7.473,14.773,16.246,16.246,0,0,0-5.663,6.413,16.976,16.976,0,0,0-1.039,2.539,14.35,14.35,0,0,1,7.411-5.5,8.422,8.422,0,0,0,10.6,5.424l.089-.029a14.343,14.343,0,0,1,0,9.227,17.567,17.567,0,0,0,1.431-2.34,16.291,16.291,0,0,0,1.8-8.36,16.906,16.906,0,0,0,7.473-14.773Z" transform="translate(-722.948 -168.959)" fill="#3f3d56"/><path d="M922.208,193.422a49.542,49.542,0,0,0,6-3.323l-22.246-16.253,26.147,13.466a49.631,49.631,0,0,0,18.578-34.618l-44.437.454,44.533-7.445a49.543,49.543,0,1,0-98.108,12.578,49.626,49.626,0,0,0-9.124,5.5l23.223,32.292-27.881-28.267a49.6,49.6,0,0,0-13.879,45.146,49.542,49.542,0,1,0,69.532,35.161,49.543,49.543,0,0,0,27.661-54.7Z" transform="translate(-716.203 -94.371)" fill="#6c63ff"/><path d="M829.4,217.542a49.386,49.386,0,0,0-4.369,32.141,49.542,49.542,0,1,0,69.531,35.161C904.29,280.331,831.9,212.581,829.4,217.542Z" transform="translate(-716.209 -131.098)" opacity="0.1"/><circle cx="7.356" cy="7.356" r="7.356" transform="translate(161.672)" fill="#6c63ff"/><circle cx="7.356" cy="7.356" r="7.356" transform="translate(204.636 4.72)" fill="#6c63ff"/><circle cx="7.356" cy="7.356" r="7.356" transform="translate(221.205 70.818)" fill="#6c63ff"/><circle cx="7.356" cy="7.356" r="7.356" transform="translate(198.842 103.826)" fill="#6c63ff"/><circle cx="7.356" cy="7.356" r="7.356" transform="translate(168.291 172.38)" fill="#6c63ff"/><circle cx="7.356" cy="7.356" r="7.356" transform="translate(168.291 172.38)" opacity="0.1"/><circle cx="7.356" cy="7.356" r="7.356" transform="translate(100.363 94.736)" fill="#6c63ff"/><circle cx="7.356" cy="7.356" r="7.356" transform="translate(100.363 94.736)" opacity="0.1"/><path d="M822.364,409.012c-4.892-2.47-6.372-9.468-3.516-15.922-.151.261-.3.53-.434.812-3.378,6.674-1.982,14.175,3.117,16.755s11.973-.743,15.344-7.418c.144-.275.268-.557.392-.833C833.766,408.538,827.25,411.49,822.364,409.012Z" transform="translate(-722.49 -185.934)" opacity="0.1"/><path d="M811.8,429.889c-4.885-2.47-6.372-9.468-3.509-15.929-.151.268-.3.537-.44.812-3.379,6.674-1.982,14.181,3.117,16.755s11.973-.736,15.351-7.418c.138-.275.268-.55.392-.833C823.206,429.408,816.7,432.359,811.8,429.889Z" transform="translate(-719.196 -192.443)" opacity="0.1"/><path d="M801.245,450.762c-4.885-2.47-6.372-9.468-3.509-15.922-.151.262-.3.53-.44.812-3.379,6.674-1.975,14.175,3.124,16.755s11.966-.743,15.344-7.418c.138-.275.268-.557.392-.833C812.654,450.288,806.137,453.24,801.245,450.762Z" transform="translate(-715.903 -198.956)" opacity="0.1"/><path d="M790.723,471.692c-4.892-2.47-6.372-9.468-3.516-15.922-.151.261-.3.53-.44.805-3.372,6.674-1.975,14.182,3.124,16.762s11.973-.743,15.344-7.424c.145-.275.268-.55.392-.833C802.1,471.176,795.588,474.128,790.723,471.692Z" transform="translate(-712.62 -205.484)" opacity="0.1"/><path d="M780.134,492.512c-4.892-2.47-6.372-9.468-3.516-15.922-.151.261-.3.53-.434.812-3.378,6.674-1.982,14.175,3.117,16.755s11.973-.743,15.351-7.418c.138-.275.268-.557.392-.833C791.549,492.038,785.019,494.989,780.134,492.512Z" transform="translate(-709.318 -211.978)" opacity="0.1"/><path d="M769.574,513.392c-4.885-2.47-6.372-9.468-3.509-15.922-.151.262-.3.53-.44.805-3.379,6.674-1.982,14.182,3.124,16.762s11.938-.75,15.379-7.424c.138-.275.268-.55.392-.833C780.976,512.911,774.494,515.863,769.574,513.392Z" transform="translate(-706.024 -218.491)" opacity="0.1"/><path d="M759.016,534.262c-4.885-2.47-6.372-9.468-3.509-15.922-.151.268-.3.53-.44.812-3.372,6.674-1.975,14.175,3.124,16.755s11.973-.743,15.344-7.418c.145-.275.268-.557.392-.833C770.425,533.788,763.909,536.74,759.016,534.262Z" transform="translate(-702.732 -225)" opacity="0.1"/><path d="M748.464,555.142c-4.892-2.47-6.372-9.468-3.516-15.922q-.227.392-.433.805c-3.378,6.674-1.982,14.182,3.117,16.762s11.973-.743,15.351-7.424c.138-.275.261-.551.385-.833C759.866,554.661,753.349,557.585,748.464,555.142Z" transform="translate(-699.439 -231.513)" opacity="0.1"/><path d="M741.524,568.859c-4.885-2.477-6.372-9.468-3.509-15.929-.151.268-.3.537-.44.812-3.378,6.674-1.982,14.182,3.117,16.755s11.973-.736,15.351-7.418c.138-.275.268-.55.392-.833C752.926,568.378,746.409,571.329,741.524,568.859Z" transform="translate(-697.275 -235.789)" opacity="0.1"/><path d="M902.138,466.49a25.738,25.738,0,0,0,1.376-6.736,3.674,3.674,0,0,0-.017-7.349,3.75,3.75,0,0,0-.541.041,25.673,25.673,0,0,0-13.514-17.416,3.677,3.677,0,1,0-6.564-3.317,3.454,3.454,0,0,0-.33.984,25.8,25.8,0,0,0-22.617,6.778,25.9,25.9,0,0,0-6.757-.2l-2.979,13.562-.179-13.074a25.748,25.748,0,1,0,13.762,49.542,3.633,3.633,0,0,0,1.548,1.486,3.675,3.675,0,0,0,5.037-4.734,25.769,25.769,0,0,0,3.3-2.7,25.769,25.769,0,0,0,27.049-13.645l-13.865-2.333Z" transform="translate(-726.608 -197.351)" fill="#6c63ff"/><g transform="translate(103.132 240.935)" opacity="0.1"><path d="M880.7,476.97c-5.119-6.757-8.257-14.76-11.87-22.439a93.751,93.751,0,0,0-4.865-9.193l-2.711-3.158c-.454.385-.908.784-1.376,1.2a25.9,25.9,0,0,0-6.757-.2l-2.979,13.562-.179-13.074a25.748,25.748,0,1,0,13.762,49.542,3.634,3.634,0,0,0,1.548,1.486,3.675,3.675,0,0,0,5.037-4.734,25.716,25.716,0,0,0,3.3-2.7,25.8,25.8,0,0,0,15.441-2.284A36.279,36.279,0,0,1,880.7,476.97Z" transform="translate(-829.724 -442.18)"/></g><path d="M743.3,427.035a3.674,3.674,0,0,0-3.289-5.333,25.715,25.715,0,0,0-8.051-14.333,25.815,25.815,0,0,0,.757-8.051l-13.521-2.305,13.129-.826a26.194,26.194,0,0,0-.97-3.633,3.751,3.751,0,0,0,1.211-1.376,3.681,3.681,0,0,0-4.534-5.119,25.748,25.748,0,0,0-45.957,21.276,3.611,3.611,0,0,0-1.83,1.72,3.674,3.674,0,0,0,4.645,5.071,25.827,25.827,0,0,0,4.879,5.952,25.739,25.739,0,0,0,1.2,16.349l18.131-4.707-16.17,8.5a25.748,25.748,0,0,0,47.416-11.188A3.667,3.667,0,0,0,743.3,427.035Z" transform="translate(-679.842 -180.348)" fill="#6c63ff"/><path d="M747.427,441.039a3.674,3.674,0,0,0-3.289-5.333,25.715,25.715,0,0,0-8.051-14.333c.11-.434.206-.86.289-1.294a9.07,9.07,0,0,0-1.328,1.177c-2.443,2.677-3.695,6.275-6.11,8.98-2.849,3.193-7.115,4.858-11.374,5.305a43.3,43.3,0,0,1-12.75-1.025c-3.482-.688-7.012-1.486-10.542-1.149a5.893,5.893,0,0,0-1,.131c.206.2.413.4.626.592a25.729,25.729,0,0,0,1.2,16.349l18.131-4.713-16.17,8.5a25.748,25.748,0,0,0,47.416-11.188A3.667,3.667,0,0,0,747.427,441.039Z" transform="translate(-683.974 -194.352)" opacity="0.1"/></g><g transform="translate(0 219.769)" opacity="0.1"><path d="M88.858,496.9c.881-2.677,4.452-3.908,7.975-2.752a8.766,8.766,0,0,1,1.466.633c.227-.062.461-.117.688-.158a7.743,7.743,0,0,1-.22-2.353A8.574,8.574,0,0,1,95,484.824a8.55,8.55,0,0,1-3.764-7.438,8.258,8.258,0,0,1-2.849-3.234c-1.693-3.358-1-7.135,1.576-8.443s6.035.378,7.734,3.736a8.254,8.254,0,0,1,.908,4.218,8.511,8.511,0,0,1,3.764,7.438,8.534,8.534,0,0,1,3.764,7.445,8.511,8.511,0,0,1,3.764,7.438,8.256,8.256,0,0,1,2.856,3.234,8.715,8.715,0,0,1,.688,2,7.321,7.321,0,0,1,1.534-1.645,8.679,8.679,0,0,1,.358-1.562c1.163-3.523,4.266-5.67,6.943-4.817s3.9,4.452,2.752,7.975a8.027,8.027,0,0,1-2.622,3.846,8.726,8.726,0,0,1-.358,1.555,7.638,7.638,0,0,1-3.516,4.418,8.847,8.847,0,0,1,.289,1.376,8.658,8.658,0,0,1,1.741,2.36,8.475,8.475,0,0,1,.867,2.807,8.645,8.645,0,0,1,1.748,2.36,8.529,8.529,0,0,1,.867,2.807,8.563,8.563,0,0,1,1.748,2.367c1.7,3.358,1,7.142-1.569,8.436s-6.035-.372-7.734-3.736a8.583,8.583,0,0,1-.867-2.807,8.736,8.736,0,0,1-2.615-5.168,8.735,8.735,0,0,1-2.615-5.167,8.655,8.655,0,0,1-1.748-2.36,8.749,8.749,0,0,1-.867-2.807,8.655,8.655,0,0,1-1.741-2.36,8.475,8.475,0,0,1-.867-2.807A7.988,7.988,0,0,1,104,504.91a8.186,8.186,0,0,1-4.252-.261,9.185,9.185,0,0,1-1.473-.64,7.988,7.988,0,0,1-4.645-.165C90.138,502.68,87.984,499.577,88.858,496.9Z" transform="translate(-27.281 -364.89)" fill="#3f3d56"/><g transform="translate(61.414 109.73)" opacity="0.1"><path d="M98.52,495.91a7.391,7.391,0,0,0,1.2.956,7.773,7.773,0,0,0,.385,2.918,8.232,8.232,0,0,1-.729-1.19A8.594,8.594,0,0,1,98.52,495.91Z" transform="translate(-92.143 -484.178)"/><path d="M93.05,485.11a7.73,7.73,0,0,0,1.2.95,7.837,7.837,0,0,0,.385,2.924A8.74,8.74,0,0,1,93.05,485.11Z" transform="translate(-90.437 -480.809)"/><path d="M105.455,480.387a7.61,7.61,0,0,0-.055-1.528,8.693,8.693,0,0,1,1.658,2.278,8.918,8.918,0,0,1,.523,1.294A7.857,7.857,0,0,0,105.455,480.387Z" transform="translate(-94.289 -478.86)"/><path d="M139.581,545.386a8,8,0,0,0-1.018-1.17,8.464,8.464,0,0,0-.3-1.376,9.148,9.148,0,0,1,1.321,2.546Z" transform="translate(-104.538 -498.816)"/><path d="M135.757,537.876a8,8,0,0,0-1.018-1.17,8.089,8.089,0,0,0-.289-1.376h0a8.713,8.713,0,0,1,1.294,2.532Z" transform="translate(-103.35 -496.474)"/><path d="M99.4,506.706a6.962,6.962,0,0,0,1.19.943,7.489,7.489,0,0,0,.22,2.353,6.748,6.748,0,0,0-.688.158,9.1,9.1,0,0,0-1.473-.633c-3.523-1.156-7.094.076-7.968,2.752a4.006,4.006,0,0,0-.117,2.064,4.769,4.769,0,0,1-1.142-4.548c.881-2.677,4.452-3.908,7.975-2.752a8.763,8.763,0,0,1,1.466.633c.227-.062.461-.117.688-.158A7.086,7.086,0,0,1,99.4,506.706Z" transform="translate(-89.253 -487.515)"/><path d="M142.06,550.31a8.809,8.809,0,0,1,.791,1.287,8.964,8.964,0,0,1,.53,1.294,8.091,8.091,0,0,0-1.018-1.177A8.5,8.5,0,0,0,142.06,550.31Z" transform="translate(-105.724 -501.146)"/><path d="M110.925,491.218a7.61,7.61,0,0,0-.055-1.528,8.6,8.6,0,0,1,1.658,2.278,8.841,8.841,0,0,1,.523,1.287A7.831,7.831,0,0,0,110.925,491.218Z" transform="translate(-95.995 -482.238)"/><path d="M118.426,535.52a8.258,8.258,0,0,0,.337,1.514,8.7,8.7,0,0,1-1.294-2.594A8.066,8.066,0,0,0,118.426,535.52Z" transform="translate(-98.054 -496.196)"/><path d="M126.02,550.553a8.708,8.708,0,0,0,.344,1.514,8.23,8.23,0,0,1-.729-1.19,8.894,8.894,0,0,1-.564-1.376A8.954,8.954,0,0,0,126.02,550.553Z" transform="translate(-100.424 -500.893)"/><path d="M122.226,543.043a8.256,8.256,0,0,0,.337,1.514,8.846,8.846,0,0,1-.729-1.19,8.709,8.709,0,0,1-.564-1.376A8.071,8.071,0,0,0,122.226,543.043Z" transform="translate(-99.239 -498.551)"/><path d="M114.642,528.016a8.2,8.2,0,0,0,.337,1.521,8.53,8.53,0,0,1-.688-1.19,8.434,8.434,0,0,1-.571-1.376A7.689,7.689,0,0,0,114.642,528.016Z" transform="translate(-96.884 -493.866)"/><path d="M135.423,508.286c-2.677-.881-5.78,1.266-6.936,4.817a8.682,8.682,0,0,0-.358,1.562,7.3,7.3,0,0,0-1.541,1.638,8.842,8.842,0,0,0-.722-2c-.117-.234-.248-.461-.385-.688a7.326,7.326,0,0,1,1.376-1.445,8.682,8.682,0,0,1,.358-1.562c1.163-3.523,4.266-5.67,6.943-4.817a4.768,4.768,0,0,1,2.986,3.619A4.082,4.082,0,0,0,135.423,508.286Z" transform="translate(-100.552 -487.203)"/><path d="M121.865,512.838a7.608,7.608,0,0,0-.055-1.528,8.6,8.6,0,0,1,1.658,2.278,8.92,8.92,0,0,1,.523,1.294A7.765,7.765,0,0,0,121.865,512.838Z" transform="translate(-99.408 -488.981)"/><path d="M116.4,502.018a7.66,7.66,0,0,0-.055-1.528A8.836,8.836,0,0,1,118,502.768a8.925,8.925,0,0,1,.523,1.294A7.857,7.857,0,0,0,116.4,502.018Z" transform="translate(-97.701 -485.607)"/><path d="M129.82,558.063a8.16,8.16,0,0,0,.344,1.521,8.633,8.633,0,0,1-.729-1.2,8.9,8.9,0,0,1-.564-1.376A8.936,8.936,0,0,0,129.82,558.063Z" transform="translate(-101.61 -503.236)"/></g><path d="M80.308,455.76a8.2,8.2,0,0,1-2.849-3.227c-1.7-3.365-1-7.142,1.569-8.443s6.035.372,7.734,3.736a8.207,8.207,0,0,1,.908,4.211,8.534,8.534,0,0,1,3.764,7.445,8.256,8.256,0,0,1,2.856,3.227,9.142,9.142,0,0,1,.523,1.28,7.278,7.278,0,0,0-3.736-2.752,4.239,4.239,0,0,1-5.313,2.776l-.075-.024a7.243,7.243,0,0,0,0,4.645A9.065,9.065,0,0,1,85,467.458a8.26,8.26,0,0,1-.915-4.211,8.554,8.554,0,0,1-3.764-7.445Z" transform="translate(-23.871 -358.148)" fill="#3f3d56"/><path d="M15.378,370.33a25.273,25.273,0,0,1-3.021-1.672l11.2-8.188-13.17,6.778a25,25,0,0,1-9.351-17.436l22.39.234L.99,346.288a24.971,24.971,0,1,1,49.412,6.33,25.3,25.3,0,0,1,4.6,2.752L43.3,371.638l14.044-14.23a24.991,24.991,0,0,1,6.991,22.741,24.971,24.971,0,1,1-35.024,17.711,24.963,24.963,0,0,1-13.934-27.524Z" transform="translate(-0.309 -320.43)" fill="#6c63ff"/><path d="M74.749,382.631a24.853,24.853,0,0,1,2.2,16.191,24.971,24.971,0,1,1-35.024,17.711C37.021,414.255,73.489,380.133,74.749,382.631Z" transform="translate(-12.924 -339.075)" opacity="0.1"/><circle cx="3.709" cy="3.709" r="3.709" transform="translate(29.987)" fill="#6c63ff"/><circle cx="3.709" cy="3.709" r="3.709" transform="translate(8.34 2.381)" fill="#6c63ff"/><circle cx="3.709" cy="3.709" r="3.709" transform="translate(0 35.677)" fill="#6c63ff"/><circle cx="3.709" cy="3.709" r="3.709" transform="translate(11.264 52.309)" fill="#6c63ff"/><circle cx="3.709" cy="3.709" r="3.709" transform="translate(26.65 86.844)" fill="#6c63ff"/><circle cx="3.709" cy="3.709" r="3.709" transform="translate(26.65 86.844)" opacity="0.1"/><circle cx="3.709" cy="3.709" r="3.709" transform="translate(60.868 47.726)" fill="#6c63ff"/><circle cx="3.709" cy="3.709" r="3.709" transform="translate(60.868 47.726)" opacity="0.1"/><path d="M96.194,479.083c2.463-1.245,3.206-4.768,1.768-8.023.076.138.151.268.22.406,1.7,3.365,1,7.142-1.576,8.443s-6.028-.372-7.727-3.736c-.069-.138-.138-.275-.2-.42C90.448,478.842,93.731,480.329,96.194,479.083Z" transform="translate(-27.66 -366.697)" opacity="0.1"/><path d="M101.507,489.6c2.463-1.245,3.213-4.775,1.775-8.023.076.131.151.268.22.406,1.7,3.365,1,7.142-1.576,8.443s-6.028-.372-7.727-3.736c-.076-.138-.138-.282-.2-.42C95.768,489.376,99.057,490.849,101.507,489.6Z" transform="translate(-29.32 -369.979)" opacity="0.1"/><path d="M106.827,500.113c2.463-1.245,3.213-4.768,1.768-8.023.083.138.151.268.227.413,1.7,3.358.991,7.142-1.576,8.436s-6.028-.372-7.727-3.736c-.076-.138-.138-.275-.2-.42C101.081,499.872,104.364,501.359,106.827,500.113Z" transform="translate(-30.979 -373.257)" opacity="0.1"/><path d="M112.147,510.633c2.463-1.245,3.213-4.768,1.768-8.023.076.131.151.268.22.406,1.706,3.365,1,7.142-1.569,8.443s-6.035-.372-7.734-3.736c-.069-.138-.131-.282-.193-.42C106.4,510.385,109.684,511.879,112.147,510.633Z" transform="translate(-32.638 -376.538)" opacity="0.1"/><path d="M117.464,521.146c2.463-1.245,3.206-4.769,1.768-8.016.076.131.151.268.22.406,1.7,3.365,1,7.142-1.569,8.443s-6.035-.378-7.734-3.736c-.069-.145-.131-.282-.2-.42C111.718,520.905,115,522.392,117.464,521.146Z" transform="translate(-34.295 -379.819)" opacity="0.1"/><path d="M122.784,531.663c2.463-1.245,3.207-4.768,1.768-8.023.076.138.151.268.22.406,1.7,3.365,1,7.142-1.569,8.443s-6.035-.372-7.734-3.736c-.069-.138-.138-.275-.2-.42C117.038,531.395,120.321,532.909,122.784,531.663Z" transform="translate(-35.954 -383.098)" opacity="0.1"/><path d="M128.1,542.183c2.456-1.245,3.206-4.775,1.768-8.023.076.131.151.268.22.406,1.7,3.365,1,7.142-1.576,8.443s-6.028-.378-7.727-3.736c-.069-.144-.138-.282-.2-.42C122.358,541.935,125.641,543.429,128.1,542.183Z" transform="translate(-37.613 -386.379)" opacity="0.1"/><path d="M133.417,552.693c2.463-1.245,3.213-4.768,1.768-8.023.083.138.151.268.227.413,1.7,3.358.991,7.142-1.576,8.436s-6.028-.372-7.727-3.736c-.076-.138-.138-.275-.2-.42C127.678,552.452,130.954,553.939,133.417,552.693Z" transform="translate(-39.273 -389.657)" opacity="0.1"/><path d="M136.944,559.6c2.463-1.245,3.206-4.768,1.768-8.023.076.138.151.268.22.413,1.7,3.358,1,7.142-1.569,8.436s-6.035-.372-7.734-3.736c-.069-.138-.138-.275-.2-.42C131.178,559.376,134.46,560.849,136.944,559.6Z" transform="translate(-40.371 -391.812)" opacity="0.1"/><path d="M43.062,508.037a12.783,12.783,0,0,1-.688-3.392,1.851,1.851,0,1,1,.282-3.681,12.949,12.949,0,0,1,6.805-8.773,1.854,1.854,0,0,1,3.31-1.672h0a1.681,1.681,0,0,1,.165.5,13.019,13.019,0,0,1,11.395,3.44,12.831,12.831,0,0,1,3.44-.1l1.5,6.826.034-6.585a12.97,12.97,0,0,1-5.843,25.274q-.553-.127-1.093-.3a1.9,1.9,0,0,1-.778.75,1.858,1.858,0,0,1-2.546-2.388,13.011,13.011,0,0,1-1.658-1.376,12.985,12.985,0,0,1-13.624-6.881l6.984-1.177Z" transform="translate(-12.641 -372.449)" fill="#6c63ff"/><g transform="translate(36.964 121.379)" opacity="0.1"><path d="M57.966,513.316c2.58-3.441,4.163-7.431,5.979-11.3a45.864,45.864,0,0,1,2.45-4.638l1.376-1.589c.234.2.461.4.688.605a12.835,12.835,0,0,1,3.44-.1l1.5,6.826.021-6.564a12.97,12.97,0,1,1-5.843,25.274q-.553-.127-1.093-.3a1.9,1.9,0,0,1-.778.75,1.858,1.858,0,0,1-2.546-2.388,13.011,13.011,0,0,1-1.658-1.376,13.071,13.071,0,0,1-7.782-1.149A18.3,18.3,0,0,0,57.966,513.316Z" transform="translate(-53.72 -495.79)"/></g><path d="M126.169,488.165a1.844,1.844,0,0,1,.809-2.479l.01,0a1.815,1.815,0,0,1,.839-.2,12.972,12.972,0,0,1,4.053-7.225,12.869,12.869,0,0,1-.378-4.053l6.805-1.142-6.613-.42a12.867,12.867,0,0,1,.5-1.83,1.816,1.816,0,0,1-.612-.688,1.858,1.858,0,0,1,2.284-2.58,12.814,12.814,0,0,1,4.727-4.08,12.964,12.964,0,0,1,18.42,14.794,1.851,1.851,0,0,1-1.417,3.42,12.9,12.9,0,0,1-2.456,2.986,13.006,13.006,0,0,1-.6,8.257l-9.1-2.395,8.14,4.287a12.977,12.977,0,0,1-22.59-1.06,13.154,13.154,0,0,1-1.335-4.576A1.838,1.838,0,0,1,126.169,488.165Z" transform="translate(-39.291 -363.889)" fill="#6c63ff"/><path d="M126.169,495.215a1.844,1.844,0,0,1,.809-2.479l.01,0a1.815,1.815,0,0,1,.839-.2,12.972,12.972,0,0,1,4.053-7.225c-.055-.213-.1-.433-.145-.647a5.042,5.042,0,0,1,.688.592c1.232,1.376,1.865,3.158,3.076,4.521a8.884,8.884,0,0,0,5.732,2.677,21.7,21.7,0,0,0,6.42-.516,18.832,18.832,0,0,1,5.312-.585l.509.069-.317.3a13.006,13.006,0,0,1-.6,8.257l-9.124-2.395,8.14,4.287a12.977,12.977,0,0,1-22.59-1.06,13.154,13.154,0,0,1-1.335-4.576A1.838,1.838,0,0,1,126.169,495.215Z" transform="translate(-39.291 -370.939)" opacity="0.1"/></g><path d="M327.43,43.5a13.916,13.916,0,0,0-8.078.881,11.916,11.916,0,0,1-9.7,0,13.6,13.6,0,0,0-11.409.227,7.069,7.069,0,0,1-3.282.819c-4.624,0-8.47-4.658-9.269-10.8A9,9,0,0,0,288,32.137c2.711-4.369,6.881-7.177,11.622-7.177s8.869,2.752,11.581,7.094a8.944,8.944,0,0,0,7.679,4.225h.124C322.654,36.258,325.84,39.21,327.43,43.5Z" transform="translate(-89.11 -7.785)" fill="#6c63ff" opacity="0.1"/><path d="M341.468,16.452,334,21.193l4.535-8.257a7.39,7.39,0,0,0-4.521-1.61h-.117a8.906,8.906,0,0,1-1.548-.117l-2.539,1.61,1.087-1.975a9.078,9.078,0,0,1-4.431-3.337l-4.548,2.842,2.862-5.209A13.264,13.264,0,0,0,314.619,0c-4.713,0-8.945,2.807-11.629,7.177a8.684,8.684,0,0,1-7.686,4.129h-.227c-5.2,0-9.427,5.9-9.427,13.184s4.225,13.177,9.427,13.177a7.069,7.069,0,0,0,3.282-.819,13.57,13.57,0,0,1,11.409-.22,11.954,11.954,0,0,0,9.7,0,13.59,13.59,0,0,1,11.305.22,7.125,7.125,0,0,0,3.248.8c5.209,0,9.427-5.9,9.427-13.177A16.761,16.761,0,0,0,341.468,16.452Z" transform="translate(-89.097 0)" fill="#6c63ff" opacity="0.1"/><path d="M93.32,178.423a19.957,19.957,0,0,0-11.539,1.252,17,17,0,0,1-13.858-.034,19.416,19.416,0,0,0-16.294.323,10.15,10.15,0,0,1-4.693,1.17c-6.606,0-12.1-6.654-13.246-15.434a12.672,12.672,0,0,0,3.3-3.557c3.874-6.241,9.874-10.253,16.61-10.253s12.661,3.963,16.514,10.136a12.743,12.743,0,0,0,11.009,6.035H81.3C86.515,168.053,91.07,172.271,93.32,178.423Z" transform="translate(-10.508 -47.376)" fill="#6c63ff" opacity="0.1"/><path d="M113.381,139.748,102.7,146.519l6.482-11.787a10.555,10.555,0,0,0-6.461-2.305h-.172a12.512,12.512,0,0,1-2.216-.165l-3.606,2.333,1.555-2.821a12.868,12.868,0,0,1-6.33-4.817l-6.482,4.129,4.08-7.5c-3.791-4.548-8.9-7.335-14.512-7.335-6.736,0-12.737,4-16.61,10.246a12.421,12.421,0,0,1-11.009,5.924h-.365c-7.438,0-13.466,8.429-13.466,18.833s6.028,18.833,13.466,18.833a10.047,10.047,0,0,0,4.693-1.177,19.416,19.416,0,0,1,16.294-.317,17,17,0,0,0,13.858.034,19.44,19.44,0,0,1,16.156.31,10.082,10.082,0,0,0,4.638,1.149c7.438,0,13.466-8.436,13.466-18.833A23.922,23.922,0,0,0,113.381,139.748Z" transform="translate(-10.477 -36.26)" fill="#6c63ff" opacity="0.1"/><path d="M747.97,82.488a13.927,13.927,0,0,1,8.078.881,11.9,11.9,0,0,0,9.7,0,13.6,13.6,0,0,1,11.408.227,7.1,7.1,0,0,0,3.282.819c4.624,0,8.477-4.658,9.275-10.8a8.906,8.906,0,0,1-2.312-2.491c-2.7-4.383-6.915-7.211-11.643-7.211S766.892,66.662,764.181,71a8.946,8.946,0,0,1-7.693,4.246h-.117C752.711,75.243,749.518,78.195,747.97,82.488Z" transform="translate(-233.3 -19.934)" fill="#6c63ff" opacity="0.1"/><path d="M726.61,55.468l7.473,4.727-4.541-8.257a7.4,7.4,0,0,1,4.521-1.61h.124a8.906,8.906,0,0,0,1.548-.117l2.532,1.61-1.087-1.975a9.09,9.09,0,0,0,4.473-3.323l4.534,2.876-2.869-5.209a13.224,13.224,0,0,1,10.163-5.14c4.713,0,8.945,2.807,11.629,7.177a8.677,8.677,0,0,0,7.686,4.129h.248c5.209,0,9.427,5.9,9.427,13.184s-4.218,13.177-9.427,13.177a7.115,7.115,0,0,1-3.282-.819,13.57,13.57,0,0,0-11.409-.22,11.938,11.938,0,0,1-9.7,0,13.6,13.6,0,0,0-11.312.22,7.1,7.1,0,0,1-3.248.8c-5.2,0-9.427-5.9-9.427-13.177A16.762,16.762,0,0,1,726.61,55.468Z" transform="translate(-226.031 -12.18)" fill="#6c63ff" opacity="0.1"/><path d="M499.861,636.225,377.25,634.65l.365-3.145,5.924-51.875H491.218l7.92,51.875.606,3.936Z" transform="translate(-117.668 -180.793)" fill="#d0d2d5"/><path d="M499.744,658.956H438.559l-61.309-.791.365-3.145H499.138Z" transform="translate(-117.668 -204.308)" opacity="0.1"/><rect width="162.699" height="3.929" transform="translate(239.146 451.504)" fill="#d0d2d5"/><path d="M594.4,122.176a10.232,10.232,0,0,0-10.184-10.266H129.854a10.232,10.232,0,0,0-10.184,10.28h0V397.6H594.4Z" transform="translate(-37.326 -34.906)" fill="#3f3d56"/><path d="M119.67,523.1v32.258a10.184,10.184,0,0,0,10.184,10.184H584.213A10.184,10.184,0,0,0,594.4,555.358V523.1Z" transform="translate(-37.326 -163.16)" fill="#d0d2d5"/><rect width="437.783" height="247.582" transform="translate(101.996 94.275)" fill="#fff"/><path d="M463.256,557.365a10.6,10.6,0,0,0,8.346-4.053h0a10.981,10.981,0,0,0,.826-1.211l-5.828-.984,6.3.041a10.611,10.611,0,0,0,.2-8.4l-8.443,4.376,7.789-5.725a10.61,10.61,0,1,0-17.526,11.876h0A10.6,10.6,0,0,0,463.256,557.365Z" transform="translate(-141.189 -167.225)" fill="#6c63ff"/><path d="M483.48,584.77,532.4,633.9l-7.507-49.13Z" transform="translate(-150.802 -182.396)" opacity="0.1"/><rect width="438.258" height="14.464" transform="translate(101.651 94.303)" fill="#444053" opacity="0.1"/><rect width="132.044" height="8.801" rx="0.58" transform="translate(253.816 96.821)" fill="#6c63ff" opacity="0.3"/><path d="M552.793,146.437h-.323l-.117-.1a2.677,2.677,0,0,0,.619-1.713,2.6,2.6,0,1,0-2.594,2.622,2.681,2.681,0,0,0,1.713-.626l.117.1v.323l2.016,2.016.6-.606Zm-2.415,0a1.817,1.817,0,1,1,1.81-1.823v.007a1.8,1.8,0,0,1-1.789,1.817Z" transform="translate(-170.855 -44.304)" fill="#3f3d56"/><circle cx="2.649" cy="2.649" r="2.649" transform="translate(106.881 98.885)" fill="#fa5959" opacity="0.8"/><circle cx="2.649" cy="2.649" r="2.649" transform="translate(114.168 98.885)" fill="#fed253" opacity="0.8"/><circle cx="2.649" cy="2.649" r="2.649" transform="translate(121.462 98.885)" fill="#8ccf4d" opacity="0.8"/><g transform="translate(182.157 245.27)"><path d="M332.589,375.779c-5.443,5.436-6.1,7.83-9.365,8.911s-15.028,7.17-11.333,13.92l9.936,6.564.289.193,1.521,4.569-15.028,26.753s-24.771-11.326-27.2,5.429-.888,21.331-1.541,30.276.213,11.532-1.968,11.532-3.041-5.876-3.041-5.876-.138-.268-.378-.771c-3.241-6.736-25.239-56.189,10-90.181,0,0,16.322-1.073,20.25-19.789,2.711-12.936,12.193-11.821,18.5-9.186a20.9,20.9,0,0,1,5.656,3.323,27.826,27.826,0,0,1,4.053,4.817C334.729,369.1,335.706,372.655,332.589,375.779Z" transform="translate(-264.728 -356.451)" fill="#d0d2d5"/><path d="M325.845,427.468l1.521,4.569L312.338,458.79s-24.771-11.326-27.2,5.429S284.25,485.55,283.6,494.5s.213,11.532-1.968,11.532-3.041-5.876-3.041-5.876-.138-.268-.378-.771c-1.094-8.367-6.64-57.311,13.466-54.71,0,0,16.315,7.624,18.923,4.583,2.064-2.408,11.23-16.26,14.959-21.943Z" transform="translate(-268.457 -378.553)" opacity="0.1"/><path d="M350.266,366.963l-9.936,11.292S328.791,393.7,326.4,393.042a11.184,11.184,0,0,0-2.181-.255,4.238,4.238,0,0,1-2.752-7.142c3.936-4.129,11.188-11.966,11.663-13.707s5.092-9.372,7.4-13.108a20.9,20.9,0,0,1,5.656,3.323A27.865,27.865,0,0,1,350.266,366.963Z" transform="translate(-282.061 -357.193)" opacity="0.1"/><path d="M633.753,552.62c-1.686,3.372-10.321,16.019-14.1,21.544l-1.768,2.6s-.688,4.569-11.966-1.094S329.666,458.2,329.666,458.2l-1.8-5.395,13.074-19.576L631.366,545.437S635.935,548.265,633.753,552.62Z" transform="translate(-284.423 -380.399)" fill="#454b69"/><path d="M619.654,583.038l-1.768,2.6s-.688,4.569-11.966-1.094S329.666,467.075,329.666,467.075l-1.8-5.395Z" transform="translate(-284.423 -389.273)" opacity="0.1"/></g><ellipse cx="22.218" cy="4.273" rx="22.218" ry="4.273" transform="translate(537.274 446.962)" fill="#6c63ff"/><ellipse cx="2.587" cy="3.385" rx="2.587" ry="3.385" transform="translate(556.534 446.033)" fill="#3f3d56"/><ellipse cx="2.587" cy="3.385" rx="2.587" ry="3.385" transform="translate(556.534 441.891)" fill="#3f3d56"/><ellipse cx="2.587" cy="3.385" rx="2.587" ry="3.385" transform="translate(556.534 437.756)" fill="#3f3d56"/><ellipse cx="2.587" cy="3.385" rx="2.587" ry="3.385" transform="translate(556.534 433.613)" fill="#3f3d56"/><ellipse cx="2.587" cy="3.385" rx="2.587" ry="3.385" transform="translate(556.534 429.471)" fill="#3f3d56"/><ellipse cx="2.587" cy="3.385" rx="2.587" ry="3.385" transform="translate(556.534 425.336)" fill="#3f3d56"/><ellipse cx="2.587" cy="3.385" rx="2.587" ry="3.385" transform="translate(556.534 421.193)" fill="#3f3d56"/><path d="M816.614,566.827a12.514,12.514,0,0,0,.963-1.417l-6.8-1.115,7.356.048a12.462,12.462,0,0,0,.234-9.819l-9.867,5.119,9.1-6.688a12.386,12.386,0,1,0-20.45,13.872,12.334,12.334,0,0,0-1.417,2.257l8.828,4.589-9.413-3.158a12.385,12.385,0,0,0,2,11.615,12.386,12.386,0,1,0,19.48,0,12.386,12.386,0,0,0,0-15.324Z" transform="translate(-247.812 -170.549)" fill="#6c63ff"/><path d="M794.47,586.927a12.324,12.324,0,0,0,2.67,7.665,12.386,12.386,0,1,0,19.48,0C818.264,592.48,794.47,585.537,794.47,586.927Z" transform="translate(-247.803 -183.012)" opacity="0.1"/><ellipse cx="31.989" cy="6.152" rx="31.989" ry="6.152" transform="translate(70.137 528.405)" fill="#6c63ff"/><ellipse cx="3.723" cy="4.879" rx="3.723" ry="4.879" transform="translate(97.867 527.063)" fill="#3f3d56"/><ellipse cx="3.723" cy="4.879" rx="3.723" ry="4.879" transform="translate(97.867 521.104)" fill="#3f3d56"/><ellipse cx="3.723" cy="4.879" rx="3.723" ry="4.879" transform="translate(97.867 515.145)" fill="#3f3d56"/><ellipse cx="3.723" cy="4.879" rx="3.723" ry="4.879" transform="translate(97.867 509.186)" fill="#3f3d56"/><ellipse cx="3.723" cy="4.879" rx="3.723" ry="4.879" transform="translate(97.867 503.227)" fill="#3f3d56"/><ellipse cx="3.723" cy="4.879" rx="3.723" ry="4.879" transform="translate(97.867 497.262)" fill="#3f3d56"/><ellipse cx="3.723" cy="4.879" rx="3.723" ry="4.879" transform="translate(97.867 491.303)" fill="#3f3d56"/><path d="M153.435,648.735a18.823,18.823,0,0,0,1.376-2.064l-9.785-1.61,10.583.083a17.892,17.892,0,0,0,.337-14.14l-14.188,7.39,13.074-9.633a17.842,17.842,0,1,0-29.471,19.955,17.769,17.769,0,0,0-2.064,3.248l12.709,6.606-13.549-4.548a17.842,17.842,0,0,0,2.931,16.782,17.842,17.842,0,1,0,28.047,0,17.835,17.835,0,0,0,0-22.06Z" transform="translate(-37.905 -193.329)" fill="#6c63ff"/><path d="M121.59,677.788a17.788,17.788,0,0,0,3.819,11.009,17.842,17.842,0,1,0,28.047,0C155.829,685.756,121.59,675.758,121.59,677.788Z" transform="translate(-37.925 -211.325)" opacity="0.1"/><g transform="translate(284.422 187.53)"><g transform="translate(0 0)"><rect width="75.695" height="75.695" rx="7.09" fill="#3740ff"/><path d="M49.8,55.2H38.266a1.246,1.246,0,1,0,0,2.491H49.8a1.246,1.246,0,0,0,0-2.491Z" transform="translate(-8.556 -12.758)" fill="#fff"/><path d="M38.266,33.791H49.8a1.246,1.246,0,0,0,0-2.491H38.266a1.246,1.246,0,0,0,0,2.491Z" transform="translate(-8.557 -7.234)" fill="#fff"/><path d="M62.831,31.32a10.433,10.433,0,0,0-10.357,9.226H38.266a1.246,1.246,0,1,0,0,2.491H52.474A10.434,10.434,0,1,0,62.831,31.32Zm0,18.314a7.881,7.881,0,1,1,7.881-7.881h0A7.889,7.889,0,0,1,62.831,49.634Z" transform="translate(-8.556 -7.239)" fill="#fff"/><path d="M23.664,40.816l-.915-.254-.515-.146c-3.345-.946-4.705-1.538-4.705-3.329,0-2.606,3.191-3.3,4.875-3.3a6.5,6.5,0,0,1,4.705,1.668,1.28,1.28,0,0,0,1.914-1.7h0a8.986,8.986,0,0,0-6.62-2.53c-3.691,0-7.435,2.014-7.435,5.859s3.491,4.921,6.566,5.79l.507.146.946.261c3.075.838,4.444,1.392,4.444,3.175,0,2.922-3.521,3.237-5.036,3.237a7.686,7.686,0,0,1-5.382-2.022,1.279,1.279,0,0,0-1.876,1.738h0a10.256,10.256,0,0,0,7.235,2.837c5.6,0,7.6-2.991,7.6-5.8C30,42.53,26.486,41.577,23.664,40.816Z" transform="translate(-3.42 -7.216)" fill="#fff"/><path d="M51.414,66.621a4.034,4.034,0,0,0-1.907-.392H46.694a.52.52,0,0,0-.392.169.555.555,0,0,0-.161.4v7.527a.546.546,0,0,0,.538.554h.015a.555.555,0,0,0,.4-.161.52.52,0,0,0,.169-.392V71.688H49.5a4.046,4.046,0,0,0,1.914-.392,2.429,2.429,0,0,0,1.061-1.007,2.915,2.915,0,0,0,0-2.66A2.424,2.424,0,0,0,51.414,66.621Zm-.254,3.529a2.561,2.561,0,0,1-1.768.477h-2.13V67.29h2.13a2.561,2.561,0,0,1,1.768.477,1.653,1.653,0,0,1,.046,2.337Z" transform="translate(-10.664 -15.307)" fill="#fff"/><path d="M59.808,69.241a.515.515,0,0,0-.384-.161h-.062a2.422,2.422,0,0,0-1.93,1.153V69.71a.569.569,0,0,0-.569-.569.52.52,0,0,0-.392.169.555.555,0,0,0-.161.4v5.274a.546.546,0,0,0,.538.554h.015a.555.555,0,0,0,.4-.161.52.52,0,0,0,.169-.392V71.24a2.491,2.491,0,0,1,.823-.769,2.1,2.1,0,0,1,1.084-.292H59.4a.575.575,0,0,0,.407-.146.489.489,0,0,0,.161-.384A.547.547,0,0,0,59.808,69.241Z" transform="translate(-13.015 -15.967)" fill="#fff"/><path d="M66.061,69.5a2.862,2.862,0,0,0-1.538-.423,2.832,2.832,0,0,0-1.638.454,2.736,2.736,0,0,0-.984,1.192,4,4,0,0,0-.323,1.615,3.275,3.275,0,0,0,.846,2.407,3.136,3.136,0,0,0,2.307.853,3.847,3.847,0,0,0,2.153-.538.531.531,0,0,0,.323-.454.447.447,0,0,0-.146-.346.492.492,0,0,0-.346-.138.486.486,0,0,0-.223.046,3.755,3.755,0,0,1-.769.284,3.677,3.677,0,0,1-.907.1,2.206,2.206,0,0,1-1.538-.477,2.023,2.023,0,0,1-.607-1.346h4.167a.538.538,0,0,0,.568-.507c0-.015,0-.032,0-.047a3.479,3.479,0,0,0-.346-1.538A2.742,2.742,0,0,0,66.061,69.5Zm-3.383,2.307a2,2,0,0,1,.308-1.007,1.65,1.65,0,0,1,.677-.6,1.873,1.873,0,0,1,1.645,0,1.7,1.7,0,0,1,.684.6,1.971,1.971,0,0,1,.315,1.007Z" transform="translate(-14.231 -15.966)" fill="#fff"/><path d="M74.988,73.746c0,.884-.623,1.838-2.376,1.838a3.139,3.139,0,0,1-2.245-.884.469.469,0,0,1-.013-.664l.013-.013a.478.478,0,0,1,.338-.131.5.5,0,0,1,.338.154,2.238,2.238,0,0,0,1.538.577c.423,0,1.415-.085,1.415-.877,0-.469-.384-.623-1.261-.861l-.377-.123c-.961-.269-2.045-.577-2.045-1.83s1.169-1.853,2.307-1.853a2.806,2.806,0,0,1,2.053.769.479.479,0,1,1-.715.638,1.854,1.854,0,0,0-1.338-.469c-.469,0-1.369.185-1.369.892,0,.484.392.638,1.346.907l.431.115C73.9,72.193,74.988,72.493,74.988,73.746Z" transform="translate(-16.231 -15.966)" fill="#fff"/><path d="M82.244,73.746c0,.884-.623,1.838-2.376,1.838a3.181,3.181,0,0,1-2.245-.884.452.452,0,0,1-.123-.338.479.479,0,0,1,.83-.308,2.247,2.247,0,0,0,1.538.569c.423,0,1.415-.085,1.415-.877,0-.469-.384-.623-1.261-.861l-.438-.123c-.961-.269-2.045-.577-2.045-1.83s1.169-1.853,2.307-1.853a2.738,2.738,0,0,1,2.061.769.469.469,0,0,1-.03.663l-.016.014a.46.46,0,0,1-.346.115.47.47,0,0,1-.331-.161h0a1.906,1.906,0,0,0-1.338-.461c-.477,0-1.369.185-1.369.892,0,.484.392.638,1.346.907l.423.123C81.152,72.193,82.244,72.485,82.244,73.746Z" transform="translate(-17.912 -15.965)" fill="#fff"/></g></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><rect width="60" height="60" rx="5" fill="#ee485f" opacity="0.1"/><g transform="translate(-12.373 30.126) rotate(-45)"><path d="M39.7,32.49H31.088a.933.933,0,0,0,0,1.861H39.7a.933.933,0,0,0,0-1.861Z" transform="translate(-13.553 3.439)" fill="#ee485f"/><path d="M31.088,1.951H39.7A.933.933,0,0,0,39.7.09H31.088a.933.933,0,0,0,0,1.861Z" transform="translate(-13.553 22.105)" fill="#ee485f"/><path d="M49.465.11a7.8,7.8,0,0,0-7.74,6.867h-10.6a.933.933,0,0,0,0,1.861h10.6A7.8,7.8,0,1,0,49.465.11Zm0,13.687a5.888,5.888,0,1,1,5.888-5.888A5.888,5.888,0,0,1,49.465,13.8Z" transform="translate(-13.576 22.094)" fill="#ee485f"/></g></svg>
|
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><defs><style>.a,.b{fill:#4e21e7;}.a{opacity:0.1;}</style></defs><rect class="a" width="60" height="60" rx="5"/><g transform="translate(-12.373 30.126) rotate(-45)"><path class="b" d="M39.7,32.49H31.088a.933.933,0,0,0,0,1.861H39.7a.933.933,0,0,0,0-1.861Z" transform="translate(-13.553 3.439)"/><path class="b" d="M31.088,1.951H39.7A.933.933,0,0,0,39.7.09H31.088a.933.933,0,0,0,0,1.861Z" transform="translate(-13.553 22.105)"/><path class="b" d="M49.465.11a7.8,7.8,0,0,0-7.74,6.867h-10.6a.933.933,0,0,0,0,1.861h10.6A7.8,7.8,0,1,0,49.465.11Zm0,13.687a5.888,5.888,0,1,1,5.888-5.888A5.888,5.888,0,0,1,49.465,13.8Z" transform="translate(-13.576 22.094)"/></g></svg>
|
@@ -1 +0,0 @@
|
|
1 |
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 213.65 37.14"><defs><style>.cls-1{fill:url(#Dégradé_sans_nom_5);}.cls-2{fill:url(#Dégradé_sans_nom_5-2);}.cls-3{fill:url(#Dégradé_sans_nom_5-3);}.cls-4{fill:url(#Dégradé_sans_nom_5-4);}.cls-5{fill:url(#Dégradé_sans_nom_5-5);}.cls-6{fill:url(#Dégradé_sans_nom_5-6);}.cls-7{fill:url(#Dégradé_sans_nom_5-7);}</style><linearGradient id="Dégradé_sans_nom_5" x1="-0.89" y1="34.68" x2="215.31" y2="34.68" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#3740ff"/><stop offset="0.17" stop-color="#3e57fc"/><stop offset="0.29" stop-color="#4264fb"/><stop offset="0.4" stop-color="#417ee3"/><stop offset="0.55" stop-color="#419ac8"/><stop offset="0.7" stop-color="#40afb5"/><stop offset="0.85" stop-color="#40bba9"/><stop offset="1" stop-color="#40bfa5"/></linearGradient><linearGradient id="Dégradé_sans_nom_5-2" x1="-0.89" y1="2.28" x2="215.31" y2="2.28" xlink:href="#Dégradé_sans_nom_5"/><linearGradient id="Dégradé_sans_nom_5-3" x1="-0.89" y1="18.51" x2="215.31" y2="18.51" xlink:href="#Dégradé_sans_nom_5"/><linearGradient id="Dégradé_sans_nom_5-4" x1="-0.89" y1="18.44" x2="215.31" y2="18.44" xlink:href="#Dégradé_sans_nom_5"/><linearGradient id="Dégradé_sans_nom_5-5" x1="-0.89" y1="23.11" x2="215.31" y2="23.11" xlink:href="#Dégradé_sans_nom_5"/><linearGradient id="Dégradé_sans_nom_5-6" x1="-0.89" y1="23.24" x2="215.31" y2="23.24" xlink:href="#Dégradé_sans_nom_5"/><linearGradient id="Dégradé_sans_nom_5-7" x1="-0.89" y1="18.53" x2="215.31" y2="18.53" xlink:href="#Dégradé_sans_nom_5"/></defs><title>SP-couleur</title><g id="Calque_2" data-name="Calque 2"><g id="Calque_1-2" data-name="Calque 1"><path class="cls-1" d="M52.59,32.49H32.27a2.2,2.2,0,0,0,0,4.39H52.59a2.2,2.2,0,0,0,0-4.39Z"/><path class="cls-2" d="M32.27,4.48H52.59a2.2,2.2,0,0,0,0-4.39H32.27a2.2,2.2,0,0,0,0,4.39Z"/><path class="cls-3" d="M75.57.11a18.4,18.4,0,0,0-18.26,16.2h-25a2.2,2.2,0,0,0,0,4.39h25A18.4,18.4,0,1,0,75.57.11Zm0,32.29A13.89,13.89,0,1,1,89.46,18.51,13.9,13.9,0,0,1,75.57,32.4Z"/><path class="cls-4" d="M119.87,1.68A17.23,17.23,0,0,0,111.74,0h-12A2.24,2.24,0,0,0,98.1.71a2.37,2.37,0,0,0-.68,1.7V34.52a2.33,2.33,0,0,0,2.36,2.36,2.37,2.37,0,0,0,1.7-.68,2.24,2.24,0,0,0,.71-1.68V23.29h9.55a17.22,17.22,0,0,0,8.13-1.68,10.37,10.37,0,0,0,4.51-4.3,12.1,12.1,0,0,0,1.36-5.67A12.11,12.11,0,0,0,124.39,6,10.38,10.38,0,0,0,119.87,1.68ZM118.8,16.74q-2.18,2-7.53,2h-9.08V4.51h9.08q5.35,0,7.53,2A6.7,6.7,0,0,1,121,11.65,6.7,6.7,0,0,1,118.8,16.74Z"/><path class="cls-5" d="M143.61,10A2.2,2.2,0,0,0,142,9.34h-.26q-4.56,0-8.24,4.93V12A2.42,2.42,0,0,0,131,9.6a2.24,2.24,0,0,0-1.68.71,2.37,2.37,0,0,0-.68,1.7V34.52A2.33,2.33,0,0,0,131,36.88a2.37,2.37,0,0,0,1.7-.68,2.24,2.24,0,0,0,.71-1.68V18.57A10.64,10.64,0,0,1,137,15.19,9,9,0,0,1,141.59,14h.26a2.45,2.45,0,0,0,1.73-.63,2.11,2.11,0,0,0,.68-1.63A2.33,2.33,0,0,0,143.61,10Z"/><path class="cls-6" d="M163,11.15a12.2,12.2,0,0,0-6.71-1.81,12.06,12.06,0,0,0-7,1.94,11.68,11.68,0,0,0-4.2,5.09,17.09,17.09,0,0,0-1.36,6.87q0,6.61,3.59,10.26t10,3.65a18.94,18.94,0,0,0,5.14-.58,19,19,0,0,0,4-1.73,2.27,2.27,0,0,0,1.36-1.94,1.91,1.91,0,0,0-.63-1.47,2.11,2.11,0,0,0-1.47-.58,2.08,2.08,0,0,0-.94.21,16,16,0,0,1-3.23,1.21,15.73,15.73,0,0,1-3.86.42,9.4,9.4,0,0,1-6.45-2,8.62,8.62,0,0,1-2.73-5.72h17.78a2.29,2.29,0,0,0,2.41-2.36A14.84,14.84,0,0,0,167.3,16,11.71,11.71,0,0,0,163,11.15ZM148.57,21a8.54,8.54,0,0,1,1.31-4.3,7,7,0,0,1,2.89-2.54,8,8,0,0,1,7,0,7.22,7.22,0,0,1,2.91,2.54A8.41,8.41,0,0,1,164,21Z"/><path class="cls-7" d="M15.58,16.89,14,16.45l-.9-.26c-5.9-1.66-8.3-2.66-8.3-5.87,0-4.6,5.62-5.82,8.6-5.82,5.5,0,8.16,2.79,8.3,2.94a2.25,2.25,0,0,0,3.37-3C24.88,4.27,21,0,13.37,0,6.85,0,.26,3.55.26,10.32c0,6.94,6.15,8.67,11.58,10.21l.89.25,1.67.46c5.45,1.48,7.83,2.46,7.83,5.6,0,5.15-6.21,5.71-8.88,5.71A13.55,13.55,0,0,1,3.91,29,2.25,2.25,0,0,0,.6,32.07a18.09,18.09,0,0,0,12.75,5c9.87,0,13.39-5.28,13.39-10.22C26.74,19.92,20.55,18.24,15.58,16.89Z"/><path class="cls-6" d="M191.14,29.29c0,3.79-2.66,7.85-10.16,7.85a13.4,13.4,0,0,1-9.59-3.79,2,2,0,0,1,.12-2.88,2,2,0,0,1,1.46-.56,2.13,2.13,0,0,1,1.44.66A9.56,9.56,0,0,0,181,33c1.81,0,6-.36,6-3.73,0-2-1.65-2.66-5.4-3.68l-1.86-.52c-4.09-1.16-8.73-2.46-8.73-7.83,0-5.2,5-7.93,9.95-7.93a12,12,0,0,1,8.79,3.37,2.06,2.06,0,0,1,.52,1.51,2.07,2.07,0,0,1-2.15,1.91,2.08,2.08,0,0,1-1.43-.68,7.92,7.92,0,0,0-5.72-2c-2,0-5.85.8-5.85,3.82,0,2.05,1.66,2.72,5.74,3.87l1.83.51C186.46,22.67,191.14,23.94,191.14,29.29Z"/><path class="cls-6" d="M213.65,29.29c0,3.79-2.66,7.85-10.16,7.85a13.4,13.4,0,0,1-9.59-3.79,2,2,0,0,1,.12-2.88,2,2,0,0,1,1.46-.56,2.13,2.13,0,0,1,1.44.66A9.56,9.56,0,0,0,203.49,33c1.81,0,6-.36,6-3.73,0-2-1.65-2.66-5.4-3.68l-1.86-.52c-4.09-1.16-8.73-2.46-8.73-7.83,0-5.2,5-7.93,9.95-7.93a12,12,0,0,1,8.79,3.37,2.06,2.06,0,0,1,.52,1.51,2.07,2.07,0,0,1-2.15,1.91,2.08,2.08,0,0,1-1.43-.68,7.92,7.92,0,0,0-5.72-2c-2,0-5.85.8-5.85,3.82,0,2.05,1.66,2.72,5.74,3.87l1.83.51C209,22.67,213.65,23.94,213.65,29.29Z"/></g></g></svg>
|
|
@@ -438,7 +438,7 @@ function sp_social_img(social_slug) {
|
|
438 |
.split(".")
|
439 |
.pop()
|
440 |
.trim();
|
441 |
-
var types = ["jpg", "jpeg", "gif", "png"];
|
442 |
|
443 |
if (types.indexOf(meta_img_filetype) == -1) {
|
444 |
jQuery(
|
@@ -684,7 +684,7 @@ function seopress_google_suggest(data) {
|
|
684 |
suggestions_array[i] != "[object Object]"
|
685 |
) {
|
686 |
document.getElementById("seopress_suggestions").innerHTML +=
|
687 |
-
'<li><a href="#" class="sp-suggest-btn button
|
688 |
suggestions_array[i] +
|
689 |
"</a></li>";
|
690 |
}
|
438 |
.split(".")
|
439 |
.pop()
|
440 |
.trim();
|
441 |
+
var types = ["jpg", "jpeg", "gif", "png", "webp"];
|
442 |
|
443 |
if (types.indexOf(meta_img_filetype) == -1) {
|
444 |
jQuery(
|
684 |
suggestions_array[i] != "[object Object]"
|
685 |
) {
|
686 |
document.getElementById("seopress_suggestions").innerHTML +=
|
687 |
+
'<li><a href="#" class="sp-suggest-btn components-button is-secondary">' +
|
688 |
suggestions_array[i] +
|
689 |
"</a></li>";
|
690 |
}
|
@@ -1 +1 @@
|
|
1 |
-
function sp_titles_counters(){const e=jQuery;let t=e("#seopress_titles_title_meta");if(e("#seopress_titles_title_meta").length){e(".snippet-title-custom:visible").length>0?t=e(".snippet-title-custom"):e(".snippet-title:visible").length>0?t=e(".snippet-title"):e(".snippet-title-default:visible").length>0&&(t=e(".snippet-title-default"));var s=t.val(),i=jQuery("#seopress_titles_title_meta").attr("placeholder");if(jQuery("#seopress_titles_title_counters").after('<div id="seopress_titles_title_counters_val">/ 60</div>'),s.length>0?(jQuery("#seopress_titles_title_counters").text(s.length),jQuery("#seopress_titles_title_pixel").text(pixelTitle(s))):i.length&&(jQuery("#seopress_titles_title_counters").text(i.length),jQuery("#seopress_titles_title_pixel").text(pixelTitle(i))),s.length>60?jQuery("#seopress_titles_title_counters").css("color","red"):i.length>60&&jQuery("#seopress_titles_title_counters").css("color","red"),pixelTitle(s)>568?jQuery("#seopress_titles_title_pixel").css("color","red"):pixelTitle(i)>568&&jQuery("#seopress_titles_title_pixel").css("color","red"),s.length)var r=Math.round(pixelTitle(s)/568*100);else r=Math.round(pixelTitle(i)/568*100);r>=100&&(r=100),jQuery("#seopress_titles_title_counters_progress").attr("aria-valuenow",r),jQuery("#seopress_titles_title_counters_progress").text(r+"%"),jQuery("#seopress_titles_title_counters_progress").css("width",r+"%"),jQuery("#seopress_titles_title_meta, #seopress-tag-single-title, #seopress-tag-single-site-title, #seopress-tag-single-sep").on("keyup paste change click",function(t){var s=e("#seopress_titles_title_meta").val();e(".snippet-title-custom:visible").length>0?s=e(".snippet-title-custom").text():e(".snippet-title:visible").length>0?s=e(".snippet-title").text():e(".snippet-title-default:visible").length>0&&(s=e(".snippet-title-default").text());var i=jQuery("#seopress_titles_title_meta").attr("placeholder");if(jQuery("#seopress_titles_title_counters").css("color","inherit"),jQuery("#seopress_titles_title_pixel").css("color","inherit"),s.length>60&&jQuery("#seopress_titles_title_counters").css("color","red"),pixelTitle(s)>568&&jQuery("#seopress_titles_title_pixel").css("color","red"),0==s.length&&(i.length>60&&jQuery("#seopress_titles_title_counters").css("color","red"),pixelTitle(i)>568&&jQuery("#seopress_titles_title_pixel").css("color","red")),s.length>0?(jQuery("#seopress_titles_title_counters").text(s.length),jQuery("#seopress_titles_title_pixel").text(pixelTitle(s))):i.length&&(jQuery("#seopress_titles_title_counters").text(i.length),jQuery("#seopress_titles_title_pixel").text(pixelTitle(i))),s.length)var r=Math.round(pixelTitle(s)/568*100);else r=Math.round(pixelTitle(i)/568*100);r>=100&&(r=100),jQuery("#seopress_titles_title_counters_progress").attr("aria-valuenow",r),jQuery("#seopress_titles_title_counters_progress").text(r+"%"),jQuery("#seopress_titles_title_counters_progress").css("width",r+"%")})}}function sp_meta_desc_counters(){if(jQuery("#seopress_titles_desc_meta").length){var e=jQuery("#seopress_titles_desc_meta").val(),t=jQuery("#seopress_titles_desc_meta").attr("placeholder");if(jQuery("#seopress_titles_desc_counters").after('<div id="seopress_titles_desc_counters_val">/ 160</div>'),e.length>0?(jQuery("#seopress_titles_desc_counters").text(e.length),jQuery("#seopress_titles_desc_pixel").text(pixelDesc(e))):t.length&&(jQuery("#seopress_titles_desc_counters").text(t.length),jQuery("#seopress_titles_desc_pixel").text(pixelDesc(t))),e.length>160?jQuery("#seopress_titles_desc_counters").css("color","red"):t.length>160&&jQuery("#seopress_titles_desc_counters").css("color","red"),pixelDesc(e)>940?jQuery("#seopress_titles_desc_pixel").css("color","red"):pixelDesc(t)>940&&jQuery("#seopress_titles_desc_pixel").css("color","red"),e.length)var s=Math.round(pixelDesc(e)/940*100);else s=Math.round(pixelDesc(t)/940*100);s>=100&&(s=100),jQuery("#seopress_titles_desc_counters_progress").attr("aria-valuenow",s),jQuery("#seopress_titles_desc_counters_progress").text(s+"%"),jQuery("#seopress_titles_desc_counters_progress").css("width",s+"%"),jQuery("#seopress_titles_desc_meta, #seopress-tag-single-excerpt").on("keyup paste change click",function(e){var t=jQuery("#seopress_titles_desc_meta").val(),s=jQuery("#seopress_titles_desc_meta").attr("placeholder");if(jQuery("#seopress_titles_desc_counters").css("color","inherit"),jQuery("#seopress_titles_desc_pixel").css("color","inherit"),t.length>160&&jQuery("#seopress_titles_desc_counters").css("color","red"),pixelDesc(t)>940&&jQuery("#seopress_titles_desc_pixel").css("color","red"),0==t.length&&(s.length>160&&jQuery("#seopress_titles_desc_counters").css("color","red"),pixelDesc(s)>940&&jQuery("#seopress_titles_desc_pixel").css("color","red")),t.length>0?(jQuery("#seopress_titles_desc_counters").text(t.length),jQuery("#seopress_titles_desc_pixel").text(pixelDesc(t))):s.length&&(jQuery("#seopress_titles_desc_counters").text(s.length),jQuery("#seopress_titles_desc_pixel").text(pixelDesc(s))),t.length>0?(jQuery(".snippet-description-custom").text(e.target.value),jQuery(".snippet-description").css("display","none"),jQuery(".snippet-description-custom").css("display","inline"),jQuery(".snippet-description-default").css("display","none")):0==t.length&&(jQuery(".snippet-description-default").css("display","inline"),jQuery(".snippet-description-custom").css("display","none"),jQuery(".snippet-description").css("display","none")),t.length)var i=Math.round(pixelDesc(t)/940*100);else i=Math.round(pixelDesc(s)/940*100);i>=100&&(i=100),jQuery("#seopress_titles_desc_counters_progress").attr("aria-valuenow",i),jQuery("#seopress_titles_desc_counters_progress").text(i+"%"),jQuery("#seopress_titles_desc_counters_progress").css("width",i+"%")}),jQuery("#excerpt, .editor-post-excerpt textarea").keyup(function(e){var t=jQuery("#seopress_titles_desc_meta").val(),s=jQuery("#seopress_titles_desc_meta").attr("placeholder");if(0==t.length&&0==jQuery(".snippet-description-custom").val().length&&(jQuery(".snippet-description-custom").text(e.target.value),jQuery(".snippet-description").css("display","none"),jQuery(".snippet-description-custom").css("display","inline"),jQuery(".snippet-description-default").css("display","none")),t.length)var i=t.length;else i=s.length;i>=100&&(i=100),jQuery("#seopress_titles_desc_counters_progress").attr("aria-valuenow",i),jQuery("#seopress_titles_desc_counters_progress").text(i+"%"),jQuery("#seopress_titles_desc_counters_progress").css("width",i+"%")})}}function pixelTitle(e){return inputText=e,font="18px Arial",canvas=document.createElement("canvas"),context=canvas.getContext("2d"),context.font=font,width=context.measureText(inputText).width,formattedWidth=Math.ceil(width),formattedWidth}function pixelDesc(e){return inputText=e,font="14px Arial",canvas=document.createElement("canvas"),context=canvas.getContext("2d"),context.font=font,width=context.measureText(inputText).width,formattedWidth=Math.ceil(width),formattedWidth}function sp_is_valid_url(e){var t=e.match(/(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g);return null!==t}function sp_social_img(e){if(jQuery("#seopress_social_fb_title_meta").length){jQuery(".snippet-"+e+"-img-alert").css("display","none");var t=jQuery("#seopress_social_"+e+"_img_meta").val();if(""==t)t=jQuery("#seopress_social_"+e+"_img_meta").attr("placeholder");!0===sp_is_valid_url(t)?(t.length>0?(jQuery(".snippet-"+e+"-img-custom img").attr("src",t),jQuery(".snippet-"+e+"-img").css("display","none"),jQuery(".snippet-"+e+"-img-custom").css("display","block"),jQuery(".snippet-"+e+"-img-default").css("display","none")):0==t.length&&(jQuery(".snippet-"+e+"-img-default").css("display","block"),jQuery(".snippet-"+e+"-img-custom").css("display","none"),jQuery(".snippet-"+e+"-img").css("display","none")),t.length>0&&jQuery.get(t).done(function(){var s=t.split(/\#|\?/)[0].split(".").pop().trim(),i=["jpg","jpeg","gif","png"];if(-1==i.indexOf(s))jQuery(".snippet-"+e+"-img-alert.alert1").css("display","block");else{var r=new Image;r.src=t,jQuery(r).one("load",function(){pic_real_width=parseInt(r.width),pic_real_height=parseInt(r.height),"fb"==e?(min_width=200,min_height=200):(min_width=144,min_height=144),(pic_real_width<min_width||pic_real_height<min_height)&&jQuery(".snippet-"+e+"-img-alert.alert2").css("display","block"),ratio_img=(pic_real_width/pic_real_height).toFixed(2),jQuery(".snippet-"+e+"-img-alert.alert4").css("display","block"),jQuery(".snippet-"+e+"-img-alert.alert4 span").text(ratio_img)})}}).fail(function(){jQuery(".snippet-"+e+"-img-alert.alert3").css("display","block")})):jQuery(".snippet-"+e+"-img-alert.alert5").css("display","block")}}function sp_social(){jQuery("#seopress_social_fb_title_meta").length&&(jQuery("#seopress_social_fb_title_meta, #seopress-tag-single-title, #seopress-tag-single-site-title, #seopress-tag-single-sep").on("keyup paste change click",function(e){var t=jQuery("#seopress_social_fb_title_meta").val();t.length>0?(jQuery(".snippet-fb-title-custom").text(e.target.value),jQuery(".snippet-fb-title").css("display","none"),jQuery(".snippet-fb-title-custom").css("display","block"),jQuery(".snippet-fb-title-default").css("display","none")):0==t.length&&(jQuery(".snippet-fb-title-default").css("display","block"),jQuery(".snippet-fb-title-custom").css("display","none"),jQuery(".snippet-fb-title").css("display","none"))}),jQuery("#seopress_social_fb_desc_meta").on("keyup paste change click",function(e){var t=jQuery("#seopress_social_fb_desc_meta").val();t.length>0?(jQuery(".snippet-fb-description-custom").text(e.target.value),jQuery(".snippet-fb-description").css("display","none"),jQuery(".snippet-fb-description-custom").css("display","block"),jQuery(".snippet-fb-description-default").css("display","none")):0==t.length&&(jQuery(".snippet-fb-description-default").css("display","block"),jQuery(".snippet-fb-description-custom").css("display","none"),jQuery(".snippet-fb-description").css("display","none"))}),sp_social_img("fb"),jQuery("#seopress_social_fb_img_meta").on("keyup paste change click",function(){sp_social_img("fb")}),jQuery("#seopress_social_twitter_title_meta").on("keyup paste change click",function(e){var t=jQuery("#seopress_social_twitter_title_meta").val();t.length>0?(jQuery(".snippet-twitter-title-custom").text(e.target.value),jQuery(".snippet-twitter-title").css("display","none"),jQuery(".snippet-twitter-title-custom").css("display","block"),jQuery(".snippet-twitter-title-default").css("display","none")):0==t.length&&(jQuery(".snippet-twitter-title-default").css("display","block"),jQuery(".snippet-twitter-title-custom").css("display","none"),jQuery(".snippet-twitter-title").css("display","none"))}),jQuery("#seopress_social_twitter_desc_meta").on("keyup paste change click",function(e){var t=jQuery("#seopress_social_twitter_desc_meta").val();t.length>0?(jQuery(".snippet-twitter-description-custom").text(e.target.value),jQuery(".snippet-twitter-description").css("display","none"),jQuery(".snippet-twitter-description-custom").css("display","block"),jQuery(".snippet-twitter-description-default").css("display","none")):0==t.length&&(jQuery(".snippet-twitter-description-default").css("display","block"),jQuery(".snippet-twitter-description-custom").css("display","none"),jQuery(".snippet-twitter-description").css("display","none"))}),sp_social_img("twitter"),jQuery("#seopress_social_twitter_img_meta").on("keyup paste change click",function(){sp_social_img("twitter")}))}function sp_ca_toggle(){var e=!1;jQuery(".gr-analysis-title .btn-toggle").on("click",function(t){e&&(event.stopImmediatePropagation(),event.preventDefault(),e=!1),jQuery(this).toggleClass("open"),jQuery(this).parent().parent().next(".gr-analysis-content").toggle()}),jQuery("#expand-all").on("click",function(e){e.preventDefault(),jQuery(".gr-analysis-content").show()}),jQuery("#close-all").on("click",function(e){e.preventDefault(),jQuery(".gr-analysis-content").hide()})}function seopress_google_suggest(e){var t,s=String(e),i=s.split(",");for(t=0;t<i.length;t++)null!=i[t]&&null!=i[t]&&""!=i[t]&&"[object Object]"!=i[t]&&(document.getElementById("seopress_suggestions").innerHTML+='<li><a href="#" class="sp-suggest-btn button button-small">'+i[t]+"</a></li>");jQuery(".sp-suggest-btn").click(function(e){e.preventDefault(),target_kw.addTags(jQuery(this).text())})}var input=document.querySelector("input[id=seopress_analysis_target_kw_meta]"),target_kw=new Tagify(input,{originalInputValueFormat:e=>e.map(e=>e.value).join(",")});jQuery(document).ready(function(e){function t(){if(void 0!==e("#seopress-tabs").attr("data_id"))var t=e("#seopress-tabs").attr("data_id");else if(void 0!==e("#seopress_content_analysis .wrap-seopress-analysis").attr("data_id"))t=e("#seopress_content_analysis .wrap-seopress-analysis").attr("data_id");if(void 0!==e("#seopress-tabs").attr("data_tax"))var s=e("#seopress-tabs").attr("data_tax");else if(void 0!==e("#seopress_content_analysis .wrap-seopress-analysis").attr("data_tax"))s=e("#seopress_content_analysis .wrap-seopress-analysis").attr("data_tax");if(void 0!==e("#seopress-tabs").attr("data_origin"))var i=e("#seopress-tabs").attr("data_origin");else if(void 0!==e("#seopress_content_analysis .wrap-seopress-analysis").attr("data_origin"))i=e("#seopress_content_analysis .wrap-seopress-analysis").attr("data_origin");e.ajax({method:"GET",url:seopressAjaxRealPreview.seopress_real_preview,data:{action:"seopress_do_real_preview",post_id:t,tax_name:s,origin:i,post_type:e("#seopress_launch_analysis").attr("data_post_type"),seopress_analysis_target_kw:e("#seopress_analysis_target_kw_meta").val(),_ajax_nonce:seopressAjaxRealPreview.seopress_nonce},beforeSend:function(){e(".analysis-score p span").fadeIn().text(seopressAjaxRealPreview.i18n.progress),e(".analysis-score p").addClass("loading")},success:function(t){void 0===t.data.og_title?og_title="":og_title=t.data.og_title.values,void 0===t.data.og_desc?og_desc="":og_desc=t.data.og_desc.values,void 0===t.data.og_img?og_img="":og_img=t.data.og_img.values,void 0===t.data.og_url?og_url="":og_url=t.data.og_url.host,void 0===t.data.og_site_name?og_site_name="":og_site_name=t.data.og_site_name.values,void 0===t.data.tw_title?tw_title="":tw_title=t.data.tw_title.values,void 0===t.data.tw_desc?tw_desc="":tw_desc=t.data.tw_desc.values,void 0===t.data.tw_img?tw_img="":tw_img=t.data.tw_img.values,void 0===t.data.meta_robots?meta_robots="":meta_robots=t.data.meta_robots[0];var s={og_title:og_title,og_desc:og_desc,og_img:og_img,og_url:og_url,og_site_name:og_site_name,tw_title:tw_title,tw_desc:tw_desc,tw_img:tw_img};for(var i in s)s.length&&(i=s[i].length>1?s[i].slice(-1)[0]:s[i][0]);meta_robots=meta_robots.toString(),e("#sp-advanced-alert").empty();var r=new RegExp("noindex");r.test(meta_robots)&&e("#sp-advanced-alert").append('<span class="impact high" aria-hidden="true"></span>'),e("#seopress_cpt .google-snippet-preview .snippet-title").html(t.data.title),e("#seopress_cpt .google-snippet-preview .snippet-title-default").html(t.data.title),e("#seopress_titles_title_meta").attr("placeholder",t.data.title),e("#seopress_cpt .google-snippet-preview .snippet-description").html(t.data.meta_desc),e("#seopress_cpt .google-snippet-preview .snippet-description-default").html(t.data.meta_desc),e("#seopress_titles_desc_meta").attr("placeholder",t.data.meta_desc),s.og_title&&(e("#seopress_cpt #seopress_social_fb_title_meta").attr("placeholder",s.og_title[0]),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-title").html(s.og_title[0]),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-title-default").html(s.og_title[0])),s.og_desc&&(e("#seopress_cpt #seopress_social_fb_desc_meta").attr("placeholder",s.og_desc[0]),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-description").html(s.og_desc[0]),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-description-default").html(s.og_desc[0])),s.og_img&&(e("#seopress_cpt #seopress_social_fb_img_meta").attr("placeholder",s.og_img[0]),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-img img").attr("src",s.og_img[0]),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-img-default img").attr("src",s.og_img[0])),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-url").html(s.og_url),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-site-name").html(s.og_site_name),s.tw_title&&(e("#seopress_cpt #seopress_social_twitter_title_meta").attr("placeholder",s.tw_title[0]),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-title").html(s.tw_title[0]),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-title-default").html(s.tw_title[0])),s.tw_desc&&(e("#seopress_cpt #seopress_social_twitter_desc_meta").attr("placeholder",s.tw_desc[0]),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-description").html(s.tw_desc[0]),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-description-default").html(s.tw_desc[0])),s.tw_img&&(e("#seopress_cpt #seopress_social_twitter_img_meta").attr("placeholder",s.tw_img[0]),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-img img").attr("src",s.tw_img[0]),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-img-default img").attr("src",s.tw_img[0])),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-url").html(s.og_url),e("#seopress_cpt #seopress_robots_canonical_meta").attr("placeholder",t.data.canonical),e("#seopress-analysis-tabs").load(" #seopress-analysis-tabs-1","",sp_ca_toggle),e(".analysis-score p").removeClass("loading"),e(" #seopress_titles_title_counters_val").remove(),e(" #seopress_titles_desc_counters_val").remove(),sp_titles_counters(),sp_meta_desc_counters(),sp_social()}})}"1"==jQuery("#toggle-preview").attr("data-toggle")?jQuery("#seopress_cpt .google-snippet-preview").addClass("mobile-preview"):jQuery("#seopress_cpt .google-snippet-preview").removeClass("mobile-preview"),jQuery("#toggle-preview").on("click",function(){jQuery("#toggle-preview").attr("data-toggle","1"==jQuery("#toggle-preview").attr("data-toggle")?"0":"1"),jQuery("#seopress_cpt .google-snippet-preview").toggleClass("mobile-preview")}),t(),e("#seopress_launch_analysis").on("click",function(){t()}),sp_ca_toggle()});
|
1 |
+
function sp_titles_counters(){const e=jQuery;let t=e("#seopress_titles_title_meta");if(e("#seopress_titles_title_meta").length){e(".snippet-title-custom:visible").length>0?t=e(".snippet-title-custom"):e(".snippet-title:visible").length>0?t=e(".snippet-title"):e(".snippet-title-default:visible").length>0&&(t=e(".snippet-title-default"));var s=t.val(),i=jQuery("#seopress_titles_title_meta").attr("placeholder");if(jQuery("#seopress_titles_title_counters").after('<div id="seopress_titles_title_counters_val">/ 60</div>'),s.length>0?(jQuery("#seopress_titles_title_counters").text(s.length),jQuery("#seopress_titles_title_pixel").text(pixelTitle(s))):i.length&&(jQuery("#seopress_titles_title_counters").text(i.length),jQuery("#seopress_titles_title_pixel").text(pixelTitle(i))),s.length>60?jQuery("#seopress_titles_title_counters").css("color","red"):i.length>60&&jQuery("#seopress_titles_title_counters").css("color","red"),pixelTitle(s)>568?jQuery("#seopress_titles_title_pixel").css("color","red"):pixelTitle(i)>568&&jQuery("#seopress_titles_title_pixel").css("color","red"),s.length)var r=Math.round(pixelTitle(s)/568*100);else r=Math.round(pixelTitle(i)/568*100);r>=100&&(r=100),jQuery("#seopress_titles_title_counters_progress").attr("aria-valuenow",r),jQuery("#seopress_titles_title_counters_progress").text(r+"%"),jQuery("#seopress_titles_title_counters_progress").css("width",r+"%"),jQuery("#seopress_titles_title_meta, #seopress-tag-single-title, #seopress-tag-single-site-title, #seopress-tag-single-sep").on("keyup paste change click",function(t){var s=e("#seopress_titles_title_meta").val();e(".snippet-title-custom:visible").length>0?s=e(".snippet-title-custom").text():e(".snippet-title:visible").length>0?s=e(".snippet-title").text():e(".snippet-title-default:visible").length>0&&(s=e(".snippet-title-default").text());var i=jQuery("#seopress_titles_title_meta").attr("placeholder");if(jQuery("#seopress_titles_title_counters").css("color","inherit"),jQuery("#seopress_titles_title_pixel").css("color","inherit"),s.length>60&&jQuery("#seopress_titles_title_counters").css("color","red"),pixelTitle(s)>568&&jQuery("#seopress_titles_title_pixel").css("color","red"),0==s.length&&(i.length>60&&jQuery("#seopress_titles_title_counters").css("color","red"),pixelTitle(i)>568&&jQuery("#seopress_titles_title_pixel").css("color","red")),s.length>0?(jQuery("#seopress_titles_title_counters").text(s.length),jQuery("#seopress_titles_title_pixel").text(pixelTitle(s))):i.length&&(jQuery("#seopress_titles_title_counters").text(i.length),jQuery("#seopress_titles_title_pixel").text(pixelTitle(i))),s.length)var r=Math.round(pixelTitle(s)/568*100);else r=Math.round(pixelTitle(i)/568*100);r>=100&&(r=100),jQuery("#seopress_titles_title_counters_progress").attr("aria-valuenow",r),jQuery("#seopress_titles_title_counters_progress").text(r+"%"),jQuery("#seopress_titles_title_counters_progress").css("width",r+"%")})}}function sp_meta_desc_counters(){if(jQuery("#seopress_titles_desc_meta").length){var e=jQuery("#seopress_titles_desc_meta").val(),t=jQuery("#seopress_titles_desc_meta").attr("placeholder");if(jQuery("#seopress_titles_desc_counters").after('<div id="seopress_titles_desc_counters_val">/ 160</div>'),e.length>0?(jQuery("#seopress_titles_desc_counters").text(e.length),jQuery("#seopress_titles_desc_pixel").text(pixelDesc(e))):t.length&&(jQuery("#seopress_titles_desc_counters").text(t.length),jQuery("#seopress_titles_desc_pixel").text(pixelDesc(t))),e.length>160?jQuery("#seopress_titles_desc_counters").css("color","red"):t.length>160&&jQuery("#seopress_titles_desc_counters").css("color","red"),pixelDesc(e)>940?jQuery("#seopress_titles_desc_pixel").css("color","red"):pixelDesc(t)>940&&jQuery("#seopress_titles_desc_pixel").css("color","red"),e.length)var s=Math.round(pixelDesc(e)/940*100);else s=Math.round(pixelDesc(t)/940*100);s>=100&&(s=100),jQuery("#seopress_titles_desc_counters_progress").attr("aria-valuenow",s),jQuery("#seopress_titles_desc_counters_progress").text(s+"%"),jQuery("#seopress_titles_desc_counters_progress").css("width",s+"%"),jQuery("#seopress_titles_desc_meta, #seopress-tag-single-excerpt").on("keyup paste change click",function(e){var t=jQuery("#seopress_titles_desc_meta").val(),s=jQuery("#seopress_titles_desc_meta").attr("placeholder");if(jQuery("#seopress_titles_desc_counters").css("color","inherit"),jQuery("#seopress_titles_desc_pixel").css("color","inherit"),t.length>160&&jQuery("#seopress_titles_desc_counters").css("color","red"),pixelDesc(t)>940&&jQuery("#seopress_titles_desc_pixel").css("color","red"),0==t.length&&(s.length>160&&jQuery("#seopress_titles_desc_counters").css("color","red"),pixelDesc(s)>940&&jQuery("#seopress_titles_desc_pixel").css("color","red")),t.length>0?(jQuery("#seopress_titles_desc_counters").text(t.length),jQuery("#seopress_titles_desc_pixel").text(pixelDesc(t))):s.length&&(jQuery("#seopress_titles_desc_counters").text(s.length),jQuery("#seopress_titles_desc_pixel").text(pixelDesc(s))),t.length>0?(jQuery(".snippet-description-custom").text(e.target.value),jQuery(".snippet-description").css("display","none"),jQuery(".snippet-description-custom").css("display","inline"),jQuery(".snippet-description-default").css("display","none")):0==t.length&&(jQuery(".snippet-description-default").css("display","inline"),jQuery(".snippet-description-custom").css("display","none"),jQuery(".snippet-description").css("display","none")),t.length)var i=Math.round(pixelDesc(t)/940*100);else i=Math.round(pixelDesc(s)/940*100);i>=100&&(i=100),jQuery("#seopress_titles_desc_counters_progress").attr("aria-valuenow",i),jQuery("#seopress_titles_desc_counters_progress").text(i+"%"),jQuery("#seopress_titles_desc_counters_progress").css("width",i+"%")}),jQuery("#excerpt, .editor-post-excerpt textarea").keyup(function(e){var t=jQuery("#seopress_titles_desc_meta").val(),s=jQuery("#seopress_titles_desc_meta").attr("placeholder");if(0==t.length&&0==jQuery(".snippet-description-custom").val().length&&(jQuery(".snippet-description-custom").text(e.target.value),jQuery(".snippet-description").css("display","none"),jQuery(".snippet-description-custom").css("display","inline"),jQuery(".snippet-description-default").css("display","none")),t.length)var i=t.length;else i=s.length;i>=100&&(i=100),jQuery("#seopress_titles_desc_counters_progress").attr("aria-valuenow",i),jQuery("#seopress_titles_desc_counters_progress").text(i+"%"),jQuery("#seopress_titles_desc_counters_progress").css("width",i+"%")})}}function pixelTitle(e){return inputText=e,font="18px Arial",canvas=document.createElement("canvas"),context=canvas.getContext("2d"),context.font=font,width=context.measureText(inputText).width,formattedWidth=Math.ceil(width),formattedWidth}function pixelDesc(e){return inputText=e,font="14px Arial",canvas=document.createElement("canvas"),context=canvas.getContext("2d"),context.font=font,width=context.measureText(inputText).width,formattedWidth=Math.ceil(width),formattedWidth}function sp_is_valid_url(e){var t=e.match(/(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g);return null!==t}function sp_social_img(e){if(jQuery("#seopress_social_fb_title_meta").length){jQuery(".snippet-"+e+"-img-alert").css("display","none");var t=jQuery("#seopress_social_"+e+"_img_meta").val();if(""==t)t=jQuery("#seopress_social_"+e+"_img_meta").attr("placeholder");!0===sp_is_valid_url(t)?(t.length>0?(jQuery(".snippet-"+e+"-img-custom img").attr("src",t),jQuery(".snippet-"+e+"-img").css("display","none"),jQuery(".snippet-"+e+"-img-custom").css("display","block"),jQuery(".snippet-"+e+"-img-default").css("display","none")):0==t.length&&(jQuery(".snippet-"+e+"-img-default").css("display","block"),jQuery(".snippet-"+e+"-img-custom").css("display","none"),jQuery(".snippet-"+e+"-img").css("display","none")),t.length>0&&jQuery.get(t).done(function(){var s=t.split(/\#|\?/)[0].split(".").pop().trim(),i=["jpg","jpeg","gif","png","webp"];if(-1==i.indexOf(s))jQuery(".snippet-"+e+"-img-alert.alert1").css("display","block");else{var r=new Image;r.src=t,jQuery(r).one("load",function(){pic_real_width=parseInt(r.width),pic_real_height=parseInt(r.height),"fb"==e?(min_width=200,min_height=200):(min_width=144,min_height=144),(pic_real_width<min_width||pic_real_height<min_height)&&jQuery(".snippet-"+e+"-img-alert.alert2").css("display","block"),ratio_img=(pic_real_width/pic_real_height).toFixed(2),jQuery(".snippet-"+e+"-img-alert.alert4").css("display","block"),jQuery(".snippet-"+e+"-img-alert.alert4 span").text(ratio_img)})}}).fail(function(){jQuery(".snippet-"+e+"-img-alert.alert3").css("display","block")})):jQuery(".snippet-"+e+"-img-alert.alert5").css("display","block")}}function sp_social(){jQuery("#seopress_social_fb_title_meta").length&&(jQuery("#seopress_social_fb_title_meta, #seopress-tag-single-title, #seopress-tag-single-site-title, #seopress-tag-single-sep").on("keyup paste change click",function(e){var t=jQuery("#seopress_social_fb_title_meta").val();t.length>0?(jQuery(".snippet-fb-title-custom").text(e.target.value),jQuery(".snippet-fb-title").css("display","none"),jQuery(".snippet-fb-title-custom").css("display","block"),jQuery(".snippet-fb-title-default").css("display","none")):0==t.length&&(jQuery(".snippet-fb-title-default").css("display","block"),jQuery(".snippet-fb-title-custom").css("display","none"),jQuery(".snippet-fb-title").css("display","none"))}),jQuery("#seopress_social_fb_desc_meta").on("keyup paste change click",function(e){var t=jQuery("#seopress_social_fb_desc_meta").val();t.length>0?(jQuery(".snippet-fb-description-custom").text(e.target.value),jQuery(".snippet-fb-description").css("display","none"),jQuery(".snippet-fb-description-custom").css("display","block"),jQuery(".snippet-fb-description-default").css("display","none")):0==t.length&&(jQuery(".snippet-fb-description-default").css("display","block"),jQuery(".snippet-fb-description-custom").css("display","none"),jQuery(".snippet-fb-description").css("display","none"))}),sp_social_img("fb"),jQuery("#seopress_social_fb_img_meta").on("keyup paste change click",function(){sp_social_img("fb")}),jQuery("#seopress_social_twitter_title_meta").on("keyup paste change click",function(e){var t=jQuery("#seopress_social_twitter_title_meta").val();t.length>0?(jQuery(".snippet-twitter-title-custom").text(e.target.value),jQuery(".snippet-twitter-title").css("display","none"),jQuery(".snippet-twitter-title-custom").css("display","block"),jQuery(".snippet-twitter-title-default").css("display","none")):0==t.length&&(jQuery(".snippet-twitter-title-default").css("display","block"),jQuery(".snippet-twitter-title-custom").css("display","none"),jQuery(".snippet-twitter-title").css("display","none"))}),jQuery("#seopress_social_twitter_desc_meta").on("keyup paste change click",function(e){var t=jQuery("#seopress_social_twitter_desc_meta").val();t.length>0?(jQuery(".snippet-twitter-description-custom").text(e.target.value),jQuery(".snippet-twitter-description").css("display","none"),jQuery(".snippet-twitter-description-custom").css("display","block"),jQuery(".snippet-twitter-description-default").css("display","none")):0==t.length&&(jQuery(".snippet-twitter-description-default").css("display","block"),jQuery(".snippet-twitter-description-custom").css("display","none"),jQuery(".snippet-twitter-description").css("display","none"))}),sp_social_img("twitter"),jQuery("#seopress_social_twitter_img_meta").on("keyup paste change click",function(){sp_social_img("twitter")}))}function sp_ca_toggle(){var e=!1;jQuery(".gr-analysis-title .btn-toggle").on("click",function(t){e&&(event.stopImmediatePropagation(),event.preventDefault(),e=!1),jQuery(this).toggleClass("open"),jQuery(this).parent().parent().next(".gr-analysis-content").toggle()}),jQuery("#expand-all").on("click",function(e){e.preventDefault(),jQuery(".gr-analysis-content").show()}),jQuery("#close-all").on("click",function(e){e.preventDefault(),jQuery(".gr-analysis-content").hide()})}function seopress_google_suggest(e){var t,s=String(e),i=s.split(",");for(t=0;t<i.length;t++)null!=i[t]&&null!=i[t]&&""!=i[t]&&"[object Object]"!=i[t]&&(document.getElementById("seopress_suggestions").innerHTML+='<li><a href="#" class="sp-suggest-btn components-button is-secondary">'+i[t]+"</a></li>");jQuery(".sp-suggest-btn").click(function(e){e.preventDefault(),target_kw.addTags(jQuery(this).text())})}var input=document.querySelector("input[id=seopress_analysis_target_kw_meta]"),target_kw=new Tagify(input,{originalInputValueFormat:e=>e.map(e=>e.value).join(",")});jQuery(document).ready(function(e){function t(){if(void 0!==e("#seopress-tabs").attr("data_id"))var t=e("#seopress-tabs").attr("data_id");else if(void 0!==e("#seopress_content_analysis .wrap-seopress-analysis").attr("data_id"))t=e("#seopress_content_analysis .wrap-seopress-analysis").attr("data_id");if(void 0!==e("#seopress-tabs").attr("data_tax"))var s=e("#seopress-tabs").attr("data_tax");else if(void 0!==e("#seopress_content_analysis .wrap-seopress-analysis").attr("data_tax"))s=e("#seopress_content_analysis .wrap-seopress-analysis").attr("data_tax");if(void 0!==e("#seopress-tabs").attr("data_origin"))var i=e("#seopress-tabs").attr("data_origin");else if(void 0!==e("#seopress_content_analysis .wrap-seopress-analysis").attr("data_origin"))i=e("#seopress_content_analysis .wrap-seopress-analysis").attr("data_origin");e.ajax({method:"GET",url:seopressAjaxRealPreview.seopress_real_preview,data:{action:"seopress_do_real_preview",post_id:t,tax_name:s,origin:i,post_type:e("#seopress_launch_analysis").attr("data_post_type"),seopress_analysis_target_kw:e("#seopress_analysis_target_kw_meta").val(),_ajax_nonce:seopressAjaxRealPreview.seopress_nonce},beforeSend:function(){e(".analysis-score p span").fadeIn().text(seopressAjaxRealPreview.i18n.progress),e(".analysis-score p").addClass("loading")},success:function(t){void 0===t.data.og_title?og_title="":og_title=t.data.og_title.values,void 0===t.data.og_desc?og_desc="":og_desc=t.data.og_desc.values,void 0===t.data.og_img?og_img="":og_img=t.data.og_img.values,void 0===t.data.og_url?og_url="":og_url=t.data.og_url.host,void 0===t.data.og_site_name?og_site_name="":og_site_name=t.data.og_site_name.values,void 0===t.data.tw_title?tw_title="":tw_title=t.data.tw_title.values,void 0===t.data.tw_desc?tw_desc="":tw_desc=t.data.tw_desc.values,void 0===t.data.tw_img?tw_img="":tw_img=t.data.tw_img.values,void 0===t.data.meta_robots?meta_robots="":meta_robots=t.data.meta_robots[0];var s={og_title:og_title,og_desc:og_desc,og_img:og_img,og_url:og_url,og_site_name:og_site_name,tw_title:tw_title,tw_desc:tw_desc,tw_img:tw_img};for(var i in s)s.length&&(i=s[i].length>1?s[i].slice(-1)[0]:s[i][0]);meta_robots=meta_robots.toString(),e("#sp-advanced-alert").empty();var r=new RegExp("noindex");r.test(meta_robots)&&e("#sp-advanced-alert").append('<span class="impact high" aria-hidden="true"></span>'),e("#seopress_cpt .google-snippet-preview .snippet-title").html(t.data.title),e("#seopress_cpt .google-snippet-preview .snippet-title-default").html(t.data.title),e("#seopress_titles_title_meta").attr("placeholder",t.data.title),e("#seopress_cpt .google-snippet-preview .snippet-description").html(t.data.meta_desc),e("#seopress_cpt .google-snippet-preview .snippet-description-default").html(t.data.meta_desc),e("#seopress_titles_desc_meta").attr("placeholder",t.data.meta_desc),s.og_title&&(e("#seopress_cpt #seopress_social_fb_title_meta").attr("placeholder",s.og_title[0]),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-title").html(s.og_title[0]),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-title-default").html(s.og_title[0])),s.og_desc&&(e("#seopress_cpt #seopress_social_fb_desc_meta").attr("placeholder",s.og_desc[0]),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-description").html(s.og_desc[0]),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-description-default").html(s.og_desc[0])),s.og_img&&(e("#seopress_cpt #seopress_social_fb_img_meta").attr("placeholder",s.og_img[0]),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-img img").attr("src",s.og_img[0]),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-img-default img").attr("src",s.og_img[0])),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-url").html(s.og_url),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-site-name").html(s.og_site_name),s.tw_title&&(e("#seopress_cpt #seopress_social_twitter_title_meta").attr("placeholder",s.tw_title[0]),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-title").html(s.tw_title[0]),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-title-default").html(s.tw_title[0])),s.tw_desc&&(e("#seopress_cpt #seopress_social_twitter_desc_meta").attr("placeholder",s.tw_desc[0]),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-description").html(s.tw_desc[0]),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-description-default").html(s.tw_desc[0])),s.tw_img&&(e("#seopress_cpt #seopress_social_twitter_img_meta").attr("placeholder",s.tw_img[0]),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-img img").attr("src",s.tw_img[0]),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-img-default img").attr("src",s.tw_img[0])),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-url").html(s.og_url),e("#seopress_cpt #seopress_robots_canonical_meta").attr("placeholder",t.data.canonical),e("#seopress-analysis-tabs").load(" #seopress-analysis-tabs-1","",sp_ca_toggle),e(".analysis-score p").removeClass("loading"),e(" #seopress_titles_title_counters_val").remove(),e(" #seopress_titles_desc_counters_val").remove(),sp_titles_counters(),sp_meta_desc_counters(),sp_social()}})}"1"==jQuery("#toggle-preview").attr("data-toggle")?jQuery("#seopress_cpt .google-snippet-preview").addClass("mobile-preview"):jQuery("#seopress_cpt .google-snippet-preview").removeClass("mobile-preview"),jQuery("#toggle-preview").on("click",function(){jQuery("#toggle-preview").attr("data-toggle","1"==jQuery("#toggle-preview").attr("data-toggle")?"0":"1"),jQuery("#seopress_cpt .google-snippet-preview").toggleClass("mobile-preview")}),t(),e("#seopress_launch_analysis").on("click",function(){t()}),sp_ca_toggle()});
|
@@ -5,6 +5,7 @@ jQuery(document).ready(function ($) {
|
|
5 |
}
|
6 |
const notices = [
|
7 |
"notice-get-started",
|
|
|
8 |
"notice-wizard",
|
9 |
"notice-insights-wizard",
|
10 |
"notice-tagdiv",
|
@@ -22,7 +23,9 @@ jQuery(document).ready(function ($) {
|
|
22 |
"notice-themes",
|
23 |
"notice-page-builders",
|
24 |
"notice-go-pro",
|
25 |
-
"notice-noindex"
|
|
|
|
|
26 |
]
|
27 |
notices.forEach(function (item) {
|
28 |
$('#' + item).on('click', function () {
|
@@ -78,13 +81,134 @@ jQuery(document).ready(function ($) {
|
|
78 |
_ajax_nonce: seopressAjaxToggleFeatures.seopress_nonce,
|
79 |
},
|
80 |
success: function (data) {
|
81 |
-
|
82 |
-
$('#seopress-notice-save
|
83 |
-
$('#' + item + '-state').toggleClass('feature-state-on');
|
84 |
-
$('#' + item + '-state-default').toggleClass('feature-state-off');
|
85 |
$('#seopress-notice-save').delay(3500).fadeOut();
|
|
|
86 |
},
|
87 |
});
|
88 |
});
|
89 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
});
|
5 |
}
|
6 |
const notices = [
|
7 |
"notice-get-started",
|
8 |
+
"notice-usm",
|
9 |
"notice-wizard",
|
10 |
"notice-insights-wizard",
|
11 |
"notice-tagdiv",
|
23 |
"notice-themes",
|
24 |
"notice-page-builders",
|
25 |
"notice-go-pro",
|
26 |
+
"notice-noindex",
|
27 |
+
"notice-tasks",
|
28 |
+
"notice-insights"
|
29 |
]
|
30 |
notices.forEach(function (item) {
|
31 |
$('#' + item).on('click', function () {
|
81 |
_ajax_nonce: seopressAjaxToggleFeatures.seopress_nonce,
|
82 |
},
|
83 |
success: function (data) {
|
84 |
+
window.history.pushState("", "", window.location.href + "&settings-updated=true");
|
85 |
+
$('#seopress-notice-save').show();
|
|
|
|
|
86 |
$('#seopress-notice-save').delay(3500).fadeOut();
|
87 |
+
window.history.pushState("", "", window.location.href)
|
88 |
},
|
89 |
});
|
90 |
});
|
91 |
});
|
92 |
+
$('#seopress-activity-panel button').on('click', function () {
|
93 |
+
$(this).toggleClass('is-active');
|
94 |
+
$('#seopress-activity-panel-' + $(this).data('panel')).toggleClass('is-open');
|
95 |
+
});
|
96 |
+
$('#seopress-content').on('click', function () {
|
97 |
+
$('#seopress-activity-panel').find('.is-open').toggleClass('is-open');
|
98 |
+
$('#seopress-activity-panel').find('.is-active').toggleClass('is-active');
|
99 |
+
});
|
100 |
+
$('.seopress-item-toggle-options').on('click', function () {
|
101 |
+
$(this).next('.seopress-card-popover').toggleClass('is-open');
|
102 |
+
});
|
103 |
+
|
104 |
+
$('#seopress-news-items').on('click', function () {
|
105 |
+
$.ajax({
|
106 |
+
method: 'POST',
|
107 |
+
url: seopressAjaxNews.seopress_news,
|
108 |
+
data: {
|
109 |
+
action: 'seopress_news',
|
110 |
+
news_max_items: $('#news_max_items').val(),
|
111 |
+
_ajax_nonce: seopressAjaxNews.seopress_nonce,
|
112 |
+
},
|
113 |
+
success: function (data) {
|
114 |
+
$('#seopress-news-panel .seopress-card-content').load(' #seopress-news-panel .seopress-card-content');
|
115 |
+
$('#seopress-news-panel .seopress-card-popover').toggleClass('is-open');
|
116 |
+
},
|
117 |
+
});
|
118 |
+
});
|
119 |
+
$('#seopress_news').on('click', function () {
|
120 |
+
$('#seopress-news-panel').toggleClass('is-active');
|
121 |
+
$('#seopress_news').attr('data-toggle', $('#seopress_news').attr('data-toggle') == '1' ? '0' : '1');
|
122 |
+
$.ajax({
|
123 |
+
method: 'POST',
|
124 |
+
url: seopressAjaxDisplay.seopress_display,
|
125 |
+
data: {
|
126 |
+
action: 'seopress_display',
|
127 |
+
news_center: $('#seopress_news').attr('data-toggle'),
|
128 |
+
_ajax_nonce: seopressAjaxDisplay.seopress_nonce,
|
129 |
+
},
|
130 |
+
});
|
131 |
+
});
|
132 |
+
$('#notifications_center').on('click', function () {
|
133 |
+
$('#seopress-notifications-center').toggleClass('is-active');
|
134 |
+
$('#notifications_center').attr('data-toggle', $('#notifications_center').attr('data-toggle') == '1' ? '0' : '1');
|
135 |
+
$.ajax({
|
136 |
+
method: 'POST',
|
137 |
+
url: seopressAjaxDisplay.seopress_display,
|
138 |
+
data: {
|
139 |
+
action: 'seopress_display',
|
140 |
+
notifications_center: $('#notifications_center').attr('data-toggle'),
|
141 |
+
_ajax_nonce: seopressAjaxDisplay.seopress_nonce,
|
142 |
+
},
|
143 |
+
});
|
144 |
+
});
|
145 |
+
});
|
146 |
+
|
147 |
+
//SEO Tools Tabs
|
148 |
+
jQuery(document).ready(function ($) {
|
149 |
+
var get_hash = window.location.hash;
|
150 |
+
var clean_hash = get_hash.split('$');
|
151 |
+
|
152 |
+
if (typeof sessionStorage != 'undefined') {
|
153 |
+
var seopress_admin_tab_session_storage = sessionStorage.getItem("seopress_admin_tab");
|
154 |
+
|
155 |
+
if (clean_hash[1] == '1') { //Notifications Tab
|
156 |
+
$('#tab_seopress_analytics-tab').addClass("nav-tab-active");
|
157 |
+
$('#tab_seopress_analytics').addClass("active");
|
158 |
+
} else if (clean_hash[1] == '2') { //SEO Tools Tab
|
159 |
+
$('#tab_seopress_seo_tools-tab').addClass("nav-tab-active");
|
160 |
+
$('#tab_seopress_seo_tools').addClass("active");
|
161 |
+
} else if (clean_hash[1] == '3') { //Page Speed Tab
|
162 |
+
$('#tab_seopress_page_speed-tab').addClass("nav-tab-active");
|
163 |
+
$('#tab_seopress_page_speed_tools').addClass("active");
|
164 |
+
} else if (seopress_admin_tab_session_storage) {
|
165 |
+
$('#seopress-admin-tabs').find('.nav-tab.nav-tab-active').removeClass("nav-tab-active");
|
166 |
+
$('#seopress-admin-tabs').find('.seopress-tab.active').removeClass("active");
|
167 |
+
$('#' + seopress_admin_tab_session_storage.split('#tab=') + '-tab').addClass("nav-tab-active");
|
168 |
+
$('#' + seopress_admin_tab_session_storage.split('#tab=')).addClass("active");
|
169 |
+
} else {
|
170 |
+
//Default TAB
|
171 |
+
$('#tab_seopress_analytics-tab').addClass("nav-tab-active");
|
172 |
+
$('#tab_seopress_analytics').addClass("active");
|
173 |
+
}
|
174 |
+
};
|
175 |
+
$("#seopress-admin-tabs").find("a.nav-tab").click(function (e) {
|
176 |
+
e.preventDefault();
|
177 |
+
var hash = $(this).attr('href').split('#tab=')[1];
|
178 |
+
|
179 |
+
$('#seopress-admin-tabs').find('.nav-tab.nav-tab-active').removeClass("nav-tab-active");
|
180 |
+
$('#' + hash + '-tab').addClass("nav-tab-active");
|
181 |
+
|
182 |
+
if (clean_hash[1] == 1) {
|
183 |
+
sessionStorage.setItem("seopress_admin_tab", 'tab_seopress_analytics');
|
184 |
+
} else if (clean_hash[1] == 2) {
|
185 |
+
sessionStorage.setItem("seopress_admin_tab", 'tab_seopress_seo_tools');
|
186 |
+
} else if (clean_hash[1] == 3) {
|
187 |
+
sessionStorage.setItem("seopress_admin_tab", 'tab_seopress_page_speed_tools');
|
188 |
+
} else {
|
189 |
+
sessionStorage.setItem("seopress_admin_tab", hash);
|
190 |
+
}
|
191 |
+
|
192 |
+
$('#seopress-admin-tabs').find('.seopress-tab.active').removeClass("active");
|
193 |
+
$('#' + hash).addClass("active");
|
194 |
+
});
|
195 |
+
//Request Reverse Domains
|
196 |
+
$('#seopress-reverse-submit').on('click', function () {
|
197 |
+
$.ajax({
|
198 |
+
method: 'GET',
|
199 |
+
url: seopressAjaxReverse.seopress_request_reverse,
|
200 |
+
data: {
|
201 |
+
action: 'seopress_request_reverse',
|
202 |
+
_ajax_nonce: seopressAjaxReverse.seopress_nonce,
|
203 |
+
},
|
204 |
+
success: function (data) {
|
205 |
+
window.location.reload(true);
|
206 |
+
},
|
207 |
+
});
|
208 |
+
});
|
209 |
+
$('#seopress-reverse-submit').on('click', function () {
|
210 |
+
$(this).attr("disabled", "disabled");
|
211 |
+
$('#spinner-reverse.spinner').css("visibility", "visible");
|
212 |
+
$('#spinner-reverse.spinner').css("float", "none");
|
213 |
+
});
|
214 |
});
|
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(e){e.trim(e("#seopress-notifications-center").html())||e("#seopress-notifications-center").remove();const
|
1 |
+
jQuery(document).ready(function(e){e.trim(e("#seopress-notifications-center").html())||e("#seopress-notifications-center").remove();const s=["notice-get-started","notice-usm","notice-wizard","notice-insights-wizard","notice-tagdiv","notice-divide-comments","notice-review","notice-trailingslash","notice-posts-number","notice-rss-use-excerpt","notice-ga-ids","notice-search-console","notice-google-business","notice-ssl","notice-title-tag","notice-enfold","notice-themes","notice-page-builders","notice-go-pro","notice-noindex","notice-tasks","notice-insights"];s.forEach(function(s){e("#"+s).on("click",function(){e("#"+s).attr("data-notice","1"==e("#"+s).attr("data-notice")?"0":"1"),e.ajax({method:"POST",url:seopressAjaxHideNotices.seopress_hide_notices,data:{action:"seopress_hide_notices",notice:s,notice_value:e("#"+s).attr("data-notice"),_ajax_nonce:seopressAjaxHideNotices.seopress_nonce},success:function(t){e("#seopress-notice-save").css("display","block"),e("#seopress-notice-save .html").html("Notice successfully removed"),e("#"+s+"-alert").fadeOut(),e("#seopress-notice-save").delay(3500).fadeOut()}})})});const t=["titles","xml-sitemap","social","google-analytics","advanced","local-business","woocommerce","edd","dublin-core","rich-snippets","breadcrumbs","robots","news","404","bot","rewrite","white-label"];t.forEach(function(s){e("#toggle-"+s).on("click",function(){e("#toggle-"+s).attr("data-toggle","1"==e("#toggle-"+s).attr("data-toggle")?"0":"1"),e.ajax({method:"POST",url:seopressAjaxToggleFeatures.seopress_toggle_features,data:{action:"seopress_toggle_features",feature:"toggle-"+s,feature_value:e("#toggle-"+s).attr("data-toggle"),_ajax_nonce:seopressAjaxToggleFeatures.seopress_nonce},success:function(s){window.history.pushState("","",window.location.href+"&settings-updated=true"),e("#seopress-notice-save").show(),e("#seopress-notice-save").delay(3500).fadeOut(),window.history.pushState("","",window.location.href)}})})}),e("#seopress-activity-panel button").on("click",function(){e(this).toggleClass("is-active"),e("#seopress-activity-panel-"+e(this).data("panel")).toggleClass("is-open")}),e("#seopress-content").on("click",function(){e("#seopress-activity-panel").find(".is-open").toggleClass("is-open"),e("#seopress-activity-panel").find(".is-active").toggleClass("is-active")}),e(".seopress-item-toggle-options").on("click",function(){e(this).next(".seopress-card-popover").toggleClass("is-open")}),e("#seopress-news-items").on("click",function(){e.ajax({method:"POST",url:seopressAjaxNews.seopress_news,data:{action:"seopress_news",news_max_items:e("#news_max_items").val(),_ajax_nonce:seopressAjaxNews.seopress_nonce},success:function(s){e("#seopress-news-panel .seopress-card-content").load(" #seopress-news-panel .seopress-card-content"),e("#seopress-news-panel .seopress-card-popover").toggleClass("is-open")}})}),e("#seopress_news").on("click",function(){e("#seopress-news-panel").toggleClass("is-active"),e("#seopress_news").attr("data-toggle","1"==e("#seopress_news").attr("data-toggle")?"0":"1"),e.ajax({method:"POST",url:seopressAjaxDisplay.seopress_display,data:{action:"seopress_display",news_center:e("#seopress_news").attr("data-toggle"),_ajax_nonce:seopressAjaxDisplay.seopress_nonce}})}),e("#notifications_center").on("click",function(){e("#seopress-notifications-center").toggleClass("is-active"),e("#notifications_center").attr("data-toggle","1"==e("#notifications_center").attr("data-toggle")?"0":"1"),e.ajax({method:"POST",url:seopressAjaxDisplay.seopress_display,data:{action:"seopress_display",notifications_center:e("#notifications_center").attr("data-toggle"),_ajax_nonce:seopressAjaxDisplay.seopress_nonce}})})}),jQuery(document).ready(function(e){var s=window.location.hash,t=s.split("$");if("undefined"!=typeof sessionStorage){var a=sessionStorage.getItem("seopress_admin_tab");"1"==t[1]?(e("#tab_seopress_analytics-tab").addClass("nav-tab-active"),e("#tab_seopress_analytics").addClass("active")):"2"==t[1]?(e("#tab_seopress_seo_tools-tab").addClass("nav-tab-active"),e("#tab_seopress_seo_tools").addClass("active")):"3"==t[1]?(e("#tab_seopress_page_speed-tab").addClass("nav-tab-active"),e("#tab_seopress_page_speed_tools").addClass("active")):a?(e("#seopress-admin-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),e("#seopress-admin-tabs").find(".seopress-tab.active").removeClass("active"),e("#"+a.split("#tab=")+"-tab").addClass("nav-tab-active"),e("#"+a.split("#tab=")).addClass("active")):(e("#tab_seopress_analytics-tab").addClass("nav-tab-active"),e("#tab_seopress_analytics").addClass("active"))}e("#seopress-admin-tabs").find("a.nav-tab").click(function(s){s.preventDefault();var a=e(this).attr("href").split("#tab=")[1];e("#seopress-admin-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),e("#"+a+"-tab").addClass("nav-tab-active"),1==t[1]?sessionStorage.setItem("seopress_admin_tab","tab_seopress_analytics"):2==t[1]?sessionStorage.setItem("seopress_admin_tab","tab_seopress_seo_tools"):3==t[1]?sessionStorage.setItem("seopress_admin_tab","tab_seopress_page_speed_tools"):sessionStorage.setItem("seopress_admin_tab",a),e("#seopress-admin-tabs").find(".seopress-tab.active").removeClass("active"),e("#"+a).addClass("active")}),e("#seopress-reverse-submit").on("click",function(){e.ajax({method:"GET",url:seopressAjaxReverse.seopress_request_reverse,data:{action:"seopress_request_reverse",_ajax_nonce:seopressAjaxReverse.seopress_nonce},success:function(e){window.location.reload(!0)}})}),e("#seopress-reverse-submit").on("click",function(){e(this).attr("disabled","disabled"),e("#spinner-reverse.spinner").css("visibility","visible"),e("#spinner-reverse.spinner").css("float","none")})});
|
@@ -120,6 +120,24 @@ document.addEventListener("DOMContentLoaded", function () {
|
|
120 |
//All variables
|
121 |
$(".seopress-tag-dropdown").each(function (item) {
|
122 |
const _self = $(this);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
$(this).on("click", function () {
|
124 |
$(this).next(".sp-wrap-tag-variables-list").toggleClass("open");
|
125 |
|
@@ -127,23 +145,14 @@ document.addEventListener("DOMContentLoaded", function () {
|
|
127 |
.next(".sp-wrap-tag-variables-list")
|
128 |
.find("li")
|
129 |
.on("click", function (e) {
|
130 |
-
|
131 |
-
$("#seopress_titles_title_meta").val(
|
132 |
-
sp_get_field_length(
|
133 |
-
$("#seopress_titles_title_meta")
|
134 |
-
) + $(this).attr("data-value")
|
135 |
-
);
|
136 |
-
$("#seopress_titles_title_meta").trigger("paste");
|
137 |
-
}
|
138 |
-
if (_self.hasClass("tag-description")) {
|
139 |
-
$("#seopress_titles_desc_meta").val(
|
140 |
-
sp_get_field_length(
|
141 |
-
$("#seopress_titles_desc_meta")
|
142 |
-
) + $(this).attr("data-value")
|
143 |
-
);
|
144 |
-
$("#seopress_titles_desc_meta").trigger("paste");
|
145 |
-
}
|
146 |
e.stopImmediatePropagation();
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
});
|
148 |
|
149 |
function closeItem(e) {
|
120 |
//All variables
|
121 |
$(".seopress-tag-dropdown").each(function (item) {
|
122 |
const _self = $(this);
|
123 |
+
|
124 |
+
function handleClickLi(current) {
|
125 |
+
if (_self.hasClass("tag-title")) {
|
126 |
+
$("#seopress_titles_title_meta").val(
|
127 |
+
sp_get_field_length($("#seopress_titles_title_meta")) +
|
128 |
+
$(current).attr("data-value")
|
129 |
+
);
|
130 |
+
$("#seopress_titles_title_meta").trigger("paste");
|
131 |
+
}
|
132 |
+
if (_self.hasClass("tag-description")) {
|
133 |
+
$("#seopress_titles_desc_meta").val(
|
134 |
+
sp_get_field_length($("#seopress_titles_desc_meta")) +
|
135 |
+
$(current).attr("data-value")
|
136 |
+
);
|
137 |
+
$("#seopress_titles_desc_meta").trigger("paste");
|
138 |
+
}
|
139 |
+
}
|
140 |
+
|
141 |
$(this).on("click", function () {
|
142 |
$(this).next(".sp-wrap-tag-variables-list").toggleClass("open");
|
143 |
|
145 |
.next(".sp-wrap-tag-variables-list")
|
146 |
.find("li")
|
147 |
.on("click", function (e) {
|
148 |
+
handleClickLi(this);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
e.stopImmediatePropagation();
|
150 |
+
})
|
151 |
+
.on("keyup", function (e) {
|
152 |
+
if (e.keyCode === 13) {
|
153 |
+
handleClickLi(this);
|
154 |
+
e.stopImmediatePropagation();
|
155 |
+
}
|
156 |
});
|
157 |
|
158 |
function closeItem(e) {
|
@@ -1 +1 @@
|
|
1 |
-
document.addEventListener("DOMContentLoaded",function(){function t(t){return t.val().length>0?meta=t.val()+" ":meta=t.val(),meta}const e=jQuery;e("#seopress-tabs .hidden").removeClass("hidden"),e("#seopress-tabs").tabs();var s=function(t,e,s){var i;return function(){var a=this,l=arguments,o=function(){i=null,s||t.apply(a,l)},r=s&&!i;clearTimeout(i),i=setTimeout(o,e),r&&t.apply(a,l)}};e("#seopress_titles_title_meta").on("change paste keyup",s(function(t){const s=e(this).val(),i=e("#seopress-tabs").data("term-id"),a=e("#seopress-tabs").data("home-id");e.ajax({method:"GET",url:seopressAjaxRealPreview.ajax_url,data:{action:"get_preview_meta_title",template:s,post_id:e("#seopress-tabs").attr("data_id"),term_id:0===i.length?void 0:i,home_id:0===a.length?void 0:a,nonce:seopressAjaxRealPreview.get_preview_meta_title},success:function(t){const{data:s}=t;s.length>0?(e(".snippet-title").hide(),e(".snippet-title-default").hide(),e(".snippet-title-custom").text(s),e(".snippet-title-custom").show(),e("#seopress_titles_title_counters").length>0&&e("#seopress_titles_title_counters").text(s.length),e("#seopress_titles_title_pixel").length>0&&e("#seopress_titles_title_pixel").text(pixelTitle(s))):(e(".snippet-title").hide(),e(".snippet-title-custom").hide(),e(".snippet-title-default").show())}})},300)),e("#seopress-tag-single-title").click(function(){e("#seopress_titles_title_meta").val(t(e("#seopress_titles_title_meta"))+e("#seopress-tag-single-title").attr("data-tag")),e("#seopress_titles_title_meta").trigger("paste")}),e("#seopress-tag-single-site-title").click(function(){e("#seopress_titles_title_meta").val(t(e("#seopress_titles_title_meta"))+e("#seopress-tag-single-site-title").attr("data-tag")),e("#seopress_titles_title_meta").trigger("paste")}),e("#seopress-tag-single-excerpt").click(function(){e("#seopress_titles_desc_meta").val(t(e("#seopress_titles_desc_meta"))+e("#seopress-tag-single-excerpt").attr("data-tag")),e("#seopress_titles_title_meta").trigger("paste")}),e("#seopress-tag-single-sep").click(function(){e("#seopress_titles_title_meta").val(t(e("#seopress_titles_title_meta"))+e("#seopress-tag-single-sep").attr("data-tag")),e("#seopress_titles_title_meta").trigger("paste")});let i=!1;e(".seopress-tag-dropdown").each(function(s){const
|
1 |
+
document.addEventListener("DOMContentLoaded",function(){function t(t){return t.val().length>0?meta=t.val()+" ":meta=t.val(),meta}const e=jQuery;e("#seopress-tabs .hidden").removeClass("hidden"),e("#seopress-tabs").tabs();var s=function(t,e,s){var i;return function(){var a=this,l=arguments,o=function(){i=null,s||t.apply(a,l)},r=s&&!i;clearTimeout(i),i=setTimeout(o,e),r&&t.apply(a,l)}};e("#seopress_titles_title_meta").on("change paste keyup",s(function(t){const s=e(this).val(),i=e("#seopress-tabs").data("term-id"),a=e("#seopress-tabs").data("home-id");e.ajax({method:"GET",url:seopressAjaxRealPreview.ajax_url,data:{action:"get_preview_meta_title",template:s,post_id:e("#seopress-tabs").attr("data_id"),term_id:0===i.length?void 0:i,home_id:0===a.length?void 0:a,nonce:seopressAjaxRealPreview.get_preview_meta_title},success:function(t){const{data:s}=t;s.length>0?(e(".snippet-title").hide(),e(".snippet-title-default").hide(),e(".snippet-title-custom").text(s),e(".snippet-title-custom").show(),e("#seopress_titles_title_counters").length>0&&e("#seopress_titles_title_counters").text(s.length),e("#seopress_titles_title_pixel").length>0&&e("#seopress_titles_title_pixel").text(pixelTitle(s))):(e(".snippet-title").hide(),e(".snippet-title-custom").hide(),e(".snippet-title-default").show())}})},300)),e("#seopress-tag-single-title").click(function(){e("#seopress_titles_title_meta").val(t(e("#seopress_titles_title_meta"))+e("#seopress-tag-single-title").attr("data-tag")),e("#seopress_titles_title_meta").trigger("paste")}),e("#seopress-tag-single-site-title").click(function(){e("#seopress_titles_title_meta").val(t(e("#seopress_titles_title_meta"))+e("#seopress-tag-single-site-title").attr("data-tag")),e("#seopress_titles_title_meta").trigger("paste")}),e("#seopress-tag-single-excerpt").click(function(){e("#seopress_titles_desc_meta").val(t(e("#seopress_titles_desc_meta"))+e("#seopress-tag-single-excerpt").attr("data-tag")),e("#seopress_titles_title_meta").trigger("paste")}),e("#seopress-tag-single-sep").click(function(){e("#seopress_titles_title_meta").val(t(e("#seopress_titles_title_meta"))+e("#seopress-tag-single-sep").attr("data-tag")),e("#seopress_titles_title_meta").trigger("paste")});let i=!1;e(".seopress-tag-dropdown").each(function(s){function a(s){l.hasClass("tag-title")&&(e("#seopress_titles_title_meta").val(t(e("#seopress_titles_title_meta"))+e(s).attr("data-value")),e("#seopress_titles_title_meta").trigger("paste")),l.hasClass("tag-description")&&(e("#seopress_titles_desc_meta").val(t(e("#seopress_titles_desc_meta"))+e(s).attr("data-value")),e("#seopress_titles_desc_meta").trigger("paste"))}const l=e(this);e(this).on("click",function(){function t(s){e(s.target).hasClass("dashicons")||e(s.target).hasClass("seopress-tag-single-all")||(i=!1,e(document).off("click",t),e(".sp-wrap-tag-variables-list").removeClass("open"))}e(this).next(".sp-wrap-tag-variables-list").toggleClass("open"),e(this).next(".sp-wrap-tag-variables-list").find("li").on("click",function(t){a(this),t.stopImmediatePropagation()}).on("keyup",function(t){13===t.keyCode&&(a(this),t.stopImmediatePropagation())}),i||(i=!0,e(document).on("click",t))})})});
|
@@ -200,7 +200,8 @@ jQuery(document).ready(function ($) {
|
|
200 |
"disabled"
|
201 |
);
|
202 |
$(".spinner").css("visibility", "hidden");
|
203 |
-
$("#" + id + "-migration-tool .log").
|
|
|
204 |
|
205 |
if (data.data.url != "") {
|
206 |
$(location).attr("href", data.data.url);
|
200 |
"disabled"
|
201 |
);
|
202 |
$(".spinner").css("visibility", "hidden");
|
203 |
+
$("#" + id + "-migration-tool .log").css("display", "block");
|
204 |
+
$("#" + id + "-migration-tool .log").html("<div class='seopress-notice is-success'><p>"+i18n+"</p></div>");
|
205 |
|
206 |
if (data.data.url != "") {
|
207 |
$(location).attr("href", data.data.url);
|
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(e){e("#select-wizard-redirects, #select-wizard-import").change(function(s){s.preventDefault();var r=e(this).val();"none"==r?e("#select-wizard-redirects option, #select-wizard-import option").each(function(){var s=e(this).val();e("#"+s).hide()}):(e("#select-wizard-redirects option:selected, #select-wizard-import option:selected").each(function(){var s=e(this).val();e("#"+s).show()}),e("#select-wizard-redirects option:not(:selected), #select-wizard-import option:not(:selected)").each(function(){var s=e(this).val();e("#"+s).hide()}))}).trigger("change");const s=["yoast","aio","seo-framework","rk","squirrly","seo-ultimate","wp-meta-seo","premium-seo-pack","wpseo","platinum-seo","smart-crawl","seopressor","metadata"];s.forEach(function(s){e("#seopress-"+s+"-migrate").on("click",function(e){switch(e.preventDefault(),id=s,e.target.id){case"seopress-yoast-migrate":url=seopressAjaxMigrate.seopress_yoast_migrate.seopress_yoast_migration,action="seopress_yoast_migration",_ajax_nonce=seopressAjaxMigrate.seopress_yoast_migrate.seopress_nonce;break;case"seopress-aio-migrate":url=seopressAjaxMigrate.seopress_aio_migrate.seopress_aio_migration,action="seopress_aio_migration",_ajax_nonce=seopressAjaxMigrate.seopress_aio_migrate.seopress_nonce;break;case"seopress-seo-framework-migrate":url=seopressAjaxMigrate.seopress_seo_framework_migrate.seopress_seo_framework_migration,action="seopress_seo_framework_migration",_ajax_nonce=seopressAjaxMigrate.seopress_seo_framework_migrate.seopress_nonce;break;case"seopress-rk-migrate":url=seopressAjaxMigrate.seopress_rk_migrate.seopress_rk_migration,action="seopress_rk_migration",_ajax_nonce=seopressAjaxMigrate.seopress_rk_migrate.seopress_nonce;break;case"seopress-squirrly-migrate":url=seopressAjaxMigrate.seopress_squirrly_migrate.seopress_squirrly_migration,action="seopress_squirrly_migration",_ajax_nonce=seopressAjaxMigrate.seopress_squirrly_migrate.seopress_nonce;break;case"seopress-seo-ultimate-migrate":url=seopressAjaxMigrate.seopress_seo_ultimate_migrate.seopress_seo_ultimate_migration,action="seopress_seo_ultimate_migration",_ajax_nonce=seopressAjaxMigrate.seopress_seo_ultimate_migrate.seopress_nonce;break;case"seopress-wp-meta-seo-migrate":url=seopressAjaxMigrate.seopress_wp_meta_seo_migrate.seopress_wp_meta_seo_migration,action="seopress_wp_meta_seo_migration",_ajax_nonce=seopressAjaxMigrate.seopress_wp_meta_seo_migrate.seopress_nonce;break;case"seopress-premium-seo-pack-migrate":url=seopressAjaxMigrate.seopress_premium_seo_pack_migrate.seopress_premium_seo_pack_migration,action="seopress_premium_seo_pack_migration",_ajax_nonce=seopressAjaxMigrate.seopress_premium_seo_pack_migrate.seopress_nonce;break;case"seopress-wpseo-migrate":url=seopressAjaxMigrate.seopress_wpseo_migrate.seopress_wpseo_migration,action="seopress_wpseo_migration",_ajax_nonce=seopressAjaxMigrate.seopress_wpseo_migrate.seopress_nonce;break;case"seopress-platinum-seo-migrate":url=seopressAjaxMigrate.seopress_platinum_seo_migrate.seopress_platinum_seo_migration,action="seopress_platinum_seo_migration",_ajax_nonce=seopressAjaxMigrate.seopress_platinum_seo_migrate.seopress_nonce;break;case"seopress-smart-crawl-migrate":url=seopressAjaxMigrate.seopress_smart_crawl_migrate.seopress_smart_crawl_migration,action="seopress_smart_crawl_migration",_ajax_nonce=seopressAjaxMigrate.seopress_smart_crawl_migrate.seopress_nonce;break;case"seopress-seopressor-migrate":url=seopressAjaxMigrate.seopress_seopressor_migrate.seopress_seopressor_migration,action="seopress_seopressor_migration",_ajax_nonce=seopressAjaxMigrate.seopress_seopressor_migrate.seopress_nonce;break;case"seopress-metadata-migrate":url=seopressAjaxMigrate.seopress_metadata_csv.seopress_metadata_export,action="seopress_metadata_export",_ajax_nonce=seopressAjaxMigrate.seopress_metadata_csv.seopress_nonce}self.process_offset(0,self,url,action,_ajax_nonce,id)}),process_offset=function(s,r,a,
|
1 |
+
jQuery(document).ready(function(e){e("#select-wizard-redirects, #select-wizard-import").change(function(s){s.preventDefault();var r=e(this).val();"none"==r?e("#select-wizard-redirects option, #select-wizard-import option").each(function(){var s=e(this).val();e("#"+s).hide()}):(e("#select-wizard-redirects option:selected, #select-wizard-import option:selected").each(function(){var s=e(this).val();e("#"+s).show()}),e("#select-wizard-redirects option:not(:selected), #select-wizard-import option:not(:selected)").each(function(){var s=e(this).val();e("#"+s).hide()}))}).trigger("change");const s=["yoast","aio","seo-framework","rk","squirrly","seo-ultimate","wp-meta-seo","premium-seo-pack","wpseo","platinum-seo","smart-crawl","seopressor","metadata"];s.forEach(function(s){e("#seopress-"+s+"-migrate").on("click",function(e){switch(e.preventDefault(),id=s,e.target.id){case"seopress-yoast-migrate":url=seopressAjaxMigrate.seopress_yoast_migrate.seopress_yoast_migration,action="seopress_yoast_migration",_ajax_nonce=seopressAjaxMigrate.seopress_yoast_migrate.seopress_nonce;break;case"seopress-aio-migrate":url=seopressAjaxMigrate.seopress_aio_migrate.seopress_aio_migration,action="seopress_aio_migration",_ajax_nonce=seopressAjaxMigrate.seopress_aio_migrate.seopress_nonce;break;case"seopress-seo-framework-migrate":url=seopressAjaxMigrate.seopress_seo_framework_migrate.seopress_seo_framework_migration,action="seopress_seo_framework_migration",_ajax_nonce=seopressAjaxMigrate.seopress_seo_framework_migrate.seopress_nonce;break;case"seopress-rk-migrate":url=seopressAjaxMigrate.seopress_rk_migrate.seopress_rk_migration,action="seopress_rk_migration",_ajax_nonce=seopressAjaxMigrate.seopress_rk_migrate.seopress_nonce;break;case"seopress-squirrly-migrate":url=seopressAjaxMigrate.seopress_squirrly_migrate.seopress_squirrly_migration,action="seopress_squirrly_migration",_ajax_nonce=seopressAjaxMigrate.seopress_squirrly_migrate.seopress_nonce;break;case"seopress-seo-ultimate-migrate":url=seopressAjaxMigrate.seopress_seo_ultimate_migrate.seopress_seo_ultimate_migration,action="seopress_seo_ultimate_migration",_ajax_nonce=seopressAjaxMigrate.seopress_seo_ultimate_migrate.seopress_nonce;break;case"seopress-wp-meta-seo-migrate":url=seopressAjaxMigrate.seopress_wp_meta_seo_migrate.seopress_wp_meta_seo_migration,action="seopress_wp_meta_seo_migration",_ajax_nonce=seopressAjaxMigrate.seopress_wp_meta_seo_migrate.seopress_nonce;break;case"seopress-premium-seo-pack-migrate":url=seopressAjaxMigrate.seopress_premium_seo_pack_migrate.seopress_premium_seo_pack_migration,action="seopress_premium_seo_pack_migration",_ajax_nonce=seopressAjaxMigrate.seopress_premium_seo_pack_migrate.seopress_nonce;break;case"seopress-wpseo-migrate":url=seopressAjaxMigrate.seopress_wpseo_migrate.seopress_wpseo_migration,action="seopress_wpseo_migration",_ajax_nonce=seopressAjaxMigrate.seopress_wpseo_migrate.seopress_nonce;break;case"seopress-platinum-seo-migrate":url=seopressAjaxMigrate.seopress_platinum_seo_migrate.seopress_platinum_seo_migration,action="seopress_platinum_seo_migration",_ajax_nonce=seopressAjaxMigrate.seopress_platinum_seo_migrate.seopress_nonce;break;case"seopress-smart-crawl-migrate":url=seopressAjaxMigrate.seopress_smart_crawl_migrate.seopress_smart_crawl_migration,action="seopress_smart_crawl_migration",_ajax_nonce=seopressAjaxMigrate.seopress_smart_crawl_migrate.seopress_nonce;break;case"seopress-seopressor-migrate":url=seopressAjaxMigrate.seopress_seopressor_migrate.seopress_seopressor_migration,action="seopress_seopressor_migration",_ajax_nonce=seopressAjaxMigrate.seopress_seopressor_migrate.seopress_nonce;break;case"seopress-metadata-migrate":url=seopressAjaxMigrate.seopress_metadata_csv.seopress_metadata_export,action="seopress_metadata_export",_ajax_nonce=seopressAjaxMigrate.seopress_metadata_csv.seopress_nonce}self.process_offset(0,self,url,action,_ajax_nonce,id)}),process_offset=function(s,r,o,a,t,i,_,p){i18n=seopressAjaxMigrate.i18n.migration,"metadata"==i&&(i18n=seopressAjaxMigrate.i18n.export),e.ajax({method:"POST",url:o,data:{action:a,offset:s,post_export:_,term_export:p,_ajax_nonce:t},success:function(s){"done"==s.data.offset?(e("#seopress-"+i+"-migrate").removeAttr("disabled"),e(".spinner").css("visibility","hidden"),e("#"+i+"-migration-tool .log").css("display","block"),e("#"+i+"-migration-tool .log").html("<div class='seopress-notice is-success'><p>"+i18n+"</p></div>"),""!=s.data.url&&e(location).attr("href",s.data.url)):r.process_offset(parseInt(s.data.offset),r,o,a,t,i,s.data.post_export,s.data.term_export)}})},e("#seopress-"+s+"-migrate").on("click",function(){e(this).attr("disabled","disabled"),e("#"+s+"-migration-tool .spinner").css("visibility","visible"),e("#"+s+"-migration-tool .spinner").css("float","none"),e("#"+s+"-migration-tool .log").html("")})})});
|
@@ -1,25 +1,26 @@
|
|
1 |
//Video Sitemap
|
2 |
-
jQuery(document).ready(function($) {
|
3 |
function seopress_call_media_uploader() {
|
4 |
var mediaUploader;
|
5 |
var thumb;
|
6 |
-
$('.seopress_video_thumbnail_upload').click(function(e) {
|
7 |
e.preventDefault();
|
8 |
$btn = $(this);
|
9 |
// If the uploader object has already been created, reopen the dialog
|
10 |
if (mediaUploader) {
|
11 |
-
|
12 |
-
|
13 |
}
|
14 |
thumb = $(this).prev();
|
15 |
// Extend the wp.media object
|
16 |
mediaUploader = wp.media.frames.file_frame = wp.media({
|
17 |
-
|
|
|
18 |
|
19 |
// When a file is selected, grab the URL and set it as the text field's value
|
20 |
-
mediaUploader.on('select', function() {
|
21 |
-
|
22 |
-
|
23 |
});
|
24 |
// Open the uploader dialog
|
25 |
mediaUploader.open();
|
@@ -31,7 +32,7 @@ jQuery(document).ready(function($) {
|
|
31 |
|
32 |
//accordion
|
33 |
var stop = false;
|
34 |
-
$("#wrap-videos .video h3").click(function(event) {
|
35 |
if (stop) {
|
36 |
event.stopImmediatePropagation();
|
37 |
event.preventDefault();
|
@@ -39,10 +40,11 @@ jQuery(document).ready(function($) {
|
|
39 |
}
|
40 |
});
|
41 |
function seopress_call_video_accordion() {
|
42 |
-
$(
|
|
|
43 |
collapsible: true,
|
44 |
active: false,
|
45 |
-
heightStyle:"panel",
|
46 |
});
|
47 |
}
|
48 |
seopress_call_video_accordion();
|
@@ -51,39 +53,39 @@ jQuery(document).ready(function($) {
|
|
51 |
var sectionsCount = $('#wrap-videos').attr('data-count');
|
52 |
|
53 |
//add new section
|
54 |
-
$('#add-video').click(function() {
|
55 |
|
56 |
//increment
|
57 |
sectionsCount++;
|
58 |
|
59 |
//loop through each input
|
60 |
-
var section = template.clone().find(':input').each(function(){
|
61 |
//Stock input id
|
62 |
var input_id = this.id;
|
63 |
-
|
64 |
//Stock input name
|
65 |
var input_name = this.name;
|
66 |
|
67 |
//set id to store the updated section number
|
68 |
-
var newId = this.id.replace(/^(\w+)\[.*?\]/, '$1['+sectionsCount+']');
|
69 |
|
70 |
//Update input name
|
71 |
-
$(this).attr('name', input_name.replace(/^(\w+)\[.*?\]/, '$1['+sectionsCount+']'));
|
72 |
-
|
73 |
//Clear input value
|
74 |
-
if (
|
75 |
-
$(this).attr('value','');
|
76 |
}
|
77 |
|
78 |
//update for label
|
79 |
if ($(this).is(':checkbox')) {
|
80 |
-
$(this).parent().attr('for', input_id.replace(/^(\w+)\[.*?\]/, '$1['+sectionsCount+']'));
|
81 |
-
$(this).parent().attr('id', input_name.replace(/^(\w+)\[.*?\]/, '$1['+sectionsCount+']'));
|
82 |
-
} else if($(this).hasClass('seopress_video_thumbnail_upload')) {
|
83 |
//do nothing
|
84 |
} else {
|
85 |
-
$(this).prev().attr('for', input_id.replace(/^(\w+)\[.*?\]/, '$1['+sectionsCount+']'));
|
86 |
-
$(this).prev().attr('id', input_name.replace(/^(\w+)\[.*?\]/, '$1['+sectionsCount+']'));
|
87 |
}
|
88 |
|
89 |
//update id
|
@@ -91,12 +93,12 @@ jQuery(document).ready(function($) {
|
|
91 |
|
92 |
}).end()
|
93 |
|
94 |
-
|
95 |
-
|
96 |
seopress_call_video_accordion();
|
97 |
-
$(
|
98 |
seopress_call_video_accordion();
|
99 |
-
$("[id^=__wp-uploader-id-]").each(function() {
|
100 |
$(this).remove();
|
101 |
});
|
102 |
seopress_call_media_uploader();
|
@@ -104,12 +106,12 @@ jQuery(document).ready(function($) {
|
|
104 |
});
|
105 |
|
106 |
//remove section
|
107 |
-
$('#wrap-videos').on('click', '.remove-video', function() {
|
108 |
//fade out section
|
109 |
-
$(this).fadeOut(300, function(){
|
110 |
$(this).parent().parent().parent().parent().remove();
|
111 |
return false;
|
112 |
});
|
113 |
return false;
|
114 |
});
|
115 |
-
});
|
1 |
//Video Sitemap
|
2 |
+
jQuery(document).ready(function ($) {
|
3 |
function seopress_call_media_uploader() {
|
4 |
var mediaUploader;
|
5 |
var thumb;
|
6 |
+
$('.seopress_video_thumbnail_upload').click(function (e) {
|
7 |
e.preventDefault();
|
8 |
$btn = $(this);
|
9 |
// If the uploader object has already been created, reopen the dialog
|
10 |
if (mediaUploader) {
|
11 |
+
mediaUploader.open();
|
12 |
+
return;
|
13 |
}
|
14 |
thumb = $(this).prev();
|
15 |
// Extend the wp.media object
|
16 |
mediaUploader = wp.media.frames.file_frame = wp.media({
|
17 |
+
multiple: false
|
18 |
+
});
|
19 |
|
20 |
// When a file is selected, grab the URL and set it as the text field's value
|
21 |
+
mediaUploader.on('select', function () {
|
22 |
+
var attachment = mediaUploader.state().get('selection').first().toJSON();
|
23 |
+
$btn.prev().val(attachment.url);
|
24 |
});
|
25 |
// Open the uploader dialog
|
26 |
mediaUploader.open();
|
32 |
|
33 |
//accordion
|
34 |
var stop = false;
|
35 |
+
$("#wrap-videos .video h3").click(function (event) {
|
36 |
if (stop) {
|
37 |
event.stopImmediatePropagation();
|
38 |
event.preventDefault();
|
40 |
}
|
41 |
});
|
42 |
function seopress_call_video_accordion() {
|
43 |
+
$("#wrap-videos .video").accordion({
|
44 |
+
animate: false,
|
45 |
collapsible: true,
|
46 |
active: false,
|
47 |
+
heightStyle: "panel",
|
48 |
});
|
49 |
}
|
50 |
seopress_call_video_accordion();
|
53 |
var sectionsCount = $('#wrap-videos').attr('data-count');
|
54 |
|
55 |
//add new section
|
56 |
+
$('#add-video').click(function () {
|
57 |
|
58 |
//increment
|
59 |
sectionsCount++;
|
60 |
|
61 |
//loop through each input
|
62 |
+
var section = template.clone().find(':input').each(function () {
|
63 |
//Stock input id
|
64 |
var input_id = this.id;
|
65 |
+
|
66 |
//Stock input name
|
67 |
var input_name = this.name;
|
68 |
|
69 |
//set id to store the updated section number
|
70 |
+
var newId = this.id.replace(/^(\w+)\[.*?\]/, '$1[' + sectionsCount + ']');
|
71 |
|
72 |
//Update input name
|
73 |
+
$(this).attr('name', input_name.replace(/^(\w+)\[.*?\]/, '$1[' + sectionsCount + ']'));
|
74 |
+
|
75 |
//Clear input value
|
76 |
+
if (!$(this).hasClass('seopress_video_thumbnail_upload')) {
|
77 |
+
$(this).attr('value', '');
|
78 |
}
|
79 |
|
80 |
//update for label
|
81 |
if ($(this).is(':checkbox')) {
|
82 |
+
$(this).parent().attr('for', input_id.replace(/^(\w+)\[.*?\]/, '$1[' + sectionsCount + ']'));
|
83 |
+
$(this).parent().attr('id', input_name.replace(/^(\w+)\[.*?\]/, '$1[' + sectionsCount + ']'));
|
84 |
+
} else if ($(this).hasClass('seopress_video_thumbnail_upload')) {
|
85 |
//do nothing
|
86 |
} else {
|
87 |
+
$(this).prev().attr('for', input_id.replace(/^(\w+)\[.*?\]/, '$1[' + sectionsCount + ']'));
|
88 |
+
$(this).prev().attr('id', input_name.replace(/^(\w+)\[.*?\]/, '$1[' + sectionsCount + ']'));
|
89 |
}
|
90 |
|
91 |
//update id
|
93 |
|
94 |
}).end()
|
95 |
|
96 |
+
//inject new section
|
97 |
+
.appendTo('#wrap-videos');
|
98 |
seopress_call_video_accordion();
|
99 |
+
$("#wrap-videos .video").accordion('destroy');
|
100 |
seopress_call_video_accordion();
|
101 |
+
$("[id^=__wp-uploader-id-]").each(function () {
|
102 |
$(this).remove();
|
103 |
});
|
104 |
seopress_call_media_uploader();
|
106 |
});
|
107 |
|
108 |
//remove section
|
109 |
+
$('#wrap-videos').on('click', '.remove-video', function () {
|
110 |
//fade out section
|
111 |
+
$(this).fadeOut(300, function () {
|
112 |
$(this).parent().parent().parent().parent().remove();
|
113 |
return false;
|
114 |
});
|
115 |
return false;
|
116 |
});
|
117 |
+
});
|
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(e){function t(){var t;e(".seopress_video_thumbnail_upload").click(function(i){i.preventDefault(),$btn=e(this),t?t.open():(e(this).prev(),t=wp.media.frames.file_frame=wp.media({multiple:!1}),t.on("select",function(){var e=t.state().get("selection").first().toJSON();$btn.prev().val(e.url)}),t.open())})}function i(){e("#wrap-videos .video").accordion({collapsible:!0,active:!1,heightStyle:"panel"})}t();var a=e("#wrap-videos .video:last").clone(),r=!1;e("#wrap-videos .video h3").click(function(e){r&&(e.stopImmediatePropagation(),e.preventDefault(),r=!1)}),i();var o=e("#wrap-videos").attr("data-count");e("#add-video").click(function(){o++;a.clone().find(":input").each(function(){var t=this.id,i=this.name,a=this.id.replace(/^(\w+)\[.*?\]/,"$1["+o+"]");e(this).attr("name",i.replace(/^(\w+)\[.*?\]/,"$1["+o+"]")),e(this).hasClass("seopress_video_thumbnail_upload")||e(this).attr("value",""),e(this).is(":checkbox")?(e(this).parent().attr("for",t.replace(/^(\w+)\[.*?\]/,"$1["+o+"]")),e(this).parent().attr("id",i.replace(/^(\w+)\[.*?\]/,"$1["+o+"]"))):e(this).hasClass("seopress_video_thumbnail_upload")||(e(this).prev().attr("for",t.replace(/^(\w+)\[.*?\]/,"$1["+o+"]")),e(this).prev().attr("id",i.replace(/^(\w+)\[.*?\]/,"$1["+o+"]"))),this.id=a}).end().appendTo("#wrap-videos");return i(),e("#wrap-videos .video").accordion("destroy"),i(),e("[id^=__wp-uploader-id-]").each(function(){e(this).remove()}),t(),!1}),e("#wrap-videos").on("click",".remove-video",function(){return e(this).fadeOut(300,function(){return e(this).parent().parent().parent().parent().remove(),!1}),!1})});
|
1 |
+
jQuery(document).ready(function(e){function t(){var t;e(".seopress_video_thumbnail_upload").click(function(i){i.preventDefault(),$btn=e(this),t?t.open():(e(this).prev(),t=wp.media.frames.file_frame=wp.media({multiple:!1}),t.on("select",function(){var e=t.state().get("selection").first().toJSON();$btn.prev().val(e.url)}),t.open())})}function i(){e("#wrap-videos .video").accordion({animate:!1,collapsible:!0,active:!1,heightStyle:"panel"})}t();var a=e("#wrap-videos .video:last").clone(),r=!1;e("#wrap-videos .video h3").click(function(e){r&&(e.stopImmediatePropagation(),e.preventDefault(),r=!1)}),i();var o=e("#wrap-videos").attr("data-count");e("#add-video").click(function(){o++;a.clone().find(":input").each(function(){var t=this.id,i=this.name,a=this.id.replace(/^(\w+)\[.*?\]/,"$1["+o+"]");e(this).attr("name",i.replace(/^(\w+)\[.*?\]/,"$1["+o+"]")),e(this).hasClass("seopress_video_thumbnail_upload")||e(this).attr("value",""),e(this).is(":checkbox")?(e(this).parent().attr("for",t.replace(/^(\w+)\[.*?\]/,"$1["+o+"]")),e(this).parent().attr("id",i.replace(/^(\w+)\[.*?\]/,"$1["+o+"]"))):e(this).hasClass("seopress_video_thumbnail_upload")||(e(this).prev().attr("for",t.replace(/^(\w+)\[.*?\]/,"$1["+o+"]")),e(this).prev().attr("id",i.replace(/^(\w+)\[.*?\]/,"$1["+o+"]"))),this.id=a}).end().appendTo("#wrap-videos");return i(),e("#wrap-videos .video").accordion("destroy"),i(),e("[id^=__wp-uploader-id-]").each(function(){e(this).remove()}),t(),!1}),e("#wrap-videos").on("click",".remove-video",function(){return e(this).fadeOut(300,function(){return e(this).parent().parent().parent().parent().remove(),!1}),!1})});
|
@@ -1,51 +1,72 @@
|
|
1 |
jQuery(document).ready(function ($) {
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
$("#seopress-tabs")
|
14 |
-
.find(".nav-tab.nav-tab-active")
|
15 |
-
.removeClass("nav-tab-active");
|
16 |
-
$("#seopress-tabs")
|
17 |
-
.find(".seopress-tab.active")
|
18 |
-
.removeClass("active");
|
19 |
-
|
20 |
-
$("#" + seopress_tab_session_storage + "-tab").addClass(
|
21 |
-
"nav-tab-active"
|
22 |
-
);
|
23 |
-
$("#" + seopress_tab_session_storage).addClass("active");
|
24 |
-
} else {
|
25 |
-
//Default TAB
|
26 |
-
$("#tab_seopress_titles_home-tab").addClass("nav-tab-active");
|
27 |
-
$("#tab_seopress_titles_home").addClass("active");
|
28 |
-
}
|
29 |
-
}
|
30 |
-
}
|
31 |
-
$("#seopress-tabs")
|
32 |
-
.find("a.nav-tab")
|
33 |
-
.click(function (e) {
|
34 |
-
e.preventDefault();
|
35 |
-
var hash = $(this).attr("href").split("#tab=")[1];
|
36 |
|
37 |
-
|
38 |
-
|
39 |
-
|
|
|
40 |
$("#" + hash + "-tab").addClass("nav-tab-active");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
$("#seopress-tabs")
|
45 |
-
.find(".
|
46 |
-
.
|
47 |
-
|
48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
|
50 |
function sp_get_field_length(e) {
|
51 |
if (e.val().length > 0) {
|
@@ -59,7 +80,6 @@ jQuery(document).ready(function ($) {
|
|
59 |
let alreadyBind = false;
|
60 |
|
61 |
// Home Binding
|
62 |
-
|
63 |
$("#seopress-tag-site-title").click(function () {
|
64 |
$("#seopress_titles_home_site_title").val(
|
65 |
sp_get_field_length($("#seopress_titles_home_site_title")) +
|
@@ -87,10 +107,124 @@ jQuery(document).ready(function ($) {
|
|
87 |
);
|
88 |
});
|
89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
//All variables
|
91 |
$(".seopress-tag-dropdown").each(function (item) {
|
92 |
const input_title = $(this).parent(".wrap-tags").prev("input");
|
|
|
|
|
93 |
const _self = $(this);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
$(this).on("click", function () {
|
95 |
$(this).next(".sp-wrap-tag-variables-list").toggleClass("open");
|
96 |
|
@@ -98,22 +232,14 @@ jQuery(document).ready(function ($) {
|
|
98 |
.next(".sp-wrap-tag-variables-list")
|
99 |
.find("li")
|
100 |
.on("click", function (e) {
|
101 |
-
|
102 |
-
input_title.val(
|
103 |
-
sp_get_field_length(input_title) +
|
104 |
-
$(this).attr("data-value")
|
105 |
-
);
|
106 |
-
input_title.trigger("paste");
|
107 |
-
}
|
108 |
-
if (_self.hasClass("tag-description")) {
|
109 |
-
$("#seopress_titles_home_site_desc").val(
|
110 |
-
sp_get_field_length(
|
111 |
-
$("#seopress_titles_home_site_desc")
|
112 |
-
) + $(this).attr("data-value")
|
113 |
-
);
|
114 |
-
$("#seopress_titles_home_site_desc").trigger("paste");
|
115 |
-
}
|
116 |
e.stopImmediatePropagation();
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
});
|
118 |
|
119 |
function closeItem(e) {
|
1 |
jQuery(document).ready(function ($) {
|
2 |
+
const features = [
|
3 |
+
["seopress_titles", "seopress_titles_home"],
|
4 |
+
["seopress_xml_sitemap_tab", "seopress_xml_sitemap_general"],
|
5 |
+
["seopress_social_tab", "seopress_social_knowledge"],
|
6 |
+
["seopress_advanced_tab", "seopress_advanced_image"],
|
7 |
+
[
|
8 |
+
"seopress_google_analytics_enable",
|
9 |
+
"seopress_google_analytics_enable",
|
10 |
+
],
|
11 |
+
["seopress_tool_settings", "seopress_tool_settings"],
|
12 |
+
];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
+
features.forEach(function (item) {
|
15 |
+
var hash = $(location).attr("hash").split("#tab=")[1];
|
16 |
+
|
17 |
+
if (typeof hash != "undefined") {
|
18 |
$("#" + hash + "-tab").addClass("nav-tab-active");
|
19 |
+
$("#" + hash).addClass("active");
|
20 |
+
} else {
|
21 |
+
if (
|
22 |
+
typeof sessionStorage != "undefined" &&
|
23 |
+
typeof sessionStorage != "null"
|
24 |
+
) {
|
25 |
+
var seopress_tab_session_storage =
|
26 |
+
sessionStorage.getItem("seopress_save_tab");
|
27 |
|
28 |
+
if (
|
29 |
+
seopress_tab_session_storage &&
|
30 |
+
$("#" + seopress_tab_session_storage + "-tab").length
|
31 |
+
) {
|
32 |
+
$("#seopress-tabs")
|
33 |
+
.find(".nav-tab.nav-tab-active")
|
34 |
+
.removeClass("nav-tab-active");
|
35 |
+
$("#seopress-tabs")
|
36 |
+
.find(".seopress-tab.active")
|
37 |
+
.removeClass("active");
|
38 |
+
|
39 |
+
$("#" + seopress_tab_session_storage + "-tab").addClass(
|
40 |
+
"nav-tab-active"
|
41 |
+
);
|
42 |
+
$("#" + seopress_tab_session_storage).addClass("active");
|
43 |
+
} else {
|
44 |
+
//Default TAB
|
45 |
+
$("#tab_" + item[1] + "-tab").addClass("nav-tab-active");
|
46 |
+
$("#tab_" + item[1]).addClass("active");
|
47 |
+
}
|
48 |
+
}
|
49 |
|
50 |
$("#seopress-tabs")
|
51 |
+
.find("a.nav-tab")
|
52 |
+
.click(function (e) {
|
53 |
+
e.preventDefault();
|
54 |
+
var hash = $(this).attr("href").split("#tab=")[1];
|
55 |
+
|
56 |
+
$("#seopress-tabs")
|
57 |
+
.find(".nav-tab.nav-tab-active")
|
58 |
+
.removeClass("nav-tab-active");
|
59 |
+
$("#" + hash + "-tab").addClass("nav-tab-active");
|
60 |
+
|
61 |
+
sessionStorage.setItem("seopress_save_tab", hash);
|
62 |
+
|
63 |
+
$("#seopress-tabs")
|
64 |
+
.find(".seopress-tab.active")
|
65 |
+
.removeClass("active");
|
66 |
+
$("#" + hash).addClass("active");
|
67 |
+
});
|
68 |
+
}
|
69 |
+
});
|
70 |
|
71 |
function sp_get_field_length(e) {
|
72 |
if (e.val().length > 0) {
|
80 |
let alreadyBind = false;
|
81 |
|
82 |
// Home Binding
|
|
|
83 |
$("#seopress-tag-site-title").click(function () {
|
84 |
$("#seopress_titles_home_site_title").val(
|
85 |
sp_get_field_length($("#seopress_titles_home_site_title")) +
|
107 |
);
|
108 |
});
|
109 |
|
110 |
+
//Author
|
111 |
+
$("#seopress-tag-post-author").click(function () {
|
112 |
+
$("#seopress_titles_archive_post_author").val(
|
113 |
+
sp_get_field_length($("#seopress_titles_archive_post_author")) +
|
114 |
+
$("#seopress-tag-post-author").attr("data-tag")
|
115 |
+
);
|
116 |
+
});
|
117 |
+
$("#seopress-tag-sep-author").click(function () {
|
118 |
+
$("#seopress_titles_archive_post_author").val(
|
119 |
+
sp_get_field_length($("#seopress_titles_archive_post_author")) +
|
120 |
+
$("#seopress-tag-sep-author").attr("data-tag")
|
121 |
+
);
|
122 |
+
});
|
123 |
+
$("#seopress-tag-site-title-author").click(function () {
|
124 |
+
$("#seopress_titles_archive_post_author").val(
|
125 |
+
sp_get_field_length($("#seopress_titles_archive_post_author")) +
|
126 |
+
$("#seopress-tag-site-title-author").attr("data-tag")
|
127 |
+
);
|
128 |
+
});
|
129 |
+
|
130 |
+
//Date
|
131 |
+
$("#seopress-tag-archive-date").click(function () {
|
132 |
+
$("#seopress_titles_archives_date_title").val(
|
133 |
+
sp_get_field_length($("#seopress_titles_archives_date_title")) +
|
134 |
+
$("#seopress-tag-archive-date").attr("data-tag")
|
135 |
+
);
|
136 |
+
});
|
137 |
+
$("#seopress-tag-sep-date").click(function () {
|
138 |
+
$("#seopress_titles_archives_date_title").val(
|
139 |
+
sp_get_field_length($("#seopress_titles_archives_date_title")) +
|
140 |
+
$("#seopress-tag-sep-date").attr("data-tag")
|
141 |
+
);
|
142 |
+
});
|
143 |
+
$("#seopress-tag-site-title-date").click(function () {
|
144 |
+
$("#seopress_titles_archives_date_title").val(
|
145 |
+
sp_get_field_length($("#seopress_titles_archives_date_title")) +
|
146 |
+
$("#seopress-tag-site-title-date").attr("data-tag")
|
147 |
+
);
|
148 |
+
});
|
149 |
+
|
150 |
+
//Search
|
151 |
+
$("#seopress-tag-search-keywords").click(function () {
|
152 |
+
$("#seopress_titles_archives_search_title").val(
|
153 |
+
sp_get_field_length($("#seopress_titles_archives_search_title")) +
|
154 |
+
$("#seopress-tag-search-keywords").attr("data-tag")
|
155 |
+
);
|
156 |
+
});
|
157 |
+
$("#seopress-tag-sep-search").click(function () {
|
158 |
+
$("#seopress_titles_archives_search_title").val(
|
159 |
+
sp_get_field_length($("#seopress_titles_archives_search_title")) +
|
160 |
+
$("#seopress-tag-sep-search").attr("data-tag")
|
161 |
+
);
|
162 |
+
});
|
163 |
+
$("#seopress-tag-site-title-search").click(function () {
|
164 |
+
$("#seopress_titles_archives_search_title").val(
|
165 |
+
sp_get_field_length($("#seopress_titles_archives_search_title")) +
|
166 |
+
$("#seopress-tag-site-title-search").attr("data-tag")
|
167 |
+
);
|
168 |
+
});
|
169 |
+
|
170 |
+
//404
|
171 |
+
$("#seopress-tag-site-title-404").click(function () {
|
172 |
+
$("#seopress_titles_archives_404_title").val(
|
173 |
+
sp_get_field_length($("#seopress_titles_archives_404_title")) +
|
174 |
+
$("#seopress-tag-site-title-404").attr("data-tag")
|
175 |
+
);
|
176 |
+
});
|
177 |
+
$("#seopress-tag-sep-404").click(function () {
|
178 |
+
$("#seopress_titles_archives_404_title").val(
|
179 |
+
sp_get_field_length($("#seopress_titles_archives_404_title")) +
|
180 |
+
$("#seopress-tag-sep-404").attr("data-tag")
|
181 |
+
);
|
182 |
+
});
|
183 |
+
|
184 |
+
//BuddyPress
|
185 |
+
$("#seopress-tag-post-title-bd-groups").click(function () {
|
186 |
+
$("#seopress_titles_bp_groups_title").val(
|
187 |
+
sp_get_field_length($("#seopress_titles_bp_groups_title")) +
|
188 |
+
$("#seopress-tag-post-title-bd-groups").attr("data-tag")
|
189 |
+
);
|
190 |
+
});
|
191 |
+
$("#seopress-tag-sep-bd-groups").click(function () {
|
192 |
+
$("#seopress_titles_bp_groups_title").val(
|
193 |
+
sp_get_field_length($("#seopress_titles_bp_groups_title")) +
|
194 |
+
$("#seopress-tag-sep-bd-groups").attr("data-tag")
|
195 |
+
);
|
196 |
+
});
|
197 |
+
$("#seopress-tag-site-title-bd-groups").click(function () {
|
198 |
+
$("#seopress_titles_bp_groups_title").val(
|
199 |
+
sp_get_field_length($("#seopress_titles_bp_groups_title")) +
|
200 |
+
$("#seopress-tag-site-title-bd-groups").attr("data-tag")
|
201 |
+
);
|
202 |
+
});
|
203 |
+
|
204 |
//All variables
|
205 |
$(".seopress-tag-dropdown").each(function (item) {
|
206 |
const input_title = $(this).parent(".wrap-tags").prev("input");
|
207 |
+
const input_desc = $(this).parent(".wrap-tags").prev("textarea");
|
208 |
+
|
209 |
const _self = $(this);
|
210 |
+
|
211 |
+
function handleClickLi(current) {
|
212 |
+
if (_self.hasClass("tag-title")) {
|
213 |
+
input_title.val(
|
214 |
+
sp_get_field_length(input_title) +
|
215 |
+
$(current).attr("data-value")
|
216 |
+
);
|
217 |
+
input_title.trigger("paste");
|
218 |
+
}
|
219 |
+
if (_self.hasClass("tag-description")) {
|
220 |
+
input_desc.val(
|
221 |
+
sp_get_field_length(input_desc) +
|
222 |
+
$(current).attr("data-value")
|
223 |
+
);
|
224 |
+
input_desc.trigger("paste");
|
225 |
+
}
|
226 |
+
}
|
227 |
+
|
228 |
$(this).on("click", function () {
|
229 |
$(this).next(".sp-wrap-tag-variables-list").toggleClass("open");
|
230 |
|
232 |
.next(".sp-wrap-tag-variables-list")
|
233 |
.find("li")
|
234 |
.on("click", function (e) {
|
235 |
+
handleClickLi(this);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
236 |
e.stopImmediatePropagation();
|
237 |
+
})
|
238 |
+
.on("keyup", function (e) {
|
239 |
+
if (e.keyCode === 13) {
|
240 |
+
handleClickLi(this);
|
241 |
+
e.stopImmediatePropagation();
|
242 |
+
}
|
243 |
});
|
244 |
|
245 |
function closeItem(e) {
|
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(s){function t(s){return s.val().length>0?meta=s.val()+" ":meta=s.val(),meta}var e=s(location).attr("hash").split("#tab=")[1];if(void 0!==e)s("#"+e+"-tab").addClass("nav-tab-active"),s("#"+e).addClass("active");else
|
1 |
+
jQuery(document).ready(function(s){function t(s){return s.val().length>0?meta=s.val()+" ":meta=s.val(),meta}const e=[["seopress_titles","seopress_titles_home"],["seopress_xml_sitemap_tab","seopress_xml_sitemap_general"],["seopress_social_tab","seopress_social_knowledge"],["seopress_advanced_tab","seopress_advanced_image"],["seopress_google_analytics_enable","seopress_google_analytics_enable"],["seopress_tool_settings","seopress_tool_settings"]];e.forEach(function(t){var e=s(location).attr("hash").split("#tab=")[1];if(void 0!==e)s("#"+e+"-tab").addClass("nav-tab-active"),s("#"+e).addClass("active");else{if("undefined"!=typeof sessionStorage&&"null"!=typeof sessionStorage){var a=sessionStorage.getItem("seopress_save_tab");a&&s("#"+a+"-tab").length?(s("#seopress-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),s("#seopress-tabs").find(".seopress-tab.active").removeClass("active"),s("#"+a+"-tab").addClass("nav-tab-active"),s("#"+a).addClass("active")):(s("#tab_"+t[1]+"-tab").addClass("nav-tab-active"),s("#tab_"+t[1]).addClass("active"))}s("#seopress-tabs").find("a.nav-tab").click(function(t){t.preventDefault();var e=s(this).attr("href").split("#tab=")[1];s("#seopress-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),s("#"+e+"-tab").addClass("nav-tab-active"),sessionStorage.setItem("seopress_save_tab",e),s("#seopress-tabs").find(".seopress-tab.active").removeClass("active"),s("#"+e).addClass("active")})}});let a=!1;s("#seopress-tag-site-title").click(function(){s("#seopress_titles_home_site_title").val(t(s("#seopress_titles_home_site_title"))+s("#seopress-tag-site-title").attr("data-tag"))}),s("#seopress-tag-site-desc").click(function(){s("#seopress_titles_home_site_title").val(t(s("#seopress_titles_home_site_title"))+s("#seopress-tag-site-desc").attr("data-tag"))}),s("#seopress-tag-site-sep").click(function(){s("#seopress_titles_home_site_title").val(t(s("#seopress_titles_home_site_title"))+s("#seopress-tag-site-sep").attr("data-tag"))}),s("#seopress-tag-meta-desc").click(function(){s("#seopress_titles_home_site_desc").val(t(s("#seopress_titles_home_site_desc"))+s("#seopress-tag-meta-desc").attr("data-tag"))}),s("#seopress-tag-post-author").click(function(){s("#seopress_titles_archive_post_author").val(t(s("#seopress_titles_archive_post_author"))+s("#seopress-tag-post-author").attr("data-tag"))}),s("#seopress-tag-sep-author").click(function(){s("#seopress_titles_archive_post_author").val(t(s("#seopress_titles_archive_post_author"))+s("#seopress-tag-sep-author").attr("data-tag"))}),s("#seopress-tag-site-title-author").click(function(){s("#seopress_titles_archive_post_author").val(t(s("#seopress_titles_archive_post_author"))+s("#seopress-tag-site-title-author").attr("data-tag"))}),s("#seopress-tag-archive-date").click(function(){s("#seopress_titles_archives_date_title").val(t(s("#seopress_titles_archives_date_title"))+s("#seopress-tag-archive-date").attr("data-tag"))}),s("#seopress-tag-sep-date").click(function(){s("#seopress_titles_archives_date_title").val(t(s("#seopress_titles_archives_date_title"))+s("#seopress-tag-sep-date").attr("data-tag"))}),s("#seopress-tag-site-title-date").click(function(){s("#seopress_titles_archives_date_title").val(t(s("#seopress_titles_archives_date_title"))+s("#seopress-tag-site-title-date").attr("data-tag"))}),s("#seopress-tag-search-keywords").click(function(){s("#seopress_titles_archives_search_title").val(t(s("#seopress_titles_archives_search_title"))+s("#seopress-tag-search-keywords").attr("data-tag"))}),s("#seopress-tag-sep-search").click(function(){s("#seopress_titles_archives_search_title").val(t(s("#seopress_titles_archives_search_title"))+s("#seopress-tag-sep-search").attr("data-tag"))}),s("#seopress-tag-site-title-search").click(function(){s("#seopress_titles_archives_search_title").val(t(s("#seopress_titles_archives_search_title"))+s("#seopress-tag-site-title-search").attr("data-tag"))}),s("#seopress-tag-site-title-404").click(function(){s("#seopress_titles_archives_404_title").val(t(s("#seopress_titles_archives_404_title"))+s("#seopress-tag-site-title-404").attr("data-tag"))}),s("#seopress-tag-sep-404").click(function(){s("#seopress_titles_archives_404_title").val(t(s("#seopress_titles_archives_404_title"))+s("#seopress-tag-sep-404").attr("data-tag"))}),s("#seopress-tag-post-title-bd-groups").click(function(){s("#seopress_titles_bp_groups_title").val(t(s("#seopress_titles_bp_groups_title"))+s("#seopress-tag-post-title-bd-groups").attr("data-tag"))}),s("#seopress-tag-sep-bd-groups").click(function(){s("#seopress_titles_bp_groups_title").val(t(s("#seopress_titles_bp_groups_title"))+s("#seopress-tag-sep-bd-groups").attr("data-tag"))}),s("#seopress-tag-site-title-bd-groups").click(function(){s("#seopress_titles_bp_groups_title").val(t(s("#seopress_titles_bp_groups_title"))+s("#seopress-tag-site-title-bd-groups").attr("data-tag"))}),s(".seopress-tag-dropdown").each(function(e){function i(e){l.hasClass("tag-title")&&(o.val(t(o)+s(e).attr("data-value")),o.trigger("paste")),l.hasClass("tag-description")&&(r.val(t(r)+s(e).attr("data-value")),r.trigger("paste"))}const o=s(this).parent(".wrap-tags").prev("input"),r=s(this).parent(".wrap-tags").prev("textarea"),l=s(this);s(this).on("click",function(){function t(e){s(e.target).hasClass("dashicons")||s(e.target).hasClass("seopress-tag-single-all")||(a=!1,s(document).off("click",t),s(".sp-wrap-tag-variables-list").removeClass("open"))}s(this).next(".sp-wrap-tag-variables-list").toggleClass("open"),s(this).next(".sp-wrap-tag-variables-list").find("li").on("click",function(s){i(this),s.stopImmediatePropagation()}).on("keyup",function(s){13===s.keyCode&&(i(this),s.stopImmediatePropagation())}),a||(a=!0,s(document).on("click",t))})})});
|
@@ -1,36 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function($) {
|
2 |
-
var hash = $(location).attr('hash').split('#tab=')[1];
|
3 |
-
|
4 |
-
if (typeof hash !='undefined') {
|
5 |
-
$('#'+hash+'-tab').addClass("nav-tab-active");
|
6 |
-
$('#'+hash).addClass("active");
|
7 |
-
} else {
|
8 |
-
if(typeof sessionStorage!='undefined') {
|
9 |
-
var seopress_tab_session_storage = sessionStorage.getItem("seopress_social_tab");
|
10 |
-
if (seopress_tab_session_storage) {
|
11 |
-
$('#seopress-tabs').find('.nav-tab.nav-tab-active').removeClass("nav-tab-active");
|
12 |
-
$('#seopress-tabs').find('.seopress-tab.active').removeClass("active");
|
13 |
-
|
14 |
-
$('#'+seopress_tab_session_storage+'-tab').addClass("nav-tab-active");
|
15 |
-
$('#'+seopress_tab_session_storage).addClass("active");
|
16 |
-
} else {
|
17 |
-
//Default TAB
|
18 |
-
$('#tab_seopress_social_knowledge-tab').addClass("nav-tab-active");
|
19 |
-
$('#tab_seopress_social_knowledge').addClass("active");
|
20 |
-
}
|
21 |
-
}
|
22 |
-
};
|
23 |
-
$("#seopress-tabs").find("a.nav-tab").click(function(e){
|
24 |
-
e.preventDefault();
|
25 |
-
var hash = $(this).attr('href').split('#tab=')[1];
|
26 |
-
|
27 |
-
$('#seopress-tabs').find('.nav-tab.nav-tab-active').removeClass("nav-tab-active");
|
28 |
-
$('#'+hash+'-tab').addClass("nav-tab-active");
|
29 |
-
|
30 |
-
|
31 |
-
sessionStorage.setItem("seopress_social_tab", hash);
|
32 |
-
|
33 |
-
$('#seopress-tabs').find('.seopress-tab.active').removeClass("active");
|
34 |
-
$('#'+hash).addClass("active");
|
35 |
-
});
|
36 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function(a){var s=a(location).attr("hash").split("#tab=")[1];if(void 0!==s)a("#"+s+"-tab").addClass("nav-tab-active"),a("#"+s).addClass("active");else if("undefined"!=typeof sessionStorage){var e=sessionStorage.getItem("seopress_social_tab");e?(a("#seopress-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),a("#seopress-tabs").find(".seopress-tab.active").removeClass("active"),a("#"+e+"-tab").addClass("nav-tab-active"),a("#"+e).addClass("active")):(a("#tab_seopress_social_knowledge-tab").addClass("nav-tab-active"),a("#tab_seopress_social_knowledge").addClass("active"))}a("#seopress-tabs").find("a.nav-tab").click(function(s){s.preventDefault();var e=a(this).attr("href").split("#tab=")[1];a("#seopress-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),a("#"+e+"-tab").addClass("nav-tab-active"),sessionStorage.setItem("seopress_social_tab",e),a("#seopress-tabs").find(".seopress-tab.active").removeClass("active"),a("#"+e).addClass("active")})});
|
|
@@ -1,36 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function($) {
|
2 |
-
var hash = $(location).attr('hash').split('#tab=')[1];
|
3 |
-
|
4 |
-
if (typeof hash !='undefined') {
|
5 |
-
$('#'+hash+'-tab').addClass("nav-tab-active");
|
6 |
-
$('#'+hash).addClass("active");
|
7 |
-
} else {
|
8 |
-
if(typeof sessionStorage!='undefined') {
|
9 |
-
var seopress_tab_session_storage = sessionStorage.getItem("seopress_xml_sitemap_tab");
|
10 |
-
if (seopress_tab_session_storage) {
|
11 |
-
$('#seopress-tabs').find('.nav-tab.nav-tab-active').removeClass("nav-tab-active");
|
12 |
-
$('#seopress-tabs').find('.seopress-tab.active').removeClass("active");
|
13 |
-
|
14 |
-
$('#'+seopress_tab_session_storage+'-tab').addClass("nav-tab-active");
|
15 |
-
$('#'+seopress_tab_session_storage).addClass("active");
|
16 |
-
} else {
|
17 |
-
//Default TAB
|
18 |
-
$('#tab_seopress_xml_sitemap_general-tab').addClass("nav-tab-active");
|
19 |
-
$('#tab_seopress_xml_sitemap_general').addClass("active");
|
20 |
-
}
|
21 |
-
}
|
22 |
-
}
|
23 |
-
$("#seopress-tabs").find("a.nav-tab").click(function(e){
|
24 |
-
e.preventDefault();
|
25 |
-
var hash = $(this).attr('href').split('#tab=')[1];
|
26 |
-
|
27 |
-
$('#seopress-tabs').find('.nav-tab.nav-tab-active').removeClass("nav-tab-active");
|
28 |
-
$('#'+hash+'-tab').addClass("nav-tab-active");
|
29 |
-
|
30 |
-
|
31 |
-
sessionStorage.setItem("seopress_xml_sitemap_tab", hash);
|
32 |
-
|
33 |
-
$('#seopress-tabs').find('.seopress-tab.active').removeClass("active");
|
34 |
-
$('#'+hash).addClass("active");
|
35 |
-
});
|
36 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function(a){var s=a(location).attr("hash").split("#tab=")[1];if(void 0!==s)a("#"+s+"-tab").addClass("nav-tab-active"),a("#"+s).addClass("active");else if("undefined"!=typeof sessionStorage){var e=sessionStorage.getItem("seopress_xml_sitemap_tab");e?(a("#seopress-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),a("#seopress-tabs").find(".seopress-tab.active").removeClass("active"),a("#"+e+"-tab").addClass("nav-tab-active"),a("#"+e).addClass("active")):(a("#tab_seopress_xml_sitemap_general-tab").addClass("nav-tab-active"),a("#tab_seopress_xml_sitemap_general").addClass("active"))}a("#seopress-tabs").find("a.nav-tab").click(function(s){s.preventDefault();var e=a(this).attr("href").split("#tab=")[1];a("#seopress-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),a("#"+e+"-tab").addClass("nav-tab-active"),sessionStorage.setItem("seopress_xml_sitemap_tab",e),a("#seopress-tabs").find(".seopress-tab.active").removeClass("active"),a("#"+e).addClass("active")})});
|
|
@@ -1,36 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function($) {
|
2 |
-
var hash = $(location).attr('hash').split('#tab=')[1];
|
3 |
-
|
4 |
-
if (typeof hash !='undefined') {
|
5 |
-
$('#'+hash+'-tab').addClass("nav-tab-active");
|
6 |
-
$('#'+hash).addClass("active");
|
7 |
-
} else {
|
8 |
-
if(typeof sessionStorage!='undefined') {
|
9 |
-
var seopress_tab_session_storage = sessionStorage.getItem("tab_seopress_advanced_advanced");
|
10 |
-
if (seopress_tab_session_storage) {
|
11 |
-
$('#seopress-tabs').find('.nav-tab.nav-tab-active').removeClass("nav-tab-active");
|
12 |
-
$('#seopress-tabs').find('.seopress-tab.active').removeClass("active");
|
13 |
-
|
14 |
-
$('#'+seopress_tab_session_storage+'-tab').addClass("nav-tab-active");
|
15 |
-
$('#'+seopress_tab_session_storage).addClass("active");
|
16 |
-
} else {
|
17 |
-
//Default TAB
|
18 |
-
$('#tab_seopress_advanced_advanced-tab').addClass("nav-tab-active");
|
19 |
-
$('#tab_seopress_advanced_advanced').addClass("active");
|
20 |
-
}
|
21 |
-
}
|
22 |
-
}
|
23 |
-
$("#seopress-tabs").find("a.nav-tab").click(function(e){
|
24 |
-
e.preventDefault();
|
25 |
-
var hash = $(this).attr('href').split('#tab=')[1];
|
26 |
-
|
27 |
-
$('#seopress-tabs').find('.nav-tab.nav-tab-active').removeClass("nav-tab-active");
|
28 |
-
$('#'+hash+'-tab').addClass("nav-tab-active");
|
29 |
-
|
30 |
-
|
31 |
-
sessionStorage.setItem("tab_seopress_advanced_advanced", hash);
|
32 |
-
|
33 |
-
$('#seopress-tabs').find('.seopress-tab.active').removeClass("active");
|
34 |
-
$('#'+hash).addClass("active");
|
35 |
-
});
|
36 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function(a){var s=a(location).attr("hash").split("#tab=")[1];if(void 0!==s)a("#"+s+"-tab").addClass("nav-tab-active"),a("#"+s).addClass("active");else if("undefined"!=typeof sessionStorage){var e=sessionStorage.getItem("tab_seopress_advanced_advanced");e?(a("#seopress-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),a("#seopress-tabs").find(".seopress-tab.active").removeClass("active"),a("#"+e+"-tab").addClass("nav-tab-active"),a("#"+e).addClass("active")):(a("#tab_seopress_advanced_advanced-tab").addClass("nav-tab-active"),a("#tab_seopress_advanced_advanced").addClass("active"))}a("#seopress-tabs").find("a.nav-tab").click(function(s){s.preventDefault();var e=a(this).attr("href").split("#tab=")[1];a("#seopress-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),a("#"+e+"-tab").addClass("nav-tab-active"),sessionStorage.setItem("tab_seopress_advanced_advanced",e),a("#seopress-tabs").find(".seopress-tab.active").removeClass("active"),a("#"+e).addClass("active")})});
|
|
@@ -1,36 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function($) {
|
2 |
-
var hash = $(location).attr('hash').split('#tab=')[1];
|
3 |
-
|
4 |
-
if (typeof hash !='undefined') {
|
5 |
-
$('#'+hash+'-tab').addClass("nav-tab-active");
|
6 |
-
$('#'+hash).addClass("active");
|
7 |
-
} else {
|
8 |
-
if(typeof sessionStorage!='undefined') {
|
9 |
-
var seopress_tab_session_storage = sessionStorage.getItem("tab_seopress_google_analytics_enable");
|
10 |
-
if (seopress_tab_session_storage) {
|
11 |
-
$('#seopress-tabs').find('.nav-tab.nav-tab-active').removeClass("nav-tab-active");
|
12 |
-
$('#seopress-tabs').find('.seopress-tab.active').removeClass("active");
|
13 |
-
|
14 |
-
$('#'+seopress_tab_session_storage+'-tab').addClass("nav-tab-active");
|
15 |
-
$('#'+seopress_tab_session_storage).addClass("active");
|
16 |
-
} else {
|
17 |
-
//Default TAB
|
18 |
-
$('#tab_seopress_google_analytics_enable-tab').addClass("nav-tab-active");
|
19 |
-
$('#tab_seopress_google_analytics_enable').addClass("active");
|
20 |
-
}
|
21 |
-
}
|
22 |
-
}
|
23 |
-
$("#seopress-tabs").find("a.nav-tab").click(function(e){
|
24 |
-
e.preventDefault();
|
25 |
-
var hash = $(this).attr('href').split('#tab=')[1];
|
26 |
-
|
27 |
-
$('#seopress-tabs').find('.nav-tab.nav-tab-active').removeClass("nav-tab-active");
|
28 |
-
$('#'+hash+'-tab').addClass("nav-tab-active");
|
29 |
-
|
30 |
-
sessionStorage.setItem("tab_seopress_google_analytics_enable", hash);
|
31 |
-
|
32 |
-
$('#seopress-tabs').find('.seopress-tab.active').removeClass("active");
|
33 |
-
$('#'+hash).addClass("active");
|
34 |
-
});
|
35 |
-
$('.seopress_admin_color_picker').wpColorPicker();
|
36 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function(a){var e=a(location).attr("hash").split("#tab=")[1];if(void 0!==e)a("#"+e+"-tab").addClass("nav-tab-active"),a("#"+e).addClass("active");else if("undefined"!=typeof sessionStorage){var s=sessionStorage.getItem("tab_seopress_google_analytics_enable");s?(a("#seopress-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),a("#seopress-tabs").find(".seopress-tab.active").removeClass("active"),a("#"+s+"-tab").addClass("nav-tab-active"),a("#"+s).addClass("active")):(a("#tab_seopress_google_analytics_enable-tab").addClass("nav-tab-active"),a("#tab_seopress_google_analytics_enable").addClass("active"))}a("#seopress-tabs").find("a.nav-tab").click(function(e){e.preventDefault();var s=a(this).attr("href").split("#tab=")[1];a("#seopress-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),a("#"+s+"-tab").addClass("nav-tab-active"),sessionStorage.setItem("tab_seopress_google_analytics_enable",s),a("#seopress-tabs").find(".seopress-tab.active").removeClass("active"),a("#"+s).addClass("active")}),a(".seopress_admin_color_picker").wpColorPicker()});
|
|
@@ -1,68 +0,0 @@
|
|
1 |
-
//SEO Tools Tabs
|
2 |
-
jQuery(document).ready(function($) {
|
3 |
-
var get_hash = window.location.hash;
|
4 |
-
var clean_hash = get_hash.split('$');
|
5 |
-
|
6 |
-
if(typeof sessionStorage!='undefined') {
|
7 |
-
var seopress_admin_tab_session_storage = sessionStorage.getItem("seopress_admin_tab");
|
8 |
-
|
9 |
-
if (clean_hash[1] =='1') { //Notifications Tab
|
10 |
-
$('#tab_seopress_notifications-tab').addClass("nav-tab-active");
|
11 |
-
$('#tab_seopress_notifications').addClass("active");
|
12 |
-
} else if (clean_hash[1] =='2') { //SEO Tools Tab
|
13 |
-
$('#tab_seopress_seo_tools-tab').addClass("nav-tab-active");
|
14 |
-
$('#tab_seopress_seo_tools').addClass("active");
|
15 |
-
} else if (clean_hash[1] =='3') { //Links Tab
|
16 |
-
$('#tab_seopress_links-tab').addClass("nav-tab-active");
|
17 |
-
$('#tab_seopress_links_tools').addClass("active");
|
18 |
-
} else if (seopress_admin_tab_session_storage) {
|
19 |
-
$('#seopress-admin-tabs').find('.nav-tab.nav-tab-active').removeClass("nav-tab-active");
|
20 |
-
$('#seopress-admin-tabs').find('.seopress-tab.active').removeClass("active");
|
21 |
-
$('#'+seopress_admin_tab_session_storage.split('#tab=')+'-tab').addClass("nav-tab-active");
|
22 |
-
$('#'+seopress_admin_tab_session_storage.split('#tab=')).addClass("active");
|
23 |
-
} else {
|
24 |
-
//Default TAB
|
25 |
-
$('#tab_seopress_notifications-tab').addClass("nav-tab-active");
|
26 |
-
$('#tab_seopress_notifications').addClass("active");
|
27 |
-
}
|
28 |
-
};
|
29 |
-
$("#seopress-admin-tabs").find("a.nav-tab").click(function(e){
|
30 |
-
e.preventDefault();
|
31 |
-
var hash = $(this).attr('href').split('#tab=')[1];
|
32 |
-
|
33 |
-
$('#seopress-admin-tabs').find('.nav-tab.nav-tab-active').removeClass("nav-tab-active");
|
34 |
-
$('#'+hash+'-tab').addClass("nav-tab-active");
|
35 |
-
|
36 |
-
if (clean_hash[1]==1) {
|
37 |
-
sessionStorage.setItem("seopress_admin_tab", 'tab_seopress_notifications');
|
38 |
-
} else if (clean_hash[1]==2) {
|
39 |
-
sessionStorage.setItem("seopress_admin_tab", 'tab_seopress_seo_tools');
|
40 |
-
} else if (clean_hash[1]==3) {
|
41 |
-
sessionStorage.setItem("seopress_admin_tab", 'tab_seopress_links_tools');
|
42 |
-
} else {
|
43 |
-
sessionStorage.setItem("seopress_admin_tab", hash);
|
44 |
-
}
|
45 |
-
|
46 |
-
$('#seopress-admin-tabs').find('.seopress-tab.active').removeClass("active");
|
47 |
-
$('#'+hash).addClass("active");
|
48 |
-
});
|
49 |
-
//Request Reverse Domains
|
50 |
-
$('#seopress-reverse-submit').on('click', function() {
|
51 |
-
$.ajax({
|
52 |
-
method : 'GET',
|
53 |
-
url : seopressAjaxReverse.seopress_request_reverse,
|
54 |
-
data : {
|
55 |
-
action: 'seopress_request_reverse',
|
56 |
-
_ajax_nonce: seopressAjaxReverse.seopress_nonce,
|
57 |
-
},
|
58 |
-
success : function( data ) {
|
59 |
-
window.location.reload(true);
|
60 |
-
},
|
61 |
-
});
|
62 |
-
});
|
63 |
-
$('#seopress-reverse-submit').on('click', function() {
|
64 |
-
$(this).attr("disabled", "disabled");
|
65 |
-
$( '#spinner-reverse.spinner' ).css( "visibility", "visible" );
|
66 |
-
$( '#spinner-reverse.spinner' ).css( "float", "none" );
|
67 |
-
});
|
68 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function(s){var e=window.location.hash,a=e.split("$");if("undefined"!=typeof sessionStorage){var t=sessionStorage.getItem("seopress_admin_tab");"1"==a[1]?(s("#tab_seopress_notifications-tab").addClass("nav-tab-active"),s("#tab_seopress_notifications").addClass("active")):"2"==a[1]?(s("#tab_seopress_seo_tools-tab").addClass("nav-tab-active"),s("#tab_seopress_seo_tools").addClass("active")):"3"==a[1]?(s("#tab_seopress_links-tab").addClass("nav-tab-active"),s("#tab_seopress_links_tools").addClass("active")):t?(s("#seopress-admin-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),s("#seopress-admin-tabs").find(".seopress-tab.active").removeClass("active"),s("#"+t.split("#tab=")+"-tab").addClass("nav-tab-active"),s("#"+t.split("#tab=")).addClass("active")):(s("#tab_seopress_notifications-tab").addClass("nav-tab-active"),s("#tab_seopress_notifications").addClass("active"))}s("#seopress-admin-tabs").find("a.nav-tab").click(function(e){e.preventDefault();var t=s(this).attr("href").split("#tab=")[1];s("#seopress-admin-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),s("#"+t+"-tab").addClass("nav-tab-active"),1==a[1]?sessionStorage.setItem("seopress_admin_tab","tab_seopress_notifications"):2==a[1]?sessionStorage.setItem("seopress_admin_tab","tab_seopress_seo_tools"):3==a[1]?sessionStorage.setItem("seopress_admin_tab","tab_seopress_links_tools"):sessionStorage.setItem("seopress_admin_tab",t),s("#seopress-admin-tabs").find(".seopress-tab.active").removeClass("active"),s("#"+t).addClass("active")}),s("#seopress-reverse-submit").on("click",function(){s.ajax({method:"GET",url:seopressAjaxReverse.seopress_request_reverse,data:{action:"seopress_request_reverse",_ajax_nonce:seopressAjaxReverse.seopress_nonce},success:function(s){window.location.reload(!0)}})}),s("#seopress-reverse-submit").on("click",function(){s(this).attr("disabled","disabled"),s("#spinner-reverse.spinner").css("visibility","visible"),s("#spinner-reverse.spinner").css("float","none")})});
|
|
@@ -1,36 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function($) {
|
2 |
-
var hash = $(location).attr('hash').split('#tab=')[1];
|
3 |
-
|
4 |
-
if (typeof hash !='undefined') {
|
5 |
-
$('#'+hash+'-tab').addClass("nav-tab-active");
|
6 |
-
$('#'+hash).addClass("active");
|
7 |
-
} else {
|
8 |
-
if(typeof sessionStorage !='undefined') {
|
9 |
-
var seopress_tab_session_storage = sessionStorage.getItem("tab_seopress_tool_settings");
|
10 |
-
if (seopress_tab_session_storage) {
|
11 |
-
$('#seopress-tabs').find('.nav-tab.nav-tab-active').removeClass("nav-tab-active");
|
12 |
-
$('#seopress-tabs').find('.seopress-tab.active').removeClass("active");
|
13 |
-
|
14 |
-
$('#'+seopress_tab_session_storage+'-tab').addClass("nav-tab-active");
|
15 |
-
$('#'+seopress_tab_session_storage).addClass("active");
|
16 |
-
} else {
|
17 |
-
//Default TAB
|
18 |
-
$('#tab_seopress_tool_settings-tab').addClass("nav-tab-active");
|
19 |
-
$('#tab_seopress_tool_settings').addClass("active");
|
20 |
-
}
|
21 |
-
}
|
22 |
-
};
|
23 |
-
$("#seopress-tabs").find("a.nav-tab").click(function(e){
|
24 |
-
e.preventDefault();
|
25 |
-
var hash = $(this).attr('href').split('#tab=')[1];
|
26 |
-
|
27 |
-
$('#seopress-tabs').find('.nav-tab.nav-tab-active').removeClass("nav-tab-active");
|
28 |
-
$('#'+hash+'-tab').addClass("nav-tab-active");
|
29 |
-
|
30 |
-
|
31 |
-
sessionStorage.setItem("tab_seopress_tool_settings", hash);
|
32 |
-
|
33 |
-
$('#seopress-tabs').find('.seopress-tab.active').removeClass("active");
|
34 |
-
$('#'+hash).addClass("active");
|
35 |
-
});
|
36 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function(a){var s=a(location).attr("hash").split("#tab=")[1];if(void 0!==s)a("#"+s+"-tab").addClass("nav-tab-active"),a("#"+s).addClass("active");else if("undefined"!=typeof sessionStorage){var t=sessionStorage.getItem("tab_seopress_tool_settings");t?(a("#seopress-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),a("#seopress-tabs").find(".seopress-tab.active").removeClass("active"),a("#"+t+"-tab").addClass("nav-tab-active"),a("#"+t).addClass("active")):(a("#tab_seopress_tool_settings-tab").addClass("nav-tab-active"),a("#tab_seopress_tool_settings").addClass("active"))}a("#seopress-tabs").find("a.nav-tab").click(function(s){s.preventDefault();var t=a(this).attr("href").split("#tab=")[1];a("#seopress-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),a("#"+t+"-tab").addClass("nav-tab-active"),sessionStorage.setItem("tab_seopress_tool_settings",t),a("#seopress-tabs").find(".seopress-tab.active").removeClass("active"),a("#"+t).addClass("active")})});
|
|
@@ -0,0 +1,224 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks :)');
|
4 |
+
|
5 |
+
/*
|
6 |
+
* Global noindex from SEO, Titles settings
|
7 |
+
* @since 4.0
|
8 |
+
* @param string $feature
|
9 |
+
* @return string 1 if true
|
10 |
+
* @author Benjamin
|
11 |
+
*/
|
12 |
+
if ( ! function_exists('seopress_global_noindex_option')) {
|
13 |
+
function seopress_global_noindex_option() {
|
14 |
+
$seopress_titles_noindex_option = get_option('seopress_titles_option_name');
|
15 |
+
if ( ! empty($seopress_titles_noindex_option)) {
|
16 |
+
foreach ($seopress_titles_noindex_option as $key => $seopress_titles_noindex_value) {
|
17 |
+
$options[$key] = $seopress_titles_noindex_value;
|
18 |
+
}
|
19 |
+
if (isset($seopress_titles_noindex_option['seopress_titles_noindex'])) {
|
20 |
+
return $seopress_titles_noindex_option['seopress_titles_noindex'];
|
21 |
+
}
|
22 |
+
}
|
23 |
+
}
|
24 |
+
}
|
25 |
+
|
26 |
+
//Noindex alert?
|
27 |
+
function seopress_advanced_appearance_adminbar_noindex_option() {
|
28 |
+
$seopress_advanced_appearance_adminbar_noindex_option = get_option('seopress_advanced_option_name');
|
29 |
+
if ( ! empty($seopress_advanced_appearance_adminbar_noindex_option)) {
|
30 |
+
foreach ($seopress_advanced_appearance_adminbar_noindex_option as $key => $seopress_advanced_appearance_adminbar_noindex_value) {
|
31 |
+
$options[$key] = $seopress_advanced_appearance_adminbar_noindex_value;
|
32 |
+
}
|
33 |
+
if (isset($seopress_advanced_appearance_adminbar_noindex_option['seopress_advanced_appearance_adminbar_noindex'])) {
|
34 |
+
return $seopress_advanced_appearance_adminbar_noindex_option['seopress_advanced_appearance_adminbar_noindex'];
|
35 |
+
}
|
36 |
+
}
|
37 |
+
}
|
38 |
+
|
39 |
+
/**
|
40 |
+
* Admin bar customization.
|
41 |
+
*/
|
42 |
+
function seopress_admin_bar_links() {
|
43 |
+
if (current_user_can(seopress_capability('manage_options', 'admin_bar'))) {
|
44 |
+
if (function_exists('seopress_advanced_appearance_adminbar_option') && '1' != seopress_advanced_appearance_adminbar_option()) {
|
45 |
+
global $wp_admin_bar;
|
46 |
+
|
47 |
+
$title = '<span class="ab-icon icon-seopress-seopress"></span> ' . __('SEO', 'wp-seopress');
|
48 |
+
$title = apply_filters('seopress_adminbar_icon', $title);
|
49 |
+
|
50 |
+
$noindex = '';
|
51 |
+
if ('1' != seopress_advanced_appearance_adminbar_noindex_option()) {
|
52 |
+
if ('1' == seopress_global_noindex_option() || '1' != get_option('blog_public')) {
|
53 |
+
$noindex .= '<a class="wrap-seopress-noindex" href="' . admin_url('admin.php?page=seopress-titles#tab=tab_seopress_titles_advanced') . '">';
|
54 |
+
$noindex .= '<span class="ab-icon dashicons dashicons-hidden"></span>';
|
55 |
+
$noindex .= __('noindex is on!', 'wp-seopress');
|
56 |
+
$noindex .= '</a>';
|
57 |
+
}
|
58 |
+
$noindex = apply_filters('seopress_adminbar_noindex', $noindex);
|
59 |
+
}
|
60 |
+
|
61 |
+
// Adds a new top level admin bar link and a submenu to it
|
62 |
+
$wp_admin_bar->add_menu([
|
63 |
+
'parent' => false,
|
64 |
+
'id' => 'seopress_custom_top_level',
|
65 |
+
'title' => $title . $noindex,
|
66 |
+
'href' => admin_url('admin.php?page=seopress-option'),
|
67 |
+
]);
|
68 |
+
|
69 |
+
//noindex/nofollow per CPT
|
70 |
+
if (function_exists('get_current_screen') && null != get_current_screen()) {
|
71 |
+
if (get_current_screen()->post_type || get_current_screen()->taxonomy) {
|
72 |
+
$robots = '';
|
73 |
+
|
74 |
+
$options = get_option('seopress_titles_option_name');
|
75 |
+
|
76 |
+
if (get_current_screen()->taxonomy) {
|
77 |
+
$noindex = isset($options['seopress_titles_single_titles'][get_current_screen()->taxonomy]['noindex']);
|
78 |
+
$nofollow = isset($options['seopress_titles_single_titles'][get_current_screen()->taxonomy]['nofollow']);
|
79 |
+
} else {
|
80 |
+
$noindex = isset($options['seopress_titles_single_titles'][get_current_screen()->post_type]['noindex']);
|
81 |
+
$nofollow = isset($options['seopress_titles_single_titles'][get_current_screen()->post_type]['nofollow']);
|
82 |
+
}
|
83 |
+
|
84 |
+
if (get_current_screen()->taxonomy) {
|
85 |
+
/* translators: %s taxonomy name */
|
86 |
+
$robots .= '<span class="wrap-seopress-cpt-seo">' . sprintf(__('SEO for "%s"', 'wp-seopress'), get_current_screen()->taxonomy) . '</span>';
|
87 |
+
} else {
|
88 |
+
/* translators: %s custom post type name */
|
89 |
+
$robots .= '<span class="wrap-seopress-cpt-seo">' . sprintf(__('SEO for "%s"', 'wp-seopress'), get_current_screen()->post_type) . '</span>';
|
90 |
+
}
|
91 |
+
$robots .= '<span class="wrap-seopress-cpt-noindex">';
|
92 |
+
|
93 |
+
if (true === $noindex) {
|
94 |
+
$robots .= '<span class="ab-icon dashicons dashicons-marker on"></span>';
|
95 |
+
$robots .= __('noindex is on!', 'wp-seopress');
|
96 |
+
} else {
|
97 |
+
$robots .= '<span class="ab-icon dashicons dashicons-marker off"></span>';
|
98 |
+
$robots .= __('noindex is off.', 'wp-seopress');
|
99 |
+
}
|
100 |
+
|
101 |
+
$robots .= '</span>';
|
102 |
+
|
103 |
+
$robots .= '<span class="wrap-seopress-cpt-nofollow">';
|
104 |
+
|
105 |
+
if (true === $nofollow) {
|
106 |
+
$robots .= '<span class="ab-icon dashicons dashicons-marker on"></span>';
|
107 |
+
$robots .= __('nofollow is on!', 'wp-seopress');
|
108 |
+
} else {
|
109 |
+
$robots .= '<span class="ab-icon dashicons dashicons-marker off"></span>';
|
110 |
+
$robots .= __('nofollow is off.', 'wp-seopress');
|
111 |
+
}
|
112 |
+
|
113 |
+
$robots .= '</span>';
|
114 |
+
|
115 |
+
$wp_admin_bar->add_menu([
|
116 |
+
'parent' => 'seopress_custom_top_level',
|
117 |
+
'id' => 'seopress_custom_sub_menu_meta_robots',
|
118 |
+
'title' => $robots,
|
119 |
+
'href' => admin_url('admin.php?page=seopress-titles'),
|
120 |
+
]);
|
121 |
+
}
|
122 |
+
}
|
123 |
+
|
124 |
+
$wp_admin_bar->add_menu([
|
125 |
+
'parent' => 'seopress_custom_top_level',
|
126 |
+
'id' => 'seopress_custom_sub_menu_titles',
|
127 |
+
'title' => __('Titles & Metas', 'wp-seopress'),
|
128 |
+
'href' => admin_url('admin.php?page=seopress-titles'),
|
129 |
+
]);
|
130 |
+
$wp_admin_bar->add_menu([
|
131 |
+
'parent' => 'seopress_custom_top_level',
|
132 |
+
'id' => 'seopress_custom_sub_menu_xml_sitemap',
|
133 |
+
'title' => __('XML / HTML Sitemap', 'wp-seopress'),
|
134 |
+
'href' => admin_url('admin.php?page=seopress-xml-sitemap'),
|
135 |
+
]);
|
136 |
+
$wp_admin_bar->add_menu([
|
137 |
+
'parent' => 'seopress_custom_top_level',
|
138 |
+
'id' => 'seopress_custom_sub_menu_social',
|
139 |
+
'title' => __('Social Networks', 'wp-seopress'),
|
140 |
+
'href' => admin_url('admin.php?page=seopress-social'),
|
141 |
+
]);
|
142 |
+
$wp_admin_bar->add_menu([
|
143 |
+
'parent' => 'seopress_custom_top_level',
|
144 |
+
'id' => 'seopress_custom_sub_menu_google_analytics',
|
145 |
+
'title' => __('Analytics', 'wp-seopress'),
|
146 |
+
'href' => admin_url('admin.php?page=seopress-google-analytics'),
|
147 |
+
]);
|
148 |
+
$wp_admin_bar->add_menu([
|
149 |
+
'parent' => 'seopress_custom_top_level',
|
150 |
+
'id' => 'seopress_custom_sub_menu_advanced',
|
151 |
+
'title' => __('Advanced', 'wp-seopress'),
|
152 |
+
'href' => admin_url('admin.php?page=seopress-advanced'),
|
153 |
+
]);
|
154 |
+
include_once ABSPATH . 'wp-admin/includes/plugin.php';
|
155 |
+
if (is_plugin_active('wp-seopress-insights/seopress-insights.php')) {
|
156 |
+
$wp_admin_bar->add_menu([
|
157 |
+
'parent' => 'seopress_custom_top_level',
|
158 |
+
'id' => 'seopress_custom_sub_menu_insights',
|
159 |
+
'title' => __('Insights', 'wp-seopress'),
|
160 |
+
'href' => admin_url('admin.php?page=seopress-insights'),
|
161 |
+
]);
|
162 |
+
}
|
163 |
+
$wp_admin_bar->add_menu([
|
164 |
+
'parent' => 'seopress_custom_top_level',
|
165 |
+
'id' => 'seopress_custom_sub_menu_import_export',
|
166 |
+
'title' => __('Tools', 'wp-seopress'),
|
167 |
+
'href' => admin_url('admin.php?page=seopress-import-export'),
|
168 |
+
]);
|
169 |
+
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
170 |
+
if ('1' == seopress_get_toggle_option('bot')) {
|
171 |
+
$wp_admin_bar->add_menu([
|
172 |
+
'parent' => 'seopress_custom_top_level',
|
173 |
+
'id' => 'seopress_custom_sub_menu_bot',
|
174 |
+
'title' => __('BOT', 'wp-seopress'),
|
175 |
+
'href' => admin_url('admin.php?page=seopress-bot-batch'),
|
176 |
+
]);
|
177 |
+
}
|
178 |
+
$wp_admin_bar->add_menu([
|
179 |
+
'parent' => 'seopress_custom_top_level',
|
180 |
+
'id' => 'seopress_custom_sub_menu_license',
|
181 |
+
'title' => __('License', 'wp-seopress'),
|
182 |
+
'href' => admin_url('admin.php?page=seopress-license'),
|
183 |
+
]);
|
184 |
+
$wp_admin_bar->add_menu([
|
185 |
+
'parent' => 'seopress_custom_top_level',
|
186 |
+
'id' => 'seopress_custom_sub_menu_pro',
|
187 |
+
'title' => __('PRO', 'wp-seopress'),
|
188 |
+
'href' => admin_url('admin.php?page=seopress-pro-page'),
|
189 |
+
]);
|
190 |
+
if ('1' == seopress_get_toggle_option('rich-snippets')) {
|
191 |
+
$wp_admin_bar->add_menu([
|
192 |
+
'parent' => 'seopress_custom_top_level',
|
193 |
+
'id' => 'seopress_custom_sub_menu_schemas',
|
194 |
+
'title' => __('Schemas', 'wp-seopress'),
|
195 |
+
'href' => admin_url('edit.php?post_type=seopress_schemas'),
|
196 |
+
]);
|
197 |
+
}
|
198 |
+
if ('1' == seopress_get_toggle_option('404')) {
|
199 |
+
$wp_admin_bar->add_menu([
|
200 |
+
'parent' => 'seopress_custom_top_level',
|
201 |
+
'id' => 'seopress_custom_sub_menu_404',
|
202 |
+
'title' => __('Redirections', 'wp-seopress'),
|
203 |
+
'href' => admin_url('edit.php?post_type=seopress_404'),
|
204 |
+
]);
|
205 |
+
}
|
206 |
+
if ('1' == seopress_get_toggle_option('bot')) {
|
207 |
+
$wp_admin_bar->add_menu([
|
208 |
+
'parent' => 'seopress_custom_top_level',
|
209 |
+
'id' => 'seopress_custom_sub_menu_broken_links',
|
210 |
+
'title' => __('Broken Links', 'wp-seopress'),
|
211 |
+
'href' => admin_url('edit.php?post_type=seopress_bot'),
|
212 |
+
]);
|
213 |
+
}
|
214 |
+
}
|
215 |
+
$wp_admin_bar->add_menu([
|
216 |
+
'parent' => 'seopress_custom_top_level',
|
217 |
+
'id' => 'seopress_custom_sub_menu_wizard',
|
218 |
+
'title' => __('Configuration wizard', 'wp-seopress'),
|
219 |
+
'href' => admin_url('admin.php?page=seopress-setup'),
|
220 |
+
]);
|
221 |
+
}
|
222 |
+
}
|
223 |
+
}
|
224 |
+
add_action('admin_bar_menu', 'seopress_admin_bar_links', 99);
|
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks :)');
|
4 |
+
|
5 |
+
function seopress_admin_header() {
|
6 |
+
$docs = seopress_get_docs_links(); ?>
|
7 |
+
|
8 |
+
<div id="seopress-header" class="seopress-option">
|
9 |
+
<div id="seopress-navbar">
|
10 |
+
<ul>
|
11 |
+
<li>
|
12 |
+
<a
|
13 |
+
href="<?php echo admin_url('admin.php?page=seopress-option'); ?>">
|
14 |
+
<?php _e('Home', 'wp-seopress'); ?>
|
15 |
+
</a>
|
16 |
+
</li>
|
17 |
+
<?php if (get_admin_page_title()) { ?>
|
18 |
+
<li>
|
19 |
+
<?php echo get_admin_page_title(); ?>
|
20 |
+
</li>
|
21 |
+
<?php } ?>
|
22 |
+
</ul>
|
23 |
+
</div>
|
24 |
+
<aside id="seopress-activity-panel" class="seopress-activity-panel">
|
25 |
+
<div role="tablist" aria-orientation="horizontal" class="seopress-activity-panel-tabs">
|
26 |
+
<button type="button" role="tab" aria-selected="true" id="activity-panel-tab-display" data-panel="display"
|
27 |
+
class="btn">
|
28 |
+
<span class="dashicons dashicons-layout"></span>
|
29 |
+
<?php _e('Display', 'wp-seopress'); ?>
|
30 |
+
</button>
|
31 |
+
<button type="button" role="tab" aria-selected="true" id="activity-panel-tab-help" data-panel="help"
|
32 |
+
class="btn">
|
33 |
+
<span class="dashicons dashicons-editor-help"></span>
|
34 |
+
<?php _e('Documentation', 'wp-seopress'); ?>
|
35 |
+
</button>
|
36 |
+
</div>
|
37 |
+
<div id="seopress-activity-panel-help" class="seopress-activity-panel-wrapper" tabindex="0" role="tabpanel"
|
38 |
+
aria-label="Help">
|
39 |
+
<div id="activity-panel-true">
|
40 |
+
<div class="seopress-activity-panel-header">
|
41 |
+
<div class="seopress-inbox-title">
|
42 |
+
<p><?php _e('Documentation', 'wp-seopress'); ?>
|
43 |
+
</p>
|
44 |
+
</div>
|
45 |
+
</div>
|
46 |
+
<div>
|
47 |
+
<form
|
48 |
+
action="<?php echo $docs['website']; ?>"
|
49 |
+
method="get" class="seopress-search" target="_blank">
|
50 |
+
<input class="adminbar-input" id="seopress-search" name="s" type="text" value=""
|
51 |
+
placeholder="<?php _e('Search our documentation', 'wp-seopress'); ?>"
|
52 |
+
maxlength="150">
|
53 |
+
<label for="seopress-search" class="screen-reader-text"><?php _e('Search', 'wp-seopress'); ?></label>
|
54 |
+
</form>
|
55 |
+
<ul class="seopress-list-items" role="menu">
|
56 |
+
<?php foreach ($docs['get_started'] as $key => $value) {
|
57 |
+
foreach ($value as $_key => $_value) {
|
58 |
+
?>
|
59 |
+
<li class="seopress-item">
|
60 |
+
<a href="<?php echo $_value; ?>"
|
61 |
+
class="seopress-item-inner has-action" aria-disabled="false" tabindex="0"
|
62 |
+
role="menuitem" target="_blank" data-link-type="external">
|
63 |
+
<div class="seopress-item-before"></div>
|
64 |
+
<div class="seopress-item-text">
|
65 |
+
<span class="seopress-item-title">
|
66 |
+
<?php echo $_key; ?>
|
67 |
+
</span>
|
68 |
+
</div>
|
69 |
+
<div class="seopress-item-after"></div>
|
70 |
+
</a>
|
71 |
+
</li>
|
72 |
+
<?php
|
73 |
+
}
|
74 |
+
} ?>
|
75 |
+
</ul>
|
76 |
+
</div>
|
77 |
+
</div>
|
78 |
+
</div>
|
79 |
+
<div id="seopress-activity-panel-display" class="seopress-activity-panel-wrapper" tabindex="0" role="popover"
|
80 |
+
aria-label="Display">
|
81 |
+
<div id="activity-panel-true">
|
82 |
+
<div class="seopress-activity-panel-header">
|
83 |
+
<div class="seopress-inbox-title">
|
84 |
+
<p><?php _e('Choose the way it looks', 'wp-seopress'); ?>
|
85 |
+
</p>
|
86 |
+
</div>
|
87 |
+
</div>
|
88 |
+
<div class="seopress-activity-panel-content">
|
89 |
+
<?php
|
90 |
+
$options = get_option('seopress_advanced_option_name');
|
91 |
+
$check = isset($options['seopress_advanced_appearance_notifications']); ?>
|
92 |
+
|
93 |
+
<p>
|
94 |
+
<input id="notifications_center" class="toggle" data-toggle=<?php if ('1' == $check) {
|
95 |
+
echo '1';
|
96 |
+
} else {
|
97 |
+
echo '0';
|
98 |
+
} ?> name="seopress_advanced_option_name[seopress_advanced_appearance_notifications]"
|
99 |
+
type="checkbox" <?php if ('1' == $check) {
|
100 |
+
echo 'checked="yes"';
|
101 |
+
} ?>/>
|
102 |
+
<label for="notifications_center"></label>
|
103 |
+
<label for="seopress_advanced_option_name[seopress_advanced_appearance_notifications]">
|
104 |
+
<?php _e('Hide Notifications Center?', 'wp-seopress'); ?>
|
105 |
+
</label>
|
106 |
+
</p>
|
107 |
+
|
108 |
+
<?php
|
109 |
+
$options = get_option('seopress_advanced_option_name');
|
110 |
+
$check = isset($options['seopress_advanced_appearance_news']); ?>
|
111 |
+
|
112 |
+
<p>
|
113 |
+
<input id="seopress_news" class="toggle" data-toggle=<?php if ('1' == $check) {
|
114 |
+
echo '1';
|
115 |
+
} else {
|
116 |
+
echo '0';
|
117 |
+
} ?> name="seopress_advanced_option_name[seopress_advanced_appearance_news]" type="checkbox"
|
118 |
+
<?php if ('1' == $check) {
|
119 |
+
echo 'checked="yes"';
|
120 |
+
} ?>/>
|
121 |
+
<label for="seopress_news"></label>
|
122 |
+
<label for="seopress_advanced_option_name[seopress_advanced_appearance_news]">
|
123 |
+
<?php _e('Hide SEO News?', 'wp-seopress'); ?>
|
124 |
+
</label>
|
125 |
+
</p>
|
126 |
+
</div>
|
127 |
+
</div>
|
128 |
+
</div>
|
129 |
+
</aside>
|
130 |
+
</div>
|
131 |
+
<?php
|
132 |
+
}
|
@@ -1,6 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
function seopress_get_dyn_variables()
|
|
|
4 |
return [
|
5 |
'%%sep%%' => 'Separator',
|
6 |
'%%sitetitle%%' => __('Site Title', 'wp-seopress'),
|
@@ -60,12 +61,20 @@ function seopress_get_dyn_variables() {
|
|
60 |
*
|
61 |
* @return string
|
62 |
*/
|
63 |
-
function seopress_render_dyn_variables($classes)
|
64 |
-
|
65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
$html .= '<div class="sp-wrap-tag-variables-list"><ul class="sp-tag-variables-list">';
|
67 |
foreach (seopress_get_dyn_variables() as $key => $value) {
|
68 |
-
$html .= '<li data-value=' . $key . '><span>' . $value . '</span></li>';
|
69 |
}
|
70 |
$html .= '</ul></div>';
|
71 |
}
|
1 |
<?php
|
2 |
|
3 |
+
function seopress_get_dyn_variables()
|
4 |
+
{
|
5 |
return [
|
6 |
'%%sep%%' => 'Separator',
|
7 |
'%%sitetitle%%' => __('Site Title', 'wp-seopress'),
|
61 |
*
|
62 |
* @return string
|
63 |
*/
|
64 |
+
function seopress_render_dyn_variables($classes)
|
65 |
+
{
|
66 |
+
//Classic Editor compatibility
|
67 |
+
if (function_exists('get_current_screen') && true === get_current_screen()->is_block_editor()) {
|
68 |
+
$btn_classes_secondary = 'components-button is-secondary';
|
69 |
+
} else {
|
70 |
+
$btn_classes_secondary = 'button button-secondary';
|
71 |
+
}
|
72 |
+
|
73 |
+
$html = sprintf('<button type="button" class="'.$btn_classes_secondary.' seopress-tag-single-all seopress-tag-dropdown %s"><span class="dashicons dashicons-arrow-down-alt2"></span></button>', $classes);
|
74 |
+
if (! empty(seopress_get_dyn_variables())) {
|
75 |
$html .= '<div class="sp-wrap-tag-variables-list"><ul class="sp-tag-variables-list">';
|
76 |
foreach (seopress_get_dyn_variables() as $key => $value) {
|
77 |
+
$html .= '<li data-value=' . $key . ' tabindex="0"><span>' . $value . '</span></li>';
|
78 |
}
|
79 |
$html .= '</ul></div>';
|
80 |
}
|
@@ -1,453 +1,214 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
?>
|
8 |
-
<div class="seopress-page-list">
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
'titles' => [
|
14 |
-
'icon' => 'dashicons-editor-table',
|
15 |
-
'title' => __('Titles & metas','wp-seopress'),
|
16 |
-
'desc' => __('Manage all your titles & metas for post types, taxonomies, archives...', 'wp-seopress'),
|
17 |
-
'btn_secondary' => [
|
18 |
-
admin_url( 'admin.php?page=seopress-titles' ) => __('Manage','wp-seopress')
|
19 |
-
],
|
20 |
-
'help' => [
|
21 |
-
'en' => 'https://www.seopress.org/support/guides/manage-titles-meta-descriptions/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
22 |
-
'fr' => 'https://www.seopress.org/fr/support/guides/gerez-vos-balises-titres-metas/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
23 |
-
'title' => __('Read our guide','wp-seopress'),
|
24 |
-
'aria' => __('Guide to manage your titles and meta descriptions - new window','wp-seopress'),
|
25 |
-
'external' => true
|
26 |
-
],
|
27 |
-
'filter' => 'seopress_remove_feature_titles'
|
28 |
-
],
|
29 |
-
'xml-sitemap' => [
|
30 |
-
'icon' => 'dashicons-media-spreadsheet',
|
31 |
-
'title' => __('XML / Image / Video / HTML Sitemap','wp-seopress'),
|
32 |
-
'desc' => __('Manage your XML / Image / Video / HTML Sitemap', 'wp-seopress'),
|
33 |
-
'btn_secondary' => [
|
34 |
-
admin_url( 'admin.php?page=seopress-xml-sitemap' ) => __('Manage','wp-seopress')
|
35 |
-
],
|
36 |
-
'help' => [
|
37 |
-
'en' => 'https://www.seopress.org/support/guides/enable-xml-sitemaps/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
38 |
-
'fr' => 'https://www.seopress.org/fr/support/guides/activer-sitemap-xml/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
39 |
-
'title' => __('Read our guide','wp-seopress'),
|
40 |
-
'aria' => __('Guide to enable your XML Sitemaps - new window','wp-seopress'),
|
41 |
-
'external' => true
|
42 |
-
],
|
43 |
-
'filter' => 'seopress_remove_feature_xml_sitemap'
|
44 |
-
],
|
45 |
-
'social' => [
|
46 |
-
'icon' => 'dashicons-share',
|
47 |
-
'title' => __('Social Networks','wp-seopress'),
|
48 |
-
'desc' => __('Open Graph, Twitter Card, Google Knowledge Graph and more...', 'wp-seopress'),
|
49 |
-
'btn_secondary' => [
|
50 |
-
admin_url( 'admin.php?page=seopress-social' ) => __('Manage','wp-seopress')
|
51 |
-
],
|
52 |
-
'help' => [
|
53 |
-
'en' => 'https://www.seopress.org/support/guides/enable-google-knowledge-graph/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
54 |
-
'fr' => 'https://www.seopress.org/fr/support/guides/activer-google-knowledge-graph/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
55 |
-
'title' => __('Read our guide','wp-seopress'),
|
56 |
-
'aria' => __('Guide to enable Google Knowledge Graph - new window','wp-seopress'),
|
57 |
-
'external' => true
|
58 |
-
],
|
59 |
-
'filter' => 'seopress_remove_feature_social'
|
60 |
-
],
|
61 |
-
'google-analytics' => [
|
62 |
-
'icon' => 'dashicons-chart-area',
|
63 |
-
'title' => __('Analytics','wp-seopress'),
|
64 |
-
'desc' => __('Track everything about your visitors with Google Analytics / Matomo', 'wp-seopress'),
|
65 |
-
'btn_secondary' => [
|
66 |
-
admin_url( 'admin.php?page=seopress-google-analytics' ) => __('Manage','wp-seopress')
|
67 |
-
],
|
68 |
-
'help' => [
|
69 |
-
'en' => 'https://www.seopress.org/support/guides/google-analytics/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
70 |
-
'fr' => 'https://www.seopress.org/fr/support/guides/debutez-google-analytics/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
71 |
-
'title' => __('Read our guide','wp-seopress'),
|
72 |
-
'aria' => __('Guide to getting started with Google Analytics - new window','wp-seopress'),
|
73 |
-
'external' => true
|
74 |
-
],
|
75 |
-
'filter' => 'seopress_remove_feature_google_analytics'
|
76 |
-
],
|
77 |
-
'advanced' => [
|
78 |
-
'icon' => 'dashicons-admin-tools',
|
79 |
-
'title' => __('Advanced','wp-seopress'),
|
80 |
-
'desc' => __('Advanced SEO options for advanced users!', 'wp-seopress'),
|
81 |
-
'btn_secondary' => [
|
82 |
-
admin_url( 'admin.php?page=seopress-advanced' ) => __('Manage','wp-seopress')
|
83 |
-
],
|
84 |
-
'filter' => 'seopress_remove_feature_advanced'
|
85 |
-
]
|
86 |
-
];
|
87 |
-
if (is_plugin_active('wp-seopress-insights/seopress-insights.php')) {
|
88 |
-
$features['insights'] = [
|
89 |
-
'icon' => 'dashicons-chart-line',
|
90 |
-
'title' => __('Insights','wp-seopress'),
|
91 |
-
'desc' => __('Track your keyword positions and backlinks directly in your WordPress.', 'wp-seopress'),
|
92 |
-
'btn_secondary' => [
|
93 |
-
admin_url( 'admin.php?page=seopress-insights' ) => __('Manage','wp-seopress')
|
94 |
-
],
|
95 |
-
'help' => [
|
96 |
-
'en' => 'https://www.seopress.org/insights/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
97 |
-
'fr' => 'https://www.seopress.org/fr/insights/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
98 |
-
'title' => __('Read our guide','wp-seopress'),
|
99 |
-
'aria' => __('Guide to optimize your WooCommerce SEO - new window','wp-seopress'),
|
100 |
-
'external' => true
|
101 |
-
],
|
102 |
-
'toggle' => false,
|
103 |
-
'filter' => 'seopress_remove_feature_insights'
|
104 |
-
];
|
105 |
-
}
|
106 |
-
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
107 |
-
$features['woocommerce'] = [
|
108 |
-
'icon' => 'dashicons-cart',
|
109 |
-
'title' => __('WooCommerce','wp-seopress'),
|
110 |
-
'desc' => __('Improve WooCommerce SEO', 'wp-seopress'),
|
111 |
-
'btn_secondary' => [
|
112 |
-
admin_url( 'admin.php?page=seopress-pro-page#tab=tab_seopress_woocommerce' ) => __('Manage','wp-seopress')
|
113 |
-
],
|
114 |
-
'help' => [
|
115 |
-
'en' => 'https://www.seopress.org/blog/woocommerce-seo-seopress/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
116 |
-
'fr' => 'https://www.seopress.org/fr/blog/woocommerce-seo-seopress-le-guide/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
117 |
-
'title' => __('Read our guide','wp-seopress'),
|
118 |
-
'aria' => __('Guide to optimize your WooCommerce SEO - new window','wp-seopress'),
|
119 |
-
'external' => true
|
120 |
-
],
|
121 |
-
'filter' => 'seopress_remove_feature_woocommerce'
|
122 |
-
];
|
123 |
-
$features['edd'] = [
|
124 |
-
'icon' => 'dashicons-cart',
|
125 |
-
'title' => __('Easy Digital Downloads','wp-seopress'),
|
126 |
-
'desc' => __('Improve Easy Digital Downloads SEO', 'wp-seopress'),
|
127 |
-
'btn_secondary' => [
|
128 |
-
admin_url( 'admin.php?page=seopress-pro-page#tab=tab_seopress_edd' ) => __('Manage','wp-seopress')
|
129 |
-
],
|
130 |
-
'filter' => 'seopress_remove_feature_edd'
|
131 |
-
];
|
132 |
-
$features['local-business'] = [
|
133 |
-
'icon' => 'dashicons-store',
|
134 |
-
'title' => __('Local Business','wp-seopress'),
|
135 |
-
'desc' => __('Add Google Local Business data type', 'wp-seopress'),
|
136 |
-
'btn_secondary' => [
|
137 |
-
admin_url( 'admin.php?page=seopress-pro-page#tab=tab_seopress_local_business' ) => __('Manage','wp-seopress')
|
138 |
-
],
|
139 |
-
'filter' => 'seopress_remove_feature_local_business'
|
140 |
-
];
|
141 |
-
$features['dublin-core'] = [
|
142 |
-
'icon' => 'dashicons-welcome-learn-more',
|
143 |
-
'title' => __('Dublin Core','wp-seopress'),
|
144 |
-
'desc' => __('Add Dublin Core meta tags', 'wp-seopress'),
|
145 |
-
'btn_secondary' => [
|
146 |
-
admin_url( 'admin.php?page=seopress-pro-page#tab=tab_seopress_dublin_core' ) => __('Manage','wp-seopress')
|
147 |
-
],
|
148 |
-
'filter' => 'seopress_remove_feature_dublin_core'
|
149 |
-
];
|
150 |
-
$features['rich-snippets'] = [
|
151 |
-
'icon' => 'dashicons-media-spreadsheet',
|
152 |
-
'title' => __('Structured Data Types','wp-seopress'),
|
153 |
-
'desc' => __('Add data types to your content: articles, courses, recipes, videos, events, products and more.', 'wp-seopress'),
|
154 |
-
'btn_secondary' => [
|
155 |
-
admin_url( 'admin.php?page=seopress-pro-page#tab=tab_seopress_rich_snippets' ) => __('Manage','wp-seopress')
|
156 |
-
],
|
157 |
-
'btn_primary' => [
|
158 |
-
admin_url( 'edit.php?post_type=seopress_schemas' ) => __('See schemas','wp-seopress')
|
159 |
-
],
|
160 |
-
'help' => [
|
161 |
-
'en' => 'https://www.seopress.org/support/guides/#structured-data-types?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
162 |
-
'fr' => 'https://www.seopress.org/fr/support/guides/#types-de-donnees-structurees?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
163 |
-
'title' => __('Read our guide','wp-seopress'),
|
164 |
-
'aria' => __('Guide to add schemas with SEOPress PRO - new window','wp-seopress'),
|
165 |
-
'external' => true
|
166 |
-
],
|
167 |
-
'filter' => 'seopress_remove_feature_schemas'
|
168 |
-
];
|
169 |
-
$features['breadcrumbs'] = [
|
170 |
-
'icon' => 'dashicons-feedback',
|
171 |
-
'title' => __('Breadcrumbs','wp-seopress'),
|
172 |
-
'desc' => __('Enable Breadcrumbs for your theme and improve your SEO in SERPs', 'wp-seopress'),
|
173 |
-
'btn_secondary' => [
|
174 |
-
admin_url( 'admin.php?page=seopress-pro-page#tab=tab_seopress_breadcrumbs' ) => __('Manage','wp-seopress')
|
175 |
-
],
|
176 |
-
'help' => [
|
177 |
-
'en' => 'https://www.seopress.org/support/guides/enable-breadcrumbs/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
178 |
-
'fr' => 'https://www.seopress.org/fr/support/guides/activer-fil-dariane/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
179 |
-
'title' => __('Read our guide','wp-seopress'),
|
180 |
-
'aria' => __('Guide to enable Breadcrumbs - new window','wp-seopress'),
|
181 |
-
'external' => true
|
182 |
-
],
|
183 |
-
'filter' => 'seopress_remove_feature_breadcrumbs'
|
184 |
-
];
|
185 |
-
$features['page-speed'] = [
|
186 |
-
'icon' => 'dashicons-performance',
|
187 |
-
'title' => __('Google Page Speed','wp-seopress'),
|
188 |
-
'desc' => __('Track your website performance to improve SEO with Google Page Speed', 'wp-seopress'),
|
189 |
-
'btn_secondary' => [
|
190 |
-
admin_url( 'admin.php?page=seopress-pro-page#tab=tab_seopress_page_speed' ) => __('Manage','wp-seopress')
|
191 |
-
],
|
192 |
-
'help' => [
|
193 |
-
'en' => 'https://www.seopress.org/support/guides/analyse-site-google-page-speed/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
194 |
-
'fr' => 'https://www.seopress.org/fr/support/guides/analyser-site-google-page-speed/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
195 |
-
'title' => __('Read our guide','wp-seopress'),
|
196 |
-
'aria' => __('Guide to analyze your site with Google Page Speed - new window','wp-seopress'),
|
197 |
-
'external' => true
|
198 |
-
],
|
199 |
-
'filter' => 'seopress_remove_feature_page_speed',
|
200 |
-
'toggle' => false
|
201 |
-
];
|
202 |
-
if (!is_multisite() || (is_multisite() && defined('SUBDOMAIN_INSTALL') && constant('SUBDOMAIN_INSTALL') === true)) {//subdomains or single site
|
203 |
-
$features['robots'] = [
|
204 |
-
'icon' => 'dashicons-media-text',
|
205 |
-
'title' => __('robots.txt','wp-seopress'),
|
206 |
-
'desc' => __('Edit your robots.txt file', 'wp-seopress'),
|
207 |
-
'btn_primary' => [
|
208 |
-
get_home_url().'/robots.txt' => __('View your robots.txt','wp-seopress')
|
209 |
-
],
|
210 |
-
'btn_secondary' => [
|
211 |
-
admin_url( 'admin.php?page=seopress-pro-page#tab=tab_seopress_robots' ) => __('Manage','wp-seopress')
|
212 |
-
],
|
213 |
-
'help' => [
|
214 |
-
'en' => 'https://www.seopress.org/support/guides/edit-robots-txt-file/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
215 |
-
'fr' => 'https://www.seopress.org/fr/support/guides/editer-fichier-robots-txt/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
216 |
-
'title' => __('Read our guide','wp-seopress'),
|
217 |
-
'aria' => __('Guide to edit your robots.txt file - new window','wp-seopress'),
|
218 |
-
'external' => true
|
219 |
-
],
|
220 |
-
'filter' => 'seopress_remove_feature_robots'
|
221 |
-
];
|
222 |
-
}
|
223 |
-
$features['news'] = [
|
224 |
-
'icon' => 'dashicons-admin-post',
|
225 |
-
'title' => __('Google News Sitemap','wp-seopress'),
|
226 |
-
'desc' => __('Optimize your site for Google News', 'wp-seopress'),
|
227 |
-
'btn_secondary' => [
|
228 |
-
admin_url( 'admin.php?page=seopress-pro-page#tab=tab_seopress_news' ) => __('Manage','wp-seopress')
|
229 |
-
],
|
230 |
-
'help' => [
|
231 |
-
'en' => 'https://www.seopress.org/support/guides/enable-google-news-xml-sitemap/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
232 |
-
'fr' => 'https://www.seopress.org/fr/support/guides/activer-plan-de-site-xml-google-news/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
233 |
-
'title' => __('Read our guide','wp-seopress'),
|
234 |
-
'aria' => __('Guide to create your xml news sitemap - new window','wp-seopress'),
|
235 |
-
'external' => true
|
236 |
-
],
|
237 |
-
'filter' => 'seopress_remove_feature_news'
|
238 |
-
];
|
239 |
-
$features['rich-snippets'] = [
|
240 |
-
'icon' => 'dashicons-media-spreadsheet',
|
241 |
-
'title' => __('Schemas','wp-seopress'),
|
242 |
-
'desc' => __('Create / manage your schemas', 'wp-seopress'),
|
243 |
-
'btn_primary' => [
|
244 |
-
admin_url( 'edit.php?post_type=seopress_schemas' ) => __('See schemas','wp-seopress')
|
245 |
-
],
|
246 |
-
'btn_secondary' => [
|
247 |
-
admin_url( 'admin.php?page=seopress-pro-page#tab=tab_seopress_rich_snippets' ) => __('Manage','wp-seopress')
|
248 |
-
],
|
249 |
-
'help' => [
|
250 |
-
'en' => 'https://www.seopress.org/support/guides/#structured-data-types?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
251 |
-
'fr' => 'https://www.seopress.org/fr/support/guides/#types-de-donnees-structurees?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
252 |
-
'title' => __('Read our guide','wp-seopress'),
|
253 |
-
'aria' => __('Guide to add schemas with SEOPress PRO - new window','wp-seopress'),
|
254 |
-
'external' => true
|
255 |
-
],
|
256 |
-
'filter' => 'seopress_remove_feature_schemas'
|
257 |
-
];
|
258 |
-
$features['404'] = [
|
259 |
-
'icon' => 'dashicons-admin-links',
|
260 |
-
'title' => __('Redirections','wp-seopress'),
|
261 |
-
'desc' => __('Monitor 404, create 301, 302 and 307 redirections', 'wp-seopress'),
|
262 |
-
'btn_primary' => [
|
263 |
-
admin_url( 'edit.php?post_type=seopress_404' ) => __('See redirects','wp-seopress')
|
264 |
-
],
|
265 |
-
'btn_secondary' => [
|
266 |
-
admin_url( 'admin.php?page=seopress-pro-page#tab=tab_seopress_404' ) => __('Manage','wp-seopress')
|
267 |
-
],
|
268 |
-
'help' => [
|
269 |
-
'en' => 'https://www.seopress.org/support/guides/redirections/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
270 |
-
'fr' => 'https://www.seopress.org/fr/support/guides/activer-redirections-301-surveillance-404/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
271 |
-
'title' => __('Read our guide','wp-seopress'),
|
272 |
-
'aria' => __('Guide to enable 301 redirections and 404 monitoring - new window','wp-seopress'),
|
273 |
-
'external' => true
|
274 |
-
],
|
275 |
-
'filter' => 'seopress_remove_feature_redirects'
|
276 |
-
];
|
277 |
-
$features['bot'] = [
|
278 |
-
'icon' => 'dashicons-admin-generic',
|
279 |
-
'title' => __('Broken links','wp-seopress'),
|
280 |
-
'desc' => __('Scan your site to find SEO problems.', 'wp-seopress'),
|
281 |
-
'btn_primary' => [
|
282 |
-
admin_url( 'edit.php?post_type=seopress_bot' ) => __('See broken links','wp-seopress')
|
283 |
-
],
|
284 |
-
'btn_secondary' => [
|
285 |
-
admin_url( 'admin.php?page=seopress-bot-batch' ) => __('Scan','wp-seopress')
|
286 |
-
],
|
287 |
-
'help' => [
|
288 |
-
'en' => 'https://www.seopress.org/support/guides/detect-broken-links/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
289 |
-
'fr' => 'https://www.seopress.org/fr/support/guides/detecter-liens-casses/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
290 |
-
'title' => __('Read our guide','wp-seopress'),
|
291 |
-
'aria' => __('Guide to find broken links with SEOPress PRO - new window','wp-seopress'),
|
292 |
-
'external' => true
|
293 |
-
],
|
294 |
-
'filter' => 'seopress_remove_feature_bot'
|
295 |
-
];
|
296 |
-
$features['rewrite'] = [
|
297 |
-
'icon' => 'dashicons-admin-links',
|
298 |
-
'title' => __('URL Rewriting','wp-seopress'),
|
299 |
-
'desc' => __('Customize your permalinks.', 'wp-seopress'),
|
300 |
-
'btn_secondary' => [
|
301 |
-
admin_url( 'admin.php?page=seopress-pro-page#tab=tab_seopress_rewrite' ) => __('Manage','wp-seopress')
|
302 |
-
],
|
303 |
-
'filter' => 'seopress_remove_feature_rewrite'
|
304 |
-
];
|
305 |
-
if (!is_multisite()) {
|
306 |
-
$features['htaccess'] = [
|
307 |
-
'icon' => 'dashicons-media-text',
|
308 |
-
'title' => __('.htaccess','wp-seopress'),
|
309 |
-
'desc' => __('Edit your htaccess file.', 'wp-seopress'),
|
310 |
-
'btn_secondary' => [
|
311 |
-
admin_url( 'admin.php?page=seopress-pro-page#tab=tab_seopress_htaccess' ) => __('Manage','wp-seopress')
|
312 |
-
],
|
313 |
-
'filter' => 'seopress_remove_feature_htaccess',
|
314 |
-
'toggle' => false
|
315 |
-
];
|
316 |
-
}
|
317 |
-
$features['rss'] = [
|
318 |
-
'icon' => 'dashicons-rss',
|
319 |
-
'title' => __('RSS','wp-seopress'),
|
320 |
-
'desc' => __('Configure default WordPress RSS.', 'wp-seopress'),
|
321 |
-
'btn_secondary' => [
|
322 |
-
admin_url( 'admin.php?page=seopress-pro-page#tab=tab_seopress_rss' ) => __('Manage','wp-seopress')
|
323 |
-
],
|
324 |
-
'filter' => 'seopress_remove_feature_rss',
|
325 |
-
'toggle' => false
|
326 |
-
];
|
327 |
-
}
|
328 |
-
$features['tools'] = [
|
329 |
-
'icon' => 'dashicons-admin-settings',
|
330 |
-
'title' => __('Tools','wp-seopress'),
|
331 |
-
'desc' => __('Import/Export plugin settings from site to site.', 'wp-seopress'),
|
332 |
-
'btn_secondary' => [
|
333 |
-
admin_url( 'admin.php?page=seopress-import-export' ) => __('Manage','wp-seopress')
|
334 |
-
],
|
335 |
-
'help' => [
|
336 |
-
'en' => 'https://www.seopress.org/support/guides/export-import-reset-settings/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
337 |
-
'fr' => 'https://www.seopress.org/fr/support/guides/exporter-importer-remise-a-niveau-parametres/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
338 |
-
'title' => __('Read our guide','wp-seopress'),
|
339 |
-
'aria' => __('Guide to Export/Import/Reset settings - new window','wp-seopress'),
|
340 |
-
'external' => true
|
341 |
-
],
|
342 |
-
'filter' => 'seopress_remove_feature_tools',
|
343 |
-
'toggle' => false
|
344 |
-
];
|
345 |
-
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
346 |
-
$features['license'] = [
|
347 |
-
'icon' => 'dashicons-admin-network',
|
348 |
-
'title' => __('License','wp-seopress'),
|
349 |
-
'desc' => __('Edit your license key.', 'wp-seopress'),
|
350 |
-
'btn_secondary' => [
|
351 |
-
admin_url( 'admin.php?page=seopress-license' ) => __('Manage','wp-seopress')
|
352 |
-
],
|
353 |
-
'help' => [
|
354 |
-
'en' => 'https://www.seopress.org/support/guides/activate-seopress-pro-license/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
355 |
-
'fr' => 'https://www.seopress.org/fr/support/guides/activer-licence-seopress-pro/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
356 |
-
'title' => __('Read our guide','wp-seopress'),
|
357 |
-
'aria' => __('Guide to activate SEOPress PRO - new window','wp-seopress'),
|
358 |
-
'external' => true
|
359 |
-
],
|
360 |
-
'filter' => 'seopress_remove_feature_license',
|
361 |
-
'toggle' => false
|
362 |
-
];
|
363 |
-
}
|
364 |
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
370 |
|
371 |
-
|
372 |
-
|
373 |
-
$title = isset( $value['title'] ) ? $value['title'] : NULL;
|
374 |
-
$desc = isset( $value['desc'] ) ? $value['desc'] : NULL;
|
375 |
-
$btn_primary = isset( $value['btn_primary'] ) ? $value['btn_primary'] : NULL;
|
376 |
-
$btn_secondary = isset( $value['btn_secondary'] ) ? $value['btn_secondary'] : NULL;
|
377 |
-
$help = isset( $value['help'] ) ? $value['help'] : NULL;
|
378 |
-
$toggle = isset( $value['toggle'] ) ? $value['toggle'] : true;
|
379 |
-
?>
|
380 |
-
<div class="seopress-feature">
|
381 |
-
<span class="inner">
|
382 |
-
<div class="img-tool">
|
383 |
-
<span class="dashicons <?php echo $icon; ?>"></span>
|
384 |
-
</div>
|
385 |
-
<h3><?php echo $title; ?></h3>
|
386 |
-
<p><?php echo $desc; ?></p>
|
387 |
-
|
388 |
-
<?php if ($btn_secondary || $btn_primary) { ?>
|
389 |
-
<div class="wrap-btn">
|
390 |
|
391 |
-
|
392 |
-
|
393 |
-
|
|
|
394 |
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
$target = ' target="_blank"';
|
429 |
-
}
|
430 |
-
|
431 |
-
$aria = '';
|
432 |
-
if (isset($help['aria'])) {
|
433 |
-
$aria = '<span class="screen-reader-text">'.$help['aria'].'</span>';
|
434 |
-
}
|
435 |
-
|
436 |
-
$help_title = '';
|
437 |
-
if (isset($help['title'])) {
|
438 |
-
$help_title = 'title="'.$help['title'].'"';
|
439 |
-
}
|
440 |
-
if ($href !='') { ?>
|
441 |
-
<a <?php echo $href; ?> <?php echo $target; ?> class="seopress-doc" <?php echo $help_title; ?>>
|
442 |
-
<span class="dashicons dashicons-editor-help"></span>
|
443 |
-
<?php echo $aria; ?>
|
444 |
-
</a>
|
445 |
-
<?php } ?>
|
446 |
-
</span>
|
447 |
-
</div>
|
448 |
-
<?php
|
449 |
-
}
|
450 |
-
}
|
451 |
-
}
|
452 |
-
?>
|
453 |
</div>
|
1 |
<?php
|
2 |
+
// To prevent calling the plugin directly
|
3 |
+
if (! function_exists('add_action')) {
|
4 |
+
echo 'Please don’t call the plugin directly. Thanks :)';
|
5 |
+
exit;
|
6 |
+
}
|
7 |
?>
|
8 |
+
<div class="seopress-page-list seopress-card">
|
9 |
+
<div class="seopress-card-title">
|
10 |
+
<h2><?php _e('SEO management', 'wp-seopress'); ?>
|
11 |
+
</h2>
|
12 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
+
<?php
|
15 |
+
$features = [];
|
16 |
+
$features = [
|
17 |
+
'titles' => [
|
18 |
+
'title' => __('Titles & Metas', 'wp-seopress'),
|
19 |
+
'desc' => __('Manage all your titles & metas for post types, taxonomies, archives...', 'wp-seopress'),
|
20 |
+
'btn_primary' => admin_url('admin.php?page=seopress-titles'),
|
21 |
+
'filter' => 'seopress_remove_feature_titles',
|
22 |
+
],
|
23 |
+
'xml-sitemap' => [
|
24 |
+
'title' => __('XML & HTML Sitemaps', 'wp-seopress'),
|
25 |
+
'desc' => __('Manage your XML - Image - Video - HTML Sitemap', 'wp-seopress'),
|
26 |
+
'btn_primary' => admin_url('admin.php?page=seopress-xml-sitemap'),
|
27 |
+
'filter' => 'seopress_remove_feature_xml_sitemap',
|
28 |
+
],
|
29 |
+
'social' => [
|
30 |
+
'title' => __('Social Networks', 'wp-seopress'),
|
31 |
+
'desc' => __('Open Graph, Twitter Card, Google Knowledge Graph and more...', 'wp-seopress'),
|
32 |
+
'btn_primary' => admin_url('admin.php?page=seopress-social'),
|
33 |
+
'filter' => 'seopress_remove_feature_social',
|
34 |
+
],
|
35 |
+
'google-analytics' => [
|
36 |
+
'title' => __('Analytics', 'wp-seopress'),
|
37 |
+
'desc' => __('Track everything about your visitors with Google Analytics / Matomo', 'wp-seopress'),
|
38 |
+
'btn_primary' => admin_url('admin.php?page=seopress-google-analytics'),
|
39 |
+
'filter' => 'seopress_remove_feature_google_analytics',
|
40 |
+
],
|
41 |
+
'advanced' => [
|
42 |
+
'title' => __('Advanced', 'wp-seopress'),
|
43 |
+
'desc' => __('Advanced SEO options for advanced users!', 'wp-seopress'),
|
44 |
+
'btn_primary' => admin_url('admin.php?page=seopress-advanced'),
|
45 |
+
'filter' => 'seopress_remove_feature_advanced',
|
46 |
+
],
|
47 |
+
];
|
48 |
+
if (is_plugin_active('wp-seopress-insights/seopress-insights.php')) {
|
49 |
+
$features['insights'] = [
|
50 |
+
'title' => __('Insights', 'wp-seopress'),
|
51 |
+
'desc' => __('Track your keyword positions and backlinks directly in your WordPress.', 'wp-seopress'),
|
52 |
+
'btn_primary' => admin_url('admin.php?page=seopress-insights'),
|
53 |
+
'toggle' => false,
|
54 |
+
'filter' => 'seopress_remove_feature_insights',
|
55 |
+
];
|
56 |
+
}
|
57 |
+
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
58 |
+
$features['woocommerce'] = [
|
59 |
+
'title' => __('WooCommerce', 'wp-seopress'),
|
60 |
+
'desc' => __('Improve WooCommerce SEO', 'wp-seopress'),
|
61 |
+
'btn_primary' => admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_woocommerce'),
|
62 |
+
'filter' => 'seopress_remove_feature_woocommerce',
|
63 |
+
];
|
64 |
+
$features['edd'] = [
|
65 |
+
'title' => __('Easy Digital Downloads', 'wp-seopress'),
|
66 |
+
'desc' => __('Improve Easy Digital Downloads SEO', 'wp-seopress'),
|
67 |
+
'btn_primary' => admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_edd'),
|
68 |
+
'filter' => 'seopress_remove_feature_edd',
|
69 |
+
];
|
70 |
+
$features['local-business'] = [
|
71 |
+
'title' => __('Local Business', 'wp-seopress'),
|
72 |
+
'desc' => __('Add Google Local Business data type', 'wp-seopress'),
|
73 |
+
'btn_primary' => admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_local_business'),
|
74 |
+
'filter' => 'seopress_remove_feature_local_business',
|
75 |
+
];
|
76 |
+
$features['dublin-core'] = [
|
77 |
+
'title' => __('Dublin Core', 'wp-seopress'),
|
78 |
+
'desc' => __('Add Dublin Core meta tags', 'wp-seopress'),
|
79 |
+
'btn_primary' => admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_dublin_core'),
|
80 |
+
'filter' => 'seopress_remove_feature_dublin_core',
|
81 |
+
];
|
82 |
+
$features['rich-snippets'] = [
|
83 |
+
'title' => __('Structured Data Types', 'wp-seopress'),
|
84 |
+
'desc' => __('Add data types to your content: articles, courses, recipes, videos, events, products and more.', 'wp-seopress'),
|
85 |
+
'btn_primary' => admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_rich_snippets'),
|
86 |
+
'filter' => 'seopress_remove_feature_schemas',
|
87 |
+
];
|
88 |
+
$features['breadcrumbs'] = [
|
89 |
+
'title' => __('Breadcrumbs', 'wp-seopress'),
|
90 |
+
'desc' => __('Enable Breadcrumbs for your theme and improve your SEO in SERPs', 'wp-seopress'),
|
91 |
+
'btn_primary' => admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_breadcrumbs'),
|
92 |
+
'filter' => 'seopress_remove_feature_breadcrumbs',
|
93 |
+
];
|
94 |
+
$features['page-speed'] = [
|
95 |
+
'title' => __('Google Page Speed', 'wp-seopress'),
|
96 |
+
'desc' => __('Track your website performance to improve SEO with Google Page Speed', 'wp-seopress'),
|
97 |
+
'btn_primary' => admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_page_speed'),
|
98 |
+
'filter' => 'seopress_remove_feature_page_speed',
|
99 |
+
'toggle' => false,
|
100 |
+
];
|
101 |
+
if (! is_multisite() || (is_multisite() && defined('SUBDOMAIN_INSTALL') && true === constant('SUBDOMAIN_INSTALL'))) {//subdomains or single site
|
102 |
+
$features['robots'] = [
|
103 |
+
'title' => __('robots.txt', 'wp-seopress'),
|
104 |
+
'desc' => __('Edit your robots.txt file', 'wp-seopress'),
|
105 |
+
'btn_primary' => admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_robots'),
|
106 |
+
'filter' => 'seopress_remove_feature_robots',
|
107 |
+
];
|
108 |
+
}
|
109 |
+
$features['news'] = [
|
110 |
+
'title' => __('Google News Sitemap', 'wp-seopress'),
|
111 |
+
'desc' => __('Optimize your site for Google News', 'wp-seopress'),
|
112 |
+
'btn_primary' => admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_news'),
|
113 |
+
'filter' => 'seopress_remove_feature_news',
|
114 |
+
];
|
115 |
+
$features['rich-snippets'] = [
|
116 |
+
'title' => __('Schemas', 'wp-seopress'),
|
117 |
+
'desc' => __('Create / manage your schemas', 'wp-seopress'),
|
118 |
+
'btn_primary' => admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_rich_snippets'),
|
119 |
+
'filter' => 'seopress_remove_feature_schemas',
|
120 |
+
];
|
121 |
+
$features['404'] = [
|
122 |
+
'title' => __('Redirections', 'wp-seopress'),
|
123 |
+
'desc' => __('Monitor 404, create 301, 302 and 307 redirections', 'wp-seopress'),
|
124 |
+
'btn_primary' => admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_404'),
|
125 |
+
'filter' => 'seopress_remove_feature_redirects',
|
126 |
+
];
|
127 |
+
$features['bot'] = [
|
128 |
+
'title' => __('Broken links', 'wp-seopress'),
|
129 |
+
'desc' => __('Scan your site to find SEO problems.', 'wp-seopress'),
|
130 |
+
'btn_primary' => admin_url('admin.php?page=seopress-bot-batch'),
|
131 |
+
'filter' => 'seopress_remove_feature_bot',
|
132 |
+
];
|
133 |
+
$features['rewrite'] = [
|
134 |
+
'title' => __('URL Rewriting', 'wp-seopress'),
|
135 |
+
'desc' => __('Customize your permalinks.', 'wp-seopress'),
|
136 |
+
'btn_primary' => admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_rewrite'),
|
137 |
+
'filter' => 'seopress_remove_feature_rewrite',
|
138 |
+
];
|
139 |
+
if (! is_multisite()) {
|
140 |
+
$features['htaccess'] = [
|
141 |
+
'title' => __('.htaccess', 'wp-seopress'),
|
142 |
+
'desc' => __('Edit your htaccess file.', 'wp-seopress'),
|
143 |
+
'btn_primary' => admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_htaccess'),
|
144 |
+
'filter' => 'seopress_remove_feature_htaccess',
|
145 |
+
'toggle' => false,
|
146 |
+
];
|
147 |
+
}
|
148 |
+
$features['rss'] = [
|
149 |
+
'title' => __('RSS', 'wp-seopress'),
|
150 |
+
'desc' => __('Configure default WordPress RSS.', 'wp-seopress'),
|
151 |
+
'btn_primary' => admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_rss'),
|
152 |
+
'filter' => 'seopress_remove_feature_rss',
|
153 |
+
'toggle' => false,
|
154 |
+
];
|
155 |
+
}
|
156 |
+
$features['tools'] = [
|
157 |
+
'title' => __('Tools', 'wp-seopress'),
|
158 |
+
'desc' => __('Import/Export plugin settings from site to site.', 'wp-seopress'),
|
159 |
+
'btn_primary' => admin_url('admin.php?page=seopress-import-export'),
|
160 |
+
'filter' => 'seopress_remove_feature_tools',
|
161 |
+
'toggle' => false,
|
162 |
+
];
|
163 |
+
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
164 |
+
$features['license'] = [
|
165 |
+
'title' => __('License', 'wp-seopress'),
|
166 |
+
'desc' => __('Edit your license key.', 'wp-seopress'),
|
167 |
+
'btn_primary' => admin_url('admin.php?page=seopress-license'),
|
168 |
+
'filter' => 'seopress_remove_feature_license',
|
169 |
+
'toggle' => false,
|
170 |
+
];
|
171 |
+
}
|
172 |
|
173 |
+
if (! empty($features)) { ?>
|
174 |
+
<div class="seopress-card-content">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
|
176 |
+
<?php foreach ($features as $key => $value) {
|
177 |
+
if (isset($value['filter'])) {
|
178 |
+
$seopress_feature = apply_filters($value['filter'], true);
|
179 |
+
}
|
180 |
|
181 |
+
if (true === $seopress_feature) {
|
182 |
+
$title = isset($value['title']) ? $value['title'] : null;
|
183 |
+
$desc = isset($value['desc']) ? $value['desc'] : null;
|
184 |
+
$btn_primary = isset($value['btn_primary']) ? $value['btn_primary'] : '';
|
185 |
+
$toggle = isset($value['toggle']) ? $value['toggle'] : true; ?>
|
186 |
+
<a href="<?php echo $btn_primary; ?>"
|
187 |
+
class="seopress-cart-list inner">
|
188 |
+
<?php
|
189 |
+
if (true === $toggle) {
|
190 |
+
if ('1' == seopress_get_toggle_option($key)) {
|
191 |
+
$seopress_get_toggle_option = '1';
|
192 |
+
} else {
|
193 |
+
$seopress_get_toggle_option = '0';
|
194 |
+
} ?>
|
195 |
+
<input type="checkbox" name="toggle-<?php echo $key; ?>"
|
196 |
+
id="toggle-<?php echo $key; ?>" class="toggle"
|
197 |
+
data-toggle="<?php echo $seopress_get_toggle_option; ?>">
|
198 |
+
<label for="toggle-<?php echo $key; ?>"></label>
|
199 |
+
<?php
|
200 |
+
} ?>
|
201 |
+
<div class="seopress-card-item">
|
202 |
+
<h3><?php echo $title; ?>
|
203 |
+
</h3>
|
204 |
+
<p><?php echo $desc; ?>
|
205 |
+
</p>
|
206 |
+
</div>
|
207 |
+
</a>
|
208 |
+
<?php
|
209 |
+
}
|
210 |
+
} ?>
|
211 |
+
</div>
|
212 |
+
<?php }
|
213 |
+
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
</div>
|
@@ -1,28 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
// To prevent calling the plugin directly
|
3 |
-
if ( !function_exists( 'add_action' ) ) {
|
4 |
-
echo 'Please don’t call the plugin directly. Thanks :)';
|
5 |
-
exit;
|
6 |
-
} ?>
|
7 |
-
<div id="notice-get-started-alert" class="seopress-get-started seopress-alert deleteable">
|
8 |
-
<div class="inside">
|
9 |
-
<span class="preheader"><?php _e('How-to get started','wp-seopress'); ?></span>
|
10 |
-
<h2><?php _e('Welcome to SEOPress!','wp-seopress'); ?></h2>
|
11 |
-
<p><?php _e('Launch our installation wizard to quickly and easily configure the basic SEO settings for your site. Browse our video guides to go further. Can\'t find the answers to your questions? Open a ticket from your customer area. A happiness engineer will be happy to help you.','wp-seopress'); ?></p>
|
12 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-setup'); ?>" class="button button-primary"><?php _e('Get started','wp-seopress'); ?> <span class="dashicons dashicons-arrow-right-alt"></span></a>
|
13 |
-
<a class="btn-link" href="https://youtube.com/seopress" target="_blank"><span class="dashicons dashicons-video-alt3"></span><?php _e('Watch our video guides','wp-seopress'); ?></a>
|
14 |
-
<?php
|
15 |
-
if (function_exists('seopress_get_locale') && seopress_get_locale() =='fr') {
|
16 |
-
$seopress_docs_link['support']['wizard'] = 'https://www.seopress.org/fr/support/';
|
17 |
-
} else {
|
18 |
-
$seopress_docs_link['support']['wizard'] = 'https://www.seopress.org/support/';
|
19 |
-
}
|
20 |
-
|
21 |
-
echo
|
22 |
-
'<a class="btn-link" href="'.$seopress_docs_link['support']['wizard'].'" target="_blank">
|
23 |
-
<span class="dashicons dashicons-sos"></span>'.__('Our support center','wp-seopress').'
|
24 |
-
</a>';
|
25 |
-
?>
|
26 |
-
<span name="notice-get-started" id="notice-get-started" class="dashicons dashicons-no-alt remove-notice" data-notice="notice-get-started"></span>
|
27 |
-
</div>
|
28 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1,244 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks :)');
|
4 |
-
|
5 |
-
function seopress_admin_header() { ?>
|
6 |
-
<div class="wrap"><h2><!--// hack to get WP notice at the correct place //--></h2></div>
|
7 |
-
<div id="seopress-header">
|
8 |
-
<div id="seopress-admin">
|
9 |
-
<div id="seopress-navbar">
|
10 |
-
<?php if (defined('SEOPRESS_WL_ADMIN_HEADER_LOGO') && SEOPRESS_WL_ADMIN_HEADER_LOGO !== '') { ?>
|
11 |
-
<style>
|
12 |
-
#seopress-navbar h1::before{content:"" !important;background:url(<?php echo SEOPRESS_WL_ADMIN_HEADER_LOGO; ?>) no-repeat center center !important;width:40px !important;height:45px !important};
|
13 |
-
</style>
|
14 |
-
<?php } ?>
|
15 |
-
<h1>
|
16 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-option'); ?>">
|
17 |
-
<span class="screen-reader-text"><?php _e('SEOPress', 'wp-seopress'); ?></span>
|
18 |
-
<?php if (is_plugin_active('wp-seopress-pro/seopress-pro.php') || is_plugin_active('wp-seopress-insights/seopress-insights.php')) { ?>
|
19 |
-
<span class="seopress-info-version">
|
20 |
-
<?php if (defined('SEOPRESS_WL_ADMIN_HEADER_INFO') && SEOPRESS_WL_ADMIN_HEADER_INFO !== '') { ?>
|
21 |
-
<?php echo SEOPRESS_WL_ADMIN_HEADER_INFO; ?>
|
22 |
-
<?php } else { ?>
|
23 |
-
<strong>
|
24 |
-
<?php if (is_plugin_active('wp-seopress-insights/seopress-insights.php')) {
|
25 |
-
_e('Insights', 'wp-seopress');
|
26 |
-
}
|
27 |
-
if (is_plugin_active('wp-seopress-insights/seopress-insights.php') && is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
28 |
-
echo ' + ';
|
29 |
-
}
|
30 |
-
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
31 |
-
_e('PRO', 'wp-seopress');
|
32 |
-
} ?>
|
33 |
-
</strong>
|
34 |
-
<?php } ?>
|
35 |
-
</span>
|
36 |
-
<?php } else { ?>
|
37 |
-
<span class="seopress-info-version"><?php _e('FREE', 'wp-seopress'); ?></span>
|
38 |
-
<?php } ?>
|
39 |
-
</a>
|
40 |
-
<div class="seopress-quick-access">
|
41 |
-
<ul>
|
42 |
-
<li>
|
43 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-titles'); ?>">
|
44 |
-
<span class="dashicons dashicons-editor-table"></span>
|
45 |
-
<?php _e('Titles & Metas', 'wp-seopress'); ?>
|
46 |
-
</a>
|
47 |
-
</li>
|
48 |
-
<li>
|
49 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-xml-sitemap'); ?>">
|
50 |
-
<span class="dashicons dashicons-media-spreadsheet"></span>
|
51 |
-
<?php _e('XML / HTML Sitemap', 'wp-seopress'); ?>
|
52 |
-
</a>
|
53 |
-
</li>
|
54 |
-
<li>
|
55 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-social'); ?>">
|
56 |
-
<span class="dashicons dashicons-share"></span>
|
57 |
-
<?php _e('Social Networks', 'wp-seopress'); ?>
|
58 |
-
</a>
|
59 |
-
</li>
|
60 |
-
<li>
|
61 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-google-analytics'); ?>">
|
62 |
-
<span class="dashicons dashicons-chart-area"></span>
|
63 |
-
<?php _e('Analytics', 'wp-seopress'); ?>
|
64 |
-
</a>
|
65 |
-
</li>
|
66 |
-
<li>
|
67 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-advanced'); ?>">
|
68 |
-
<span class="dashicons dashicons-admin-tools"></span>
|
69 |
-
<?php _e('Advanced', 'wp-seopress'); ?>
|
70 |
-
</a>
|
71 |
-
</li>
|
72 |
-
<?php include_once ABSPATH . 'wp-admin/includes/plugin.php';
|
73 |
-
if (is_plugin_active('wp-seopress-insights/seopress-insights.php')) { ?>
|
74 |
-
<li>
|
75 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-insights'); ?>">
|
76 |
-
<span class="dashicons dashicons-chart-line"></span>
|
77 |
-
<?php _e('Insights', 'wp-seopress'); ?>
|
78 |
-
</a>
|
79 |
-
</li>
|
80 |
-
<?php
|
81 |
-
}
|
82 |
-
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) { ?>
|
83 |
-
<li>
|
84 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_woocommerce'); ?>">
|
85 |
-
<span class="dashicons dashicons-cart"></span>
|
86 |
-
<?php _e('WooCommerce', 'wp-seopress'); ?>
|
87 |
-
</a>
|
88 |
-
</li>
|
89 |
-
<li>
|
90 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_edd'); ?>">
|
91 |
-
<span class="dashicons dashicons-cart"></span>
|
92 |
-
<?php _e('Easy Digital Downloads', 'wp-seopress'); ?>
|
93 |
-
</a>
|
94 |
-
</li>
|
95 |
-
<li>
|
96 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_local_business'); ?>">
|
97 |
-
<span class="dashicons dashicons-store"></span>
|
98 |
-
<?php _e('Local Business', 'wp-seopress'); ?>
|
99 |
-
</a>
|
100 |
-
</li>
|
101 |
-
<li>
|
102 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_dublin_core'); ?>">
|
103 |
-
<span class="dashicons dashicons-welcome-learn-more"></span>
|
104 |
-
<?php _e('Dublin Core', 'wp-seopress'); ?>
|
105 |
-
</a>
|
106 |
-
</li>
|
107 |
-
<li>
|
108 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_rich_snippets'); ?>">
|
109 |
-
<span class="dashicons dashicons-media-spreadsheet"></span>
|
110 |
-
<?php _e('Structured Data Types (schema.org)', 'wp-seopress'); ?>
|
111 |
-
</a>
|
112 |
-
</li>
|
113 |
-
<li>
|
114 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_breadcrumbs'); ?>">
|
115 |
-
<span class="dashicons dashicons-feedback"></span>
|
116 |
-
<?php _e('Breadcrumbs', 'wp-seopress'); ?>
|
117 |
-
</a>
|
118 |
-
</li>
|
119 |
-
<li>
|
120 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_page_speed'); ?>">
|
121 |
-
<span class="dashicons dashicons-performance"></span>
|
122 |
-
<?php _e('Google Page Speed', 'wp-seopress'); ?>
|
123 |
-
</a>
|
124 |
-
</li>
|
125 |
-
<?php if ( ! is_multisite() || (is_multisite() && defined('SUBDOMAIN_INSTALL') && true === constant('SUBDOMAIN_INSTALL'))) { //subdomains or single site ?>
|
126 |
-
<li>
|
127 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_robots'); ?>">
|
128 |
-
<span class="dashicons dashicons-media-text"></span>
|
129 |
-
<?php _e('robots.txt', 'wp-seopress'); ?>
|
130 |
-
</a>
|
131 |
-
</li>
|
132 |
-
<?php } ?>
|
133 |
-
<li>
|
134 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_news'); ?>">
|
135 |
-
<span class="dashicons dashicons-admin-post"></span>
|
136 |
-
<?php _e('Google News Sitemap', 'wp-seopress'); ?>
|
137 |
-
</a>
|
138 |
-
</li>
|
139 |
-
<li>
|
140 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_404'); ?>">
|
141 |
-
<span class="dashicons dashicons-admin-links"></span>
|
142 |
-
<?php _e('Redirections', 'wp-seopress'); ?>
|
143 |
-
</a>
|
144 |
-
</li>
|
145 |
-
<li>
|
146 |
-
<a href="<?php echo admin_url('edit.php?post_type=seopress_bot'); ?>">
|
147 |
-
<span class="dashicons dashicons-admin-generic"></span>
|
148 |
-
<?php _e('Broken links', 'wp-seopress'); ?>
|
149 |
-
</a>
|
150 |
-
</li>
|
151 |
-
<li>
|
152 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_rewrite'); ?>">
|
153 |
-
<span class="dashicons dashicons-admin-links"></span>
|
154 |
-
<?php _e('URL Rewriting', 'wp-seopress'); ?>
|
155 |
-
</a>
|
156 |
-
</li>
|
157 |
-
<?php if ( ! is_multisite()) { ?>
|
158 |
-
<li>
|
159 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_white_label'); ?>">
|
160 |
-
<span class="dashicons dashicons-tag"></span>
|
161 |
-
<?php _e('White Label', 'wp-seopress'); ?>
|
162 |
-
</a>
|
163 |
-
</li>
|
164 |
-
<li>
|
165 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_htaccess'); ?>">
|
166 |
-
<span class="dashicons dashicons-media-text"></span>
|
167 |
-
<?php _e('.htaccess', 'wp-seopress'); ?>
|
168 |
-
</a>
|
169 |
-
</li>
|
170 |
-
<?php } ?>
|
171 |
-
<li>
|
172 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_rss'); ?>">
|
173 |
-
<span class="dashicons dashicons-rss"></span>
|
174 |
-
<?php _e('RSS', 'wp-seopress'); ?>
|
175 |
-
</a>
|
176 |
-
</li>
|
177 |
-
<li>
|
178 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-license'); ?>">
|
179 |
-
<span class="dashicons dashicons-admin-network"></span>
|
180 |
-
<?php _e('License', 'wp-seopress'); ?>
|
181 |
-
</a>
|
182 |
-
</li>
|
183 |
-
<?php } ?>
|
184 |
-
<li>
|
185 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-import-export'); ?>">
|
186 |
-
<span class="dashicons dashicons-admin-settings"></span>
|
187 |
-
<?php _e('Tools', 'wp-seopress'); ?>
|
188 |
-
</a>
|
189 |
-
</li>
|
190 |
-
</ul>
|
191 |
-
</div>
|
192 |
-
</h1>
|
193 |
-
<?php
|
194 |
-
|
195 |
-
if (defined('SEOPRESS_WL_ICONS_HEADER') && SEOPRESS_WL_ICONS_HEADER === false) {
|
196 |
-
//do nothing
|
197 |
-
} else {
|
198 |
-
if (function_exists('seopress_get_locale') && 'fr' == seopress_get_locale()) {
|
199 |
-
$seopress_docs_link['changelog'] = 'https://www.seopress.org/fr/journal-modifications/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
|
200 |
-
$seopress_docs_link['website'] = 'https://www.seopress.org/fr/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
|
201 |
-
$seopress_docs_link['support'] = 'https://www.seopress.org/fr/support/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
|
202 |
-
} else {
|
203 |
-
$seopress_docs_link['changelog'] = 'https://www.seopress.org/changelog/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
|
204 |
-
$seopress_docs_link['website'] = 'https://www.seopress.org/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
|
205 |
-
$seopress_docs_link['support'] = 'https://www.seopress.org/support/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
|
206 |
-
} ?>
|
207 |
-
<div id="seopress-notice">
|
208 |
-
<div class="small">
|
209 |
-
<a href="<?php echo $seopress_docs_link['changelog']; ?>" target="_blank">
|
210 |
-
<div class="dashicons dashicons-media-text"></div>
|
211 |
-
<div class="tooltip"><?php _e('See the changelog', 'wp-seopress'); ?></div>
|
212 |
-
</a>
|
213 |
-
<a href="mailto:contact@seopress.org" target="_blank">
|
214 |
-
<div class="dashicons dashicons-megaphone"></div>
|
215 |
-
<div class="tooltip"><?php _e('Send feedback', 'wp-seopress'); ?></div>
|
216 |
-
</a>
|
217 |
-
<a href="https://www.facebook.com/groups/seopress/" target="_blank">
|
218 |
-
<div class="dashicons dashicons-facebook"></div>
|
219 |
-
<div class="tooltip"><?php _e('Join our Facebook Community group', 'wp-seopress'); ?></div>
|
220 |
-
</a>
|
221 |
-
<a href="https://twitter.com/wp_seopress" target="_blank">
|
222 |
-
<div class="dashicons dashicons-twitter"></div>
|
223 |
-
<div class="tooltip"><?php _e('Follow us on Twitter', 'wp-seopress'); ?></div>
|
224 |
-
</a>
|
225 |
-
<a href="https://www.youtube.com/SEOPress" target="_blank">
|
226 |
-
<div class="dashicons dashicons-video-alt3"></div>
|
227 |
-
<div class="tooltip"><?php _e('Follow us on YouTube', 'wp-seopress'); ?></div>
|
228 |
-
</a>
|
229 |
-
<a href="<?php echo $seopress_docs_link['website']; ?>" target="_blank">
|
230 |
-
<div class="dashicons dashicons-info"></div>
|
231 |
-
<div class="tooltip"><?php _e('Official website', 'wp-seopress'); ?></div>
|
232 |
-
</a>
|
233 |
-
<a href="<?php echo $seopress_docs_link['support']; ?>" target="_blank">
|
234 |
-
<div class="dashicons dashicons-editor-help"></div>
|
235 |
-
<div class="tooltip"><?php _e('Support', 'wp-seopress'); ?></div>
|
236 |
-
</a>
|
237 |
-
</div>
|
238 |
-
</div>
|
239 |
-
<?php
|
240 |
-
} ?>
|
241 |
-
</div>
|
242 |
-
</div>
|
243 |
-
</div>
|
244 |
-
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1,77 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks :)');
|
4 |
-
|
5 |
-
|
6 |
-
$data_attr = seopress_metaboxes_init();
|
7 |
-
|
8 |
-
echo '<div class="wrap-seopress-analysis" data-home-id="' . $data_attr['isHomeId'] . '" data-term-id="' . $data_attr['termId'] . '" data_id="' . $data_attr['current_id'] . '" data_origin="' . $data_attr['origin'] . '" data_tax="' . $data_attr['data_tax'] . '">
|
9 |
-
<p>
|
10 |
-
' . __('Enter a few keywords for analysis to help you write optimized content.', 'wp-seopress') . '
|
11 |
-
</p>
|
12 |
-
<p>
|
13 |
-
<span class="label">' . __('Did you know?', 'wp-seopress') . '</span> ' . __('Writing content for your users is the most important thing! If it doesn‘t feel natural, your visitors will leave your site, Google will know it and your ranking will be affected.', 'wp-seopress') . '
|
14 |
-
</p>
|
15 |
-
<div class="col-left">
|
16 |
-
<p>
|
17 |
-
<label for="seopress_analysis_target_kw_meta">' . __('Target keywords', 'wp-seopress') . '
|
18 |
-
' . seopress_tooltip(__('Target keywords', 'wp-seopress'), __('Separate target keywords with commas. Do not use spaces after the commas, unless you want to include them', 'wp-seopress'), esc_html('my super keyword,another keyword,keyword')) . '
|
19 |
-
</label>
|
20 |
-
<input id="seopress_analysis_target_kw_meta" type="text" name="seopress_analysis_target_kw" placeholder="' . esc_html__('Enter your target keywords', 'wp-seopress') . '" aria-label="' . __('Target keywords', 'wp-seopress') . '" value="' . esc_attr($seopress_analysis_target_kw) . '" />
|
21 |
-
</p>';
|
22 |
-
if (empty($seopress_analysis_data)) {
|
23 |
-
echo '<button id="seopress_launch_analysis" type="button" class="button" data_id="' . get_the_ID() . '" data_post_type="' . get_current_screen()->post_type . '">' . __('Analyze my content', 'wp-seopress') . '</button>';
|
24 |
-
} else {
|
25 |
-
echo '<button id="seopress_launch_analysis" type="button" class="button" data_id="' . get_the_ID() . '" data_post_type="' . get_current_screen()->post_type . '">' . __('Refresh analysis', 'wp-seopress') . '</button>';
|
26 |
-
}
|
27 |
-
|
28 |
-
if (is_plugin_active('wp-seopress-insights/seopress-insights.php')) {
|
29 |
-
echo '<button id="seopress_add_to_insights" type="button" class="button-secondary" data_id="' . get_the_ID() . '" data_post_type="' . get_current_screen()->post_type . '">' . __('Track with Insights', 'wp-seopress') . '</button>';
|
30 |
-
echo '<div id="seopress_add_to_insights_status"></div>';
|
31 |
-
echo '<span class="spinner"></span>';
|
32 |
-
}
|
33 |
-
|
34 |
-
echo '<br><p><span class="howto">' . __('To get the most accurate analysis, save your post first. We analyze all of your source code as a search engine would.', 'wp-seopress') . '</span></p>';
|
35 |
-
echo '</div>';
|
36 |
-
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
37 |
-
echo '<div class="col-right">
|
38 |
-
<p>
|
39 |
-
<label for="seopress_google_suggest_kw_meta">' . __('Google suggestions', 'wp-seopress') . '
|
40 |
-
' . seopress_tooltip(__('Google suggestions', 'wp-seopress'), __('Enter a keyword, or a phrase, to find the top 10 Google suggestions instantly. This is useful if you want to work with the long tail technique.', 'wp-seopress'), esc_html('my super keyword,another keyword,keyword')) . '
|
41 |
-
</label>
|
42 |
-
<input id="seopress_google_suggest_kw_meta" type="text" name="seopress_google_suggest_kw" placeholder="' . __('Get suggestions from Google', 'wp-seopress') . '" aria-label="Google suggestions" value="">
|
43 |
-
</p>
|
44 |
-
<button id="seopress_get_suggestions" type="button" class="button">' . __('Get suggestions!', 'wp-seopress') . '</button>';
|
45 |
-
|
46 |
-
echo "<ul id='seopress_suggestions'></ul>";
|
47 |
-
|
48 |
-
if ('' != get_locale()) {
|
49 |
-
$locale = substr(get_locale(), 0, 2);
|
50 |
-
$country_code = substr(get_locale(), -2);
|
51 |
-
} else {
|
52 |
-
$locale = 'en';
|
53 |
-
$country_code = 'US';
|
54 |
-
}
|
55 |
-
|
56 |
-
echo "<script>
|
57 |
-
jQuery('#seopress_get_suggestions').on('click', function(data) {
|
58 |
-
data.preventDefault();
|
59 |
-
|
60 |
-
document.getElementById('seopress_suggestions').innerHTML = '';
|
61 |
-
|
62 |
-
var kws = jQuery('#seopress_google_suggest_kw_meta').val();
|
63 |
-
|
64 |
-
if (kws) {
|
65 |
-
var script = document.createElement('script');
|
66 |
-
script.src = 'https://www.google.com/complete/search?client=firefox&format=rich&hl=" . $locale . "&q='+kws+'&gl=" . $country_code . "&callback=seopress_google_suggest';
|
67 |
-
document.body.appendChild(script);
|
68 |
-
}
|
69 |
-
});
|
70 |
-
</script>
|
71 |
-
</div>";
|
72 |
-
}
|
73 |
-
|
74 |
-
if (function_exists('seopress_get_service')) {
|
75 |
-
$analyzes = seopress_get_service('GetContentAnalysis')->getAnalyzes($post);
|
76 |
-
seopress_get_service('RenderContentAnalysis')->render($analyzes, $seopress_analysis_data);
|
77 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1,622 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks :)');
|
3 |
-
|
4 |
-
global $typenow;
|
5 |
-
global $pagenow;
|
6 |
-
|
7 |
-
function seopress_redirections_value($seopress_redirections_value) {
|
8 |
-
if ('' != $seopress_redirections_value) {
|
9 |
-
return $seopress_redirections_value;
|
10 |
-
}
|
11 |
-
}
|
12 |
-
|
13 |
-
$data_attr = [];
|
14 |
-
$data_attr['data_tax'] = '';
|
15 |
-
$data_attr['termId'] = '';
|
16 |
-
|
17 |
-
if ('post-new.php' == $pagenow || 'post.php' == $pagenow) {
|
18 |
-
$data_attr['current_id'] = get_the_id();
|
19 |
-
$data_attr['origin'] = 'post';
|
20 |
-
$data_attr['title'] = get_the_title($data_attr['current_id']);
|
21 |
-
} elseif ('term.php' == $pagenow || 'edit-tags.php' == $pagenow) {
|
22 |
-
global $tag;
|
23 |
-
$data_attr['current_id'] = $tag->term_id;
|
24 |
-
$data_attr['termId'] = $tag->term_id;
|
25 |
-
$data_attr['origin'] = 'term';
|
26 |
-
$data_attr['data_tax'] = $tag->taxonomy;
|
27 |
-
$data_attr['title'] = $tag->name;
|
28 |
-
}
|
29 |
-
|
30 |
-
$data_attr['isHomeId'] = get_option('page_on_front');
|
31 |
-
if ('0' === $data_attr['isHomeId']) {
|
32 |
-
$data_attr['isHomeId'] = '';
|
33 |
-
}
|
34 |
-
|
35 |
-
if ('term.php' == $pagenow || 'edit-tags.php' == $pagenow) {
|
36 |
-
echo '
|
37 |
-
<tr id="term-seopress" class="form-field">
|
38 |
-
<th scope="row"><h2>' . __('SEO', 'wp-seopress') . '</h2></th>
|
39 |
-
<td>
|
40 |
-
<div id="seopress_cpt">
|
41 |
-
<div class="inside">';
|
42 |
-
}
|
43 |
-
|
44 |
-
echo '<div id="seopress-tabs" data-home-id="' . $data_attr['isHomeId'] . '" data-term-id="' . $data_attr['termId'] . '" data_id="' . $data_attr['current_id'] . '" data_origin="' . $data_attr['origin'] . '" data_tax="' . $data_attr['data_tax'] . '">';
|
45 |
-
|
46 |
-
if ('seopress_404' != $typenow) {
|
47 |
-
$seo_tabs['title-tab'] = '<li><a href="#tabs-1"><span class="dashicons dashicons-editor-table"></span>' . __('Titles settings', 'wp-seopress') . '</a></li>';
|
48 |
-
$seo_tabs['advanced-tab'] = '<li><a href="#tabs-2"><span class="dashicons dashicons-admin-generic"></span>' . __('Advanced', 'wp-seopress') . '<span id="sp-advanced-alert"></span></a></li>';
|
49 |
-
$seo_tabs['social-tab'] = '<li><a href="#tabs-3"><span class="dashicons dashicons-share"></span>' . __('Social', 'wp-seopress') . '</a></li>';
|
50 |
-
}
|
51 |
-
|
52 |
-
$seo_tabs['redirect-tab'] = '<li><a href="#tabs-4"><span class="dashicons dashicons-admin-links"></span>' . __('Redirection', 'wp-seopress') . '</a></li>';
|
53 |
-
|
54 |
-
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
55 |
-
if (function_exists('seopress_get_toggle_option') && '1' == seopress_get_toggle_option('news')) {
|
56 |
-
if ('post-new.php' == $pagenow || 'post.php' == $pagenow) {
|
57 |
-
if ('seopress_404' != $typenow) {
|
58 |
-
$seo_tabs['news-tab'] = '<li><a href="#tabs-5"><span class="dashicons dashicons-admin-post"></span>' . __('Google News', 'wp-seopress') . '</a></li>';
|
59 |
-
}
|
60 |
-
}
|
61 |
-
}
|
62 |
-
if (function_exists('seopress_get_toggle_option') && '1' == seopress_get_toggle_option('xml-sitemap') && function_exists('seopress_xml_sitemap_video_enable_option') && '1' == seopress_xml_sitemap_video_enable_option()) {
|
63 |
-
if ('post-new.php' == $pagenow || 'post.php' == $pagenow) {
|
64 |
-
if ('seopress_404' != $typenow) {
|
65 |
-
$seo_tabs['video-tab'] = '<li><a href="#tabs-6"><span class="dashicons dashicons-format-video"></span>' . __('Video Sitemap', 'wp-seopress') . '</a></li>';
|
66 |
-
}
|
67 |
-
}
|
68 |
-
}
|
69 |
-
}
|
70 |
-
|
71 |
-
$seo_tabs = apply_filters('seopress_metabox_seo_tabs', $seo_tabs);
|
72 |
-
|
73 |
-
if ( ! empty($seo_tabs)) {
|
74 |
-
echo '<ul>';
|
75 |
-
foreach ($seo_tabs as $tab) {
|
76 |
-
echo $tab;
|
77 |
-
}
|
78 |
-
echo '</ul>';
|
79 |
-
}
|
80 |
-
|
81 |
-
if ('seopress_404' != $typenow) {
|
82 |
-
if (array_key_exists('title-tab', $seo_tabs)) {
|
83 |
-
echo '<div id="tabs-1">';
|
84 |
-
if (is_plugin_active('woocommerce/woocommerce.php') && function_exists('wc_get_page_id')) {
|
85 |
-
$shop_page_id = wc_get_page_id('shop');
|
86 |
-
if ('post-new.php' == $pagenow || 'post.php' == $pagenow) {
|
87 |
-
if ($post && absint($shop_page_id) === absint($post->ID)) {
|
88 |
-
echo '<p class="notice notice-info">' . __('This is your <strong>Shop page</strong>. Go to <strong>SEO > Titles & Metas > Archives > Products</strong> ', 'wp-seopress') . ' <a href="' . admin_url('admin.php?page=seopress-titles') . '">' . __('to edit your title and meta description', 'wp-seopress') . '</a></p>';
|
89 |
-
}
|
90 |
-
}
|
91 |
-
}
|
92 |
-
echo '<div class="box-left">
|
93 |
-
<p style="margin-bottom:0">
|
94 |
-
<label for="seopress_titles_title_meta">'
|
95 |
-
. __('Title', 'wp-seopress')
|
96 |
-
. seopress_tooltip(__('Meta title', 'wp-seopress'), __('Titles are critical to give users a quick insight into the content of a result and why it’s relevant to their query. It\'s often the primary piece of information used to decide which result to click on, so it\'s important to use high-quality titles on your web pages.', 'wp-seopress'), esc_html('<title>My super title</title>')) .
|
97 |
-
'</label>
|
98 |
-
<input id="seopress_titles_title_meta" type="text" name="seopress_titles_title" placeholder="' . esc_html__('Enter your title', 'wp-seopress') . '" aria-label="' . __('Title', 'wp-seopress') . '" value="' . $seopress_titles_title . '" />
|
99 |
-
</p>
|
100 |
-
<div class="sp-progress">
|
101 |
-
<div id="seopress_titles_title_counters_progress" class="sp-progress-bar" role="progressbar" style="width: 1%;" aria-valuenow="1" aria-valuemin="0" aria-valuemax="100">1%</div>
|
102 |
-
</div>
|
103 |
-
<div class="wrap-seopress-counters">
|
104 |
-
<div id="seopress_titles_title_pixel"></div>
|
105 |
-
<strong>' . __(' / 568 pixels - ', 'wp-seopress') . '</strong>
|
106 |
-
<div id="seopress_titles_title_counters"></div>
|
107 |
-
' . __(' (maximum recommended limit)', 'wp-seopress') . '
|
108 |
-
</div>
|
109 |
-
|
110 |
-
<div class="wrap-tags">';
|
111 |
-
if ('term.php' == $pagenow || 'edit-tags.php' == $pagenow) {
|
112 |
-
echo '<span id="seopress-tag-single-title" data-tag="%%term_title%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Term Title', 'wp-seopress') . '</span>';
|
113 |
-
} else {
|
114 |
-
echo '<span id="seopress-tag-single-title" data-tag="%%post_title%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Post Title', 'wp-seopress') . '</span>';
|
115 |
-
}
|
116 |
-
echo '<span id="seopress-tag-single-site-title" data-tag="%%sitetitle%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Site Title', 'wp-seopress') . '</span>
|
117 |
-
<span id="seopress-tag-single-sep" data-tag="%%sep%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Separator', 'wp-seopress') . '</span>';
|
118 |
-
|
119 |
-
echo seopress_render_dyn_variables('tag-title');
|
120 |
-
|
121 |
-
echo '</div>
|
122 |
-
|
123 |
-
<p style="margin-bottom:0">
|
124 |
-
<label for="seopress_titles_desc_meta">'
|
125 |
-
. __('Meta description', 'wp-seopress')
|
126 |
-
. seopress_tooltip(__('Meta description', 'wp-seopress'), __('A meta description tag should generally inform and interest users with a short, relevant summary of what a particular page is about. <br>They are like a pitch that convince the user that the page is exactly what they\'re looking for. <br>There\'s no limit on how long a meta description can be, but the search result snippets are truncated as needed, typically to fit the device width.', 'wp-seopress'), esc_html('<meta name="description" content="my super meta description" />')) . '
|
127 |
-
</label>
|
128 |
-
<textarea id="seopress_titles_desc_meta" style="width:100%" rows="4" name="seopress_titles_desc" placeholder="' . esc_html__('Enter your meta description', 'wp-seopress') . '" aria-label="' . __('Meta description', 'wp-seopress') . '" value="' . $seopress_titles_desc . '">' . $seopress_titles_desc . '</textarea>
|
129 |
-
</p>
|
130 |
-
<div class="sp-progress">
|
131 |
-
<div id="seopress_titles_desc_counters_progress" class="sp-progress-bar" role="progressbar" style="width: 1%;" aria-valuenow="1" aria-valuemin="0" aria-valuemax="100">1%</div>
|
132 |
-
</div>
|
133 |
-
<div class="wrap-seopress-counters">
|
134 |
-
<div id="seopress_titles_desc_pixel"></div>
|
135 |
-
<strong>' . __(' / 940 pixels - ', 'wp-seopress') . '</strong>
|
136 |
-
<div id="seopress_titles_desc_counters"></div>
|
137 |
-
' . __(' (maximum recommended limit)', 'wp-seopress') . '
|
138 |
-
</div>
|
139 |
-
<div class="wrap-tags">';
|
140 |
-
if ('term.php' == $pagenow || 'edit-tags.php' == $pagenow) {
|
141 |
-
echo '<span id="seopress-tag-single-excerpt" data-tag="%%_category_description%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Category / term description', 'wp-seopress') . '</span>';
|
142 |
-
} else {
|
143 |
-
echo '<span id="seopress-tag-single-excerpt" data-tag="%%post_excerpt%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Post Excerpt', 'wp-seopress') . '</span>';
|
144 |
-
}
|
145 |
-
echo seopress_render_dyn_variables('tag-description');
|
146 |
-
echo '</div></div>';
|
147 |
-
|
148 |
-
$toggle_preview = 1;
|
149 |
-
$toggle_preview = apply_filters('seopress_toggle_mobile_preview', $toggle_preview);
|
150 |
-
|
151 |
-
echo '<div class="box-right">
|
152 |
-
<div class="google-snippet-preview mobile-preview">
|
153 |
-
<h3>'
|
154 |
-
. __('Google Snippet Preview', 'wp-seopress')
|
155 |
-
. seopress_tooltip(__('Snippet Preview', 'wp-seopress'), __('The Google preview is a simulation. <br>There is no reliable preview because it depends on the screen resolution, the device used, the expression sought, and Google. <br>There is not one snippet for one URL but several. <br>All the data in this overview comes directly from your source code. <br>This is what the crawlers will see.', 'wp-seopress'), null) . '
|
156 |
-
</h3>
|
157 |
-
<p>' . __('This is what your page will look like in Google search results. You have to publish your post to get the Google Snippet Preview.', 'wp-seopress') . '</p>
|
158 |
-
|
159 |
-
<div class="wrap-toggle-preview">
|
160 |
-
<p>
|
161 |
-
<span class="dashicons dashicons-smartphone"></span>
|
162 |
-
' . __('Mobile Preview', 'wp-seopress') . '
|
163 |
-
<input type="checkbox" name="toggle-preview" id="toggle-preview" class="toggle" data-toggle="' . $toggle_preview . '">
|
164 |
-
<label for="toggle-preview"></label>
|
165 |
-
</p>
|
166 |
-
</div>';
|
167 |
-
|
168 |
-
global $tag;
|
169 |
-
|
170 |
-
$gp_title = '';
|
171 |
-
$gp_permalink = '';
|
172 |
-
if (get_the_title()) {
|
173 |
-
$gp_title = '<div class="snippet-title-default" style="display:none">' . get_the_title() . ' - ' . get_bloginfo('name') . '</div>';
|
174 |
-
$gp_permalink = '<div class="snippet-permalink">' . htmlspecialchars(urldecode(get_permalink())) . '</div>';
|
175 |
-
} elseif ($tag) {
|
176 |
-
if (false === is_wp_error(get_term_link($tag))) {
|
177 |
-
$gp_title = '<div class="snippet-title-default" style="display:none">' . $tag->name . ' - ' . get_bloginfo('name') . '</div>';
|
178 |
-
$gp_permalink = '<div class="snippet-permalink">' . htmlspecialchars(urldecode(get_term_link($tag))) . '</div>';
|
179 |
-
}
|
180 |
-
}
|
181 |
-
|
182 |
-
$siteicon = '<div class="snippet-favicon"><img aria-hidden="true" height="16" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABs0lEQVR4AWL4//8/RRjO8Iucx+noO0MWUDo16FYABMGP6ZfUcRnWtm27jVPbtm3bttuH2t3eFPcY9pLz7NxiLjCyVd87pKnHyqXyxtCs8APd0rnyxiu4qSeA3QEDrAwBDrT1s1Rc/OrjLZwqVmOSu6+Lamcpp2KKMA9PH1BYXMe1mUP5qotvXTywsOEEYHXxrY+3cqk6TMkYpNr2FeoY3KIr0RPtn9wQ2unlA+GMkRw6+9TFw4YTwDUzx/JVvARj9KaedXRO8P5B1Du2S32smzqUrcKGEyA+uAgQjKX7zf0boWHGfn71jIKj2689gxp7OAGShNcBUmLMPVjZuiKcA2vuWHHDCQxMCz629kXAIU4ApY15QwggAFbfOP9DhgBJ+nWVJ1AZAfICAj1pAlY6hCADZnveQf7bQIwzVONGJonhLIlS9gr5mFg44Xd+4S3XHoGNPdJl1INIwKyEgHckEhgTe1bGiFY9GSFBYUwLh1IkiJUbY407E7syBSFxKTszEoiE/YdrgCEayDmtaJwCI9uu8TKMuZSVfSa4BpGgzvomBR/INhLGzrqDotp01ZR8pn/1L0JN9d9XNyx0AAAAAElFTkSuQmCC" width="16" alt="favicon"></div>';
|
183 |
-
if (get_site_icon_url(32)) {
|
184 |
-
$siteicon = '<div class="snippet-favicon"><img aria-hidden="true" height="16" src="' . get_site_icon_url(32) . '" width="16" alt="favicon"/></div>';
|
185 |
-
}
|
186 |
-
|
187 |
-
echo '<div class="wrap-snippet">
|
188 |
-
<div class="wrap-m-icon-permalink">' . $siteicon . $gp_permalink . '</div>
|
189 |
-
<div class="snippet-title"></div>
|
190 |
-
<div class="snippet-title-custom" style="display:none"></div>';
|
191 |
-
|
192 |
-
echo $gp_title;
|
193 |
-
echo $gp_permalink;
|
194 |
-
|
195 |
-
if ('post-new.php' == $pagenow || 'post.php' == $pagenow) {
|
196 |
-
echo seopress_display_date_snippet();
|
197 |
-
}
|
198 |
-
echo '<div class="snippet-description">...</div>
|
199 |
-
<div class="snippet-description-custom" style="display:none"></div>
|
200 |
-
<div class="snippet-description-default" style="display:none"></div>';
|
201 |
-
echo '</div>
|
202 |
-
</div>
|
203 |
-
</div>
|
204 |
-
</div>';
|
205 |
-
}
|
206 |
-
if (array_key_exists('advanced-tab', $seo_tabs)) {
|
207 |
-
echo '<div id="tabs-2">
|
208 |
-
<span class="sp-section">' . __('Meta robots settings', 'wp-seopress') . '</span>
|
209 |
-
<p>
|
210 |
-
<label for="seopress_robots_index_meta">
|
211 |
-
<input type="checkbox" name="seopress_robots_index" id="seopress_robots_index_meta" value="yes" ' . checked($seopress_robots_index, 'yes', false) . ' ' . $disabled['robots_index'] . '/>
|
212 |
-
' . __('Do not display this page in search engine results / XML - HTML sitemaps <strong>(noindex)</strong>', 'wp-seopress') . '
|
213 |
-
' . seopress_tooltip(__('"noindex" robots meta tag', 'wp-seopress'), __('By checking this option, you will add a meta robots tag with the value "noindex". <br>Search engines will not index this URL in the search results.', 'wp-seopress'), esc_html('<meta name="robots" content="noindex" />')) . '
|
214 |
-
</label>
|
215 |
-
</p>
|
216 |
-
<p>
|
217 |
-
<label for="seopress_robots_follow_meta">
|
218 |
-
<input type="checkbox" name="seopress_robots_follow" id="seopress_robots_follow_meta" value="yes" ' . checked($seopress_robots_follow, 'yes', false) . ' ' . $disabled['robots_follow'] . '/>
|
219 |
-
' . __('Do not follow links for this page <strong>(nofollow)</strong>', 'wp-seopress') . '
|
220 |
-
' . seopress_tooltip(__('"nofollow" robots meta tag', 'wp-seopress'), __('By checking this option, you will add a meta robots tag with the value "nofollow". <br>Search engines will not follow links from this URL.', 'wp-seopress'), esc_html('<meta name="robots" content="nofollow" />')) . '
|
221 |
-
</label>
|
222 |
-
</p>
|
223 |
-
<p>
|
224 |
-
<label for="seopress_robots_odp_meta">
|
225 |
-
<input type="checkbox" name="seopress_robots_odp" id="seopress_robots_odp_meta" value="yes" ' . checked($seopress_robots_odp, 'yes', false) . ' ' . $disabled['robots_odp'] . '/>
|
226 |
-
' . __('Do not use Open Directory project metadata for titles or excerpts for this page <strong>(noodp)</strong>', 'wp-seopress') . '
|
227 |
-
' . seopress_tooltip(__('"noodp" robots meta tag', 'wp-seopress'), __('By checking this option, you will add a meta robots tag with the value "noodp". <br>Note that Google and Yahoo have stopped considering this tag since the closing of DMOZ directory.', 'wp-seopress'), esc_html('<meta name="robots" content="noodp" />')) . '
|
228 |
-
</label>
|
229 |
-
</p>
|
230 |
-
<p>
|
231 |
-
<label for="seopress_robots_imageindex_meta">
|
232 |
-
<input type="checkbox" name="seopress_robots_imageindex" id="seopress_robots_imageindex_meta" value="yes" ' . checked($seopress_robots_imageindex, 'yes', false) . ' ' . $disabled['imageindex'] . '/>
|
233 |
-
' . __('Do not index images for this page <strong>(noimageindex)</strong>', 'wp-seopress') . '
|
234 |
-
' . seopress_tooltip(__('"noimageindex" robots meta tag', 'wp-seopress'), __('By checking this option, you will add a meta robots tag with the value "noimageindex". <br> Note that your images can always be indexed if they are linked from other pages.', 'wp-seopress'), esc_html('<meta name="google" content="noimageindex" />')) . '
|
235 |
-
</label>
|
236 |
-
</p>
|
237 |
-
<p>
|
238 |
-
<label for="seopress_robots_archive_meta">
|
239 |
-
<input type="checkbox" name="seopress_robots_archive" id="seopress_robots_archive_meta" value="yes" ' . checked($seopress_robots_archive, 'yes', false) . ' ' . $disabled['archive'] . '/>
|
240 |
-
' . __('Do not display a "Cached" link in the Google search results <strong>(noarchive)</strong>', 'wp-seopress') . '
|
241 |
-
' . seopress_tooltip(__('"noarchive" robots meta tag', 'wp-seopress'), __('By checking this option, you will add a meta robots tag with the value "noarchive".', 'wp-seopress'), esc_html('<meta name="robots" content="noarchive" />')) . '
|
242 |
-
</label>
|
243 |
-
</p>
|
244 |
-
<p>
|
245 |
-
<label for="seopress_robots_snippet_meta">
|
246 |
-
<input type="checkbox" name="seopress_robots_snippet" id="seopress_robots_snippet_meta" value="yes" ' . checked($seopress_robots_snippet, 'yes', false) . ' ' . $disabled['snippet'] . '/>
|
247 |
-
' . __('Do not display a description in search results for this page <strong>(nosnippet)</strong>', 'wp-seopress') . '
|
248 |
-
' . seopress_tooltip(__('"nosnippet" robots meta tag', 'wp-seopress'), __('By checking this option, you will add a meta robots tag with the value "nosnippet".', 'wp-seopress'), esc_html('<meta name="robots" content="nosnippet" />')) . '
|
249 |
-
</label>
|
250 |
-
</p>
|
251 |
-
<p class="description">';
|
252 |
-
$url = admin_url('admin.php?page=seopress-titles#tab=tab_seopress_titles_single');
|
253 |
-
/* translators: %s: link to plugin settings page */
|
254 |
-
echo sprintf(__('You cannot uncheck a parameter? This is normal, and it‘s most likely defined in the <a href="%s">global settings of the plugin.</a>', 'wp-seopress'), $url);
|
255 |
-
echo '</p>
|
256 |
-
<p>
|
257 |
-
<label for="seopress_robots_canonical_meta">' . __('Canonical URL', 'wp-seopress') . '
|
258 |
-
' . seopress_tooltip(__('Canonical URL', 'wp-seopress'), __('A canonical URL is the URL of the page that Google thinks is most representative from a set of duplicate pages on your site. <br>For example, if you have URLs for the same page (for example: example.com?dress=1234 and example.com/dresses/1234), Google chooses one as canonical. <br>Note that the pages do not need to be absolutely identical; minor changes in sorting or filtering of list pages do not make the page unique (for example, sorting by price or filtering by item color).
|
259 |
-
The canonical can be in a different domain than a duplicate.', 'wp-seopress'), esc_html('<link rel="canonical" href="https://www.example.com/my-post-url/" />')) . '
|
260 |
-
</label>
|
261 |
-
<input id="seopress_robots_canonical_meta" type="text" name="seopress_robots_canonical" placeholder="' . esc_html__('Default value: ', 'wp-seopress') . htmlspecialchars(urldecode(get_permalink())) . '" aria-label="' . __('Canonical URL', 'wp-seopress') . '" value="' . $seopress_robots_canonical . '" />
|
262 |
-
|
263 |
-
</span>
|
264 |
-
</p>';
|
265 |
-
|
266 |
-
if (('post' == $typenow || 'product' == $typenow) && ('post.php' == $pagenow || 'post-new.php' == $pagenow)) {
|
267 |
-
echo '<p>
|
268 |
-
<label for="seopress_robots_primary_cat_meta">' . __('Select a primary category', 'wp-seopress') . '</label>
|
269 |
-
<span class="description">' . __('Set the category that gets used in the %category% permalink and in our breadcrumbs if you have multiple categories.', 'wp-seopress') . '</p>
|
270 |
-
<select name="seopress_robots_primary_cat">';
|
271 |
-
|
272 |
-
$cats = get_categories();
|
273 |
-
|
274 |
-
if ('product' == $typenow) {
|
275 |
-
$cats = get_the_terms($post, 'product_cat');
|
276 |
-
}
|
277 |
-
|
278 |
-
if ( ! empty($cats)) {
|
279 |
-
echo '<option ' . selected('none', $seopress_robots_primary_cat, false) . ' value="none">' . __('None (will disable this feature)', 'wp-seopress') . '</option>';
|
280 |
-
foreach ($cats as $category) {
|
281 |
-
echo '<option ' . selected($category->term_id, $seopress_robots_primary_cat, false) . ' value="' . $category->term_id . '">' . $category->name . '</option>';
|
282 |
-
}
|
283 |
-
}
|
284 |
-
echo '</select>
|
285 |
-
</p>';
|
286 |
-
}
|
287 |
-
|
288 |
-
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
289 |
-
echo '<p>
|
290 |
-
<label for="seopress_robots_breadcrumbs_meta">' . __('Custom breadcrumbs', 'wp-seopress') . '</label>
|
291 |
-
<span class="description">' . __('Enter a custom value, useful if your title is too long', 'wp-seopress') . '</span>
|
292 |
-
</p>
|
293 |
-
<p>
|
294 |
-
<input id="seopress_robots_breadcrumbs_meta" type="text" name="seopress_robots_breadcrumbs" placeholder="' . esc_html(sprintf(__('Current breadcrumbs: %s', 'wp-seopress'), $data_attr['title'])) . '" aria-label="' . __('Custom breadcrumbs', 'wp-seopress') . '" value="' . $seopress_robots_breadcrumbs . '" />
|
295 |
-
</p>';
|
296 |
-
}
|
297 |
-
echo '</div>';
|
298 |
-
}
|
299 |
-
if (array_key_exists('social-tab', $seo_tabs)) {
|
300 |
-
echo '<div id="tabs-3">
|
301 |
-
<div class="box-left">
|
302 |
-
<span class="dashicons dashicons-facebook-alt"></span>
|
303 |
-
<br><br>
|
304 |
-
<span class="dashicons dashicons-external"></span><a href="https://developers.facebook.com/tools/debug/sharing/?q=' . get_permalink(get_the_id()) . '" target="_blank">' . __('Ask Facebook to update its cache', 'wp-seopress') . '</a>
|
305 |
-
<p>' . __('<span class="label">Did you know?</span> LinkedIn, Instagram and Pinterest use the same social metadata as Facebook. Twitter does the same if no Twitter cards tags are defined below.', 'wp-seopress') . '</p>
|
306 |
-
<p>
|
307 |
-
<label for="seopress_social_fb_title_meta">' . __('Facebook Title', 'wp-seopress') . '</label>
|
308 |
-
<input id="seopress_social_fb_title_meta" type="text" name="seopress_social_fb_title" placeholder="' . esc_html__('Enter your Facebook title', 'wp-seopress') . '" aria-label="' . __('Facebook Title', 'wp-seopress') . '" value="' . $seopress_social_fb_title . '" />
|
309 |
-
</p>
|
310 |
-
<p>
|
311 |
-
<label for="seopress_social_fb_desc_meta">' . __('Facebook description', 'wp-seopress') . '</label>
|
312 |
-
<textarea id="seopress_social_fb_desc_meta" name="seopress_social_fb_desc" placeholder="' . esc_html__('Enter your Facebook description', 'wp-seopress') . '" aria-label="' . __('Facebook description', 'wp-seopress') . '" value="' . $seopress_social_fb_desc . '">' . $seopress_social_fb_desc . '</textarea>
|
313 |
-
</p>
|
314 |
-
<p>
|
315 |
-
<label for="seopress_social_fb_img_meta">' . __('Facebook Thumbnail', 'wp-seopress') . '</label>
|
316 |
-
<input id="seopress_social_fb_img_meta" type="text" name="seopress_social_fb_img" placeholder="' . esc_html__('Select your default thumbnail', 'wp-seopress') . '" aria-label="' . __('Facebook Thumbnail', 'wp-seopress') . '" value="' . $seopress_social_fb_img . '" />
|
317 |
-
<span class="advise">' . __('Minimum size: 200x200px, ideal ratio 1.91:1, 8Mb max. (eg: 1640x856px or 3280x1712px for retina screens)', 'wp-seopress') . '</span>
|
318 |
-
<input id="seopress_social_fb_img_upload" class="button" type="button" value="' . __('Upload an Image', 'wp-seopress') . '" />
|
319 |
-
</p>
|
320 |
-
</div>
|
321 |
-
<div class="box-right">
|
322 |
-
<div class="facebook-snippet-preview">
|
323 |
-
<h3>' . __('Facebook Preview', 'wp-seopress') . '</h3>';
|
324 |
-
if ('1' == seopress_get_toggle_option('social')) {
|
325 |
-
echo '<p>' . __('This is what your post will look like in Facebook. You have to publish your post to get the Facebook Preview.', 'wp-seopress') . '</p>';
|
326 |
-
} else {
|
327 |
-
echo '<p class="notice notice-error" style="margin: 0 0 1rem 0">' . __('The Social Networks feature is disabled. Still seing informations from the FB Preview? You probably have social tags added by your theme or a plugin.', 'wp-seopress') . '</p>';
|
328 |
-
}
|
329 |
-
echo '<div class="facebook-snippet-box">
|
330 |
-
<div class="snippet-fb-img-alert alert1" style="display:none"><p class="notice notice-error">' . __('File type not supported by Facebook. Please choose another image.', 'wp-seopress') . '</p></div>
|
331 |
-
<div class="snippet-fb-img-alert alert2" style="display:none"><p class="notice notice-error">' . __('Minimun size for Facebook is <strong>200x200px</strong>. Please choose another image.', 'wp-seopress') . '</p></div>
|
332 |
-
<div class="snippet-fb-img-alert alert3" style="display:none"><p class="notice notice-error">' . __('File error. Please choose another image.', 'wp-seopress') . '</p></div>
|
333 |
-
<div class="snippet-fb-img-alert alert4" style="display:none"><p class="notice notice-info">' . __('Your image ratio is: ', 'wp-seopress') . '<span></span>. ' . __('The closer to 1.91 the better.', 'wp-seopress') . '</p></div>
|
334 |
-
<div class="snippet-fb-img-alert alert5" style="display:none"><p class="notice notice-error">' . __('File URL is not valid.', 'wp-seopress') . '</p></div>
|
335 |
-
<div class="snippet-fb-img"><img src="" width="524" height="274" alt="" aria-label=""/></div>
|
336 |
-
<div class="snippet-fb-img-custom" style="display:none"><img src="" width="524" height="274" alt="" aria-label=""/></div>
|
337 |
-
<div class="snippet-fb-img-default" style="display:none"><img src="" width="524" height="274" alt="" aria-label=""/></div>
|
338 |
-
|
339 |
-
<div class="facebook-snippet-text">
|
340 |
-
<div class="snippet-meta">
|
341 |
-
<div class="snippet-fb-url"></div>
|
342 |
-
<div class="fb-sep">|</div>
|
343 |
-
<div class="fb-by">' . __('By ', 'wp-seopress') . '</div>
|
344 |
-
<div class="snippet-fb-site-name"></div>
|
345 |
-
</div>
|
346 |
-
<div class="title-desc">
|
347 |
-
<div class="snippet-fb-title"></div>
|
348 |
-
<div class="snippet-fb-title-custom" style="display:none"></div>';
|
349 |
-
global $tag;
|
350 |
-
if (get_the_title()) {
|
351 |
-
echo '<div class="snippet-fb-title-default" style="display:none">' . get_the_title() . ' - ' . get_bloginfo('name') . '</div>';
|
352 |
-
} elseif ($tag) {
|
353 |
-
echo '<div class="snippet-fb-title-default" style="display:none">' . $tag->name . ' - ' . get_bloginfo('name') . '</div>';
|
354 |
-
}
|
355 |
-
echo '<div class="snippet-fb-description">...</div>
|
356 |
-
<div class="snippet-fb-description-custom" style="display:none"></div>
|
357 |
-
<div class="snippet-fb-description-default" style="display:none"></div>';
|
358 |
-
echo '</div>
|
359 |
-
</div>
|
360 |
-
</div>
|
361 |
-
</div>
|
362 |
-
</div>
|
363 |
-
<div class="clear"></div>
|
364 |
-
<div class="box-left">
|
365 |
-
<br/>
|
366 |
-
<span class="dashicons dashicons-twitter"></span>
|
367 |
-
<br><br>
|
368 |
-
<span class="dashicons dashicons-external"></span><a href="https://cards-dev.twitter.com/validator" target="_blank">' . __('Preview your Twitter card using the official validator', 'wp-seopress') . '</a>
|
369 |
-
<p>
|
370 |
-
<label for="seopress_social_twitter_title_meta">' . __('Twitter Title', 'wp-seopress') . '</label>
|
371 |
-
<input id="seopress_social_twitter_title_meta" type="text" name="seopress_social_twitter_title" placeholder="' . esc_html__('Enter your Twitter title', 'wp-seopress') . '" aria-label="' . __('Twitter Title', 'wp-seopress') . '" value="' . $seopress_social_twitter_title . '" />
|
372 |
-
</p>
|
373 |
-
<p>
|
374 |
-
<label for="seopress_social_twitter_desc_meta">' . __('Twitter description', 'wp-seopress') . '</label>
|
375 |
-
<textarea id="seopress_social_twitter_desc_meta" name="seopress_social_twitter_desc" placeholder="' . esc_html__('Enter your Twitter description', 'wp-seopress') . '" aria-label="' . __('Twitter description', 'wp-seopress') . '" value="' . $seopress_social_twitter_desc . '">' . $seopress_social_twitter_desc . '</textarea>
|
376 |
-
</p>
|
377 |
-
<p>
|
378 |
-
<label for="seopress_social_twitter_img_meta">' . __('Twitter Thumbnail', 'wp-seopress') . '</label>
|
379 |
-
<input id="seopress_social_twitter_img_meta" type="text" name="seopress_social_twitter_img" placeholder="' . esc_html__('Select your default thumbnail', 'wp-seopress') . '" value="' . $seopress_social_twitter_img . '" />
|
380 |
-
<span class="advise">' . __('Minimum size: 144x144px (300x157px with large card enabled), ideal ratio 1:1 (2:1 with large card), 5Mb max.', 'wp-seopress') . '</span>
|
381 |
-
<input id="seopress_social_twitter_img_upload" class="button" type="button" aria-label="' . __('Twitter Thumbnail', 'wp-seopress') . '" value="' . __('Upload an Image', 'wp-seopress') . '" />
|
382 |
-
</p>
|
383 |
-
</div>
|
384 |
-
<div class="box-right">
|
385 |
-
<div class="twitter-snippet-preview">
|
386 |
-
<h3>' . __('Twitter Preview', 'wp-seopress') . '</h3>';
|
387 |
-
if ('1' == seopress_get_toggle_option('social')) {
|
388 |
-
echo '<p>' . __('This is what your post will look like in Twitter. You have to publish your post to get the Twitter Preview.', 'wp-seopress') . '</p>';
|
389 |
-
} else {
|
390 |
-
echo '<p class="notice notice-error" style="margin: 0 0 1rem 0">' . __('The Social Networks feature is disabled. Still seing informations from the Twitter Preview? You probably have social tags added by your theme or a plugin.', 'wp-seopress') . '</p>';
|
391 |
-
}
|
392 |
-
echo '<div class="twitter-snippet-box">
|
393 |
-
<div class="snippet-twitter-img-alert alert1" style="display:none"><p class="notice notice-error">' . __('File type not supported by Twitter. Please choose another image.', 'wp-seopress') . '</p></div>
|
394 |
-
<div class="snippet-twitter-img-alert alert2" style="display:none"><p class="notice notice-error">' . __('Minimun size for Twitter is <strong>144x144px</strong>. Please choose another image.', 'wp-seopress') . '</p></div>
|
395 |
-
<div class="snippet-twitter-img-alert alert3" style="display:none"><p class="notice notice-error">' . __('File error. Please choose another image.', 'wp-seopress') . '</p></div>
|
396 |
-
<div class="snippet-twitter-img-alert alert4" style="display:none"><p class="notice notice-info">' . __('Your image ratio is: ', 'wp-seopress') . '<span></span>. ' . __('The closer to 1 the better (with large card, 2 is better).', 'wp-seopress') . '</p></div>
|
397 |
-
<div class="snippet-twitter-img-alert alert5" style="display:none"><p class="notice notice-error">' . __('File URL is not valid.', 'wp-seopress') . '</p></div>
|
398 |
-
<div class="snippet-twitter-img"><img src="" width="524" height="274" alt="" aria-label=""/></div>
|
399 |
-
<div class="snippet-twitter-img-custom" style="display:none"><img src="" width="600" height="314" alt="" aria-label=""/></div>
|
400 |
-
<div class="snippet-twitter-img-default" style="display:none"><img src="" width="600" height="314" alt="" aria-label=""/></div>
|
401 |
-
|
402 |
-
<div class="twitter-snippet-text">
|
403 |
-
<div class="title-desc">
|
404 |
-
<div class="snippet-twitter-title"></div>
|
405 |
-
<div class="snippet-twitter-title-custom" style="display:none"></div>';
|
406 |
-
global $tag;
|
407 |
-
if (get_the_title()) {
|
408 |
-
echo '<div class="snippet-twitter-title-default" style="display:none">' . get_the_title() . ' - ' . get_bloginfo('name') . '</div>';
|
409 |
-
} elseif ($tag) {
|
410 |
-
echo '<div class="snippet-twitter-title-default" style="display:none">' . $tag->name . ' - ' . get_bloginfo('name') . '</div>';
|
411 |
-
}
|
412 |
-
echo '<div class="snippet-twitter-description">...</div>
|
413 |
-
<div class="snippet-twitter-description-custom" style="display:none"></div>
|
414 |
-
<div class="snippet-twitter-description-default" style="display:none"></div>';
|
415 |
-
echo '</div>
|
416 |
-
<div class="snippet-meta">
|
417 |
-
<div class="snippet-twitter-url"></div>
|
418 |
-
</div>
|
419 |
-
</div>
|
420 |
-
</div>
|
421 |
-
</div>
|
422 |
-
</div>
|
423 |
-
</div>';
|
424 |
-
}
|
425 |
-
}
|
426 |
-
|
427 |
-
if (array_key_exists('redirect-tab', $seo_tabs)) {
|
428 |
-
echo '<div id="tabs-4">
|
429 |
-
<p>
|
430 |
-
<label for="seopress_redirections_enabled_meta" id="seopress_redirections_enabled">
|
431 |
-
<input type="checkbox" name="seopress_redirections_enabled" id="seopress_redirections_enabled_meta" value="yes" ' . checked($seopress_redirections_enabled, 'yes', false) . ' />
|
432 |
-
' . __('Enable redirection?', 'wp-seopress') . '
|
433 |
-
</label>
|
434 |
-
</p>
|
435 |
-
<p>
|
436 |
-
<label for="seopress_redirections_value_meta">' . __('URL redirection', 'wp-seopress') . '</label>
|
437 |
-
<select name="seopress_redirections_type">
|
438 |
-
<option ' . selected('301', $seopress_redirections_type, false) . ' value="301">' . __('301 Moved Permanently', 'wp-seopress') . '</option>
|
439 |
-
<option ' . selected('302', $seopress_redirections_type, false) . ' value="302">' . __('302 Found / Moved Temporarily', 'wp-seopress') . '</option>
|
440 |
-
<option ' . selected('307', $seopress_redirections_type, false) . ' value="307">' . __('307 Moved Temporarily', 'wp-seopress') . '</option>
|
441 |
-
<option ' . selected('410', $seopress_redirections_type, false) . ' value="410">' . __('410 Gone', 'wp-seopress') . '</option>
|
442 |
-
<option ' . selected('451', $seopress_redirections_type, false) . ' value="451">' . __('451 Unavailable For Legal Reasons', 'wp-seopress') . '</option>
|
443 |
-
</select>
|
444 |
-
<input id="seopress_redirections_value_meta" type="text" name="seopress_redirections_value" placeholder="' . esc_html__('Enter your new URL in absolute (eg: https://www.example.com/)', 'wp-seopress') . '" aria-label="' . __('URL redirection', 'wp-seopress') . '" value="' . $seopress_redirections_value . '" />
|
445 |
-
<br><br>
|
446 |
-
</p>';
|
447 |
-
if ('seopress_404' == $typenow) {
|
448 |
-
echo '<p>
|
449 |
-
<label for="seopress_redirections_param_meta">' . __('Query parameters', 'wp-seopress') . '</label>
|
450 |
-
<select name="seopress_redirections_param">
|
451 |
-
<option ' . selected('exact_match', $seopress_redirections_param, false) . ' value="exact_match">' . __('Exactly match all parameters', 'wp-seopress') . '</option>
|
452 |
-
<option ' . selected('without_param', $seopress_redirections_param, false) . ' value="without_param">' . __('Exclude all parameters', 'wp-seopress') . '</option>
|
453 |
-
<option ' . selected('with_ignored_param', $seopress_redirections_param, false) . ' value="with_ignored_param">' . __('Exclude all parameters and pass them to the redirection', 'wp-seopress') . '</option>
|
454 |
-
</select></p>';
|
455 |
-
}
|
456 |
-
echo '<p>';
|
457 |
-
if ('yes' == $seopress_redirections_enabled) {
|
458 |
-
$status_code = ['410', '451'];
|
459 |
-
if ('' != $seopress_redirections_value || in_array($seopress_redirections_type, $status_code)) {
|
460 |
-
if ('post-new.php' == $pagenow || 'post.php' == $pagenow) {
|
461 |
-
if ('seopress_404' == $typenow) {
|
462 |
-
echo '<a href="' . get_home_url() . '/' . get_the_title() . '" id="seopress_redirections_value_default" class="button" target="_blank">' . __('Test your URL', 'wp-seopress') . '</a>';
|
463 |
-
} else {
|
464 |
-
echo '<a href="' . get_permalink() . '" id="seopress_redirections_value_default" class="button" target="_blank">' . __('Test your URL', 'wp-seopress') . '</a>';
|
465 |
-
}
|
466 |
-
} elseif ('term.php' == $pagenow) {
|
467 |
-
echo '<a href="' . get_term_link($term) . '" id="seopress_redirections_value_default" class="button" target="_blank">' . __('Test your URL', 'wp-seopress') . '</a>';
|
468 |
-
} else {
|
469 |
-
echo '<a href="' . get_permalink() . '" id="seopress_redirections_value_default" class="button" target="_blank">' . __('Test your URL', 'wp-seopress') . '</a>';
|
470 |
-
}
|
471 |
-
}
|
472 |
-
}
|
473 |
-
|
474 |
-
if ((function_exists('seopress_mu_white_label_help_links_option') && '1' !== seopress_mu_white_label_help_links_option()) || (function_exists('seopress_white_label_help_links_option') && '1' !== seopress_white_label_help_links_option())) {
|
475 |
-
if (function_exists('seopress_get_locale') && 'fr' == seopress_get_locale()) {
|
476 |
-
$seopress_docs_link['support']['redirection'] = 'https://www.seopress.org/fr/support/guides/activer-redirections-301-surveillance-404/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
|
477 |
-
} else {
|
478 |
-
$seopress_docs_link['support']['redirection'] = 'https://www.seopress.org/support/guides/redirections/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
|
479 |
-
} ?>
|
480 |
-
<span class="seopress-help dashicons dashicons-external"></span>
|
481 |
-
<a href="<?php echo $seopress_docs_link['support']['redirection']; ?>" target="_blank" class="seopress-help seopress-doc"><?php _e('Need help with your redirections? Read our guide.', 'wp-seopress'); ?></a>
|
482 |
-
<?php echo '</p>';
|
483 |
-
}
|
484 |
-
echo '</div>';
|
485 |
-
}
|
486 |
-
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
487 |
-
if (function_exists('seopress_get_toggle_option') && '1' == seopress_get_toggle_option('news')) {
|
488 |
-
if ('post-new.php' == $pagenow || 'post.php' == $pagenow) {
|
489 |
-
if ('seopress_404' != $typenow) {
|
490 |
-
if (array_key_exists('news-tab', $seo_tabs)) {
|
491 |
-
echo '<div id="tabs-5">
|
492 |
-
<p>
|
493 |
-
<label for="seopress_news_disabled_meta" id="seopress_news_disabled">
|
494 |
-
<input type="checkbox" name="seopress_news_disabled" id="seopress_news_disabled_meta" value="yes" ' . checked($seopress_news_disabled, 'yes', false) . ' />
|
495 |
-
' . __('Exclude this post from Google News Sitemap?', 'wp-seopress') . '
|
496 |
-
</label>
|
497 |
-
</p>
|
498 |
-
</div>';
|
499 |
-
}
|
500 |
-
}
|
501 |
-
}
|
502 |
-
}
|
503 |
-
if (function_exists('seopress_get_toggle_option') && '1' == seopress_get_toggle_option('xml-sitemap') && function_exists('seopress_xml_sitemap_video_enable_option') && '1' == seopress_xml_sitemap_video_enable_option()) {
|
504 |
-
if ('post-new.php' == $pagenow || 'post.php' == $pagenow) {
|
505 |
-
if ('seopress_404' != $typenow) {
|
506 |
-
//Init $seopress_video array if empty
|
507 |
-
if (empty($seopress_video)) {
|
508 |
-
$seopress_video = ['0' => ['']];
|
509 |
-
}
|
510 |
-
|
511 |
-
$count = $seopress_video[0];
|
512 |
-
end($count);
|
513 |
-
$total = key($count);
|
514 |
-
|
515 |
-
if (array_key_exists('video-tab', $seo_tabs)) {
|
516 |
-
echo '<div id="tabs-6">
|
517 |
-
<p>
|
518 |
-
<label for="seopress_video_disabled_meta" id="seopress_video_disabled">
|
519 |
-
<input type="checkbox" name="seopress_video_disabled" id="seopress_video_disabled_meta" value="yes" ' . checked($seopress_video_disabled, 'yes', false) . ' />
|
520 |
-
' . __('Exclude this post from Video Sitemap?', 'wp-seopress') . '
|
521 |
-
</label>
|
522 |
-
<span class="advise">' . __('If your post is set to noindex, it will be automatically excluded from the sitemap.', 'wp-seopress') . '</span>
|
523 |
-
</p>
|
524 |
-
<div id="wrap-videos" data-count="' . $total . '">';
|
525 |
-
foreach ($seopress_video[0] as $key => $value) {
|
526 |
-
$check_url = isset($seopress_video[0][$key]['url']) ? esc_attr($seopress_video[0][$key]['url']) : null;
|
527 |
-
$check_internal_video = isset($seopress_video[0][$key]['internal_video']) ? esc_attr($seopress_video[0][$key]['internal_video']) : null;
|
528 |
-
$check_title = isset($seopress_video[0][$key]['title']) ? esc_attr($seopress_video[0][$key]['title']) : null;
|
529 |
-
$check_desc = isset($seopress_video[0][$key]['desc']) ? esc_attr($seopress_video[0][$key]['desc']) : null;
|
530 |
-
$check_thumbnail = isset($seopress_video[0][$key]['thumbnail']) ? esc_attr($seopress_video[0][$key]['thumbnail']) : null;
|
531 |
-
$check_duration = isset($seopress_video[0][$key]['duration']) ? esc_attr($seopress_video[0][$key]['duration']) : null;
|
532 |
-
$check_rating = isset($seopress_video[0][$key]['rating']) ? esc_attr($seopress_video[0][$key]['rating']) : null;
|
533 |
-
$check_view_count = isset($seopress_video[0][$key]['view_count']) ? esc_attr($seopress_video[0][$key]['view_count']) : null;
|
534 |
-
$check_view_count = isset($seopress_video[0][$key]['view_count']) ? esc_attr($seopress_video[0][$key]['view_count']) : null;
|
535 |
-
$check_tag = isset($seopress_video[0][$key]['tag']) ? esc_attr($seopress_video[0][$key]['tag']) : null;
|
536 |
-
$check_cat = isset($seopress_video[0][$key]['cat']) ? esc_attr($seopress_video[0][$key]['cat']) : null;
|
537 |
-
$check_family_friendly = isset($seopress_video[0][$key]['family_friendly']) ? esc_attr($seopress_video[0][$key]['family_friendly']) : null;
|
538 |
-
|
539 |
-
echo '<div class="video">
|
540 |
-
<h3 class="accordion-section-title" tabindex="0">' . __('Video ', 'wp-seopress') . $check_title . '</h3>
|
541 |
-
<div class="accordion-section-content">
|
542 |
-
<div class="inside">
|
543 |
-
<p>
|
544 |
-
<label for="seopress_video[' . $key . '][url_meta]">' . __('Video URL (required)', 'wp-seopress') . '</label>
|
545 |
-
<input id="seopress_video[' . $key . '][url_meta]" type="text" name="seopress_video[' . $key . '][url]" placeholder="' . esc_html__('Enter your video URL', 'wp-seopress') . '" aria-label="' . __('Video URL', 'wp-seopress') . '" value="' . $check_url . '" />
|
546 |
-
</p>
|
547 |
-
<p class="internal_video">
|
548 |
-
<label for="seopress_video[' . $key . '][internal_video_meta]" id="seopress_video[' . $key . '][internal_video]">
|
549 |
-
<input type="checkbox" name="seopress_video[' . $key . '][internal_video]" id="seopress_video[' . $key . '][internal_video_meta]" value="yes" ' . checked($check_internal_video, 'yes', false) . ' />
|
550 |
-
' . __('NOT an external video (eg: video hosting on YouTube, Vimeo, Wistia...)? Check this if your video is hosting on this server.', 'wp-seopress') . '
|
551 |
-
</label>
|
552 |
-
</p>
|
553 |
-
<p>
|
554 |
-
<label for="seopress_video[' . $key . '][title_meta]">' . __('Video Title (required)', 'wp-seopress') . '</label>
|
555 |
-
<input id="seopress_video[' . $key . '][title_meta]" type="text" name="seopress_video[' . $key . '][title]" placeholder="' . esc_html__('Enter your video title', 'wp-seopress') . '" aria-label="' . __('Video title', 'wp-seopress') . '" value="' . $check_title . '" />
|
556 |
-
<span class="advise">' . __('Default: title tag, if not available, post title.', 'wp-seopress') . '</span>
|
557 |
-
</p>
|
558 |
-
<p>
|
559 |
-
<label for="seopress_video[' . $key . '][desc_meta]">' . __('Video Description (required)', 'wp-seopress') . '</label>
|
560 |
-
<textarea id="seopress_video[' . $key . '][desc_meta]" name="seopress_video[' . $key . '][desc]" placeholder="' . esc_html__('Enter your video description', 'wp-seopress') . '" aria-label="' . __('Video description', 'wp-seopress') . '" value="' . $check_desc . '">' . $check_desc . '</textarea>
|
561 |
-
<span class="advise">' . __('2048 characters max.; default: meta description. If not available, use the beginning of the post content.', 'wp-seopress') . '</span>
|
562 |
-
</p>
|
563 |
-
<p>
|
564 |
-
<label for="seopress_video[' . $key . '][thumbnail_meta]">' . __('Video Thumbnail (required)', 'wp-seopress') . '</label>
|
565 |
-
<input id="seopress_video[' . $key . '][thumbnail_meta]" class="seopress_video_thumbnail_meta" type="text" name="seopress_video[' . $key . '][thumbnail]" placeholder="' . esc_html__('Select your video thumbnail', 'wp-seopress') . '" value="' . $check_thumbnail . '" />
|
566 |
-
<input class="button seopress_video_thumbnail_upload seopress_media_upload" type="button" aria-label="' . __('Video Thumbnail', 'wp-seopress') . '" value="' . __('Upload an Image', 'wp-seopress') . '" />
|
567 |
-
<span class="advise">' . __('Minimum size: 160x90px (1920x1080 max), JPG, PNG or GIF formats. Default: your post featured image.', 'wp-seopress') . '</span>
|
568 |
-
</p>
|
569 |
-
<p>
|
570 |
-
<label for="seopress_video[' . $key . '][duration_meta]">' . __('Video Duration (recommended)', 'wp-seopress') . '</label>
|
571 |
-
<input id="seopress_video[' . $key . '][duration_meta]" type="number" step="1" min="0" max="28800" name="seopress_video[' . $key . '][duration]" placeholder="' . esc_html__('Duration in seconds', 'wp-seopress') . '" aria-label="' . __('Video duration', 'wp-seopress') . '" value="' . $check_duration . '" />
|
572 |
-
<span class="advise">' . __('The duration of the video in seconds. Value must be between 0 and 28800 (8 hours).', 'wp-seopress') . '</span>
|
573 |
-
</p>
|
574 |
-
<p>
|
575 |
-
<label for="seopress_video[' . $key . '][rating_meta]">' . __('Video Rating', 'wp-seopress') . '</label>
|
576 |
-
<input id="seopress_video[' . $key . '][rating_meta]" type="number" step="0.1" min="0" max="5" name="seopress_video[' . $key . '][rating]" placeholder="' . esc_html__('Video rating', 'wp-seopress') . '" aria-label="' . __('Video rating', 'wp-seopress') . '" value="' . $check_rating . '" />
|
577 |
-
<span class="advise">' . __('Allowed values are float numbers in the range 0.0 to 5.0.', 'wp-seopress') . '</span>
|
578 |
-
</p>
|
579 |
-
<p>
|
580 |
-
<label for="seopress_video[' . $key . '][view_count_meta]">' . __('View count', 'wp-seopress') . '</label>
|
581 |
-
<input id="seopress_video[' . $key . '][view_count_meta]" type="number" name="seopress_video[' . $key . '][view_count]" placeholder="' . esc_html__('Number of views', 'wp-seopress') . '" aria-label="' . __('View count', 'wp-seopress') . '" value="' . $check_view_count . '" />
|
582 |
-
</p>
|
583 |
-
<p>
|
584 |
-
<label for="seopress_video[' . $key . '][tag_meta]">' . __('Video tags', 'wp-seopress') . '</label>
|
585 |
-
<input id="seopress_video[' . $key . '][tag_meta]" type="text" name="seopress_video[' . $key . '][tag]" placeholder="' . esc_html__('Enter your video tags', 'wp-seopress') . '" aria-label="' . __('Video tags', 'wp-seopress') . '" value="' . $check_tag . '" />
|
586 |
-
<span class="advise">' . __('32 tags max., separate tags with commas. Default: target keywords + post tags if available.', 'wp-seopress') . '</span>
|
587 |
-
</p>
|
588 |
-
<p>
|
589 |
-
<label for="seopress_video[' . $key . '][cat_meta]">' . __('Video categories', 'wp-seopress') . '</label>
|
590 |
-
<input id="seopress_video[' . $key . '][cat_meta]" type="text" name="seopress_video[' . $key . '][cat]" placeholder="' . esc_html__('Enter your video categories', 'wp-seopress') . '" aria-label="' . __('Video categories', 'wp-seopress') . '" value="' . $check_cat . '" />
|
591 |
-
<span class="advise">' . __('256 characters max., usually a video will belong to a single category, separate categories with commas. Default: first post category if available.', 'wp-seopress') . '</span>
|
592 |
-
</p>
|
593 |
-
<p class="family-friendly">
|
594 |
-
<label for="seopress_video[' . $key . '][family_friendly_meta]" id="seopress_video[' . $key . '][family_friendly]">
|
595 |
-
<input type="checkbox" name="seopress_video[' . $key . '][family_friendly]" id="seopress_video[' . $key . '][family_friendly_meta]" value="yes" ' . checked($check_family_friendly, 'yes', false) . ' />
|
596 |
-
' . __('NOT family friendly?', 'wp-seopress') . '
|
597 |
-
</label>
|
598 |
-
<span class="advise">' . __('The video will be available only to users with SafeSearch turned off.', 'wp-seopress') . '</span>
|
599 |
-
</p>
|
600 |
-
<p><a href="#" class="remove-video button">' . __('Remove video', 'wp-seopress') . '</a></p>
|
601 |
-
</div>
|
602 |
-
</div>
|
603 |
-
</div>
|
604 |
-
';
|
605 |
-
}
|
606 |
-
echo '</div>
|
607 |
-
<p><a href="#" id="add-video" class="add-video button button-primary">' . __('Add video', 'wp-seopress') . '</a></p>
|
608 |
-
</div>';
|
609 |
-
}
|
610 |
-
}
|
611 |
-
}
|
612 |
-
}
|
613 |
-
}
|
614 |
-
echo '</div>';
|
615 |
-
|
616 |
-
if ('term.php' == $pagenow || 'edit-tags.php' == $pagenow) {
|
617 |
-
echo '</div>';
|
618 |
-
echo '</div>';
|
619 |
-
echo '</td>';
|
620 |
-
echo '</tr>';
|
621 |
-
}
|
622 |
-
echo '<input type="hidden" id="seo_tabs" name="seo_tabs" value="' . htmlspecialchars(json_encode(array_keys($seo_tabs))) . '">';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1,1007 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
// To prevent calling the plugin directly
|
3 |
-
if ( ! function_exists('add_action')) {
|
4 |
-
echo 'Please don’t call the plugin directly. Thanks :)';
|
5 |
-
exit;
|
6 |
-
}
|
7 |
-
//Notifications Center
|
8 |
-
function seopress_advanced_appearance_notifications_option() {
|
9 |
-
$seopress_advanced_appearance_notifications_option = get_option('seopress_advanced_option_name');
|
10 |
-
if ( ! empty($seopress_advanced_appearance_notifications_option)) {
|
11 |
-
foreach ($seopress_advanced_appearance_notifications_option as $key => $seopress_advanced_appearance_notifications_value) {
|
12 |
-
$options[$key] = $seopress_advanced_appearance_notifications_value;
|
13 |
-
}
|
14 |
-
if (isset($seopress_advanced_appearance_notifications_option['seopress_advanced_appearance_notifications'])) {
|
15 |
-
return $seopress_advanced_appearance_notifications_option['seopress_advanced_appearance_notifications'];
|
16 |
-
}
|
17 |
-
}
|
18 |
-
}
|
19 |
-
//SEO Tools
|
20 |
-
function seopress_advanced_appearance_seo_tools_option() {
|
21 |
-
$seopress_advanced_appearance_seo_tools_option = get_option('seopress_advanced_option_name');
|
22 |
-
if ( ! empty($seopress_advanced_appearance_seo_tools_option)) {
|
23 |
-
foreach ($seopress_advanced_appearance_seo_tools_option as $key => $seopress_advanced_appearance_seo_tools_value) {
|
24 |
-
$options[$key] = $seopress_advanced_appearance_seo_tools_value;
|
25 |
-
}
|
26 |
-
if (isset($seopress_advanced_appearance_seo_tools_option['seopress_advanced_appearance_seo_tools'])) {
|
27 |
-
return $seopress_advanced_appearance_seo_tools_option['seopress_advanced_appearance_seo_tools'];
|
28 |
-
}
|
29 |
-
}
|
30 |
-
}
|
31 |
-
//Useful links
|
32 |
-
function seopress_advanced_appearance_useful_links_option() {
|
33 |
-
$seopress_advanced_appearance_useful_links_option = get_option('seopress_advanced_option_name');
|
34 |
-
if ( ! empty($seopress_advanced_appearance_useful_links_option)) {
|
35 |
-
foreach ($seopress_advanced_appearance_useful_links_option as $key => $seopress_advanced_appearance_useful_links_value) {
|
36 |
-
$options[$key] = $seopress_advanced_appearance_useful_links_value;
|
37 |
-
}
|
38 |
-
if (isset($seopress_advanced_appearance_useful_links_option['seopress_advanced_appearance_useful_links'])) {
|
39 |
-
return $seopress_advanced_appearance_useful_links_option['seopress_advanced_appearance_useful_links'];
|
40 |
-
}
|
41 |
-
}
|
42 |
-
}
|
43 |
-
?>
|
44 |
-
|
45 |
-
<?php if (defined('SEOPRESS_WL_ADMIN_HEADER') && SEOPRESS_WL_ADMIN_HEADER === false) {
|
46 |
-
//do nothing
|
47 |
-
} else { ?>
|
48 |
-
<div id="seopress-admin-tabs" class="wrap">
|
49 |
-
<?php
|
50 |
-
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
51 |
-
$dashboard_settings_tabs = [
|
52 |
-
'tab_seopress_notifications' => __('Notifications Center', 'wp-seopress'),
|
53 |
-
'tab_seopress_seo_tools' => __('SEO Tools', 'wp-seopress'),
|
54 |
-
'tab_seopress_links' => __('Useful links', 'wp-seopress'),
|
55 |
-
];
|
56 |
-
} else {
|
57 |
-
$dashboard_settings_tabs = [
|
58 |
-
'tab_seopress_notifications' => __('Notifications Center', 'wp-seopress'),
|
59 |
-
'tab_seopress_links' => __('Useful links', 'wp-seopress'),
|
60 |
-
];
|
61 |
-
}
|
62 |
-
|
63 |
-
if ('' != seopress_advanced_appearance_notifications_option()) {
|
64 |
-
unset($dashboard_settings_tabs['tab_seopress_notifications']);
|
65 |
-
}
|
66 |
-
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
67 |
-
if ('' != seopress_advanced_appearance_seo_tools_option()) {
|
68 |
-
unset($dashboard_settings_tabs['tab_seopress_seo_tools']);
|
69 |
-
}
|
70 |
-
}
|
71 |
-
if ('' != seopress_advanced_appearance_useful_links_option()) {
|
72 |
-
unset($dashboard_settings_tabs['tab_seopress_links']);
|
73 |
-
}
|
74 |
-
|
75 |
-
echo '<div class="nav-tab-wrapper">';
|
76 |
-
foreach ($dashboard_settings_tabs as $tab_key => $tab_caption) {
|
77 |
-
echo '<a id="' . $tab_key . '-tab" class="nav-tab" href="?page=seopress-option#tab=' . $tab_key . '">' . $tab_caption . '</a>';
|
78 |
-
}
|
79 |
-
echo '</div>';
|
80 |
-
?>
|
81 |
-
|
82 |
-
<div class="wrap-seopress-tab-content">
|
83 |
-
<?php if ('1' != seopress_advanced_appearance_notifications_option()) { ?>
|
84 |
-
<div id="tab_seopress_notifications" class="seopress-tab <?php if ('tab_seopress_notifications' == $current_tab) {
|
85 |
-
echo 'active';
|
86 |
-
} ?>">
|
87 |
-
<div id="seopress-notifications-center">
|
88 |
-
<?php
|
89 |
-
function seopress_get_hidden_notices_wizard_option() {
|
90 |
-
$seopress_get_hidden_notices_wizard_option = get_option('seopress_notices');
|
91 |
-
if ( ! empty($seopress_get_hidden_notices_wizard_option)) {
|
92 |
-
foreach ($seopress_get_hidden_notices_wizard_option as $key => $seopress_get_hidden_notices_wizard_value) {
|
93 |
-
$options[$key] = $seopress_get_hidden_notices_wizard_value;
|
94 |
-
}
|
95 |
-
if (isset($seopress_get_hidden_notices_wizard_option['notice-wizard'])) {
|
96 |
-
return $seopress_get_hidden_notices_wizard_option['notice-wizard'];
|
97 |
-
}
|
98 |
-
}
|
99 |
-
}
|
100 |
-
if ('1' != seopress_get_hidden_notices_wizard_option()) {
|
101 |
-
$args = [
|
102 |
-
'id' => 'notice-wizard',
|
103 |
-
'title' => __('Configure SEOPress in a few minutes with our installation wizard', 'wp-seopress'),
|
104 |
-
'desc' => __('The best way to quickly setup SEOPress on your site.', 'wp-seopress'),
|
105 |
-
'impact' => [
|
106 |
-
'info' => __('Wizard', 'wp-seopress'),
|
107 |
-
],
|
108 |
-
'link' => [
|
109 |
-
'en' => admin_url('admin.php?page=seopress-setup'),
|
110 |
-
'title' => __('Start the wizard', 'wp-seopress'),
|
111 |
-
'external' => true,
|
112 |
-
],
|
113 |
-
'icon' => 'dashicons-admin-tools',
|
114 |
-
'deleteable' => true,
|
115 |
-
];
|
116 |
-
seopress_notification($args);
|
117 |
-
}
|
118 |
-
if (is_plugin_active('wp-seopress-insights/seopress-insights.php')) {
|
119 |
-
function seopress_get_hidden_notices_insights_wizard_option() {
|
120 |
-
$seopress_get_hidden_notices_insights_wizard_option = get_option('seopress_notices');
|
121 |
-
if ( ! empty($seopress_get_hidden_notices_insights_wizard_option)) {
|
122 |
-
foreach ($seopress_get_hidden_notices_insights_wizard_option as $key => $seopress_get_hidden_notices_insights_wizard_value) {
|
123 |
-
$options[$key] = $seopress_get_hidden_notices_insights_wizard_value;
|
124 |
-
}
|
125 |
-
if (isset($seopress_get_hidden_notices_insights_wizard_option['notice-insights-wizard'])) {
|
126 |
-
return $seopress_get_hidden_notices_insights_wizard_option['notice-insights-wizard'];
|
127 |
-
}
|
128 |
-
}
|
129 |
-
}
|
130 |
-
if ('1' != seopress_get_hidden_notices_insights_wizard_option()) {
|
131 |
-
$args = [
|
132 |
-
'id' => 'notice-insights-wizard',
|
133 |
-
'title' => __('Configure SEOPress Insights in a few minutes with our installation wizard', 'wp-seopress'),
|
134 |
-
'desc' => __('Track your keywords positions and backlinks directly on your WordPress site.', 'wp-seopress'),
|
135 |
-
'impact' => [
|
136 |
-
'info' => __('Wizard', 'wp-seopress'),
|
137 |
-
],
|
138 |
-
'link' => [
|
139 |
-
'en' => admin_url('admin.php?page=seopress-insights-setup'),
|
140 |
-
'title' => __('Start the wizard', 'wp-seopress'),
|
141 |
-
'external' => true,
|
142 |
-
],
|
143 |
-
'icon' => 'dashicons-admin-tools',
|
144 |
-
'deleteable' => true,
|
145 |
-
];
|
146 |
-
seopress_notification($args);
|
147 |
-
}
|
148 |
-
}
|
149 |
-
//DIVI SEO options conflict
|
150 |
-
$theme = wp_get_theme();
|
151 |
-
if ('Divi' == $theme->template || 'Divi' == $theme->parent_theme) {
|
152 |
-
$divi_options = get_option('et_divi');
|
153 |
-
if ( ! empty($divi_options)) {
|
154 |
-
if (
|
155 |
-
(array_key_exists('divi_seo_home_title', $divi_options) && 'on' == $divi_options['divi_seo_home_title']) ||
|
156 |
-
(array_key_exists('divi_seo_home_description', $divi_options) && 'on' == $divi_options['divi_seo_home_description']) ||
|
157 |
-
(array_key_exists('divi_seo_home_keywords', $divi_options) && 'on' == $divi_options['divi_seo_home_keywords']) ||
|
158 |
-
(array_key_exists('divi_seo_home_canonical', $divi_options) && 'on' == $divi_options['divi_seo_home_canonical']) ||
|
159 |
-
(array_key_exists('divi_seo_single_title', $divi_options) && 'on' == $divi_options['divi_seo_single_title']) ||
|
160 |
-
(array_key_exists('divi_seo_single_description', $divi_options) && 'on' == $divi_options['divi_seo_single_description']) ||
|
161 |
-
(array_key_exists('divi_seo_single_keywords', $divi_options) && 'on' == $divi_options['divi_seo_single_keywords']) ||
|
162 |
-
(array_key_exists('divi_seo_single_canonical', $divi_options) && 'on' == $divi_options['divi_seo_single_canonical']) ||
|
163 |
-
(array_key_exists('divi_seo_index_canonical', $divi_options) && 'on' == $divi_options['divi_seo_index_canonical']) ||
|
164 |
-
(array_key_exists('divi_seo_index_description', $divi_options) && 'on' == $divi_options['divi_seo_index_description'])
|
165 |
-
) {
|
166 |
-
$args = [
|
167 |
-
'id' => 'notice-divi-seo',
|
168 |
-
'title' => __('We noticed that some SEO DIVI options are enabled!', 'wp-seopress'),
|
169 |
-
'desc' => __('To avoid any SEO conflicts, please disable every SEO options from <strong>DIVI theme options page, SEO tab</strong>.', 'wp-seopress'),
|
170 |
-
'impact' => [
|
171 |
-
'high' => __('High impact', 'wp-seopress'),
|
172 |
-
],
|
173 |
-
'link' => [
|
174 |
-
'en' => admin_url('admin.php?page=et_divi_options#seo-1'),
|
175 |
-
'title' => __('Fix this!', 'wp-seopress'),
|
176 |
-
'external' => false,
|
177 |
-
],
|
178 |
-
'icon' => 'dashicons-admin-plugins',
|
179 |
-
'deleteable' => false,
|
180 |
-
];
|
181 |
-
seopress_notification($args);
|
182 |
-
}
|
183 |
-
}
|
184 |
-
}
|
185 |
-
if ('/' != substr(get_option('permalink_structure'), -1) && '' == seopress_advanced_advanced_trailingslash_option()) {
|
186 |
-
$args = [
|
187 |
-
'id' => 'notice-permalinks',
|
188 |
-
'title' => __('Your permalinks doesn\'t have a trailingslash', 'wp-seopress'),
|
189 |
-
'desc' => __('To avoid any SEO issues, we recommend you to activate the "<strong>Disable trailing slash for metas</strong>" option from our <strong>Advanced settings page</strong>. Do not forget to clear your cache if necessary.', 'wp-seopress'),
|
190 |
-
'impact' => [
|
191 |
-
'high' => __('High impact', 'wp-seopress'),
|
192 |
-
],
|
193 |
-
'link' => [
|
194 |
-
'en' => admin_url('admin.php?page=seopress-advanced#tab=tab_seopress_advanced_advanced'),
|
195 |
-
'title' => __('Fix this!', 'wp-seopress'),
|
196 |
-
'external' => false,
|
197 |
-
],
|
198 |
-
'icon' => 'dashicons-admin-links',
|
199 |
-
'deleteable' => false,
|
200 |
-
];
|
201 |
-
seopress_notification($args);
|
202 |
-
}
|
203 |
-
if ('/' == substr(get_option('permalink_structure'), -1) && '1' == seopress_advanced_advanced_trailingslash_option()) {
|
204 |
-
$args = [
|
205 |
-
'id' => 'notice-permalinks',
|
206 |
-
'title' => __('Your permalinks have a trailingslash', 'wp-seopress'),
|
207 |
-
'desc' => __('To avoid any SEO issues, we recommend you to de-activate the "<strong>Disable trailing slash for metas</strong>" option from our <strong>Advanced settings page</strong>. Do not forget to clear your cache if necessary.', 'wp-seopress'),
|
208 |
-
'impact' => [
|
209 |
-
'high' => __('High impact', 'wp-seopress'),
|
210 |
-
],
|
211 |
-
'link' => [
|
212 |
-
'en' => admin_url('admin.php?page=seopress-advanced#tab=tab_seopress_advanced_advanced'),
|
213 |
-
'title' => __('Fix this!', 'wp-seopress'),
|
214 |
-
'external' => false,
|
215 |
-
],
|
216 |
-
'icon' => 'dashicons-admin-links',
|
217 |
-
'deleteable' => false,
|
218 |
-
];
|
219 |
-
seopress_notification($args);
|
220 |
-
}
|
221 |
-
if (is_plugin_active('td-composer/td-composer.php')) {
|
222 |
-
function seopress_get_hidden_notices_tagdiv_option() {
|
223 |
-
$seopress_get_hidden_notices_tagdiv_option = get_option('seopress_notices');
|
224 |
-
if ( ! empty($seopress_get_hidden_notices_tagdiv_option)) {
|
225 |
-
foreach ($seopress_get_hidden_notices_tagdiv_option as $key => $seopress_get_hidden_notices_tagdiv_value) {
|
226 |
-
$options[$key] = $seopress_get_hidden_notices_tagdiv_value;
|
227 |
-
}
|
228 |
-
if (isset($seopress_get_hidden_notices_tagdiv_option['notice-tagdiv'])) {
|
229 |
-
return $seopress_get_hidden_notices_tagdiv_option['notice-tagdiv'];
|
230 |
-
}
|
231 |
-
}
|
232 |
-
}
|
233 |
-
if ('1' != seopress_get_hidden_notices_tagdiv_option()) {
|
234 |
-
$args = [
|
235 |
-
'id' => 'notice-tagdiv',
|
236 |
-
'title' => __('TagDiv Composer plugin doesn\'t use <strong>add_theme_support(\'title-tag\');</strong>', 'wp-seopress'),
|
237 |
-
'desc' => __('Fix this compatibility issue to allow SEOPress generates the correct meta titles.', 'wp-seopress'),
|
238 |
-
'impact' => [
|
239 |
-
'high' => __('High impact', 'wp-seopress'),
|
240 |
-
],
|
241 |
-
'link' => [
|
242 |
-
'fr' => 'https://www.seopress.org/fr/support/guides/corriger-erreur-compatibilite-extension-tagdiv-composer-newspaper/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
243 |
-
'en' => 'https://www.seopress.org/support/guides/fix-compatibility-issue-tagdiv-composer-plugin-newspaper-theme/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
244 |
-
'title' => __('Fix this!', 'wp-seopress'),
|
245 |
-
'external' => true,
|
246 |
-
],
|
247 |
-
'icon' => 'dashicons-admin-customizer',
|
248 |
-
'deleteable' => true,
|
249 |
-
];
|
250 |
-
seopress_notification($args);
|
251 |
-
}
|
252 |
-
}
|
253 |
-
if ('1' != get_theme_support('title-tag')) {
|
254 |
-
function seopress_get_hidden_notices_title_tag_option() {
|
255 |
-
$seopress_get_hidden_notices_title_tag_option = get_option('seopress_notices');
|
256 |
-
if ( ! empty($seopress_get_hidden_notices_title_tag_option)) {
|
257 |
-
foreach ($seopress_get_hidden_notices_title_tag_option as $key => $seopress_get_hidden_notices_title_tag_value) {
|
258 |
-
$options[$key] = $seopress_get_hidden_notices_title_tag_value;
|
259 |
-
}
|
260 |
-
if (isset($seopress_get_hidden_notices_title_tag_option['notice-title-tag'])) {
|
261 |
-
return $seopress_get_hidden_notices_title_tag_option['notice-title-tag'];
|
262 |
-
}
|
263 |
-
}
|
264 |
-
}
|
265 |
-
if ('1' != seopress_get_hidden_notices_title_tag_option()) {
|
266 |
-
$args = [
|
267 |
-
'id' => 'notice-title-tag',
|
268 |
-
'title' => __('Your theme doesn\'t use <strong>add_theme_support(\'title-tag\');</strong>', 'wp-seopress'),
|
269 |
-
'desc' => __('This error indicates that your theme uses a deprecated function to generate the title tag of your pages. SEOPress will not be able to generate your custom title tags if this error is not fixed.', 'wp-seopress'),
|
270 |
-
'impact' => [
|
271 |
-
'high' => __('High impact', 'wp-seopress'),
|
272 |
-
],
|
273 |
-
'link' => [
|
274 |
-
'fr' => 'https://www.seopress.org/fr/support/guides/resoudre-add_theme_support-manquant-dans-votre-theme/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
275 |
-
'en' => 'https://www.seopress.org/support/guides/fixing-missing-add_theme_support-in-your-theme/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress',
|
276 |
-
'title' => __('Learn more', 'wp-seopress'),
|
277 |
-
'external' => true,
|
278 |
-
],
|
279 |
-
'icon' => 'dashicons-admin-customizer',
|
280 |
-
'deleteable' => false,
|
281 |
-
];
|
282 |
-
seopress_notification($args);
|
283 |
-
}
|
284 |
-
}
|
285 |
-
$seo_plugins = [
|
286 |
-
'wordpress-seo/wp-seo.php' => 'Yoast SEO',
|
287 |
-
'wordpress-seo-premium/wp-seo-premium.php' => 'Yoast SEO Premium',
|
288 |
-
'all-in-one-seo-pack/all_in_one_seo_pack.php' => 'All In One SEO',
|
289 |
-
'autodescription/autodescription.php' => 'The SEO Framework',
|
290 |
-
'squirrly-seo/squirrly.php' => 'Squirrly SEO',
|
291 |
-
'seo-by-rank-math/rank-math.php' => 'Rank Math',
|
292 |
-
'seo-ultimate/seo-ultimate.php' => 'SEO Ultimate',
|
293 |
-
'wp-meta-seo/wp-meta-seo.php' => 'WP Meta SEO',
|
294 |
-
'premium-seo-pack/plugin.php' => 'Premium SEO Pack',
|
295 |
-
'wpseo/wpseo.php' => 'wpSEO',
|
296 |
-
'platinum-seo-pack/platinum-seo-pack.php' => 'Platinum SEO Pack',
|
297 |
-
'smartcrawl-seo/wpmu-dev-seo.php' => 'SmartCrawl',
|
298 |
-
'seo-pressor/seo-pressor.php' => 'SEOPressor',
|
299 |
-
];
|
300 |
-
|
301 |
-
foreach ($seo_plugins as $key => $value) {
|
302 |
-
if (is_plugin_active($key)) {
|
303 |
-
$args = [
|
304 |
-
'id' => 'notice-seo-plugins',
|
305 |
-
/* translators: %s name of a SEO plugin (eg: Yoast SEO) */
|
306 |
-
'title' => sprintf(__('We noticed that you use <strong>%s</strong> plugin.', 'wp-seopress'), $value),
|
307 |
-
'desc' => __('Do you want to migrate all your metadata to SEOPress? Do not use multiple SEO plugins at once to avoid conflicts!', 'wp-seopress'),
|
308 |
-
'impact' => [
|
309 |
-
'high' => __('High impact', 'wp-seopress'),
|
310 |
-
],
|
311 |
-
'link' => [
|
312 |
-
'en' => admin_url('admin.php?page=seopress-import-export'),
|
313 |
-
'title' => __('Migrate!', 'wp-seopress'),
|
314 |
-
'external' => false,
|
315 |
-
],
|
316 |
-
'icon' => 'dashicons-admin-plugins',
|
317 |
-
'deleteable' => false,
|
318 |
-
];
|
319 |
-
seopress_notification($args);
|
320 |
-
}
|
321 |
-
}
|
322 |
-
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
323 |
-
if (1 == seopress_404_cleaning_option() && ! wp_next_scheduled('seopress_404_cron_cleaning')) {
|
324 |
-
$args = [
|
325 |
-
'id' => 'notice-title-tag',
|
326 |
-
'title' => __('You have enabled 404 cleaning BUT the scheduled task is not running.', 'wp-seopress'),
|
327 |
-
'desc' => __('To solve this, please disable and re-enable SEOPress PRO. No data will be lost.', 'wp-seopress'),
|
328 |
-
'icon' => 'dashicons-clock',
|
329 |
-
'deleteable' => false,
|
330 |
-
];
|
331 |
-
seopress_notification($args);
|
332 |
-
}
|
333 |
-
}
|
334 |
-
$pbuilder_plugins = [
|
335 |
-
'oxygen/functions.php' => 'Oxygen',
|
336 |
-
'js_composer/js_composer.php' => 'WP Bakery',
|
337 |
-
'fusion-builder/fusion-builder.php' => 'Fusion Builder',
|
338 |
-
];
|
339 |
-
foreach ($pbuilder_plugins as $key => $value) {
|
340 |
-
if (is_plugin_active($key)) {
|
341 |
-
function seopress_get_hidden_notices_pbuilders_option() {
|
342 |
-
$seopress_get_hidden_notices_pbuilders_option = get_option('seopress_notices');
|
343 |
-
if ( ! empty($seopress_get_hidden_notices_pbuilders_option)) {
|
344 |
-
foreach ($seopress_get_hidden_notices_pbuilders_option as $key => $seopress_get_hidden_notices_pbuilders_value) {
|
345 |
-
$options[$key] = $seopress_get_hidden_notices_pbuilders_value;
|
346 |
-
}
|
347 |
-
if (isset($seopress_get_hidden_notices_pbuilders_option['notice-page-builders'])) {
|
348 |
-
return $seopress_get_hidden_notices_pbuilders_option['notice-page-builders'];
|
349 |
-
}
|
350 |
-
}
|
351 |
-
}
|
352 |
-
if ('1' != seopress_get_hidden_notices_pbuilders_option()) {
|
353 |
-
if (('1' !== seopress_setting_section_tools_compatibility_oxygen_option() && 'Oxygen' === $value) ||
|
354 |
-
('1' !== seopress_setting_section_tools_compatibility_bakery_option() && 'WP Bakery' === $value) ||
|
355 |
-
('1' !== seopress_setting_section_tools_compatibility_fusion_option() && 'Fusion Builder' === $value)
|
356 |
-
) {
|
357 |
-
$args = [
|
358 |
-
'id' => 'notice-page-builders',
|
359 |
-
/* translators: %s name of a page builder plugin (eg: Oxygen) */
|
360 |
-
'title' => sprintf(__('Generate automatic meta description for <strong>%s</strong> plugin.', 'wp-seopress'), $value),
|
361 |
-
'desc' => __('Your page builder is using shortcodes to save its data. To automatically generate your meta description based on your post content, go to our Compatibility Center.', 'wp-seopress'),
|
362 |
-
'impact' => [
|
363 |
-
'medium' => __('Medium impact', 'wp-seopress'),
|
364 |
-
],
|
365 |
-
'link' => [
|
366 |
-
'en' => admin_url('admin.php?page=seopress-import-export#tab=tab_seopress_tool_compatibility'),
|
367 |
-
'title' => __('Fix this!', 'wp-seopress'),
|
368 |
-
'external' => false,
|
369 |
-
],
|
370 |
-
'icon' => 'dashicons-admin-tools',
|
371 |
-
'deleteable' => true,
|
372 |
-
];
|
373 |
-
seopress_notification($args);
|
374 |
-
}
|
375 |
-
}
|
376 |
-
break;
|
377 |
-
}
|
378 |
-
}
|
379 |
-
$theme = wp_get_theme();
|
380 |
-
$pbuilder_themes = [
|
381 |
-
'Divi' => 'Divi',
|
382 |
-
'enfold' => 'Enfold (Avia Layout Builder)',
|
383 |
-
];
|
384 |
-
foreach ($pbuilder_themes as $key => $value) {
|
385 |
-
if ($key == $theme->template || $key == $theme->parent_theme) {
|
386 |
-
function seopress_get_hidden_notices_themes_option() {
|
387 |
-
$seopress_get_hidden_notices_themes_option = get_option('seopress_notices');
|
388 |
-
if ( ! empty($seopress_get_hidden_notices_themes_option)) {
|
389 |
-
foreach ($seopress_get_hidden_notices_themes_option as $key => $seopress_get_hidden_notices_themes_value) {
|
390 |
-
$options[$key] = $seopress_get_hidden_notices_themes_value;
|
391 |
-
}
|
392 |
-
if (isset($seopress_get_hidden_notices_themes_option['notice-themes'])) {
|
393 |
-
return $seopress_get_hidden_notices_themes_option['notice-themes'];
|
394 |
-
}
|
395 |
-
}
|
396 |
-
}
|
397 |
-
if ('1' != seopress_get_hidden_notices_themes_option()) {
|
398 |
-
if (('1' !== seopress_setting_section_tools_compatibility_divi_option() && 'Divi' === $value) || ('1' !== seopress_setting_section_tools_compatibility_avia_option() && 'Enfold (Avia Layout Builder)' === $value)) {
|
399 |
-
$args = [
|
400 |
-
'id' => 'notice-themes',
|
401 |
-
/* translators: %s name of a WP theme (eg: Enfold) */
|
402 |
-
'title' => sprintf(__('Generate automatic meta description for <strong>%s</strong> theme.', 'wp-seopress'), $value),
|
403 |
-
'desc' => __('Your theme is using shortcodes to save its data. To automatically generate your meta description based on your post content, go to our Compatibility Center.', 'wp-seopress'),
|
404 |
-
'impact' => [
|
405 |
-
'medium' => __('Medium impact', 'wp-seopress'),
|
406 |
-
],
|
407 |
-
'link' => [
|
408 |
-
'en' => admin_url('admin.php?page=seopress-import-export#tab=tab_seopress_tool_compatibility'),
|
409 |
-
'title' => __('Fix this!', 'wp-seopress'),
|
410 |
-
'external' => false,
|
411 |
-
],
|
412 |
-
'icon' => 'dashicons-admin-tools',
|
413 |
-
'deleteable' => true,
|
414 |
-
];
|
415 |
-
seopress_notification($args);
|
416 |
-
}
|
417 |
-
}
|
418 |
-
break;
|
419 |
-
}
|
420 |
-
}
|
421 |
-
//Enfold theme
|
422 |
-
$avia_options_enfold = get_option('avia_options_enfold');
|
423 |
-
$avia_options_enfold_child = get_option('avia_options_enfold_child');
|
424 |
-
$theme = wp_get_theme();
|
425 |
-
if ('enfold' == $theme->template || 'enfold' == $theme->parent_theme) {
|
426 |
-
if ('plugin' != $avia_options_enfold['avia']['seo_robots'] || 'plugin' != $avia_options_enfold_child['avia']['seo_robots']) {
|
427 |
-
function seopress_get_hidden_notices_enfold_option() {
|
428 |
-
$seopress_get_hidden_notices_enfold_option = get_option('seopress_notices');
|
429 |
-
if ( ! empty($seopress_get_hidden_notices_enfold_option)) {
|
430 |
-
foreach ($seopress_get_hidden_notices_enfold_option as $key => $seopress_get_hidden_notices_enfold_value) {
|
431 |
-
$options[$key] = $seopress_get_hidden_notices_enfold_value;
|
432 |
-
}
|
433 |
-
if (isset($seopress_get_hidden_notices_enfold_option['notice-enfold'])) {
|
434 |
-
return $seopress_get_hidden_notices_enfold_option['notice-enfold'];
|
435 |
-
}
|
436 |
-
}
|
437 |
-
}
|
438 |
-
if ('1' != seopress_get_hidden_notices_enfold_option()) {
|
439 |
-
$args = [
|
440 |
-
'id' => 'notice-enfold',
|
441 |
-
'title' => __('Enfold theme is not correctly setup for SEO!', 'wp-seopress'),
|
442 |
-
'desc' => __('You must disable "Meta tag robots" option from Enfold settings (SEO Support tab) to avoid any SEO issues.', 'wp-seopress'),
|
443 |
-
'impact' => [
|
444 |
-
'low' => __('High impact', 'wp-seopress'),
|
445 |
-
],
|
446 |
-
'link' => [
|
447 |
-
'en' => admin_url('admin.php?avia_welcome=true&page=avia'),
|
448 |
-
'title' => __('Fix this!', 'wp-seopress'),
|
449 |
-
'external' => true,
|
450 |
-
],
|
451 |
-
'icon' => 'dashicons-admin-tools',
|
452 |
-
'deleteable' => true,
|
453 |
-
];
|
454 |
-
seopress_notification($args);
|
455 |
-
}
|
456 |
-
}
|
457 |
-
}
|
458 |
-
if ( ! is_ssl()) {
|
459 |
-
function seopress_get_hidden_notices_ssl_option() {
|
460 |
-
$seopress_get_hidden_notices_ssl_option = get_option('seopress_notices');
|
461 |
-
if ( ! empty($seopress_get_hidden_notices_ssl_option)) {
|
462 |
-
foreach ($seopress_get_hidden_notices_ssl_option as $key => $seopress_get_hidden_notices_ssl_value) {
|
463 |
-
$options[$key] = $seopress_get_hidden_notices_ssl_value;
|
464 |
-
}
|
465 |
-
if (isset($seopress_get_hidden_notices_ssl_option['notice-ssl'])) {
|
466 |
-
return $seopress_get_hidden_notices_ssl_option['notice-ssl'];
|
467 |
-
}
|
468 |
-
}
|
469 |
-
}
|
470 |
-
if ('1' != seopress_get_hidden_notices_ssl_option()) {
|
471 |
-
$args = [
|
472 |
-
'id' => 'notice-ssl',
|
473 |
-
'title' => __('Your site doesn\'t use an SSL certificate!', 'wp-seopress'),
|
474 |
-
'desc' => __('Https is considered by Google as a positive signal for the ranking of your site. It also reassures your visitors for data security, and improves trust.', 'wp-seopress') . ' <a href="https://webmasters.googleblog.com/2014/08/https-as-ranking-signal.html" target="_blank">' . __('Learn more', 'wp-seopress') . '</a>',
|
475 |
-
'impact' => [
|
476 |
-
'low' => __('Low impact', 'wp-seopress'),
|
477 |
-
],
|
478 |
-
'link' => [
|
479 |
-
'en' => 'https://www.seopress.org/go/namecheap',
|
480 |
-
'title' => __('Buy an SSL!', 'wp-seopress'),
|
481 |
-
'external' => true,
|
482 |
-
],
|
483 |
-
'icon' => 'dashicons-unlock',
|
484 |
-
'deleteable' => true,
|
485 |
-
];
|
486 |
-
seopress_notification($args);
|
487 |
-
}
|
488 |
-
}
|
489 |
-
if (function_exists('extension_loaded') && ! extension_loaded('dom')) {
|
490 |
-
$args = [
|
491 |
-
'id' => 'notice-ssl-alert',
|
492 |
-
'title' => __('PHP module "DOM" is missing on your server.', 'wp-seopress'),
|
493 |
-
'desc' => __('This PHP module, installed by default with PHP, is required by many plugins including SEOPress. Please contact your host as soon as possible to solve this.', 'wp-seopress'),
|
494 |
-
'impact' => [
|
495 |
-
'high' => __('High impact', 'wp-seopress'),
|
496 |
-
],
|
497 |
-
'link' => [
|
498 |
-
'fr' => 'https://www.seopress.org/fr/support/guides/debutez-seopress/',
|
499 |
-
'en' => 'https://www.seopress.org/support/guides/get-started-seopress/',
|
500 |
-
'title' => __('Learn more', 'wp-seopress'),
|
501 |
-
'external' => true,
|
502 |
-
],
|
503 |
-
'deleteable' => true,
|
504 |
-
];
|
505 |
-
seopress_notification($args);
|
506 |
-
}
|
507 |
-
if ( ! function_exists('seopress_titles_noindex_option')) {
|
508 |
-
function seopress_titles_noindex_option() {
|
509 |
-
$seopress_titles_noindex_option = get_option('seopress_titles_option_name');
|
510 |
-
if ( ! empty($seopress_titles_noindex_option)) {
|
511 |
-
foreach ($seopress_titles_noindex_option as $key => $seopress_titles_noindex_value) {
|
512 |
-
$options[$key] = $seopress_titles_noindex_value;
|
513 |
-
}
|
514 |
-
if (isset($seopress_titles_noindex_option['seopress_titles_noindex'])) {
|
515 |
-
return $seopress_titles_noindex_option['seopress_titles_noindex'];
|
516 |
-
}
|
517 |
-
}
|
518 |
-
}
|
519 |
-
}
|
520 |
-
function seopress_get_hidden_notices_noindex_option() {
|
521 |
-
$seopress_get_hidden_notices_noindex_option = get_option('seopress_notices');
|
522 |
-
if ( ! empty($seopress_get_hidden_notices_noindex_option)) {
|
523 |
-
foreach ($seopress_get_hidden_notices_noindex_option as $key => $seopress_get_hidden_notices_noindex_value) {
|
524 |
-
$options[$key] = $seopress_get_hidden_notices_noindex_value;
|
525 |
-
}
|
526 |
-
if (isset($seopress_get_hidden_notices_noindex_option['notice-noindex'])) {
|
527 |
-
return $seopress_get_hidden_notices_noindex_option['notice-noindex'];
|
528 |
-
}
|
529 |
-
}
|
530 |
-
}
|
531 |
-
if ('1' != seopress_get_hidden_notices_noindex_option()) {
|
532 |
-
if ('1' == seopress_titles_noindex_option() || '1' != get_option('blog_public')) {
|
533 |
-
$args = [
|
534 |
-
'id' => 'notice-noindex',
|
535 |
-
'title' => __('Your site is not visible to Search Engines!', 'wp-seopress'),
|
536 |
-
'desc' => __('You have activated the blocking of the indexing of your site. If your site is under development, this is probably normal. Otherwise, check your settings. Delete this notification using the cross on the right if you are not concerned.', 'wp-seopress'),
|
537 |
-
'impact' => [
|
538 |
-
'high' => __('High impact', 'wp-seopress'),
|
539 |
-
],
|
540 |
-
'link' => [
|
541 |
-
'en' => admin_url('options-reading.php'),
|
542 |
-
'title' => __('Fix this!', 'wp-seopress'),
|
543 |
-
'external' => false,
|
544 |
-
],
|
545 |
-
'icon' => 'dashicons-warning',
|
546 |
-
'deleteable' => true,
|
547 |
-
];
|
548 |
-
seopress_notification($args);
|
549 |
-
}
|
550 |
-
}
|
551 |
-
if ('' == get_option('blogname')) {
|
552 |
-
$args = [
|
553 |
-
'id' => 'notice-title-empty',
|
554 |
-
'title' => __('Your site title is empty!', 'wp-seopress'),
|
555 |
-
'desc' => __('Your Site Title is used by WordPress, your theme and your plugins including SEOPress. It is an essential component in the generation of title tags, but not only. Enter one!', 'wp-seopress'),
|
556 |
-
'impact' => [
|
557 |
-
'high' => __('High impact', 'wp-seopress'),
|
558 |
-
],
|
559 |
-
'link' => [
|
560 |
-
'en' => admin_url('options-general.php'),
|
561 |
-
'title' => __('Fix this!', 'wp-seopress'),
|
562 |
-
'external' => false,
|
563 |
-
],
|
564 |
-
'deleteable' => false,
|
565 |
-
];
|
566 |
-
seopress_notification($args);
|
567 |
-
}
|
568 |
-
if ('' == get_option('permalink_structure')) {
|
569 |
-
$args = [
|
570 |
-
'id' => 'notice-permalinks',
|
571 |
-
'title' => __('Your permalinks are not SEO Friendly! Enable pretty permalinks to fix this.', 'wp-seopress'),
|
572 |
-
'desc' => __('Why is this important? Showing only the summary of each article significantly reduces the theft of your content by third party sites. Not to mention, the increase in your traffic, your advertising revenue, conversions...', 'wp-seopress'),
|
573 |
-
'impact' => [
|
574 |
-
'high' => __('High impact', 'wp-seopress'),
|
575 |
-
],
|
576 |
-
'link' => [
|
577 |
-
'en' => admin_url('options-permalink.php'),
|
578 |
-
'title' => __('Fix this!', 'wp-seopress'),
|
579 |
-
'external' => false,
|
580 |
-
],
|
581 |
-
'icon' => 'dashicons-admin-links',
|
582 |
-
'deleteable' => false,
|
583 |
-
];
|
584 |
-
seopress_notification($args);
|
585 |
-
}
|
586 |
-
if ('0' == get_option('rss_use_excerpt')) {
|
587 |
-
function seopress_get_hidden_notices_rss_use_excerpt_option() {
|
588 |
-
$seopress_get_hidden_notices_rss_use_excerpt_option = get_option('seopress_notices');
|
589 |
-
if ( ! empty($seopress_get_hidden_notices_rss_use_excerpt_option)) {
|
590 |
-
foreach ($seopress_get_hidden_notices_rss_use_excerpt_option as $key => $seopress_get_hidden_notices_rss_use_excerpt_value) {
|
591 |
-
$options[$key] = $seopress_get_hidden_notices_rss_use_excerpt_value;
|
592 |
-
}
|
593 |
-
if (isset($seopress_get_hidden_notices_rss_use_excerpt_option['notice-rss-use-excerpt'])) {
|
594 |
-
return $seopress_get_hidden_notices_rss_use_excerpt_option['notice-rss-use-excerpt'];
|
595 |
-
}
|
596 |
-
}
|
597 |
-
}
|
598 |
-
if ('1' != seopress_get_hidden_notices_rss_use_excerpt_option()) {
|
599 |
-
$args = [
|
600 |
-
'id' => 'notice-rss-use-excerpt',
|
601 |
-
'title' => __('Your RSS feed shows full text!', 'wp-seopress'),
|
602 |
-
'desc' => __('Why is this important? Showing only the summary of each article significantly reduces the theft of your content by third party sites. Not to mention, the increase in your traffic, your advertising revenue, conversions...', 'wp-seopress'),
|
603 |
-
'impact' => [
|
604 |
-
'medium' => __('Medium impact', 'wp-seopress'),
|
605 |
-
],
|
606 |
-
'link' => [
|
607 |
-
'en' => admin_url('options-reading.php'),
|
608 |
-
'title' => __('Fix this!', 'wp-seopress'),
|
609 |
-
'external' => false,
|
610 |
-
],
|
611 |
-
'icon' => 'dashicons-rss',
|
612 |
-
'deleteable' => true,
|
613 |
-
];
|
614 |
-
seopress_notification($args);
|
615 |
-
}
|
616 |
-
}
|
617 |
-
|
618 |
-
function seopress_ga_enable_option() {
|
619 |
-
$seopress_ga_enable_option = get_option('seopress_google_analytics_option_name');
|
620 |
-
if ( ! empty($seopress_ga_enable_option)) {
|
621 |
-
foreach ($seopress_ga_enable_option as $key => $seopress_ga_enable_value) {
|
622 |
-
$options[$key] = $seopress_ga_enable_value;
|
623 |
-
}
|
624 |
-
if (isset($seopress_ga_enable_option['seopress_google_analytics_enable'])) {
|
625 |
-
return $seopress_ga_enable_option['seopress_google_analytics_enable'];
|
626 |
-
}
|
627 |
-
}
|
628 |
-
}
|
629 |
-
function seopress_ga_ua_option() {
|
630 |
-
$seopress_ga_ua_option = get_option('seopress_google_analytics_option_name');
|
631 |
-
if ( ! empty($seopress_ga_ua_option)) {
|
632 |
-
foreach ($seopress_ga_ua_option as $key => $seopress_ga_ua_value) {
|
633 |
-
$options[$key] = $seopress_ga_ua_value;
|
634 |
-
}
|
635 |
-
if (isset($seopress_ga_ua_option['seopress_google_analytics_ua'])) {
|
636 |
-
return $seopress_ga_ua_option['seopress_google_analytics_ua'];
|
637 |
-
}
|
638 |
-
}
|
639 |
-
}
|
640 |
-
function seopress_ga4_option() {
|
641 |
-
$seopress_ga4_option = get_option('seopress_google_analytics_option_name');
|
642 |
-
if ( ! empty($seopress_ga4_option)) {
|
643 |
-
foreach ($seopress_ga4_option as $key => $seopress_ga4_value) {
|
644 |
-
$options[$key] = $seopress_ga4_value;
|
645 |
-
}
|
646 |
-
if (isset($seopress_ga4_option['seopress_google_analytics_ga4'])) {
|
647 |
-
return $seopress_ga4_option['seopress_google_analytics_ga4'];
|
648 |
-
}
|
649 |
-
}
|
650 |
-
}
|
651 |
-
if ('' === seopress_ga_ua_option() && '' === seopress_ga4_option() && '1' === seopress_ga_enable_option()) {
|
652 |
-
function seopress_get_hidden_notices_analytics_option() {
|
653 |
-
$seopress_get_hidden_notices_analytics_option = get_option('seopress_notices');
|
654 |
-
if ( ! empty($seopress_get_hidden_notices_analytics_option)) {
|
655 |
-
foreach ($seopress_get_hidden_notices_analytics_option as $key => $seopress_get_hidden_notices_analytics_value) {
|
656 |
-
$options[$key] = $seopress_get_hidden_notices_analytics_value;
|
657 |
-
}
|
658 |
-
if (isset($seopress_get_hidden_notices_analytics_option['notice-ga-ids'])) {
|
659 |
-
return $seopress_get_hidden_notices_analytics_option['notice-ga-ids'];
|
660 |
-
}
|
661 |
-
}
|
662 |
-
}
|
663 |
-
if ('1' != seopress_get_hidden_notices_analytics_option()) {
|
664 |
-
$args = [
|
665 |
-
'id' => 'notice-ga-ids',
|
666 |
-
'title' => __('You have activated Google Analytics tracking without adding identifiers!', 'wp-seopress'),
|
667 |
-
'desc' => __('Google Analytics will not track your visitors until you finish the configuration.', 'wp-seopress'),
|
668 |
-
'impact' => [
|
669 |
-
'medium' => __('Medium impact', 'wp-seopress'),
|
670 |
-
],
|
671 |
-
'link' => [
|
672 |
-
'en' => admin_url('admin.php?page=seopress-google-analytics'),
|
673 |
-
'title' => __('Fix this!', 'wp-seopress'),
|
674 |
-
'external' => false,
|
675 |
-
],
|
676 |
-
'icon' => 'dashicons-chart-area',
|
677 |
-
'deleteable' => true,
|
678 |
-
];
|
679 |
-
seopress_notification($args);
|
680 |
-
}
|
681 |
-
}
|
682 |
-
|
683 |
-
function seopress_get_hidden_notices_review_option() {
|
684 |
-
$seopress_get_hidden_notices_review_option = get_option('seopress_notices');
|
685 |
-
if ( ! empty($seopress_get_hidden_notices_review_option)) {
|
686 |
-
foreach ($seopress_get_hidden_notices_review_option as $key => $seopress_get_hidden_notices_review_value) {
|
687 |
-
$options[$key] = $seopress_get_hidden_notices_review_value;
|
688 |
-
}
|
689 |
-
if (isset($seopress_get_hidden_notices_review_option['notice-review'])) {
|
690 |
-
return $seopress_get_hidden_notices_review_option['notice-review'];
|
691 |
-
}
|
692 |
-
}
|
693 |
-
}
|
694 |
-
if ('1' != seopress_get_hidden_notices_review_option()) {
|
695 |
-
$args = [
|
696 |
-
'id' => 'notice-review',
|
697 |
-
'title' => __('You like SEOPress? Please help us by rating us 5 stars!', 'wp-seopress'),
|
698 |
-
'desc' => __('Support the development and improvement of the plugin by taking 15 seconds of your time to leave us a user review on the official WordPress plugins repository. Thank you!', 'wp-seopress'),
|
699 |
-
'impact' => [
|
700 |
-
'info' => __('Information', 'wp-seopress'),
|
701 |
-
],
|
702 |
-
'link' => [
|
703 |
-
'en' => 'https://wordpress.org/support/view/plugin-reviews/wp-seopress?rate=5#postform',
|
704 |
-
'title' => __('Rate us!', 'wp-seopress'),
|
705 |
-
'external' => true,
|
706 |
-
],
|
707 |
-
'icon' => 'dashicons-thumbs-up',
|
708 |
-
'deleteable' => true,
|
709 |
-
];
|
710 |
-
seopress_notification($args);
|
711 |
-
}
|
712 |
-
if ('1' == get_option('page_comments')) {
|
713 |
-
function seopress_get_hidden_notices_divide_comments_option() {
|
714 |
-
$seopress_get_hidden_notices_divide_comments_option = get_option('seopress_notices');
|
715 |
-
if ( ! empty($seopress_get_hidden_notices_divide_comments_option)) {
|
716 |
-
foreach ($seopress_get_hidden_notices_divide_comments_option as $key => $seopress_get_hidden_notices_divide_comments_value) {
|
717 |
-
$options[$key] = $seopress_get_hidden_notices_divide_comments_value;
|
718 |
-
}
|
719 |
-
if (isset($seopress_get_hidden_notices_divide_comments_option['notice-divide-comments'])) {
|
720 |
-
return $seopress_get_hidden_notices_divide_comments_option['notice-divide-comments'];
|
721 |
-
}
|
722 |
-
}
|
723 |
-
}
|
724 |
-
if ('1' != seopress_get_hidden_notices_divide_comments_option()) {
|
725 |
-
$args = [
|
726 |
-
'id' => 'notice-divide-comments',
|
727 |
-
'title' => __('Break comments into pages is ON!', 'wp-seopress'),
|
728 |
-
'desc' => __('Enabling this option will create duplicate content for each article beyond x comments. This can have a disastrous effect by creating a large number of poor quality pages, and slowing the Google bot unnecessarily, so your ranking in search results.', 'wp-seopress'),
|
729 |
-
'impact' => [
|
730 |
-
'high' => __('High impact', 'wp-seopress'),
|
731 |
-
],
|
732 |
-
'link' => [
|
733 |
-
'en' => admin_url('options-discussion.php'),
|
734 |
-
'title' => __('Disable this!', 'wp-seopress'),
|
735 |
-
'external' => false,
|
736 |
-
],
|
737 |
-
'icon' => 'dashicons-admin-comments',
|
738 |
-
'deleteable' => true,
|
739 |
-
];
|
740 |
-
seopress_notification($args);
|
741 |
-
}
|
742 |
-
}
|
743 |
-
if (get_option('posts_per_page') < '16') {
|
744 |
-
function seopress_get_hidden_notices_posts_number_option() {
|
745 |
-
$seopress_get_hidden_notices_posts_number_option = get_option('seopress_notices');
|
746 |
-
if ( ! empty($seopress_get_hidden_notices_posts_number_option)) {
|
747 |
-
foreach ($seopress_get_hidden_notices_posts_number_option as $key => $seopress_get_hidden_notices_posts_number_value) {
|
748 |
-
$options[$key] = $seopress_get_hidden_notices_posts_number_value;
|
749 |
-
}
|
750 |
-
if (isset($seopress_get_hidden_notices_posts_number_option['notice-posts-number'])) {
|
751 |
-
return $seopress_get_hidden_notices_posts_number_option['notice-posts-number'];
|
752 |
-
}
|
753 |
-
}
|
754 |
-
}
|
755 |
-
if ('1' != seopress_get_hidden_notices_posts_number_option()) {
|
756 |
-
$args = [
|
757 |
-
'id' => 'notice-posts-number',
|
758 |
-
'title' => __('Display more posts per page on homepage and archives', 'wp-seopress'),
|
759 |
-
'desc' => __('To reduce the number pages search engines have to crawl to find all your articles, it is recommended displaying more posts per page. This should not be a problem for your users. Using mobile, we prefer to scroll down rather than clicking on next page links.', 'wp-seopress'),
|
760 |
-
'impact' => [
|
761 |
-
'medium' => __('Medium impact', 'wp-seopress'),
|
762 |
-
],
|
763 |
-
'link' => [
|
764 |
-
'en' => admin_url('options-reading.php'),
|
765 |
-
'title' => __('Fix this!', 'wp-seopress'),
|
766 |
-
'external' => false,
|
767 |
-
],
|
768 |
-
'deleteable' => true,
|
769 |
-
];
|
770 |
-
seopress_notification($args);
|
771 |
-
}
|
772 |
-
}
|
773 |
-
if ('1' != seopress_xml_sitemap_general_enable_option()) {
|
774 |
-
$args = [
|
775 |
-
'id' => 'notice-xml-sitemaps',
|
776 |
-
'title' => __('You don\'t have an XML Sitemap!', 'wp-seopress'),
|
777 |
-
'desc' => __('XML Sitemaps are useful to facilitate the crawling of your content by search engine robots. Indirectly, this can benefit your ranking by reducing the crawl bugdet.', 'wp-seopress'),
|
778 |
-
'impact' => [
|
779 |
-
'medium' => __('Medium impact', 'wp-seopress'),
|
780 |
-
],
|
781 |
-
'link' => [
|
782 |
-
'en' => admin_url('admin.php?page=seopress-xml-sitemap'),
|
783 |
-
'title' => __('Fix this!', 'wp-seopress'),
|
784 |
-
'external' => false,
|
785 |
-
],
|
786 |
-
'icon' => 'dashicons-warning',
|
787 |
-
'deleteable' => false,
|
788 |
-
];
|
789 |
-
seopress_notification($args);
|
790 |
-
}
|
791 |
-
function seopress_get_hidden_notices_google_business_option() {
|
792 |
-
$seopress_get_hidden_notices_google_business_option = get_option('seopress_notices');
|
793 |
-
if ( ! empty($seopress_get_hidden_notices_google_business_option)) {
|
794 |
-
foreach ($seopress_get_hidden_notices_google_business_option as $key => $seopress_get_hidden_notices_google_business_value) {
|
795 |
-
$options[$key] = $seopress_get_hidden_notices_google_business_value;
|
796 |
-
}
|
797 |
-
if (isset($seopress_get_hidden_notices_google_business_option['notice-google-business'])) {
|
798 |
-
return $seopress_get_hidden_notices_google_business_option['notice-google-business'];
|
799 |
-
}
|
800 |
-
}
|
801 |
-
}
|
802 |
-
if ('1' != seopress_get_hidden_notices_google_business_option()) {
|
803 |
-
$args = [
|
804 |
-
'id' => 'notice-google-business',
|
805 |
-
'title' => __('Do you have a Google My Business page? It\'s free!', 'wp-seopress'),
|
806 |
-
'desc' => __('Local Business websites should have a My Business page to improve visibility in search results. Click on the cross on the right to delete this notification if you are not concerned.', 'wp-seopress'),
|
807 |
-
'impact' => [
|
808 |
-
'high' => __('High impact', 'wp-seopress'),
|
809 |
-
],
|
810 |
-
'link' => [
|
811 |
-
'en' => 'https://www.google.com/business/go/',
|
812 |
-
'title' => __('Create your page now!', 'wp-seopress'),
|
813 |
-
'external' => true,
|
814 |
-
],
|
815 |
-
'deleteable' => true,
|
816 |
-
];
|
817 |
-
seopress_notification($args);
|
818 |
-
}
|
819 |
-
function seopress_get_hidden_notices_search_console_option() {
|
820 |
-
$seopress_get_hidden_notices_search_console_option = get_option('seopress_notices');
|
821 |
-
if ( ! empty($seopress_get_hidden_notices_search_console_option)) {
|
822 |
-
foreach ($seopress_get_hidden_notices_search_console_option as $key => $seopress_get_hidden_notices_search_console_value) {
|
823 |
-
$options[$key] = $seopress_get_hidden_notices_search_console_value;
|
824 |
-
}
|
825 |
-
if (isset($seopress_get_hidden_notices_search_console_option['notice-search-console'])) {
|
826 |
-
return $seopress_get_hidden_notices_search_console_option['notice-search-console'];
|
827 |
-
}
|
828 |
-
}
|
829 |
-
}
|
830 |
-
function seopress_get_google_site_verification_option() {
|
831 |
-
$seopress_get_google_site_verification_option = get_option('seopress_advanced_option_name');
|
832 |
-
if ( ! empty($seopress_get_google_site_verification_option)) {
|
833 |
-
foreach ($seopress_get_google_site_verification_option as $key => $seopress_get_google_site_verification_value) {
|
834 |
-
$options[$key] = $seopress_get_google_site_verification_value;
|
835 |
-
}
|
836 |
-
if (isset($seopress_get_google_site_verification_option['seopress_advanced_advanced_google'])) {
|
837 |
-
return $seopress_get_google_site_verification_option['seopress_advanced_advanced_google'];
|
838 |
-
}
|
839 |
-
}
|
840 |
-
}
|
841 |
-
if ('1' != seopress_get_hidden_notices_search_console_option() && '' == seopress_get_google_site_verification_option()) {
|
842 |
-
$args = [
|
843 |
-
'id' => 'notice-search-console',
|
844 |
-
'title' => __('Add your site to Google. It\'s free!', 'wp-seopress'),
|
845 |
-
'desc' => __('Is your brand new site online? So reference it as quickly as possible on Google to get your first visitors via Google Search Console. Already the case? Click on the cross on the right to remove this alert.', 'wp-seopress'),
|
846 |
-
'impact' => [
|
847 |
-
'high' => __('High impact', 'wp-seopress'),
|
848 |
-
],
|
849 |
-
'link' => [
|
850 |
-
'en' => 'https://www.google.com/webmasters/tools/home',
|
851 |
-
'title' => __('Add your site to Search Console!', 'wp-seopress'),
|
852 |
-
'external' => true,
|
853 |
-
],
|
854 |
-
'deleteable' => true,
|
855 |
-
];
|
856 |
-
seopress_notification($args);
|
857 |
-
}
|
858 |
-
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
859 |
-
if (function_exists('seopress_rich_snippets_enable_option') && '1' != seopress_rich_snippets_enable_option()) {
|
860 |
-
$args = [
|
861 |
-
'id' => 'notice-schemas-metabox',
|
862 |
-
'title' => __('Structured data types is not correctly enabled', 'wp-seopress'),
|
863 |
-
'desc' => __('Please enable <strong>Structured Data Types metabox for your posts, pages and custom post types</strong> option in order to use automatic and manual schemas. (SEO > PRO > Structured Data Types (schema.org)', 'wp-seopress'),
|
864 |
-
'impact' => [
|
865 |
-
'high' => __('High impact', 'wp-seopress'),
|
866 |
-
],
|
867 |
-
'link' => [
|
868 |
-
'en' => esc_url(admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_rich_snippets')),
|
869 |
-
'title' => __('Fix this!', 'wp-seopress'),
|
870 |
-
'external' => false,
|
871 |
-
],
|
872 |
-
'icon' => 'dashicons-warning',
|
873 |
-
'deleteable' => false,
|
874 |
-
];
|
875 |
-
seopress_notification($args);
|
876 |
-
}
|
877 |
-
}
|
878 |
-
if ('valid' != get_option('seopress_pro_license_status') && is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
879 |
-
$args = [
|
880 |
-
'id' => 'notice-license',
|
881 |
-
'title' => __('You have to enter your licence key to get updates and support', 'wp-seopress'),
|
882 |
-
'desc' => __('Please activate the SEOPress PRO license key to automatically receive updates to guarantee you the best user experience possible.', 'wp-seopress'),
|
883 |
-
'impact' => [
|
884 |
-
'info' => __('License', 'wp-seopress'),
|
885 |
-
],
|
886 |
-
'link' => [
|
887 |
-
'en' => admin_url('admin.php?page=seopress-license'),
|
888 |
-
'title' => __('Fix this!', 'wp-seopress'),
|
889 |
-
'external' => false,
|
890 |
-
],
|
891 |
-
'icon' => 'dashicons-admin-network',
|
892 |
-
'deleteable' => false,
|
893 |
-
];
|
894 |
-
seopress_notification($args);
|
895 |
-
}
|
896 |
-
if ( ! is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
897 |
-
function seopress_get_hidden_notices_go_pro_option() {
|
898 |
-
$seopress_get_hidden_notices_go_pro_option = get_option('seopress_notices');
|
899 |
-
if ( ! empty($seopress_get_hidden_notices_go_pro_option)) {
|
900 |
-
foreach ($seopress_get_hidden_notices_go_pro_option as $key => $seopress_get_hidden_notices_go_pro_value) {
|
901 |
-
$options[$key] = $seopress_get_hidden_notices_go_pro_value;
|
902 |
-
}
|
903 |
-
if (isset($seopress_get_hidden_notices_go_pro_option['notice-go-pro'])) {
|
904 |
-
return $seopress_get_hidden_notices_go_pro_option['notice-go-pro'];
|
905 |
-
}
|
906 |
-
}
|
907 |
-
}
|
908 |
-
if ('1' != seopress_get_hidden_notices_go_pro_option() && '' == seopress_get_hidden_notices_go_pro_option()) {
|
909 |
-
$args = [
|
910 |
-
'id' => 'notice-go-pro',
|
911 |
-
'title' => __('Take your SEO to the next level with SEOPress PRO!', 'wp-seopress'),
|
912 |
-
'desc' => __('The PRO version of SEOPress allows you to easily manage your structured data (schemas), add a breadcrumb optimized for SEO and accessibility, improve SEO for WooCommerce, gain productivity with our import / export tool from a CSV of your metadata and so much more.', 'wp-seopress'),
|
913 |
-
'impact' => [
|
914 |
-
'info' => __('PRO', 'wp-seopress'),
|
915 |
-
],
|
916 |
-
'link' => [
|
917 |
-
'fr' => 'https://www.seopress.org/fr?utm_source=plugin&utm_medium=notification&utm_campaign=dashboard',
|
918 |
-
'en' => 'https://www.seopress.org/?utm_source=plugin&utm_medium=notification&utm_campaign=dashboard',
|
919 |
-
'title' => __('Upgrade now!', 'wp-seopress'),
|
920 |
-
'external' => true,
|
921 |
-
],
|
922 |
-
'deleteable' => true,
|
923 |
-
];
|
924 |
-
seopress_notification($args);
|
925 |
-
}
|
926 |
-
} ?>
|
927 |
-
</div><!--#seopress-notifications-center-->
|
928 |
-
</div>
|
929 |
-
<?php } ?>
|
930 |
-
|
931 |
-
<?php if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) { ?>
|
932 |
-
<div id="tab_seopress_seo_tools" class="seopress-tab seopress-useful-tools <?php if ('tab_seopress_seo_tools' == $current_tab) {
|
933 |
-
echo 'active';
|
934 |
-
} ?>">
|
935 |
-
|
936 |
-
<!-- Reverse -->
|
937 |
-
<div class="widget widget-reverse">
|
938 |
-
<h3 class="widget-title"><span class="dashicons dashicons-welcome-view-site"></span><?php _e('Check websites setup on your server', 'wp-seopress'); ?></h3>
|
939 |
-
|
940 |
-
<p>
|
941 |
-
<?php
|
942 |
-
if ('' != get_transient('seopress_results_reverse')) {
|
943 |
-
$seopress_results_reverse = (array) json_decode(get_transient('seopress_results_reverse'));
|
944 |
-
|
945 |
-
//Init
|
946 |
-
$seopress_results_reverse_remote_ip_address = __('Not found', 'wp-seopress');
|
947 |
-
if (isset($seopress_results_reverse['remoteIpAddress'])) {
|
948 |
-
$seopress_results_reverse_remote_ip_address = $seopress_results_reverse['remoteIpAddress'];
|
949 |
-
}
|
950 |
-
|
951 |
-
$seopress_results_reverse_last_scrape = __('No scrape.', 'wp-seopress');
|
952 |
-
if (isset($seopress_results_reverse['lastScrape'])) {
|
953 |
-
$seopress_results_reverse_last_scrape = $seopress_results_reverse['lastScrape'];
|
954 |
-
}
|
955 |
-
|
956 |
-
$seopress_results_reverse_domain_count = __('No domain found.', 'wp-seopress');
|
957 |
-
if (isset($seopress_results_reverse['domainCount'])) {
|
958 |
-
$seopress_results_reverse_domain_count = $seopress_results_reverse['domainCount'];
|
959 |
-
}
|
960 |
-
|
961 |
-
$seopress_results_reverse_domain_array = '';
|
962 |
-
if (isset($seopress_results_reverse['domainArray'])) {
|
963 |
-
$seopress_results_reverse_domain_array = $seopress_results_reverse['domainArray'];
|
964 |
-
}
|
965 |
-
|
966 |
-
echo '<p class="remote-ip"><strong>' . __('Server IP Address: ', 'wp-seopress') . '</strong>' . $seopress_results_reverse_remote_ip_address . '</p>';
|
967 |
-
|
968 |
-
echo '<p class="last-scrape"><strong>' . __('Last scrape: ', 'wp-seopress') . '</strong>' . $seopress_results_reverse_last_scrape . '</p>';
|
969 |
-
echo '<p class="domain-count"><strong>' . __('Number of websites on your server: ', 'wp-seopress') . '</strong>' . $seopress_results_reverse_domain_count . '</p>';
|
970 |
-
|
971 |
-
if ('' != $seopress_results_reverse_domain_array) {
|
972 |
-
echo '<ul>';
|
973 |
-
foreach ($seopress_results_reverse_domain_array as $key => $value) {
|
974 |
-
echo '<li><span class="dashicons dashicons-minus"></span><a href="//' . preg_replace('#^https?://#', '', $value[0]) . '" target="_blank">' . $value[0] . '</a><span class="dashicons dashicons-external"></span></li>';
|
975 |
-
}
|
976 |
-
echo '</ul>';
|
977 |
-
}
|
978 |
-
}
|
979 |
-
?>
|
980 |
-
<br>
|
981 |
-
<button id="seopress-reverse-submit" type="button" class="button button-primary" name="submit">
|
982 |
-
<?php _e('Get list', 'wp-seopress'); ?>
|
983 |
-
</button>
|
984 |
-
|
985 |
-
<span id="spinner-reverse" class="spinner"></span>
|
986 |
-
</div>
|
987 |
-
</div>
|
988 |
-
<?php } ?>
|
989 |
-
<div id="tab_seopress_links" class="seopress-tab seopress-useful-tools <?php if ('tab_seopress_links' == $current_tab) {
|
990 |
-
echo 'active';
|
991 |
-
} ?>">
|
992 |
-
<ul>
|
993 |
-
<li><span class="dashicons dashicons-arrow-right-alt2"></span><a href="https://www.seopress.org/blog/" target="_blank"><?php _e('Our blog: SEO news, how-to, tips and tricks...', 'wp-seopress'); ?></a><span class="dashicons dashicons-external"></span></li>
|
994 |
-
<li><span class="dashicons dashicons-arrow-right-alt2"></span><a href="https://www.google.com/webmasters/tools/disavow-links-main" target="_blank"><?php _e('Upload a list of links to disavow to Google', 'wp-seopress'); ?></a><span class="dashicons dashicons-external"></span></li>
|
995 |
-
<?php if ( ! is_plugin_active('imageseo/imageseo.php')) {
|
996 |
-
if (function_exists('seopress_get_toggle_white_label_option') && '1' != seopress_get_toggle_white_label_option()) {
|
997 |
-
echo '<li><span class="dashicons dashicons-arrow-right-alt2"></span><a href="https://www.seopress.org/go/image-seo" target="_blank">' . __('Image SEO plugin to optimize your image ALT texts and names for Search Engines.', 'wp-seopress') . '</a><span class="dashicons dashicons-external"></span></li>';
|
998 |
-
}
|
999 |
-
}
|
1000 |
-
?>
|
1001 |
-
<li><span class="dashicons dashicons-arrow-right-alt2"></span><a href="https://www.dareboost.com/en/home" target="_blank"><?php _e('Dareboost: Test, analyze and optimize your website', 'wp-seopress'); ?></a><span class="dashicons dashicons-external"></span></li>
|
1002 |
-
<li><span class="dashicons dashicons-arrow-right-alt2"></span><a href="https://ga-dev-tools.appspot.com/campaign-url-builder/" target="_blank"><?php _e('Google Campaign URL Builder tool', 'wp-seopress'); ?></a><span class="dashicons dashicons-external"></span></li>
|
1003 |
-
</ul>
|
1004 |
-
</div>
|
1005 |
-
</div>
|
1006 |
-
</div>
|
1007 |
-
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks :)');
|
4 |
+
|
5 |
+
$this->options = get_option('seopress_advanced_option_name');
|
6 |
+
if (function_exists('seopress_admin_header')) {
|
7 |
+
echo seopress_admin_header();
|
8 |
+
} ?>
|
9 |
+
<form method="post"
|
10 |
+
action="<?php echo admin_url('options.php'); ?>"
|
11 |
+
class="seopress-option">
|
12 |
+
<?php
|
13 |
+
echo $this->seopress_feature_title('advanced');
|
14 |
+
settings_fields('seopress_advanced_option_group'); ?>
|
15 |
+
|
16 |
+
<div id="seopress-tabs" class="wrap">
|
17 |
+
<?php
|
18 |
+
$current_tab = '';
|
19 |
+
$plugin_settings_tabs = [
|
20 |
+
'tab_seopress_advanced_image' => __('Image SEO', 'wp-seopress'),
|
21 |
+
'tab_seopress_advanced_advanced' => __('Advanced', 'wp-seopress'),
|
22 |
+
'tab_seopress_advanced_appearance' => __('Appearance', 'wp-seopress'),
|
23 |
+
'tab_seopress_advanced_security' => __('Security', 'wp-seopress'),
|
24 |
+
];
|
25 |
+
?>
|
26 |
+
<div class="nav-tab-wrapper">
|
27 |
+
|
28 |
+
<?php foreach ($plugin_settings_tabs as $tab_key => $tab_caption) { ?>
|
29 |
+
<a id="<?php echo $tab_key; ?>-tab" class="nav-tab"
|
30 |
+
href="?page=seopress-advanced#tab=<?php echo $tab_key; ?>"><?php echo $tab_caption; ?></a>
|
31 |
+
<?php } ?>
|
32 |
+
|
33 |
+
</div>
|
34 |
+
<div class="seopress-tab<?php if ('tab_seopress_advanced_image' == $current_tab) {
|
35 |
+
echo ' active';
|
36 |
+
} ?>" id="tab_seopress_advanced_image"><?php do_settings_sections('seopress-settings-admin-advanced-image'); ?>
|
37 |
+
</div>
|
38 |
+
<div class="seopress-tab<?php if ('tab_seopress_advanced_advanced' == $current_tab) {
|
39 |
+
echo ' active';
|
40 |
+
} ?>" id="tab_seopress_advanced_advanced"><?php do_settings_sections('seopress-settings-admin-advanced-advanced'); ?>
|
41 |
+
</div>
|
42 |
+
<div class="seopress-tab<?php if ('tab_seopress_advanced_appearance' == $current_tab) {
|
43 |
+
echo ' active';
|
44 |
+
} ?>" id="tab_seopress_advanced_appearance"><?php do_settings_sections('seopress-settings-admin-advanced-appearance'); ?>
|
45 |
+
</div>
|
46 |
+
<div class="seopress-tab<?php if ('tab_seopress_advanced_security' == $current_tab) {
|
47 |
+
echo ' active';
|
48 |
+
} ?>" id="tab_seopress_advanced_security"><?php do_settings_sections('seopress-settings-admin-advanced-security'); ?>
|
49 |
+
</div>
|
50 |
+
</div>
|
51 |
+
|
52 |
+
<?php sp_submit_button(__('Save changes', 'wp-seopress')); ?>
|
53 |
+
</form>
|
54 |
+
<?php
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks :)');
|
4 |
+
|
5 |
+
$this->options = get_option('seopress_google_analytics_option_name');
|
6 |
+
if (function_exists('seopress_admin_header')) {
|
7 |
+
echo seopress_admin_header();
|
8 |
+
} ?>
|
9 |
+
<form method="post"
|
10 |
+
action="<?php echo admin_url('options.php'); ?>"
|
11 |
+
class="seopress-option">
|
12 |
+
<?php
|
13 |
+
echo $this->seopress_feature_title('google-analytics');
|
14 |
+
settings_fields('seopress_google_analytics_option_group'); ?>
|
15 |
+
|
16 |
+
<div id="seopress-tabs" class="wrap">
|
17 |
+
<?php
|
18 |
+
$current_tab = '';
|
19 |
+
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
20 |
+
$plugin_settings_tabs = [
|
21 |
+
'tab_seopress_google_analytics_enable' => __('General', 'wp-seopress'),
|
22 |
+
'tab_seopress_google_analytics_features' => __('Tracking', 'wp-seopress'),
|
23 |
+
'tab_seopress_google_analytics_ecommerce' => __('Ecommerce', 'wp-seopress'),
|
24 |
+
'tab_seopress_google_analytics_events' => __('Events', 'wp-seopress'),
|
25 |
+
'tab_seopress_google_analytics_custom_dimensions' => __('Custom Dimensions', 'wp-seopress'),
|
26 |
+
'tab_seopress_google_analytics_dashboard' => __('Stats in Dashboard', 'wp-seopress'),
|
27 |
+
'tab_seopress_google_analytics_gdpr' => __('Cookie bar / GDPR', 'wp-seopress'),
|
28 |
+
'tab_seopress_google_analytics_matomo' => __('Matomo', 'wp-seopress'),
|
29 |
+
];
|
30 |
+
} else {
|
31 |
+
$plugin_settings_tabs = [
|
32 |
+
'tab_seopress_google_analytics_enable' => __('General', 'wp-seopress'),
|
33 |
+
'tab_seopress_google_analytics_features' => __('Tracking', 'wp-seopress'),
|
34 |
+
'tab_seopress_google_analytics_events' => __('Events', 'wp-seopress'),
|
35 |
+
'tab_seopress_google_analytics_custom_dimensions' => __('Custom Dimensions', 'wp-seopress'),
|
36 |
+
'tab_seopress_google_analytics_gdpr' => __('Cookie bar / GDPR', 'wp-seopress'),
|
37 |
+
'tab_seopress_google_analytics_matomo' => __('Matomo', 'wp-seopress'),
|
38 |
+
];
|
39 |
+
}
|
40 |
+
|
41 |
+
echo '<div class="nav-tab-wrapper">';
|
42 |
+
foreach ($plugin_settings_tabs as $tab_key => $tab_caption) {
|
43 |
+
echo '<a id="' . $tab_key . '-tab" class="nav-tab" href="?page=seopress-google-analytics#tab=' . $tab_key . '">' . $tab_caption . '</a>';
|
44 |
+
}
|
45 |
+
echo '</div>'; ?>
|
46 |
+
<div class="seopress-tab <?php if ('tab_seopress_google_analytics_enable' == $current_tab) {
|
47 |
+
echo 'active';
|
48 |
+
} ?>" id="tab_seopress_google_analytics_enable"><?php do_settings_sections('seopress-settings-admin-google-analytics-enable'); ?>
|
49 |
+
</div>
|
50 |
+
<div class="seopress-tab <?php if ('tab_seopress_google_analytics_features' == $current_tab) {
|
51 |
+
echo 'active';
|
52 |
+
} ?>" id="tab_seopress_google_analytics_features"><?php do_settings_sections('seopress-settings-admin-google-analytics-features'); ?>
|
53 |
+
</div>
|
54 |
+
<div class="seopress-tab <?php if ('tab_seopress_google_analytics_events' == $current_tab) {
|
55 |
+
echo 'active';
|
56 |
+
} ?>" id="tab_seopress_google_analytics_events"><?php do_settings_sections('seopress-settings-admin-google-analytics-events'); ?>
|
57 |
+
</div>
|
58 |
+
<div class="seopress-tab <?php if ('tab_seopress_google_analytics_custom_dimensions' == $current_tab) {
|
59 |
+
echo 'active';
|
60 |
+
} ?>" id="tab_seopress_google_analytics_custom_dimensions"><?php do_settings_sections('seopress-settings-admin-google-analytics-custom-dimensions'); ?>
|
61 |
+
</div>
|
62 |
+
<?php if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) { ?>
|
63 |
+
<div class="seopress-tab <?php if ('tab_seopress_google_analytics_dashboard' == $current_tab) {
|
64 |
+
echo 'active';
|
65 |
+
} ?>" id="tab_seopress_google_analytics_dashboard"><?php do_settings_sections('seopress-settings-admin-google-analytics-dashboard'); ?>
|
66 |
+
</div>
|
67 |
+
<div class="seopress-tab <?php if ('tab_seopress_google_analytics_ecommerce' == $current_tab) {
|
68 |
+
echo 'active';
|
69 |
+
} ?>" id="tab_seopress_google_analytics_ecommerce"><?php do_settings_sections('seopress-settings-admin-google-analytics-ecommerce'); ?>
|
70 |
+
</div>
|
71 |
+
<?php } ?>
|
72 |
+
<div class="seopress-tab <?php if ('tab_seopress_google_analytics_gdpr' == $current_tab) {
|
73 |
+
echo 'active';
|
74 |
+
} ?>" id="tab_seopress_google_analytics_gdpr"><?php do_settings_sections('seopress-settings-admin-google-analytics-gdpr'); ?>
|
75 |
+
</div>
|
76 |
+
<div class="seopress-tab <?php if ('tab_seopress_google_analytics_matomo' == $current_tab) {
|
77 |
+
echo 'active';
|
78 |
+
} ?>" id="tab_seopress_google_analytics_matomo"><?php do_settings_sections('seopress-settings-admin-google-analytics-matomo'); ?>
|
79 |
+
</div>
|
80 |
+
</div>
|
81 |
+
|
82 |
+
<?php sp_submit_button(__('Save changes', 'wp-seopress')); ?>
|
83 |
+
</form>
|
84 |
+
<?php
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks :)');
|
4 |
+
|
5 |
+
// Set class property
|
6 |
+
$this->options = get_option('seopress_option_name');
|
7 |
+
$current_tab ='';
|
8 |
+
if (function_exists('seopress_admin_header')) {
|
9 |
+
echo seopress_admin_header();
|
10 |
+
} ?>
|
11 |
+
<div id="seopress-content" class="seopress-option">
|
12 |
+
<!--Get started-->
|
13 |
+
<?php
|
14 |
+
function seopress_get_hidden_notices_get_started_option()
|
15 |
+
{
|
16 |
+
$seopress_get_hidden_notices_get_started_option = get_option('seopress_notices');
|
17 |
+
if (! empty($seopress_get_hidden_notices_get_started_option)) {
|
18 |
+
foreach ($seopress_get_hidden_notices_get_started_option as $key => $seopress_get_hidden_notices_get_started_value) {
|
19 |
+
$options[$key] = $seopress_get_hidden_notices_get_started_value;
|
20 |
+
}
|
21 |
+
if (isset($seopress_get_hidden_notices_get_started_option['notice-get-started'])) {
|
22 |
+
return $seopress_get_hidden_notices_get_started_option['notice-get-started'];
|
23 |
+
}
|
24 |
+
}
|
25 |
+
}
|
26 |
+
if ('1' != seopress_get_hidden_notices_get_started_option()) {
|
27 |
+
if (function_exists('seopress_get_toggle_white_label_option') && '1' == seopress_get_toggle_white_label_option()) {
|
28 |
+
//do nothing
|
29 |
+
} else {
|
30 |
+
include_once dirname(dirname(__FILE__)) . '/blocks/get-started.php';
|
31 |
+
}
|
32 |
+
} ?>
|
33 |
+
<div class="seopress-dashboard-columns">
|
34 |
+
<div class="seopress-dashboard-column">
|
35 |
+
<?php include_once dirname(dirname(__FILE__)) . '/blocks/intro.php'; ?>
|
36 |
+
<?php include_once dirname(dirname(__FILE__)) . '/blocks/tasks.php'; ?>
|
37 |
+
<?php include_once dirname(dirname(__FILE__)) . '/blocks/notifications-center.php'; ?>
|
38 |
+
</div>
|
39 |
+
<div class="seopress-dashboard-column">
|
40 |
+
<?php
|
41 |
+
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
42 |
+
include_once dirname(dirname(__FILE__)) . '/blocks/insights.php';
|
43 |
+
} ?>
|
44 |
+
<?php include_once dirname(dirname(__FILE__)) . '/blocks/news.php'; ?>
|
45 |
+
<?php include_once dirname(dirname(__FILE__)) . '/admin-features-list.php'; ?>
|
46 |
+
</div>
|
47 |
+
</div>
|
48 |
+
|
49 |
+
<?php echo $this->seopress_feature_save(); ?>
|
50 |
+
</div>
|
51 |
+
<?php
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks :)');
|
4 |
+
|
5 |
+
$this->options = get_option('seopress_xml_sitemap_option_name');
|
6 |
+
if (function_exists('seopress_admin_header')) {
|
7 |
+
echo seopress_admin_header();
|
8 |
+
} ?>
|
9 |
+
<form method="post" action="<?php echo admin_url('options.php'); ?>" class="seopress-option" name="seopress-flush">
|
10 |
+
<?php
|
11 |
+
echo $this->seopress_feature_title('xml-sitemap');
|
12 |
+
settings_fields('seopress_xml_sitemap_option_group'); ?>
|
13 |
+
|
14 |
+
<div id="seopress-tabs" class="wrap">
|
15 |
+
<?php
|
16 |
+
$current_tab = '';
|
17 |
+
$plugin_settings_tabs = [
|
18 |
+
'tab_seopress_xml_sitemap_general' => __('General', 'wp-seopress'),
|
19 |
+
'tab_seopress_xml_sitemap_post_types' => __('Post Types', 'wp-seopress'),
|
20 |
+
'tab_seopress_xml_sitemap_taxonomies' => __('Taxonomies', 'wp-seopress'),
|
21 |
+
'tab_seopress_html_sitemap' => __('HTML Sitemap', 'wp-seopress'),
|
22 |
+
];
|
23 |
+
|
24 |
+
echo '<div class="nav-tab-wrapper">';
|
25 |
+
foreach ($plugin_settings_tabs as $tab_key => $tab_caption) {
|
26 |
+
echo '<a id="' . $tab_key . '-tab" class="nav-tab" href="?page=seopress-xml-sitemap#tab=' . $tab_key . '">' . $tab_caption . '</a>';
|
27 |
+
}
|
28 |
+
echo '</div>'; ?>
|
29 |
+
<div class="seopress-tab <?php if ('tab_seopress_xml_sitemap_general' == $current_tab) {
|
30 |
+
echo 'active';
|
31 |
+
} ?>" id="tab_seopress_xml_sitemap_general"><?php do_settings_sections('seopress-settings-admin-xml-sitemap-general'); ?></div>
|
32 |
+
<div class="seopress-tab <?php if ('tab_seopress_xml_sitemap_post_types' == $current_tab) {
|
33 |
+
echo 'active';
|
34 |
+
} ?>" id="tab_seopress_xml_sitemap_post_types"><?php do_settings_sections('seopress-settings-admin-xml-sitemap-post-types'); ?></div>
|
35 |
+
<div class="seopress-tab <?php if ('tab_seopress_xml_sitemap_taxonomies' == $current_tab) {
|
36 |
+
echo 'active';
|
37 |
+
} ?>" id="tab_seopress_xml_sitemap_taxonomies"><?php do_settings_sections('seopress-settings-admin-xml-sitemap-taxonomies'); ?></div>
|
38 |
+
<div class="seopress-tab <?php if ('tab_seopress_html_sitemap' == $current_tab) {
|
39 |
+
echo 'active';
|
40 |
+
} ?>" id="tab_seopress_html_sitemap"><?php do_settings_sections('seopress-settings-admin-html-sitemap'); ?></div>
|
41 |
+
</div>
|
42 |
+
|
43 |
+
<?php sp_submit_button(__('Save changes', 'wp-seopress')); ?>
|
44 |
+
</form>
|
45 |
+
<?php
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks :)');
|
4 |
+
|
5 |
+
$this->options = get_option('seopress_social_option_name');
|
6 |
+
if (function_exists('seopress_admin_header')) {
|
7 |
+
echo seopress_admin_header();
|
8 |
+
} ?>
|
9 |
+
<form method="post" action="<?php echo admin_url('options.php'); ?>" class="seopress-option">
|
10 |
+
<?php
|
11 |
+
echo $this->seopress_feature_title('social');
|
12 |
+
settings_fields('seopress_social_option_group'); ?>
|
13 |
+
|
14 |
+
<div id="seopress-tabs" class="wrap">
|
15 |
+
<?php
|
16 |
+
$current_tab = '';
|
17 |
+
$plugin_settings_tabs = [
|
18 |
+
'tab_seopress_social_knowledge' => __('Knowledge Graph', 'wp-seopress'),
|
19 |
+
'tab_seopress_social_accounts' => __('Your social accounts', 'wp-seopress'),
|
20 |
+
'tab_seopress_social_facebook' => __('Facebook (Open Graph)', 'wp-seopress'),
|
21 |
+
'tab_seopress_social_twitter' => __('Twitter (Twitter card)', 'wp-seopress'),
|
22 |
+
];
|
23 |
+
|
24 |
+
echo '<div class="nav-tab-wrapper">';
|
25 |
+
foreach ($plugin_settings_tabs as $tab_key => $tab_caption) {
|
26 |
+
echo '<a id="' . $tab_key . '-tab" class="nav-tab" href="?page=seopress-social#tab=' . $tab_key . '">' . $tab_caption . '</a>';
|
27 |
+
}
|
28 |
+
echo '</div>'; ?>
|
29 |
+
<div class="seopress-tab <?php if ('tab_seopress_social_knowledge' == $current_tab) {
|
30 |
+
echo 'active';
|
31 |
+
} ?>" id="tab_seopress_social_knowledge"><?php do_settings_sections('seopress-settings-admin-social-knowledge'); ?></div>
|
32 |
+
<div class="seopress-tab <?php if ('tab_seopress_social_accounts' == $current_tab) {
|
33 |
+
echo 'active';
|
34 |
+
} ?>" id="tab_seopress_social_accounts"><?php do_settings_sections('seopress-settings-admin-social-accounts'); ?></div>
|
35 |
+
<div class="seopress-tab <?php if ('tab_seopress_social_facebook' == $current_tab) {
|
36 |
+
echo 'active';
|
37 |
+
} ?>" id="tab_seopress_social_facebook"><?php do_settings_sections('seopress-settings-admin-social-facebook'); ?></div>
|
38 |
+
<div class="seopress-tab <?php if ('tab_seopress_social_twitter' == $current_tab) {
|
39 |
+
echo 'active';
|
40 |
+
} ?>" id="tab_seopress_social_twitter"><?php do_settings_sections('seopress-settings-admin-social-twitter'); ?></div>
|
41 |
+
</div>
|
42 |
+
|
43 |
+
<?php sp_submit_button(__('Save changes', 'wp-seopress')); ?>
|
44 |
+
</form>
|
45 |
+
<?php
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks :)');
|
4 |
+
|
5 |
+
$this->options = get_option('seopress_titles_option_name');
|
6 |
+
if (function_exists('seopress_admin_header')) {
|
7 |
+
echo seopress_admin_header();
|
8 |
+
} ?>
|
9 |
+
<form method="post"
|
10 |
+
action="<?php echo admin_url('options.php'); ?>"
|
11 |
+
class="seopress-option">
|
12 |
+
<?php
|
13 |
+
echo $this->seopress_feature_title('titles');
|
14 |
+
settings_fields('seopress_titles_option_group'); ?>
|
15 |
+
|
16 |
+
<div id="seopress-tabs" class="wrap">
|
17 |
+
<?php
|
18 |
+
$current_tab = '';
|
19 |
+
$plugin_settings_tabs = [
|
20 |
+
'tab_seopress_titles_home' => __('Home', 'wp-seopress'),
|
21 |
+
'tab_seopress_titles_single' => __('Post Types', 'wp-seopress'),
|
22 |
+
'tab_seopress_titles_archives' => __('Archives', 'wp-seopress'),
|
23 |
+
'tab_seopress_titles_tax' => __('Taxonomies', 'wp-seopress'),
|
24 |
+
'tab_seopress_titles_advanced' => __('Advanced', 'wp-seopress'),
|
25 |
+
];
|
26 |
+
|
27 |
+
echo '<div class="nav-tab-wrapper">';
|
28 |
+
foreach ($plugin_settings_tabs as $tab_key => $tab_caption) {
|
29 |
+
echo '<a id="' . $tab_key . '-tab" class="nav-tab" href="?page=seopress-titles#tab=' . $tab_key . '">' . $tab_caption . '</a>';
|
30 |
+
}
|
31 |
+
echo '</div>'; ?>
|
32 |
+
<div class="seopress-tab <?php if ('tab_seopress_titles_home' == $current_tab) {
|
33 |
+
echo 'active';
|
34 |
+
} ?>" id="tab_seopress_titles_home"><?php do_settings_sections('seopress-settings-admin-titles-home'); ?>
|
35 |
+
</div>
|
36 |
+
<div class="seopress-tab <?php if ('tab_seopress_titles_single' == $current_tab) {
|
37 |
+
echo 'active';
|
38 |
+
} ?>" id="tab_seopress_titles_single"><?php do_settings_sections('seopress-settings-admin-titles-single'); ?>
|
39 |
+
</div>
|
40 |
+
<div class="seopress-tab <?php if ('tab_seopress_titles_archives' == $current_tab) {
|
41 |
+
echo 'active';
|
42 |
+
} ?>" id="tab_seopress_titles_archives"><?php do_settings_sections('seopress-settings-admin-titles-archives'); ?>
|
43 |
+
</div>
|
44 |
+
<div class="seopress-tab <?php if ('tab_seopress_titles_tax' == $current_tab) {
|
45 |
+
echo 'active';
|
46 |
+
} ?>" id="tab_seopress_titles_tax"><?php do_settings_sections('seopress-settings-admin-titles-tax'); ?>
|
47 |
+
</div>
|
48 |
+
<div class="seopress-tab <?php if ('tab_seopress_titles_advanced' == $current_tab) {
|
49 |
+
echo 'active';
|
50 |
+
} ?>" id="tab_seopress_titles_advanced"><?php do_settings_sections('seopress-settings-admin-titles-advanced'); ?>
|
51 |
+
</div>
|
52 |
+
</div>
|
53 |
+
|
54 |
+
<?php sp_submit_button(__('Save changes', 'wp-seopress')); ?>
|
55 |
+
</form>
|
56 |
+
<?php
|
@@ -0,0 +1,319 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks :)');
|
4 |
+
|
5 |
+
$this->options = get_option('seopress_import_export_option_name');
|
6 |
+
|
7 |
+
$docs = seopress_get_docs_links();
|
8 |
+
|
9 |
+
if (function_exists('seopress_admin_header')) {
|
10 |
+
echo seopress_admin_header();
|
11 |
+
} ?>
|
12 |
+
<div class="seopress-option">
|
13 |
+
<?php
|
14 |
+
echo $this->seopress_feature_title(null);
|
15 |
+
$current_tab = ''; ?>
|
16 |
+
<div id="seopress-tabs" class="wrap">
|
17 |
+
<?php
|
18 |
+
$plugin_settings_tabs = [
|
19 |
+
'tab_seopress_tool_compatibility' => __('Compatibility Center', 'wp-seopress'),
|
20 |
+
'tab_seopress_tool_data' => __('Data', 'wp-seopress'),
|
21 |
+
'tab_seopress_tool_settings' => __('Settings', 'wp-seopress'),
|
22 |
+
'tab_seopress_tool_plugins' => __('Plugins', 'wp-seopress'),
|
23 |
+
'tab_seopress_tool_redirects' => __('Redirections', 'wp-seopress'),
|
24 |
+
'tab_seopress_tool_reset' => __('Reset', 'wp-seopress'),
|
25 |
+
];
|
26 |
+
|
27 |
+
if (! is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
28 |
+
unset($plugin_settings_tabs['tab_seopress_tool_data']);
|
29 |
+
unset($plugin_settings_tabs['tab_seopress_tool_redirects']);
|
30 |
+
}
|
31 |
+
|
32 |
+
echo '<div class="nav-tab-wrapper">';
|
33 |
+
foreach ($plugin_settings_tabs as $tab_key => $tab_caption) {
|
34 |
+
echo '<a id="' . $tab_key . '-tab" class="nav-tab" href="?page=seopress-import-export#tab=' . $tab_key . '">' . $tab_caption . '</a>';
|
35 |
+
}
|
36 |
+
echo '</div>'; ?>
|
37 |
+
<div class="seopress-tab <?php if ('tab_seopress_tool_compatibility' == $current_tab) {
|
38 |
+
echo 'active';
|
39 |
+
} ?>" id="tab_seopress_tool_compatibility">
|
40 |
+
<form method="post"
|
41 |
+
action="<?php echo admin_url('options.php'); ?>">
|
42 |
+
<?php
|
43 |
+
settings_fields('seopress_tools_option_group');
|
44 |
+
do_settings_sections('seopress-settings-admin-tools-compatibility');
|
45 |
+
sp_submit_button(__('Save changes', 'wp-seopress-pro'));
|
46 |
+
?>
|
47 |
+
</form>
|
48 |
+
</div>
|
49 |
+
<?php if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) { ?>
|
50 |
+
<div class="seopress-tab <?php if ('tab_seopress_tool_data' == $current_tab) {
|
51 |
+
echo 'active';
|
52 |
+
} ?>" id="tab_seopress_tool_data">
|
53 |
+
<div class="postbox section-tool">
|
54 |
+
<div class="sp-section-header">
|
55 |
+
<h2>
|
56 |
+
<?php _e('Data', 'wp-seopress'); ?>
|
57 |
+
</h2>
|
58 |
+
</div>
|
59 |
+
<div class="inside">
|
60 |
+
<h3>
|
61 |
+
<?php _e('Import data from a CSV', 'wp-seopress'); ?>
|
62 |
+
</h3>
|
63 |
+
<p>
|
64 |
+
<?php _e('Upload a CSV file to quickly import post (post, page, single post type) and term metadata.', 'wp-seopress'); ?>
|
65 |
+
<?php echo seopress_tooltip_link($docs['tools']['csv_import'], __('Learn how to import SEO metadata from a CSV file', 'wp-seopress')); ?>
|
66 |
+
</p>
|
67 |
+
<ul>
|
68 |
+
<li>
|
69 |
+
<?php _e('Meta title', 'wp-seopress'); ?>
|
70 |
+
</li>
|
71 |
+
<li>
|
72 |
+
<?php _e('Meta description', 'wp-seopress'); ?>
|
73 |
+
</li>
|
74 |
+
<li>
|
75 |
+
<?php _e('Meta robots (noindex, nofollow...)', 'wp-seopress'); ?>
|
76 |
+
</li>
|
77 |
+
<li>
|
78 |
+
<?php _e('Facebook Open Graph tags (title, description, image)', 'wp-seopress'); ?>
|
79 |
+
</li>
|
80 |
+
<li>
|
81 |
+
<?php _e('Twitter cards tags (title, description, image)', 'wp-seopress'); ?>
|
82 |
+
</li>
|
83 |
+
<li>
|
84 |
+
<?php _e('Redirection (enable, type, URL)', 'wp-seopress'); ?>
|
85 |
+
</li>
|
86 |
+
<li>
|
87 |
+
<?php _e('Primary category', 'wp-seopress'); ?>
|
88 |
+
</li>
|
89 |
+
<li>
|
90 |
+
<?php _e('Canonical URL', 'wp-seopress'); ?>
|
91 |
+
</li>
|
92 |
+
<li>
|
93 |
+
<?php _e('Target keywords', 'wp-seopress'); ?>
|
94 |
+
</li>
|
95 |
+
</ul>
|
96 |
+
<p>
|
97 |
+
<a class="btn btnSecondary"
|
98 |
+
href="<?php echo admin_url('admin.php?page=seopress_csv_importer'); ?>">
|
99 |
+
<?php _e('Run the importer', 'wp-seopress'); ?>
|
100 |
+
</a>
|
101 |
+
</p>
|
102 |
+
</div><!-- .inside -->
|
103 |
+
</div><!-- .postbox -->
|
104 |
+
<div id="metadata-migration-tool" class="postbox section-tool">
|
105 |
+
<div class="inside">
|
106 |
+
<h3>
|
107 |
+
<?php _e('Export metadata to a CSV', 'wp-seopress'); ?>
|
108 |
+
</h3>
|
109 |
+
<p>
|
110 |
+
<?php _e('Export your post (post, page, single post type) and term metadata for this site as a .csv file.', 'wp-seopress'); ?>
|
111 |
+
<?php echo seopress_tooltip_link($docs['tools']['csv_export'], __('Learn how to export SEO metadata to a CSV file', 'wp-seopress')); ?>
|
112 |
+
</p>
|
113 |
+
<ul>
|
114 |
+
<li>
|
115 |
+
<?php _e('Meta title', 'wp-seopress'); ?>
|
116 |
+
</li>
|
117 |
+
<li>
|
118 |
+
<?php _e('Meta description', 'wp-seopress'); ?>
|
119 |
+
</li>
|
120 |
+
<li>
|
121 |
+
<?php _e('Meta robots (noindex, nofollow...)', 'wp-seopress'); ?>
|
122 |
+
</li>
|
123 |
+
<li>
|
124 |
+
<?php _e('Facebook Open Graph tags (title, description, image)', 'wp-seopress'); ?>
|
125 |
+
</li>
|
126 |
+
<li>
|
127 |
+
<?php _e('Twitter cards tags (title, description, image)', 'wp-seopress'); ?>
|
128 |
+
</li>
|
129 |
+
<li>
|
130 |
+
<?php _e('Redirection (enable, type, URL)', 'wp-seopress'); ?>
|
131 |
+
</li>
|
132 |
+
<li>
|
133 |
+
<?php _e('Primary category', 'wp-seopress'); ?>
|
134 |
+
</li>
|
135 |
+
<li>
|
136 |
+
<?php _e('Canonical URL', 'wp-seopress'); ?>
|
137 |
+
</li>
|
138 |
+
<li>
|
139 |
+
<?php _e('Target keywords', 'wp-seopress'); ?>
|
140 |
+
</li>
|
141 |
+
</ul>
|
142 |
+
<form method="post">
|
143 |
+
<input type="hidden" name="seopress_action" value="export_csv_metadata" />
|
144 |
+
<?php wp_nonce_field('seopress_export_csv_metadata_nonce', 'seopress_export_csv_metadata_nonce'); ?>
|
145 |
+
|
146 |
+
<button id="seopress-metadata-migrate" type="button" class="btn btnSecondary">
|
147 |
+
<?php _e('Export', 'wp-seopress'); ?>
|
148 |
+
</button>
|
149 |
+
|
150 |
+
<span class="spinner"></span>
|
151 |
+
|
152 |
+
<div class="log"></div>
|
153 |
+
</form>
|
154 |
+
</div><!-- .inside -->
|
155 |
+
</div><!-- .postbox -->
|
156 |
+
</div>
|
157 |
+
<?php } ?>
|
158 |
+
<div class="seopress-tab <?php if ('tab_seopress_tool_settings' == $current_tab) {
|
159 |
+
echo 'active';
|
160 |
+
} ?>" id="tab_seopress_tool_settings">
|
161 |
+
<div class="postbox section-tool">
|
162 |
+
<div class="sp-section-header">
|
163 |
+
<h2>
|
164 |
+
<?php _e('Settings', 'wp-seopress'); ?>
|
165 |
+
</h2>
|
166 |
+
</div>
|
167 |
+
<div class="inside">
|
168 |
+
<h3><span><?php _e('Export plugin settings', 'wp-seopress'); ?></span>
|
169 |
+
</h3>
|
170 |
+
|
171 |
+
<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'); ?>
|
172 |
+
</p>
|
173 |
+
|
174 |
+
<form method="post">
|
175 |
+
<input type="hidden" name="seopress_action" value="export_settings" />
|
176 |
+
<?php wp_nonce_field('seopress_export_nonce', 'seopress_export_nonce'); ?>
|
177 |
+
|
178 |
+
<button id="seopress-export" type="submit" class="btn btnSecondary">
|
179 |
+
<?php _e('Export', 'wp-seopress'); ?>
|
180 |
+
</button>
|
181 |
+
</form>
|
182 |
+
</div><!-- .inside -->
|
183 |
+
</div><!-- .postbox -->
|
184 |
+
|
185 |
+
<div class="postbox section-tool">
|
186 |
+
<div class="inside">
|
187 |
+
<h3><span><?php _e('Import plugin settings', 'wp-seopress'); ?></span>
|
188 |
+
</h3>
|
189 |
+
|
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'); ?>
|
191 |
+
</p>
|
192 |
+
|
193 |
+
<form method="post" enctype="multipart/form-data">
|
194 |
+
<p>
|
195 |
+
<input type="file" name="import_file" />
|
196 |
+
</p>
|
197 |
+
<input type="hidden" name="seopress_action" value="import_settings" />
|
198 |
+
|
199 |
+
<?php wp_nonce_field('seopress_import_nonce', 'seopress_import_nonce'); ?>
|
200 |
+
|
201 |
+
<button id="seopress-import-settings" type="submit" class="btn btnSecondary">
|
202 |
+
<?php _e('Import', 'wp-seopress'); ?>
|
203 |
+
</button>
|
204 |
+
|
205 |
+
<?php if (! empty($_GET['success']) && 'true' == htmlspecialchars($_GET['success'])) {
|
206 |
+
echo '<div class="log" style="display:block"><div class="seopress-notice is-success"><p>' . __('Import completed!', 'wp-seopress') . '</p></div></div>';
|
207 |
+
} ?>
|
208 |
+
</form>
|
209 |
+
</div><!-- .inside -->
|
210 |
+
</div><!-- .postbox -->
|
211 |
+
</div>
|
212 |
+
<div class="seopress-tab <?php if ('tab_seopress_tool_plugins' == $current_tab) {
|
213 |
+
echo 'active';
|
214 |
+
} ?>" id="tab_seopress_tool_plugins">
|
215 |
+
<div class="sp-section-header">
|
216 |
+
<h2>
|
217 |
+
<?php _e('Plugins', 'wp-seopress'); ?>
|
218 |
+
</h2>
|
219 |
+
</div>
|
220 |
+
<h3><span><?php _e('Import posts and terms metadata from', 'wp-seopress'); ?></span>
|
221 |
+
</h3>
|
222 |
+
|
223 |
+
<?php
|
224 |
+
$plugins = [
|
225 |
+
'yoast' => 'Yoast SEO',
|
226 |
+
'aio' => 'All In One SEO',
|
227 |
+
'seo-framework' => 'The SEO Framework',
|
228 |
+
'rk' => 'Rank Math',
|
229 |
+
'squirrly' => 'Squirrly SEO',
|
230 |
+
'seo-ultimate' => 'SEO Ultimate',
|
231 |
+
'wp-meta-seo' => 'WP Meta SEO',
|
232 |
+
'premium-seo-pack' => 'Premium SEO Pack',
|
233 |
+
'wpseo' => 'wpSEO',
|
234 |
+
'platinum-seo' => 'Platinum SEO Pack',
|
235 |
+
'smart-crawl' => 'SmartCrawl',
|
236 |
+
'seopressor' => 'SEOPressor',
|
237 |
+
];
|
238 |
+
|
239 |
+
echo '<p>
|
240 |
+
<select id="select-wizard-import" name="select-wizard-import">
|
241 |
+
<option value="none">' . __('Select an option', 'wp-seopress') . '</option>';
|
242 |
+
|
243 |
+
foreach ($plugins as $plugin => $name) {
|
244 |
+
echo '<option value="' . $plugin . '-migration-tool">' . $name . '</option>';
|
245 |
+
}
|
246 |
+
echo '</select>
|
247 |
+
</p>
|
248 |
+
|
249 |
+
<p class="description">' . __('You don\'t have to enable the selected SEO plugin to run the import.', 'wp-seopress') . '</p>';
|
250 |
+
|
251 |
+
foreach ($plugins as $plugin => $name) {
|
252 |
+
echo seopress_migration_tool($plugin, $name);
|
253 |
+
} ?>
|
254 |
+
</div>
|
255 |
+
<div class="seopress-tab <?php if ('tab_seopress_tool_redirects' == $current_tab) {
|
256 |
+
echo 'active';
|
257 |
+
} ?>" id="tab_seopress_tool_redirects">
|
258 |
+
<?php if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) { ?>
|
259 |
+
<?php if ('1' == seopress_get_toggle_option('404') && function_exists('seopress_get_redirection_pro_html')) {
|
260 |
+
seopress_get_redirection_pro_html();
|
261 |
+
} else { ?>
|
262 |
+
<div class="seopress-notice is-warning">
|
263 |
+
<p><?php _e('Redirections feature is disabled. Please activate it from the <strong>PRO page</strong>.', 'wp-seopress'); ?>
|
264 |
+
</p>
|
265 |
+
<p>
|
266 |
+
<a href="<?php echo admin_url('admin.php?page=seopress-pro-page'); ?>"
|
267 |
+
class="btn btnSecondary">
|
268 |
+
<?php _e('Activate Redirections', 'wp-seopress'); ?>
|
269 |
+
</a>
|
270 |
+
</p>
|
271 |
+
</div>
|
272 |
+
<?php } ?>
|
273 |
+
<?php } ?>
|
274 |
+
</div>
|
275 |
+
<div class="seopress-tab <?php if ('tab_seopress_tool_reset' == $current_tab) {
|
276 |
+
echo 'active';
|
277 |
+
} ?>" id="tab_seopress_tool_reset">
|
278 |
+
<div class="postbox section-tool">
|
279 |
+
<div class="sp-section-header">
|
280 |
+
<h2>
|
281 |
+
<?php _e('Reset', 'wp-seopress'); ?>
|
282 |
+
</h2>
|
283 |
+
</div>
|
284 |
+
<div class="inside">
|
285 |
+
<h3><span><?php _e('Reset All Notices From Notifications Center', 'wp-seopress'); ?></span>
|
286 |
+
</h3>
|
287 |
+
|
288 |
+
<p><?php _e('By clicking Reset Notices, all notices in the notifications center will be set to their initial status.', 'wp-seopress'); ?>
|
289 |
+
</p>
|
290 |
+
|
291 |
+
<form method="post" enctype="multipart/form-data">
|
292 |
+
<input type="hidden" name="seopress_action" value="reset_notices_settings" />
|
293 |
+
<?php wp_nonce_field('seopress_reset_notices_nonce', 'seopress_reset_notices_nonce'); ?>
|
294 |
+
<?php sp_submit_button(__('Reset notices', 'wp-seopress'), 'btn btnSecondary'); ?>
|
295 |
+
</form>
|
296 |
+
</div><!-- .inside -->
|
297 |
+
</div><!-- .postbox -->
|
298 |
+
|
299 |
+
<div class="postbox section-tool">
|
300 |
+
<div class="inside">
|
301 |
+
<h3><?php _e('Reset All Settings', 'wp-seopress'); ?>
|
302 |
+
</h3>
|
303 |
+
|
304 |
+
<div class="seopress-notice is-warning">
|
305 |
+
<p><?php _e('<strong>WARNING:</strong> Delete all options related to this plugin in your database.', 'wp-seopress'); ?>
|
306 |
+
</p>
|
307 |
+
</div>
|
308 |
+
|
309 |
+
<form method="post" enctype="multipart/form-data">
|
310 |
+
<input type="hidden" name="seopress_action" value="reset_settings" />
|
311 |
+
<?php wp_nonce_field('seopress_reset_nonce', 'seopress_reset_nonce'); ?>
|
312 |
+
<?php sp_submit_button(__('Reset settings', 'wp-seopress'), 'btn btnSecondary'); ?>
|
313 |
+
</form>
|
314 |
+
</div><!-- .inside -->
|
315 |
+
</div><!-- .postbox -->
|
316 |
+
</div>
|
317 |
+
</div>
|
318 |
+
</div>
|
319 |
+
<?php
|
@@ -1,1087 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Setup Wizard Class.
|
4 |
-
*
|
5 |
-
* Takes new users through some basic steps to setup SEOPress.
|
6 |
-
*
|
7 |
-
* @version 3.5.8
|
8 |
-
*/
|
9 |
-
if ( ! defined('ABSPATH')) {
|
10 |
-
exit;
|
11 |
-
}
|
12 |
-
|
13 |
-
/**
|
14 |
-
* SEOPRESS_Admin_Setup_Wizard class.
|
15 |
-
*/
|
16 |
-
class SEOPRESS_Admin_Setup_Wizard
|
17 |
-
{
|
18 |
-
/**
|
19 |
-
* Current step.
|
20 |
-
*
|
21 |
-
* @var string
|
22 |
-
*/
|
23 |
-
private $step = '';
|
24 |
-
|
25 |
-
/**
|
26 |
-
* Steps for the setup wizard.
|
27 |
-
*
|
28 |
-
* @var array
|
29 |
-
*/
|
30 |
-
private $steps = [];
|
31 |
-
|
32 |
-
/**
|
33 |
-
* Hook in tabs.
|
34 |
-
*/
|
35 |
-
public function __construct() {
|
36 |
-
if (apply_filters('seopress_enable_setup_wizard', true) && current_user_can(seopress_capability('manage_options', 'Admin_Setup_Wizard'))) {
|
37 |
-
add_action('admin_menu', [$this, 'admin_menus']);
|
38 |
-
add_action('admin_init', [$this, 'setup_wizard']);
|
39 |
-
add_action('admin_enqueue_scripts', [$this, 'enqueue_scripts']);
|
40 |
-
}
|
41 |
-
}
|
42 |
-
|
43 |
-
/**
|
44 |
-
* Add admin menus/screens.
|
45 |
-
*/
|
46 |
-
public function admin_menus() {
|
47 |
-
add_dashboard_page('', '', seopress_capability('manage_options', 'menu'), 'seopress-setup', '');
|
48 |
-
}
|
49 |
-
|
50 |
-
/**
|
51 |
-
* Register/enqueue scripts and styles for the Setup Wizard.
|
52 |
-
*
|
53 |
-
* Hooked onto 'admin_enqueue_scripts'.
|
54 |
-
*/
|
55 |
-
public function enqueue_scripts() {
|
56 |
-
$prefix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
|
57 |
-
wp_enqueue_style('seopress-setup', plugins_url('assets/css/seopress-setup' . $prefix . '.css', dirname(dirname(__FILE__))), ['dashicons', 'install'], SEOPRESS_VERSION);
|
58 |
-
wp_register_script('seopress-migrate-ajax', plugins_url('assets/js/seopress-migrate' . $prefix . '.js', dirname(dirname(__FILE__))), ['jquery'], SEOPRESS_VERSION, true);
|
59 |
-
|
60 |
-
$seopress_migrate = [
|
61 |
-
'seopress_aio_migrate' => [
|
62 |
-
'seopress_nonce' => wp_create_nonce('seopress_aio_migrate_nonce'),
|
63 |
-
'seopress_aio_migration' => admin_url('admin-ajax.php'),
|
64 |
-
],
|
65 |
-
'seopress_yoast_migrate' => [
|
66 |
-
'seopress_nonce' => wp_create_nonce('seopress_yoast_migrate_nonce'),
|
67 |
-
'seopress_yoast_migration' => admin_url('admin-ajax.php'),
|
68 |
-
],
|
69 |
-
'seopress_seo_framework_migrate' => [
|
70 |
-
'seopress_nonce' => wp_create_nonce('seopress_seo_framework_migrate_nonce'),
|
71 |
-
'seopress_seo_framework_migration' => admin_url('admin-ajax.php'),
|
72 |
-
],
|
73 |
-
'seopress_rk_migrate' => [
|
74 |
-
'seopress_nonce' => wp_create_nonce('seopress_rk_migrate_nonce'),
|
75 |
-
'seopress_rk_migration' => admin_url('admin-ajax.php'),
|
76 |
-
],
|
77 |
-
'seopress_squirrly_migrate' => [
|
78 |
-
'seopress_nonce' => wp_create_nonce('seopress_squirrly_migrate_nonce'),
|
79 |
-
'seopress_squirrly_migration' => admin_url('admin-ajax.php'),
|
80 |
-
],
|
81 |
-
'seopress_seo_ultimate_migrate' => [
|
82 |
-
'seopress_nonce' => wp_create_nonce('seopress_seo_ultimate_migrate_nonce'),
|
83 |
-
'seopress_seo_ultimate_migration' => admin_url('admin-ajax.php'),
|
84 |
-
],
|
85 |
-
'seopress_wp_meta_seo_migrate' => [
|
86 |
-
'seopress_nonce' => wp_create_nonce('seopress_meta_seo_migrate_nonce'),
|
87 |
-
'seopress_wp_meta_seo_migration' => admin_url('admin-ajax.php'),
|
88 |
-
],
|
89 |
-
'seopress_premium_seo_pack_migrate' => [
|
90 |
-
'seopress_nonce' => wp_create_nonce('seopress_premium_seo_pack_migrate_nonce'),
|
91 |
-
'seopress_premium_seo_pack_migration' => admin_url('admin-ajax.php'),
|
92 |
-
],
|
93 |
-
'seopress_wpseo_migrate' => [
|
94 |
-
'seopress_nonce' => wp_create_nonce('seopress_wpseo_migrate_nonce'),
|
95 |
-
'seopress_wpseo_migration' => admin_url('admin-ajax.php'),
|
96 |
-
],
|
97 |
-
'seopress_platinum_seo_migrate' => [
|
98 |
-
'seopress_nonce' => wp_create_nonce('seopress_platinum_seo_migrate_nonce'),
|
99 |
-
'seopress_platinum_seo_migration' => admin_url('admin-ajax.php'),
|
100 |
-
],
|
101 |
-
'seopress_smart_crawl_migrate' => [
|
102 |
-
'seopress_nonce' => wp_create_nonce('seopress_smart_crawl_migrate_nonce'),
|
103 |
-
'seopress_smart_crawl_migration' => admin_url('admin-ajax.php'),
|
104 |
-
],
|
105 |
-
'seopress_seopressor_migrate' => [
|
106 |
-
'seopress_nonce' => wp_create_nonce('seopress_seopressor_migrate_nonce'),
|
107 |
-
'seopress_seopressor_migration' => admin_url('admin-ajax.php'),
|
108 |
-
],
|
109 |
-
'seopress_metadata_csv' => [
|
110 |
-
'seopress_nonce' => wp_create_nonce('seopress_export_csv_metadata_nonce'),
|
111 |
-
'seopress_metadata_export' => admin_url('admin-ajax.php'),
|
112 |
-
],
|
113 |
-
'i18n' => [
|
114 |
-
'migration' => __('Migration completed!', 'wp-seopress'),
|
115 |
-
'export' => __('Export completed!', 'wp-seopress'),
|
116 |
-
],
|
117 |
-
];
|
118 |
-
wp_localize_script('seopress-migrate-ajax', 'seopressAjaxMigrate', $seopress_migrate);
|
119 |
-
}
|
120 |
-
|
121 |
-
/**
|
122 |
-
* Show the setup wizard.
|
123 |
-
*/
|
124 |
-
public function setup_wizard() {
|
125 |
-
if (empty($_GET['page']) || 'seopress-setup' !== $_GET['page']) {
|
126 |
-
return;
|
127 |
-
}
|
128 |
-
$default_steps = [
|
129 |
-
'import_settings' => [
|
130 |
-
'name' => __('Import SEO settings', 'wp-seopress'),
|
131 |
-
'view' => [$this, 'seopress_setup_import_settings'],
|
132 |
-
'handler' => [$this, 'seopress_setup_import_settings_save'],
|
133 |
-
],
|
134 |
-
'site' => [
|
135 |
-
'name' => __('Your site', 'wp-seopress'),
|
136 |
-
'view' => [$this, 'seopress_setup_site'],
|
137 |
-
'handler' => [$this, 'seopress_setup_site_save'],
|
138 |
-
],
|
139 |
-
'indexing' => [
|
140 |
-
'name' => __('Indexing', 'wp-seopress'),
|
141 |
-
'view' => [$this, 'seopress_setup_indexing'],
|
142 |
-
'handler' => [$this, 'seopress_setup_indexing_save'],
|
143 |
-
],
|
144 |
-
'advanced' => [
|
145 |
-
'name' => __('Advanced options', 'wp-seopress'),
|
146 |
-
'view' => [$this, 'seopress_setup_advanced'],
|
147 |
-
'handler' => [$this, 'seopress_setup_advanced_save'],
|
148 |
-
],
|
149 |
-
'ready' => [
|
150 |
-
'name' => __('Ready!', 'wp-seopress'),
|
151 |
-
'view' => [$this, 'seopress_setup_ready'],
|
152 |
-
'handler' => '',
|
153 |
-
],
|
154 |
-
];
|
155 |
-
|
156 |
-
$this->steps = apply_filters('seopress_setup_wizard_steps', $default_steps);
|
157 |
-
$this->step = isset($_GET['step']) ? sanitize_key($_GET['step']) : current(array_keys($this->steps));
|
158 |
-
|
159 |
-
if ( ! empty($_POST['save_step']) && isset($this->steps[$this->step]['handler'])) {
|
160 |
-
call_user_func($this->steps[$this->step]['handler'], $this);
|
161 |
-
}
|
162 |
-
|
163 |
-
ob_start();
|
164 |
-
$this->setup_wizard_header();
|
165 |
-
$this->setup_wizard_steps();
|
166 |
-
$this->setup_wizard_content();
|
167 |
-
$this->setup_wizard_footer();
|
168 |
-
exit;
|
169 |
-
}
|
170 |
-
|
171 |
-
/**
|
172 |
-
* Get the URL for the next step's screen.
|
173 |
-
*
|
174 |
-
* @param string $step slug (default: current step)
|
175 |
-
*
|
176 |
-
* @return string URL for next step if a next step exists.
|
177 |
-
* Admin URL if it's the last step.
|
178 |
-
* Empty string on failure.
|
179 |
-
*
|
180 |
-
* @since 3.5.8
|
181 |
-
*/
|
182 |
-
public function get_next_step_link($step = '') {
|
183 |
-
if ( ! $step) {
|
184 |
-
$step = $this->step;
|
185 |
-
}
|
186 |
-
|
187 |
-
$keys = array_keys($this->steps);
|
188 |
-
if (end($keys) === $step) {
|
189 |
-
return admin_url();
|
190 |
-
}
|
191 |
-
|
192 |
-
$step_index = array_search($step, $keys, true);
|
193 |
-
if (false === $step_index) {
|
194 |
-
return '';
|
195 |
-
}
|
196 |
-
|
197 |
-
return add_query_arg('step', $keys[$step_index + 1], remove_query_arg('activate_error'));
|
198 |
-
}
|
199 |
-
|
200 |
-
/**
|
201 |
-
* Setup Wizard Header.
|
202 |
-
*/
|
203 |
-
public function setup_wizard_header() {
|
204 |
-
set_current_screen(); ?>
|
205 |
-
<!DOCTYPE html>
|
206 |
-
<html <?php language_attributes(); ?>>
|
207 |
-
<head>
|
208 |
-
<meta name="viewport" content="width=device-width" />
|
209 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
210 |
-
<title><?php esc_html_e('SEOPress › Setup Wizard', 'wp-seopress'); ?></title>
|
211 |
-
<?php do_action('admin_enqueue_scripts'); ?>
|
212 |
-
<?php wp_print_scripts('seopress-migrate-ajax'); ?>
|
213 |
-
<?php do_action('admin_print_styles'); ?>
|
214 |
-
<?php do_action('admin_head'); ?>
|
215 |
-
</head>
|
216 |
-
<body class="seopress-setup wp-core-ui">
|
217 |
-
<?php
|
218 |
-
}
|
219 |
-
|
220 |
-
/**
|
221 |
-
* Setup Wizard Footer.
|
222 |
-
*/
|
223 |
-
public function setup_wizard_footer() {
|
224 |
-
?>
|
225 |
-
<?php if ('import_settings' === $this->step) { ?>
|
226 |
-
<a class="seopress-setup-footer-links" href="<?php echo esc_url(admin_url()); ?>"><?php esc_html_e('Not right now', 'wp-seopress'); ?></a>
|
227 |
-
<?php } elseif ('site' === $this->step || 'indexing' === $this->step || 'advanced' === $this->step) { ?>
|
228 |
-
<a class="seopress-setup-footer-links" href="<?php echo esc_url($this->get_next_step_link()); ?>"><?php esc_html_e('Skip this step', 'wp-seopress'); ?></a>
|
229 |
-
<?php } ?>
|
230 |
-
<?php do_action('seopress_setup_footer'); ?>
|
231 |
-
</body>
|
232 |
-
</html>
|
233 |
-
<?php
|
234 |
-
}
|
235 |
-
|
236 |
-
/**
|
237 |
-
* Output the steps.
|
238 |
-
*/
|
239 |
-
public function setup_wizard_steps() {
|
240 |
-
$output_steps = $this->steps; ?>
|
241 |
-
<ol class="seopress-setup-steps">
|
242 |
-
<?php
|
243 |
-
foreach ($output_steps as $step_key => $step) {
|
244 |
-
$is_completed = array_search($this->step, array_keys($this->steps), true) > array_search($step_key, array_keys($this->steps), true);
|
245 |
-
|
246 |
-
if ($step_key === $this->step) {
|
247 |
-
?>
|
248 |
-
<li class="active"><span><?php echo esc_html($step['name']); ?></span></li>
|
249 |
-
<?php
|
250 |
-
} elseif ($is_completed) {
|
251 |
-
?>
|
252 |
-
<li class="done">
|
253 |
-
<a href="<?php echo esc_url(add_query_arg('step', $step_key, remove_query_arg('activate_error'))); ?>"><?php echo esc_html($step['name']); ?></a>
|
254 |
-
</li>
|
255 |
-
<?php
|
256 |
-
} else {
|
257 |
-
?>
|
258 |
-
<li><span><?php echo esc_html($step['name']); ?></span></li>
|
259 |
-
<?php
|
260 |
-
}
|
261 |
-
} ?>
|
262 |
-
</ol>
|
263 |
-
<?php
|
264 |
-
}
|
265 |
-
|
266 |
-
/**
|
267 |
-
* Output the content for the current step.
|
268 |
-
*/
|
269 |
-
public function setup_wizard_content() {
|
270 |
-
echo '<div class="seopress-setup-content">';
|
271 |
-
if ( ! empty($this->steps[$this->step]['view'])) {
|
272 |
-
call_user_func($this->steps[$this->step]['view'], $this);
|
273 |
-
}
|
274 |
-
echo '</div>';
|
275 |
-
}
|
276 |
-
|
277 |
-
/**
|
278 |
-
* Init "Step 1: Import SEO settings".
|
279 |
-
*/
|
280 |
-
public function seopress_setup_import_settings() {
|
281 |
-
?>
|
282 |
-
<form method="post" class="address-step">
|
283 |
-
<?php wp_nonce_field('seopress-setup'); ?>
|
284 |
-
<h2><?php _e('Welcome!', 'wp-seopress'); ?></h2>
|
285 |
-
<p class="store-setup"><?php esc_html_e('The following wizard will help you configure SEOPress and get you started quickly.', 'wp-seopress'); ?></p>
|
286 |
-
<p class="store-setup"><?php esc_html_e('The first step is to import your previous settings from other plugins to keep your SEO.', 'wp-seopress'); ?></p>
|
287 |
-
<p class="store-setup"><?php esc_html_e('No data to migrate? Click "Next step" button!', 'wp-seopress'); ?></p>
|
288 |
-
|
289 |
-
<h3><span><?php _e('Import posts and terms metadata from', 'wp-seopress'); ?></span></h3>
|
290 |
-
<select id="select-wizard-import" name="select-wizard-import">
|
291 |
-
<option value="none"><?php _e('Select an option', 'wp-seopress'); ?></option>
|
292 |
-
<option value="yoast-migration-tool"><?php _e('Yoast SEO', 'wp-seopress'); ?></option>
|
293 |
-
<option value="aio-migration-tool"><?php _e('All In One SEO', 'wp-seopress'); ?></option>
|
294 |
-
<option value="seo-framework-migration-tool"><?php _e('The SEO Framework', 'wp-seopress'); ?></option>
|
295 |
-
<option value="rk-migration-tool"><?php _e('Rank Math', 'wp-seopress'); ?></option>
|
296 |
-
<option value="squirrly-migration-tool"><?php _e('Squirrly SEO', 'wp-seopress'); ?></option>
|
297 |
-
<option value="seo-ultimate-migration-tool"><?php _e('SEO Ultimate', 'wp-seopress'); ?></option>
|
298 |
-
<option value="wp-meta-seo-migration-tool"><?php _e('WP Meta SEO', 'wp-seopress'); ?></option>
|
299 |
-
<option value="premium-seo-pack-migration-tool"><?php _e('Premium SEO Pack', 'wp-seopress'); ?></option>
|
300 |
-
<option value="wpseo-migration-tool"><?php _e('wpSEO', 'wp-seopress'); ?></option>
|
301 |
-
<option value="platinum-seo-migration-tool"><?php _e('Platinum SEO Pack', 'wp-seopress'); ?></option>
|
302 |
-
<option value="smart-crawl-migration-tool"><?php _e('SmartCrawl', 'wp-seopress'); ?></option>
|
303 |
-
<option value="seopressor-migration-tool"><?php _e('SEOPressor', 'wp-seopress'); ?></option>
|
304 |
-
</select>
|
305 |
-
|
306 |
-
<br><br>
|
307 |
-
|
308 |
-
<p class="description"><?php _e('You don\'t have to enable the selected SEO plugin to run the import.', 'wp-seopress'); ?></p>
|
309 |
-
|
310 |
-
<div class="store-address-container">
|
311 |
-
<!-- Yoast import tool -->
|
312 |
-
<div id="yoast-migration-tool" class="postbox section-tool seopress-wizard-services">
|
313 |
-
<h3><span><?php _e('Import posts and terms metadata from Yoast', 'wp-seopress'); ?></span></h3>
|
314 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
315 |
-
<ul>
|
316 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
317 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
318 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
319 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
320 |
-
<li><?php _e('Meta Robots (noindex, nofollow...)', 'wp-seopress'); ?></li>
|
321 |
-
<li><?php _e('Canonical URL', 'wp-seopress'); ?></li>
|
322 |
-
<li><?php _e('Focus keywords', 'wp-seopress'); ?></li>
|
323 |
-
<li><?php _e('Primary category', 'wp-seopress'); ?></li>
|
324 |
-
</ul>
|
325 |
-
<p style="color:red"><span class="dashicons dashicons-warning"></span> <?php _e('<strong>WARNING:</strong> Migration will delete / update all SEOPress posts and terms metadata. Some dynamic variables will not be interpreted. We do NOT delete any Yoast data.', 'wp-seopress'); ?></p>
|
326 |
-
<button id="seopress-yoast-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
327 |
-
<span class="spinner"></span>
|
328 |
-
<div class="log"></div>
|
329 |
-
</div><!-- .postbox -->
|
330 |
-
|
331 |
-
<!-- All In One import tool -->
|
332 |
-
<div id="aio-migration-tool" class="postbox section-tool seopress-wizard-services">
|
333 |
-
<h3><span><?php _e('Import posts metadata from All In One SEO', 'wp-seopress'); ?></span></h3>
|
334 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
335 |
-
<ul>
|
336 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
337 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
338 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
339 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
340 |
-
<li><?php _e('Meta Robots (noindex, nofollow...)', 'wp-seopress'); ?></li>
|
341 |
-
<li><?php _e('Canonical URL', 'wp-seopress'); ?></li>
|
342 |
-
<li><?php _e('Focus keywords', 'wp-seopress'); ?></li>
|
343 |
-
</ul>
|
344 |
-
<p style="color:red"><span class="dashicons dashicons-warning"></span> <?php _e('<strong>WARNING:</strong> Migration will update/delete all SEOPress posts and terms metadata. Some dynamic variables will not be interpreted. We do NOT delete any AIO data.', 'wp-seopress'); ?></p>
|
345 |
-
<button id="seopress-aio-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
346 |
-
<span class="spinner"></span>
|
347 |
-
<div class="log"></div>
|
348 |
-
</div><!-- .postbox -->
|
349 |
-
|
350 |
-
<!-- SEO Framework import tool -->
|
351 |
-
<div id="seo-framework-migration-tool" class="postbox section-tool seopress-wizard-services">
|
352 |
-
<h3><span><?php _e('Import posts and terms metadata from The SEO Framework', 'wp-seopress'); ?></span></h3>
|
353 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
354 |
-
<ul>
|
355 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
356 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
357 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
358 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
359 |
-
<li><?php _e('Meta Robots (noindex, nofollow, noarchive)', 'wp-seopress'); ?></li>
|
360 |
-
<li><?php _e('Canonical URL', 'wp-seopress'); ?></li>
|
361 |
-
<li><?php _e('Redirect URL', 'wp-seopress'); ?></li>
|
362 |
-
</ul>
|
363 |
-
<p style="color:red"><span class="dashicons dashicons-warning"></span> <?php _e('<strong>WARNING:</strong> Migration will update / delete all SEOPress posts and terms metadata. Some dynamic variables will not be interpreted. We do NOT delete any SEO Framework data.', 'wp-seopress'); ?></p>
|
364 |
-
<button id="seopress-seo-framework-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
365 |
-
<span class="spinner"></span>
|
366 |
-
<div class="log"></div>
|
367 |
-
</div><!-- .postbox -->
|
368 |
-
|
369 |
-
<!-- RK import tool -->
|
370 |
-
<div id="rk-migration-tool" class="postbox section-tool seopress-wizard-services">
|
371 |
-
<h3><span><?php _e('Import posts and terms metadata from Rank Math', 'wp-seopress'); ?></span></h3>
|
372 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
373 |
-
<ul>
|
374 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
375 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
376 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
377 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
378 |
-
<li><?php _e('Meta Robots (noindex, nofollow, noarchive, noimageindex)', 'wp-seopress'); ?></li>
|
379 |
-
<li><?php _e('Canonical URL', 'wp-seopress'); ?></li>
|
380 |
-
<li><?php _e('Focus keywords', 'wp-seopress'); ?></li>
|
381 |
-
</ul>
|
382 |
-
<p style="color:red"><span class="dashicons dashicons-warning"></span> <?php _e('<strong>WARNING:</strong> Migration will update / delete all SEOPress posts and terms metadata. Some dynamic variables will not be interpreted. We do NOT delete any Rank Math data.', 'wp-seopress'); ?></p>
|
383 |
-
<button id="seopress-rk-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
384 |
-
<span class="spinner"></span>
|
385 |
-
<div class="log"></div>
|
386 |
-
</div><!-- .postbox -->
|
387 |
-
|
388 |
-
<!-- Squirrly import tool -->
|
389 |
-
<div id="squirrly-migration-tool" class="postbox section-tool seopress-wizard-services">
|
390 |
-
<h3><span><?php _e('Import posts metadata from Squirrly SEO', 'wp-seopress'); ?></span></h3>
|
391 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
392 |
-
<ul>
|
393 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
394 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
395 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
396 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
397 |
-
<li><?php _e('Meta Robots (noindex or nofollow)', 'wp-seopress'); ?></li>
|
398 |
-
<li><?php _e('Canonical URL', 'wp-seopress'); ?></li>
|
399 |
-
</ul>
|
400 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Migration will update / delete all SEOPress posts metadata. Some dynamic variables will not be interpreted. We do NOT delete any Squirrly SEO data.', 'wp-seopress'); ?></p>
|
401 |
-
<button id="seopress-squirrly-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
402 |
-
<span class="spinner"></span>
|
403 |
-
<div class="log"></div>
|
404 |
-
</div><!-- .postbox -->
|
405 |
-
|
406 |
-
<!-- SEO Ultimate import tool -->
|
407 |
-
<div id="seo-ultimate-migration-tool" class="postbox section-tool seopress-wizard-services">
|
408 |
-
<h3><span><?php _e('Import posts metadata from SEO Ultimate', 'wp-seopress'); ?></span></h3>
|
409 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
410 |
-
<ul>
|
411 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
412 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
413 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
414 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
415 |
-
<li><?php _e('Meta Robots (noindex or nofollow)', 'wp-seopress'); ?></li>
|
416 |
-
</ul>
|
417 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Migration will update / delete all SEOPress posts metadata. Some dynamic variables will not be interpreted. We do NOT delete any SEO Ultimate data.', 'wp-seopress'); ?></p>
|
418 |
-
<button id="seopress-seo-ultimate-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
419 |
-
<span class="spinner"></span>
|
420 |
-
<div class="log"></div>
|
421 |
-
</div><!-- .postbox -->
|
422 |
-
|
423 |
-
<!-- WP Meta SEO import tool -->
|
424 |
-
<div id="wp-meta-seo-migration-tool" class="postbox section-tool seopress-wizard-services">
|
425 |
-
<h3><span><?php _e('Import posts and terms metadata from WP Meta SEO', 'wp-seopress'); ?></span></h3>
|
426 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
427 |
-
<ul>
|
428 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
429 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
430 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
431 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
432 |
-
</ul>
|
433 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Migration will update / delete all SEOPress posts metadata. Some dynamic variables will not be interpreted. We do NOT delete any WP Meta SEO data.', 'wp-seopress'); ?></p>
|
434 |
-
<button id="seopress-wp-meta-seo-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
435 |
-
<span class="spinner"></span>
|
436 |
-
<div class="log"></div>
|
437 |
-
</div><!-- .postbox -->
|
438 |
-
|
439 |
-
<!-- Premium SEO Pack import tool -->
|
440 |
-
<div id="premium-seo-pack-migration-tool" class="postbox section-tool seopress-wizard-services">
|
441 |
-
<h3><span><?php _e('Import posts and terms metadata from Premium SEO Pack', 'wp-seopress'); ?></span></h3>
|
442 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
443 |
-
<ul>
|
444 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
445 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
446 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
447 |
-
<li><?php _e('Meta Robots (noindex, nofollow)', 'wp-seopress'); ?></li>
|
448 |
-
<li><?php _e('Canonical URL', 'wp-seopress'); ?></li>
|
449 |
-
<li><?php _e('Focus keywords', 'wp-seopress'); ?></li>
|
450 |
-
</ul>
|
451 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Migration will update / delete all SEOPress posts metadata. Some dynamic variables will not be interpreted. We do NOT delete any Premium SEO Pack data.', 'wp-seopress'); ?></p>
|
452 |
-
<button id="seopress-premium-seo-pack-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
453 |
-
<span class="spinner"></span>
|
454 |
-
<div class="log"></div>
|
455 |
-
</div><!-- .postbox -->
|
456 |
-
|
457 |
-
<!-- wpSEO import tool -->
|
458 |
-
<div id="wpseo-migration-tool" class="postbox section-tool seopress-wizard-services">
|
459 |
-
<div class="inside">
|
460 |
-
<h3><span><?php _e('Import posts and terms metadata from wpSEO', 'wp-seopress'); ?></span></h3>
|
461 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
462 |
-
<ul>
|
463 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
464 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
465 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
466 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
467 |
-
<li><?php _e('Meta Robots (noindex, nofollow)', 'wp-seopress'); ?></li>
|
468 |
-
<li><?php _e('Canonical URL', 'wp-seopress'); ?></li>
|
469 |
-
<li><?php _e('Redirect URL', 'wp-seopress'); ?></li>
|
470 |
-
<li><?php _e('Main keyword', 'wp-seopress'); ?></li>
|
471 |
-
</ul>
|
472 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Migration will update / delete all SEOPress posts metadata. Some dynamic variables will not be interpreted. We do NOT delete any wpSEO data.', 'wp-seopress'); ?></p>
|
473 |
-
<button id="seopress-wpseo-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
474 |
-
<span class="spinner"></span>
|
475 |
-
<div class="log"></div>
|
476 |
-
</div><!-- .inside -->
|
477 |
-
</div><!-- .postbox -->
|
478 |
-
<!-- Platinum SEO import tool -->
|
479 |
-
<div id="platinum-seo-migration-tool" class="postbox section-tool seopress-wizard-services">
|
480 |
-
<div class="inside">
|
481 |
-
<h3><span><?php _e('Import posts and terms metadata from Platinum SEO Pack', 'wp-seopress'); ?></span></h3>
|
482 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
483 |
-
<ul>
|
484 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
485 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
486 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
487 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
488 |
-
<li><?php _e('Meta Robots (noindex, nofollow, noarchive, nosnippet, noimageindex)', 'wp-seopress'); ?></li>
|
489 |
-
<li><?php _e('Canonical URL', 'wp-seopress'); ?></li>
|
490 |
-
<li><?php _e('Redirect URL', 'wp-seopress'); ?></li>
|
491 |
-
<li><?php _e('Primary category', 'wp-seopress'); ?></li>
|
492 |
-
<li><?php _e('Keywords', 'wp-seopress'); ?></li>
|
493 |
-
</ul>
|
494 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Migration will update / delete all SEOPress posts metadata. Some dynamic variables will not be interpreted. We do NOT delete any Platinum SEO data.', 'wp-seopress'); ?></p>
|
495 |
-
<button id="seopress-platinum-seo-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
496 |
-
<span class="spinner"></span>
|
497 |
-
<div class="log"></div>
|
498 |
-
</div><!-- .inside -->
|
499 |
-
</div><!-- .postbox -->
|
500 |
-
|
501 |
-
<!-- SEOPressor import tool -->
|
502 |
-
<div id="seopressor-migration-tool" class="postbox section-tool seopress-wizard-services">
|
503 |
-
<div class="inside">
|
504 |
-
<h3><span><?php _e('Import posts metadata from SEOPressor', 'wp-seopress'); ?></span></h3>
|
505 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
506 |
-
<ul>
|
507 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
508 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
509 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
510 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
511 |
-
<li><?php _e('Meta Robots (noindex, nofollow, noarchive, nosnippet, noodp, noimageindex)', 'wp-seopress'); ?></li>
|
512 |
-
<li><?php _e('Canonical URL', 'wp-seopress'); ?></li>
|
513 |
-
<li><?php _e('Redirect URL', 'wp-seopress'); ?></li>
|
514 |
-
<li><?php _e('Keywords', 'wp-seopress'); ?></li>
|
515 |
-
</ul>
|
516 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Migration will update / delete all SEOPress posts metadata. Some dynamic variables will not be interpreted. We do NOT delete any SEOPressor data.', 'wp-seopress'); ?></p>
|
517 |
-
<button id="seopress-seopressor-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
518 |
-
<span class="spinner"></span>
|
519 |
-
<div class="log"></div>
|
520 |
-
</div><!-- .inside -->
|
521 |
-
</div><!-- .postbox -->
|
522 |
-
|
523 |
-
<!-- Smart Crawl import tool -->
|
524 |
-
<div id="smart-crawl-migration-tool" class="postbox section-tool seopress-wizard-services">
|
525 |
-
<div class="inside">
|
526 |
-
<h3><span><?php _e('Import posts and terms metadata from SmartCrawl', 'wp-seopress'); ?></span></h3>
|
527 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
528 |
-
<ul>
|
529 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
530 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
531 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
532 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
533 |
-
<li><?php _e('Meta Robots (noindex, nofollow, noarchive, nosnippet)', 'wp-seopress'); ?></li>
|
534 |
-
<li><?php _e('Canonical URL', 'wp-seopress'); ?></li>
|
535 |
-
<li><?php _e('Redirect URL', 'wp-seopress'); ?></li>
|
536 |
-
<li><?php _e('Focus keywords', 'wp-seopress'); ?></li>
|
537 |
-
</ul>
|
538 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Migration will update / delete all SEOPress posts metadata. Some dynamic variables will not be interpreted. We do NOT delete any SmartCrawl data.', 'wp-seopress'); ?></p>
|
539 |
-
<button id="seopress-smart-crawl-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
540 |
-
<span class="spinner"></span>
|
541 |
-
<div class="log"></div>
|
542 |
-
</div><!-- .inside -->
|
543 |
-
</div><!-- .postbox -->
|
544 |
-
</div>
|
545 |
-
|
546 |
-
<p class="seopress-setup-actions step">
|
547 |
-
<button type="submit" class="button-primary button button-large button-next" value="<?php esc_attr_e('Next step', 'wp-seopress'); ?>" name="save_step"><?php esc_html_e('Next step', 'wp-seopress'); ?></button>
|
548 |
-
<?php wp_nonce_field('seopress-setup'); ?>
|
549 |
-
</p>
|
550 |
-
</form>
|
551 |
-
<?php
|
552 |
-
}
|
553 |
-
|
554 |
-
/**
|
555 |
-
* Save step 1 settings.
|
556 |
-
*/
|
557 |
-
public function seopress_setup_import_settings_save() {
|
558 |
-
check_admin_referer('seopress-setup');
|
559 |
-
wp_safe_redirect(esc_url_raw($this->get_next_step_link()));
|
560 |
-
exit;
|
561 |
-
}
|
562 |
-
|
563 |
-
/**
|
564 |
-
* Init "Step 2: Your site".
|
565 |
-
*/
|
566 |
-
public function seopress_setup_site() {
|
567 |
-
$seopress_titles_option = get_option('seopress_titles_option_name');
|
568 |
-
$seopress_social_option = get_option('seopress_social_option_name');
|
569 |
-
|
570 |
-
$site_sep = isset($seopress_titles_option['seopress_titles_sep']) ? $seopress_titles_option['seopress_titles_sep'] : null;
|
571 |
-
$site_title = isset($seopress_titles_option['seopress_titles_home_site_title']) ? $seopress_titles_option['seopress_titles_home_site_title'] : null;
|
572 |
-
$knowledge_type = isset($seopress_social_option['seopress_social_knowledge_type']) ? $seopress_social_option['seopress_social_knowledge_type'] : null;
|
573 |
-
$knowledge_name = isset($seopress_social_option['seopress_social_knowledge_name']) ? $seopress_social_option['seopress_social_knowledge_name'] : null;
|
574 |
-
$knowledge_img = isset($seopress_social_option['seopress_social_knowledge_img']) ? $seopress_social_option['seopress_social_knowledge_img'] : null;
|
575 |
-
$knowledge_fb = isset($seopress_social_option['seopress_social_accounts_facebook']) ? $seopress_social_option['seopress_social_accounts_facebook'] : null;
|
576 |
-
$knowledge_tw = isset($seopress_social_option['seopress_social_accounts_twitter']) ? $seopress_social_option['seopress_social_accounts_twitter'] : null;
|
577 |
-
$knowledge_pin = isset($seopress_social_option['seopress_social_accounts_pinterest']) ? $seopress_social_option['seopress_social_accounts_pinterest'] : null;
|
578 |
-
$knowledge_insta = isset($seopress_social_option['seopress_social_accounts_instagram']) ? $seopress_social_option['seopress_social_accounts_instagram'] : null;
|
579 |
-
$knowledge_yt = isset($seopress_social_option['seopress_social_accounts_youtube']) ? $seopress_social_option['seopress_social_accounts_youtube'] : null;
|
580 |
-
$knowledge_li = isset($seopress_social_option['seopress_social_accounts_linkedin']) ? $seopress_social_option['seopress_social_accounts_linkedin'] : null; ?>
|
581 |
-
|
582 |
-
<h1><?php esc_html_e('Your site', 'wp-seopress'); ?></h1>
|
583 |
-
<form method="post">
|
584 |
-
<p><?php esc_html_e('To build title tags and knowledge graph for Google, you need to fill out the fields below to configure the general settings. ', 'wp-seopress'); ?></p>
|
585 |
-
|
586 |
-
<label class="location-prompt" for="site_sep"><?php esc_html_e('Separator', 'wp-seopress'); ?></label>
|
587 |
-
<input type="text" id="site_sep" class="location-input" name="site_sep" placeholder="<?php esc_html_e('eg: |', 'wp-seopress'); ?>" required value="<?php echo $site_sep; ?>" />
|
588 |
-
|
589 |
-
<p class="seopress-wizard-service-info seopress-wizard-services description">
|
590 |
-
<?php _e('This separator will be used by the dynamic variable <strong>%%sep%%</strong> in your title and meta description templates.', 'wp-seopress'); ?>
|
591 |
-
</p>
|
592 |
-
|
593 |
-
<label class="location-prompt" for="site_title"><?php esc_html_e('Home site title', 'wp-seopress'); ?></label>
|
594 |
-
<input type="text" id="site_title" class="location-input" name="site_title" placeholder="<?php esc_html_e('eg: My super website', 'wp-seopress'); ?>" required value="<?php echo $site_title; ?>" />
|
595 |
-
|
596 |
-
<label class="location-prompt" for="knowledge_type"><?php esc_html_e('Person or organization', 'wp-seopress'); ?></label>
|
597 |
-
<?php
|
598 |
-
echo '<select id="knowledge_type" name="knowledge_type" data-placeholder="' . esc_attr__('Choose a knowledge type', 'wp-seopress') . '" class="location-input wc-enhanced-select dropdown">';
|
599 |
-
echo ' <option ';
|
600 |
-
if ('None' == $knowledge_type) {
|
601 |
-
echo 'selected="selected"';
|
602 |
-
}
|
603 |
-
echo ' value="none">' . __('None (will disable this feature)', 'wp-seopress') . '</option>';
|
604 |
-
echo ' <option ';
|
605 |
-
if ('Person' == $knowledge_type) {
|
606 |
-
echo 'selected="selected"';
|
607 |
-
}
|
608 |
-
echo ' value="Person">' . __('Person', 'wp-seopress') . '</option>';
|
609 |
-
echo '<option ';
|
610 |
-
if ('Organization' == $knowledge_type) {
|
611 |
-
echo 'selected="selected"';
|
612 |
-
}
|
613 |
-
echo ' value="Organization">' . __('Organization', 'wp-seopress') . '</option>';
|
614 |
-
echo '</select>'; ?>
|
615 |
-
|
616 |
-
<label class="location-prompt" for="knowledge_name"><?php esc_html_e('Your name/organization', 'wp-seopress'); ?></label>
|
617 |
-
<input type="text" id="knowledge_name" class="location-input" name="knowledge_name" placeholder="<?php esc_html_e('eg: My Company Name', 'wp-seopress'); ?>" value="<?php echo $knowledge_name; ?>" />
|
618 |
-
|
619 |
-
<label class="location-prompt" for="knowledge_img"><?php esc_html_e('Your photo/organization logo', 'wp-seopress'); ?></label>
|
620 |
-
<input type="text" id="knowledge_img" class="location-input" name="knowledge_img" placeholder="<?php esc_html_e('eg: https://www.example.com/logo.png', 'wp-seopress'); ?>" value="<?php echo $knowledge_img; ?>" />
|
621 |
-
|
622 |
-
<label class="location-prompt" for="knowledge_fb"><?php esc_html_e('Facebook page URL', 'wp-seopress'); ?></label>
|
623 |
-
<input type="text" id="knowledge_fb" class="location-input" name="knowledge_fb" placeholder="<?php esc_html_e('eg: https://facebook.com/my-page-url', 'wp-seopress'); ?>" value="<?php echo $knowledge_fb; ?>" />
|
624 |
-
|
625 |
-
<label class="location-prompt" for="knowledge_tw"><?php esc_html_e('Twitter Username', 'wp-seopress'); ?></label>
|
626 |
-
<input type="text" id="knowledge_tw" class="location-input" name="knowledge_tw" placeholder="<?php esc_html_e('eg: @my_twitter_account', 'wp-seopress'); ?>" value="<?php echo $knowledge_tw; ?>" />
|
627 |
-
|
628 |
-
<label class="location-prompt" for="knowledge_pin"><?php esc_html_e('Pinterest URL', 'wp-seopress'); ?></label>
|
629 |
-
<input type="text" id="knowledge_pin" class="location-input" name="knowledge_pin" placeholder="<?php esc_html_e('eg: https://pinterest.com/my-page-url/', 'wp-seopress'); ?>" value="<?php echo $knowledge_pin; ?>" />
|
630 |
-
|
631 |
-
<label class="location-prompt" for="knowledge_insta"><?php esc_html_e('Instagram URL', 'wp-seopress'); ?></label>
|
632 |
-
<input type="text" id="knowledge_insta" class="location-input" name="knowledge_insta" placeholder="<?php esc_html_e('eg: https://www.instagram.com/my-page-url/', 'wp-seopress'); ?>" value="<?php echo $knowledge_insta; ?>" />
|
633 |
-
|
634 |
-
<label class="location-prompt" for="knowledge_yt"><?php esc_html_e('YouTube URL', 'wp-seopress'); ?></label>
|
635 |
-
<input type="text" id="knowledge_yt" class="location-input" name="knowledge_yt" placeholder="<?php esc_html_e('eg: https://www.youtube.com/my-channel-url', 'wp-seopress'); ?>" value="<?php echo $knowledge_yt; ?>" />
|
636 |
-
|
637 |
-
<label class="location-prompt" for="knowledge_li"><?php esc_html_e('LinkedIn URL', 'wp-seopress'); ?></label>
|
638 |
-
<input type="text" id="knowledge_li" class="location-input" name="knowledge_li" placeholder="<?php esc_html_e('eg: http://linkedin.com/company/my-company-url/', 'wp-seopress'); ?>" value="<?php echo $knowledge_li; ?>" />
|
639 |
-
|
640 |
-
<p class="seopress-setup-actions step">
|
641 |
-
<button type="submit" class="button-primary button button-large button-next" value="<?php esc_attr_e('Continue', 'wp-seopress'); ?>" name="save_step"><?php esc_html_e('Continue', 'wp-seopress'); ?></button>
|
642 |
-
<?php wp_nonce_field('seopress-setup'); ?>
|
643 |
-
</p>
|
644 |
-
</form>
|
645 |
-
<?php
|
646 |
-
}
|
647 |
-
|
648 |
-
/**
|
649 |
-
* Save step 2 settings.
|
650 |
-
*/
|
651 |
-
public function seopress_setup_site_save() {
|
652 |
-
check_admin_referer('seopress-setup');
|
653 |
-
|
654 |
-
//Get options
|
655 |
-
$seopress_titles_option = get_option('seopress_titles_option_name');
|
656 |
-
$seopress_social_option = get_option('seopress_social_option_name');
|
657 |
-
|
658 |
-
//Titles
|
659 |
-
$seopress_titles_option['seopress_titles_sep'] = isset($_POST['site_sep']) ? esc_attr(wp_unslash($_POST['site_sep'])) : '';
|
660 |
-
$seopress_titles_option['seopress_titles_home_site_title'] = isset($_POST['site_title']) ? sanitize_text_field(wp_unslash($_POST['site_title'])) : '';
|
661 |
-
|
662 |
-
//Social
|
663 |
-
$seopress_social_option['seopress_social_knowledge_type'] = isset($_POST['knowledge_type']) ? esc_attr(wp_unslash($_POST['knowledge_type'])) : '';
|
664 |
-
$seopress_social_option['seopress_social_knowledge_name'] = isset($_POST['knowledge_name']) ? sanitize_text_field(wp_unslash($_POST['knowledge_name'])) : '';
|
665 |
-
$seopress_social_option['seopress_social_knowledge_img'] = isset($_POST['knowledge_img']) ? sanitize_text_field(wp_unslash($_POST['knowledge_img'])) : '';
|
666 |
-
|
667 |
-
//Social accounts
|
668 |
-
$seopress_social_option['seopress_social_accounts_facebook'] = isset($_POST['knowledge_fb']) ? sanitize_text_field(wp_unslash($_POST['knowledge_fb'])) : '';
|
669 |
-
$seopress_social_option['seopress_social_accounts_twitter'] = isset($_POST['knowledge_tw']) ? sanitize_text_field(wp_unslash($_POST['knowledge_tw'])) : '';
|
670 |
-
$seopress_social_option['seopress_social_accounts_pinterest'] = isset($_POST['knowledge_pin']) ? sanitize_text_field(wp_unslash($_POST['knowledge_pin'])) : '';
|
671 |
-
$seopress_social_option['seopress_social_accounts_instagram'] = isset($_POST['knowledge_insta']) ? sanitize_text_field(wp_unslash($_POST['knowledge_insta'])) : '';
|
672 |
-
$seopress_social_option['seopress_social_accounts_youtube'] = isset($_POST['knowledge_yt']) ? sanitize_text_field(wp_unslash($_POST['knowledge_yt'])) : '';
|
673 |
-
$seopress_social_option['seopress_social_accounts_linkedin'] = isset($_POST['knowledge_li']) ? sanitize_text_field(wp_unslash($_POST['knowledge_li'])) : '';
|
674 |
-
|
675 |
-
//Save options
|
676 |
-
update_option('seopress_titles_option_name', $seopress_titles_option);
|
677 |
-
update_option('seopress_social_option_name', $seopress_social_option);
|
678 |
-
|
679 |
-
wp_safe_redirect(esc_url_raw($this->get_next_step_link()));
|
680 |
-
exit;
|
681 |
-
}
|
682 |
-
|
683 |
-
/**
|
684 |
-
* Init "Step 3: Indexing Step".
|
685 |
-
*/
|
686 |
-
public function seopress_setup_indexing() {
|
687 |
-
$seopress_titles_option = get_option('seopress_titles_option_name'); ?>
|
688 |
-
<h1><?php esc_html_e('Indexing', 'wp-seopress'); ?></h1>
|
689 |
-
<p><?php esc_html_e('Specify to the search engines what you want to be indexed or not.', 'wp-seopress'); ?></p>
|
690 |
-
<p><?php esc_html_e('Avoid indexing duplicate or poor quality content.', 'wp-seopress'); ?></p>
|
691 |
-
<p><?php esc_html_e('Default: index', 'wp-seopress'); ?></p>
|
692 |
-
<form method="post" class="seopress-wizard-indexing-form">
|
693 |
-
<?php if ( ! empty(seopress_get_post_types())) { ?>
|
694 |
-
<div class="seopress-wizard-services">
|
695 |
-
<p>
|
696 |
-
<?php _e('For which single post types, should indexing be disabled?', 'wp-seopress'); ?>
|
697 |
-
</p>
|
698 |
-
|
699 |
-
<ul>
|
700 |
-
<?php
|
701 |
-
//Post Types
|
702 |
-
foreach (seopress_get_post_types() as $seopress_cpt_key => $seopress_cpt_value) {
|
703 |
-
$seopress_titles_single_titles = isset($seopress_titles_option['seopress_titles_single_titles'][$seopress_cpt_key]['noindex']);
|
704 |
-
|
705 |
-
echo '<h3>' . $seopress_cpt_value->labels->name . ' <em><small>[' . $seopress_cpt_value->name . ']</small></em></h3>';
|
706 |
-
|
707 |
-
//Single No-Index CPT
|
708 |
-
echo '<li class="recommended-item checkbox">';
|
709 |
-
echo '<input id="seopress_titles_single_cpt_noindex[' . $seopress_cpt_key . ']" name="seopress_titles_option_name[seopress_titles_single_titles][' . $seopress_cpt_key . '][noindex]" type="checkbox"';
|
710 |
-
if ('1' == $seopress_titles_single_titles) {
|
711 |
-
echo 'checked="yes"';
|
712 |
-
}
|
713 |
-
echo ' value="1"/>';
|
714 |
-
|
715 |
-
echo '<label for="seopress_titles_single_cpt_noindex[' . $seopress_cpt_key . ']">' . __('Do not display this single post type in search engine results <strong>(noindex)</strong>', 'wp-seopress') . '</label>';
|
716 |
-
echo '</li>';
|
717 |
-
}
|
718 |
-
?>
|
719 |
-
</ul>
|
720 |
-
</div>
|
721 |
-
<?php } ?>
|
722 |
-
|
723 |
-
<?php if ( ! empty(seopress_get_post_types())) { ?>
|
724 |
-
<div class="seopress-wizard-services">
|
725 |
-
<p>
|
726 |
-
<?php _e('For which post type archives, should indexing be disabled?', 'wp-seopress'); ?>
|
727 |
-
</p>
|
728 |
-
|
729 |
-
<ul>
|
730 |
-
<?php
|
731 |
-
foreach (seopress_get_post_types() as $seopress_cpt_key => $seopress_cpt_value) {
|
732 |
-
if ( ! in_array($seopress_cpt_key, ['post', 'page'])) {
|
733 |
-
echo '<h3>' . $seopress_cpt_value->labels->name . ' <em><small>[' . $seopress_cpt_value->name . ']</small></em></h2>';
|
734 |
-
|
735 |
-
//Archive No-Index CPT
|
736 |
-
$seopress_titles_archive_titles = isset($seopress_titles_option['seopress_titles_archive_titles'][$seopress_cpt_key]['noindex']);
|
737 |
-
|
738 |
-
echo '<li class="recommended-item checkbox">';
|
739 |
-
echo '<input id="seopress_titles_archive_cpt_noindex[' . $seopress_cpt_key . ']" name="seopress_titles_option_name[seopress_titles_archive_titles][' . $seopress_cpt_key . '][noindex]" type="checkbox"';
|
740 |
-
if ('1' == $seopress_titles_archive_titles) {
|
741 |
-
echo 'checked="yes"';
|
742 |
-
}
|
743 |
-
echo ' value="1"/>';
|
744 |
-
|
745 |
-
echo '<label for="seopress_titles_archive_cpt_noindex[' . $seopress_cpt_key . ']">' . __('Do not display this post type archive in search engine results <strong>(noindex)</strong>', 'wp-seopress') . '</label>';
|
746 |
-
echo '</li>';
|
747 |
-
}
|
748 |
-
}
|
749 |
-
?>
|
750 |
-
</ul>
|
751 |
-
</div>
|
752 |
-
<?php } ?>
|
753 |
-
|
754 |
-
<?php if ( ! empty(seopress_get_taxonomies())) { ?>
|
755 |
-
<div class="seopress-wizard-services">
|
756 |
-
<p>
|
757 |
-
<?php _e('For which taxonomy archives, should indexing be disabled?', 'wp-seopress'); ?>
|
758 |
-
</p>
|
759 |
-
|
760 |
-
<ul>
|
761 |
-
<?php
|
762 |
-
//Archives
|
763 |
-
foreach (seopress_get_taxonomies() as $seopress_tax_key => $seopress_tax_value) {
|
764 |
-
$seopress_titles_tax_titles = isset($seopress_titles_option['seopress_titles_tax_titles'][$seopress_tax_key]['noindex']);
|
765 |
-
|
766 |
-
echo '<h3>' . $seopress_tax_value->labels->name . ' <em><small>[' . $seopress_tax_value->name . ']</small></em></h2>';
|
767 |
-
|
768 |
-
//Tax No-Index
|
769 |
-
echo '<li class="recommended-item checkbox">';
|
770 |
-
echo '<input id="seopress_titles_tax_noindex[' . $seopress_tax_key . ']" name="seopress_titles_option_name[seopress_titles_tax_titles][' . $seopress_tax_key . '][noindex]" type="checkbox"';
|
771 |
-
if ('1' == $seopress_titles_tax_titles) {
|
772 |
-
echo 'checked="yes"';
|
773 |
-
}
|
774 |
-
echo ' value="1"/>';
|
775 |
-
|
776 |
-
echo '<label for="seopress_titles_tax_noindex[' . $seopress_tax_key . ']">' . __('Do not display this taxonomy archive in search engine results <strong>(noindex)</strong>', 'wp-seopress') . '</label>';
|
777 |
-
echo '</li>';
|
778 |
-
}
|
779 |
-
?>
|
780 |
-
</ul>
|
781 |
-
</div>
|
782 |
-
<?php } ?>
|
783 |
-
|
784 |
-
<p class="seopress-setup-actions step">
|
785 |
-
<button type="submit" class="button-primary button button-large button-next" value="<?php esc_attr_e('Continue', 'wp-seopress'); ?>" name="save_step"><?php esc_html_e('Continue', 'wp-seopress'); ?></button>
|
786 |
-
<?php wp_nonce_field('seopress-setup'); ?>
|
787 |
-
</p>
|
788 |
-
</form>
|
789 |
-
<?php
|
790 |
-
}
|
791 |
-
|
792 |
-
/**
|
793 |
-
* Save Step 3 settings.
|
794 |
-
*/
|
795 |
-
public function seopress_setup_indexing_save() {
|
796 |
-
check_admin_referer('seopress-setup');
|
797 |
-
|
798 |
-
//Get options
|
799 |
-
$seopress_titles_option = get_option('seopress_titles_option_name');
|
800 |
-
|
801 |
-
//Post Types noindex
|
802 |
-
foreach (seopress_get_post_types() as $seopress_cpt_key => $seopress_cpt_value) {
|
803 |
-
if (isset($_POST['seopress_titles_option_name']['seopress_titles_single_titles'][$seopress_cpt_key]['noindex'])) {
|
804 |
-
$noindex = esc_attr(wp_unslash($_POST['seopress_titles_option_name']['seopress_titles_single_titles'][$seopress_cpt_key]['noindex']));
|
805 |
-
} else {
|
806 |
-
$noindex = null;
|
807 |
-
}
|
808 |
-
$seopress_titles_option['seopress_titles_single_titles'][$seopress_cpt_key]['noindex'] = $noindex;
|
809 |
-
}
|
810 |
-
|
811 |
-
//Post Type archives noindex
|
812 |
-
foreach (seopress_get_post_types() as $seopress_cpt_key => $seopress_cpt_value) {
|
813 |
-
if (isset($_POST['seopress_titles_option_name']['seopress_titles_archive_titles'][$seopress_cpt_key]['noindex'])) {
|
814 |
-
$noindex = esc_attr(wp_unslash($_POST['seopress_titles_option_name']['seopress_titles_archive_titles'][$seopress_cpt_key]['noindex']));
|
815 |
-
} else {
|
816 |
-
$noindex = null;
|
817 |
-
}
|
818 |
-
$seopress_titles_option['seopress_titles_archive_titles'][$seopress_cpt_key]['noindex'] = $noindex;
|
819 |
-
}
|
820 |
-
|
821 |
-
//Archives noindex
|
822 |
-
foreach (seopress_get_taxonomies() as $seopress_tax_key => $seopress_tax_value) {
|
823 |
-
if (isset($_POST['seopress_titles_option_name']['seopress_titles_tax_titles'][$seopress_tax_key]['noindex'])) {
|
824 |
-
$noindex = esc_attr(wp_unslash($_POST['seopress_titles_option_name']['seopress_titles_tax_titles'][$seopress_tax_key]['noindex']));
|
825 |
-
} else {
|
826 |
-
$noindex = null;
|
827 |
-
}
|
828 |
-
$seopress_titles_option['seopress_titles_tax_titles'][$seopress_tax_key]['noindex'] = $noindex;
|
829 |
-
}
|
830 |
-
|
831 |
-
//Save options
|
832 |
-
update_option('seopress_titles_option_name', $seopress_titles_option);
|
833 |
-
|
834 |
-
wp_redirect(esc_url_raw($this->get_next_step_link()));
|
835 |
-
exit;
|
836 |
-
}
|
837 |
-
|
838 |
-
/**
|
839 |
-
* Init "Step 4: Advanced Step".
|
840 |
-
*/
|
841 |
-
public function seopress_setup_advanced() {
|
842 |
-
$seopress_titles_option = get_option('seopress_titles_option_name');
|
843 |
-
$author_noindex = isset($seopress_titles_option['seopress_titles_archives_author_noindex']);
|
844 |
-
$seopress_advanced_option = get_option('seopress_advanced_option_name');
|
845 |
-
$attachments_file = isset($seopress_advanced_option['seopress_advanced_advanced_attachments_file']);
|
846 |
-
$category_url = isset($seopress_advanced_option['seopress_advanced_advanced_category_url']);
|
847 |
-
$meta_title = isset($seopress_advanced_option['seopress_advanced_appearance_title_col']);
|
848 |
-
$meta_desc = isset($seopress_advanced_option['seopress_advanced_appearance_meta_desc_col']);
|
849 |
-
$robots_noindex = isset($seopress_advanced_option['seopress_advanced_appearance_noindex_col']);
|
850 |
-
$robots_nofollow = isset($seopress_advanced_option['seopress_advanced_appearance_nofollow_col']);
|
851 |
-
$ca_score = isset($seopress_advanced_option['seopress_advanced_appearance_score_col']); ?>
|
852 |
-
|
853 |
-
<h1><?php esc_html_e('Advanced options', 'wp-seopress'); ?></h1>
|
854 |
-
|
855 |
-
<form method="post">
|
856 |
-
<ul class="seopress-wizard-services">
|
857 |
-
<!-- Noindex on author archives -->
|
858 |
-
<li class="seopress-wizard-service-item checkbox">
|
859 |
-
<input id="author_noindex" class="location-input" name="author_noindex" type="checkbox" <?php if ('1' == $author_noindex) {
|
860 |
-
echo 'checked="yes"';
|
861 |
-
} ?> value="1"/>
|
862 |
-
<label for="author_noindex" class="location-prompt">
|
863 |
-
<?php _e('Do not display author archives in search engine results <strong>(noindex)</strong>', 'wp-seopress'); ?>
|
864 |
-
</label>
|
865 |
-
</li>
|
866 |
-
<li class="seopress-wizard-service-info">
|
867 |
-
<?php _e('You only have one author on your site? Check this option to avoid duplicate content.', 'wp-seopress'); ?>
|
868 |
-
</li>
|
869 |
-
|
870 |
-
<!-- Redirect attachment pages to URL -->
|
871 |
-
<li class="seopress-wizard-service-item checkbox">
|
872 |
-
<input id="attachments_file" class="location-input" name="attachments_file" type="checkbox" <?php if ('1' == $attachments_file) {
|
873 |
-
echo 'checked="yes"';
|
874 |
-
} ?> value="1"/>
|
875 |
-
<label for="attachments_file" class="location-prompt">
|
876 |
-
<?php _e('Redirect attachment pages to their file URL (https://www.example.com/my-image-file.jpg)', 'wp-seopress'); ?>
|
877 |
-
</label>
|
878 |
-
</li>
|
879 |
-
<li class="seopress-wizard-service-info">
|
880 |
-
<?php _e('By default, SEOPress redirects your Attachment pages to the parent post. Optimize this by redirecting the user directly to the URL of the media file.', 'wp-seopress'); ?>
|
881 |
-
</li>
|
882 |
-
|
883 |
-
<!-- Remove /category/ in URLs -->
|
884 |
-
<li class="seopress-wizard-service-item checkbox">
|
885 |
-
<input id="category_url" name="category_url" type="checkbox" class="location-input" <?php if ('1' == $category_url) {
|
886 |
-
echo 'checked="yes"';
|
887 |
-
} ?> value="1"/>
|
888 |
-
<label for="category_url" class="location-prompt">
|
889 |
-
<?php _e('Remove /category/ in your permalinks', 'wp-seopress'); ?>
|
890 |
-
</label>
|
891 |
-
</li>
|
892 |
-
<li class="seopress-wizard-service-info">
|
893 |
-
<?php _e('Shorten your URLs by removing /category/ and improve your SEO.', 'wp-seopress'); ?>
|
894 |
-
</li>
|
895 |
-
</ul>
|
896 |
-
|
897 |
-
<p>
|
898 |
-
<?php _e('Choose which SEO columns to display in post types list:', 'wp-seopress'); ?>
|
899 |
-
</p>
|
900 |
-
|
901 |
-
<ul class="seopress-wizard-services">
|
902 |
-
<!-- Show meta title -->
|
903 |
-
<li class="seopress-wizard-service-item checkbox">
|
904 |
-
<input id="meta_title" name="meta_title" type="checkbox" class="location-input" <?php if ('1' == $meta_title) {
|
905 |
-
echo 'checked="yes"';
|
906 |
-
} ?> value="1"/>
|
907 |
-
<label for="meta_title" class="location-prompt">
|
908 |
-
<?php _e('Show Title tag column in post types', 'wp-seopress'); ?>
|
909 |
-
</label>
|
910 |
-
</li>
|
911 |
-
|
912 |
-
<!-- Show meta description -->
|
913 |
-
<li class="seopress-wizard-service-item checkbox">
|
914 |
-
<input id="meta_desc" name="meta_desc" type="checkbox" class="location-input" <?php if ('1' == $meta_desc) {
|
915 |
-
echo 'checked="yes"';
|
916 |
-
} ?> value="1"/>
|
917 |
-
<label for="meta_desc" class="location-prompt">
|
918 |
-
<?php _e('Show Meta description column in post types', 'wp-seopress'); ?>
|
919 |
-
</label>
|
920 |
-
</li>
|
921 |
-
|
922 |
-
<!-- Show meta robots noindex -->
|
923 |
-
<li class="seopress-wizard-service-item checkbox">
|
924 |
-
<input id="robots_noindex" name="robots_noindex" type="checkbox" class="location-input" <?php if ('1' == $robots_noindex) {
|
925 |
-
echo 'checked="yes"';
|
926 |
-
} ?> value="1"/>
|
927 |
-
<label for="robots_noindex" class="location-prompt">
|
928 |
-
<?php _e('Show noindex column in post types', 'wp-seopress'); ?>
|
929 |
-
</label>
|
930 |
-
</li>
|
931 |
-
<li class="seopress-wizard-service-info">
|
932 |
-
<?php _e('Quickly know if a content is in noindex.', 'wp-seopress'); ?>
|
933 |
-
</li>
|
934 |
-
|
935 |
-
<!-- Show meta robots nofollow -->
|
936 |
-
<li class="seopress-wizard-service-item checkbox">
|
937 |
-
<input id="robots_nofollow" name="robots_nofollow" type="checkbox" class="location-input" <?php if ('1' == $robots_nofollow) {
|
938 |
-
echo 'checked="yes"';
|
939 |
-
} ?> value="1"/>
|
940 |
-
<label for="robots_nofollow" class="location-prompt">
|
941 |
-
<?php _e('Show nofollow column in post types', 'wp-seopress'); ?>
|
942 |
-
</label>
|
943 |
-
</li>
|
944 |
-
<li class="seopress-wizard-service-info">
|
945 |
-
<?php _e('Quickly know if a content is in nofollow.', 'wp-seopress'); ?>
|
946 |
-
</li>
|
947 |
-
|
948 |
-
<!-- Show meta content analysis score -->
|
949 |
-
<li class="seopress-wizard-service-item checkbox">
|
950 |
-
<input id="ca_score" name="ca_score" type="checkbox" class="location-input" <?php if ('1' == $ca_score) {
|
951 |
-
echo 'checked="yes"';
|
952 |
-
} ?> value="1"/>
|
953 |
-
<label for="ca_score" class="location-prompt">
|
954 |
-
<?php _e('Show content analysis score column in post types', 'wp-seopress'); ?>
|
955 |
-
</label>
|
956 |
-
</li>
|
957 |
-
<li class="seopress-wizard-service-info">
|
958 |
-
<?php _e('Quickly know if a content is optimized for search engines.', 'wp-seopress'); ?>
|
959 |
-
</li>
|
960 |
-
</ul>
|
961 |
-
|
962 |
-
<p class="seopress-setup-actions step">
|
963 |
-
<button type="submit" class="button-primary button button-large button-next" value="<?php esc_attr_e('Continue', 'wp-seopress'); ?>" name="save_step"><?php esc_html_e('Continue', 'wp-seopress'); ?></button>
|
964 |
-
<?php wp_nonce_field('seopress-setup'); ?>
|
965 |
-
</p>
|
966 |
-
</form>
|
967 |
-
<?php
|
968 |
-
}
|
969 |
-
|
970 |
-
/**
|
971 |
-
* Save step 4 settings.
|
972 |
-
*/
|
973 |
-
public function seopress_setup_advanced_save() {
|
974 |
-
check_admin_referer('seopress-setup');
|
975 |
-
|
976 |
-
//Get options
|
977 |
-
$seopress_titles_option = get_option('seopress_titles_option_name');
|
978 |
-
$seopress_advanced_option = get_option('seopress_advanced_option_name');
|
979 |
-
|
980 |
-
//Author indexing
|
981 |
-
$seopress_titles_option['seopress_titles_archives_author_noindex'] = isset($_POST['author_noindex']) ? esc_attr(wp_unslash($_POST['author_noindex'])) : null;
|
982 |
-
|
983 |
-
//Advanced
|
984 |
-
$seopress_advanced_option['seopress_advanced_advanced_attachments_file'] = isset($_POST['attachments_file']) ? esc_attr(wp_unslash($_POST['attachments_file'])) : null;
|
985 |
-
$seopress_advanced_option['seopress_advanced_advanced_category_url'] = isset($_POST['category_url']) ? esc_attr(wp_unslash($_POST['category_url'])) : null;
|
986 |
-
|
987 |
-
$seopress_advanced_option['seopress_advanced_appearance_title_col'] = isset($_POST['meta_title']) ? esc_attr(wp_unslash($_POST['meta_title'])) : null;
|
988 |
-
$seopress_advanced_option['seopress_advanced_appearance_meta_desc_col'] = isset($_POST['meta_desc']) ? esc_attr(wp_unslash($_POST['meta_desc'])) : null;
|
989 |
-
|
990 |
-
$seopress_advanced_option['seopress_advanced_appearance_noindex_col'] = isset($_POST['robots_noindex']) ? esc_attr(wp_unslash($_POST['robots_noindex'])) : null;
|
991 |
-
$seopress_advanced_option['seopress_advanced_appearance_nofollow_col'] = isset($_POST['robots_nofollow']) ? esc_attr(wp_unslash($_POST['robots_nofollow'])) : null;
|
992 |
-
$seopress_advanced_option['seopress_advanced_appearance_score_col'] = isset($_POST['ca_score']) ? esc_attr(wp_unslash($_POST['ca_score'])) : null;
|
993 |
-
|
994 |
-
//Save options
|
995 |
-
update_option('seopress_titles_option_name', $seopress_titles_option);
|
996 |
-
update_option('seopress_advanced_option_name', $seopress_advanced_option);
|
997 |
-
|
998 |
-
wp_redirect(esc_url_raw($this->get_next_step_link()));
|
999 |
-
exit;
|
1000 |
-
}
|
1001 |
-
|
1002 |
-
/**
|
1003 |
-
* Final step.
|
1004 |
-
*/
|
1005 |
-
public function seopress_setup_ready() {
|
1006 |
-
//Remove SEOPress notice
|
1007 |
-
$seopress_notices = get_option('seopress_notices');
|
1008 |
-
$seopress_notices['notice-wizard'] = '1';
|
1009 |
-
update_option('seopress_notices', $seopress_notices);
|
1010 |
-
|
1011 |
-
//Flush permalinks
|
1012 |
-
flush_rewrite_rules(false); ?>
|
1013 |
-
<h1><?php esc_html_e('Your site is now ready for search engines!', 'wp-seopress'); ?></h1>
|
1014 |
-
|
1015 |
-
<!-- SEOPress PRO -->
|
1016 |
-
<?php if ('valid' != get_option('seopress_pro_license_status') && is_plugin_active('wp-seopress-pro/seopress-pro.php') && ! is_multisite()) { ?>
|
1017 |
-
<div class="seopress-message seopress-newsletter">
|
1018 |
-
<h3 class="seopress-setup-actions step">
|
1019 |
-
<?php esc_html_e('Welcome to SEOPress PRO!', 'wp-seopress'); ?>
|
1020 |
-
</h3>
|
1021 |
-
<p class="seopress-setup-actions step">
|
1022 |
-
<?php esc_html_e('Please activate your license to receive automatic updates and get premium support.', 'wp-seopress'); ?>
|
1023 |
-
</p>
|
1024 |
-
<p class="seopress-setup-actions step">
|
1025 |
-
<a class="button button-primary button-large" href="<?php echo admin_url('admin.php?page=seopress-license'); ?>">
|
1026 |
-
<span class="dashicons dashicons-admin-network"></span>
|
1027 |
-
<?php _e('Activate License', 'wp-seopress'); ?>
|
1028 |
-
</a>
|
1029 |
-
</p>
|
1030 |
-
</div>
|
1031 |
-
<?php } elseif ( ! is_plugin_active('wp-seopress-pro/seopress-pro.php') && ! is_multisite()) { ?>
|
1032 |
-
<div class="seopress-message seopress-newsletter">
|
1033 |
-
<h3 class="seopress-setup-actions step">
|
1034 |
-
<?php esc_html_e('Go PRO with SEOPress PRO!', 'wp-seopress'); ?>
|
1035 |
-
</h3>
|
1036 |
-
<p class="seopress-setup-actions step">
|
1037 |
-
<?php esc_html_e('When you upgrade to the PRO version, you get a lot of additional features, like automatic and manual schemas, Video Sitemap, WooCommerce enhancements, Analytics statistics in your Dashboard, breadcrumbs, redirections, and more.', 'wp-seopress'); ?>
|
1038 |
-
</p>
|
1039 |
-
<p class="seopress-setup-actions step">
|
1040 |
-
<a class="button button-primary button-large" href="https://www.seopress.org/" target="_blank">
|
1041 |
-
<span class="dashicons dashicons-cart"></span>
|
1042 |
-
<?php _e('Buy SEOPress PRO - $39 / unlimited sites', 'wp-seopress'); ?>
|
1043 |
-
</a>
|
1044 |
-
</p>
|
1045 |
-
</div>
|
1046 |
-
<?php } ?>
|
1047 |
-
|
1048 |
-
<ul class="seopress-wizard-next-steps">
|
1049 |
-
<li class="seopress-wizard-next-step-item">
|
1050 |
-
<div class="seopress-wizard-next-step-description">
|
1051 |
-
<p class="next-step-heading"><?php esc_html_e('Next step', 'wp-seopress'); ?></p>
|
1052 |
-
<h3 class="next-step-description"><?php esc_html_e('Create your XML sitemaps', 'wp-seopress'); ?></h3>
|
1053 |
-
<p class="next-step-extra-info"><?php esc_html_e("Build custom XML sitemaps to improve Google's crawling of your site.", 'wp-seopress'); ?></p>
|
1054 |
-
</div>
|
1055 |
-
<div class="seopress-wizard-next-step-action">
|
1056 |
-
<p class="seopress-setup-actions step">
|
1057 |
-
<a class="button button-primary button-large" href="<?php echo admin_url('admin.php?page=seopress-xml-sitemap'); ?>">
|
1058 |
-
<?php esc_html_e('Configure your XML sitemaps', 'wp-seopress'); ?>
|
1059 |
-
</a>
|
1060 |
-
</p>
|
1061 |
-
</div>
|
1062 |
-
</li>
|
1063 |
-
<?php seopress_wizard_follow_us(); ?>
|
1064 |
-
<li class="seopress-wizard-additional-steps">
|
1065 |
-
<div class="seopress-wizard-next-step-description">
|
1066 |
-
<p class="next-step-heading"><?php esc_html_e('You can also:', 'wp-seopress'); ?></p>
|
1067 |
-
</div>
|
1068 |
-
<div class="seopress-wizard-next-step-action step">
|
1069 |
-
<p class="seopress-setup-actions step">
|
1070 |
-
<a class="button button-large" href="<?php echo esc_url(admin_url()); ?>">
|
1071 |
-
<?php esc_html_e('Visit Dashboard', 'wp-seopress'); ?>
|
1072 |
-
</a>
|
1073 |
-
<a class="button button-large" href="<?php echo esc_url(admin_url('admin.php?page=seopress-option')); ?>">
|
1074 |
-
<?php esc_html_e('Review Settings', 'wp-seopress'); ?>
|
1075 |
-
</a>
|
1076 |
-
<a class="button button-large" href="<?php echo esc_url('https://www.seopress.org/support/?utm_source=plugin&utm_medium=wizard&utm_campaign=seopress'); ?>" target="_blank">
|
1077 |
-
<?php esc_html_e('Knowledge base', 'wp-seopress'); ?>
|
1078 |
-
</a>
|
1079 |
-
</p>
|
1080 |
-
</div>
|
1081 |
-
</li>
|
1082 |
-
</ul>
|
1083 |
-
<?php
|
1084 |
-
}
|
1085 |
-
}
|
1086 |
-
|
1087 |
-
new SEOPRESS_Admin_Setup_Wizard();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -4,7 +4,8 @@ defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks
|
|
4 |
|
5 |
use SEOPress\Helpers\PagesAdmin;
|
6 |
|
7 |
-
class seopress_options
|
|
|
8 |
/**
|
9 |
* Holds the values to be used in the fields callbacks.
|
10 |
*/
|
@@ -13,17 +14,73 @@ class seopress_options {
|
|
13 |
/**
|
14 |
* Start up.
|
15 |
*/
|
16 |
-
public function __construct()
|
|
|
17 |
add_action('admin_menu', [$this, 'add_plugin_page'], 10);
|
18 |
add_action('admin_init', [$this, 'page_init']);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
-
|
|
|
|
|
21 |
}
|
22 |
|
23 |
/**
|
24 |
* Add options page.
|
25 |
*/
|
26 |
-
public function add_plugin_page()
|
|
|
27 |
if (has_filter('seopress_seo_admin_menu')) {
|
28 |
$sp_seo_admin_menu['icon'] = '';
|
29 |
$sp_seo_admin_menu['icon'] = apply_filters('seopress_seo_admin_menu', $sp_seo_admin_menu['icon']);
|
@@ -39,7 +96,7 @@ class seopress_options {
|
|
39 |
add_menu_page(__('SEOPress Option Page', 'wp-seopress-pro'), $sp_seo_admin_menu['title'], seopress_capability('manage_options', 'menu'), 'seopress-option', [$this, 'create_admin_page'], $sp_seo_admin_menu['icon'], 90);
|
40 |
add_submenu_page('seopress-option', __('Dashboard', 'wp-seopress'), __('Dashboard', 'wp-seopress'), seopress_capability('manage_options', 'menu'), 'seopress-option', [$this, 'create_admin_page']);
|
41 |
$seopress_titles_help_tab = add_submenu_page('seopress-option', __('Titles & Metas', 'wp-seopress'), __('Titles & Metas', 'wp-seopress'), seopress_capability('manage_options', PagesAdmin::TITLE_METAS), 'seopress-titles', [$this, 'seopress_titles_page']);
|
42 |
-
$seopress_xml_sitemaps_help_tab = add_submenu_page('seopress-option', __('XML
|
43 |
$seopress_social_networks_help_tab = add_submenu_page('seopress-option', __('Social Networks', 'wp-seopress'), __('Social Networks', 'wp-seopress'), seopress_capability('manage_options', PagesAdmin::SOCIAL_NETWORKS), 'seopress-social', [$this, 'seopress_social_page']);
|
44 |
$seopress_google_analytics_help_tab = add_submenu_page('seopress-option', __('Analytics', 'wp-seopress'), __('Analytics', 'wp-seopress'), seopress_capability('manage_options', PagesAdmin::ANALYTICS), 'seopress-google-analytics', [$this, 'seopress_google_analytics_page']);
|
45 |
add_submenu_page('seopress-option', __('Advanced', 'wp-seopress'), __('Advanced', 'wp-seopress'), seopress_capability('manage_options', PagesAdmin::ADVANCED), 'seopress-advanced', [$this, 'seopress_advanced_page']);
|
@@ -54,6934 +111,86 @@ class seopress_options {
|
|
54 |
}
|
55 |
}
|
56 |
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
$dyn_var = seopress_get_dyn_variables();
|
63 |
-
|
64 |
-
$seopress_titles_help_tab_content = '<ul>';
|
65 |
-
foreach ($dyn_var as $key => $value) {
|
66 |
-
$seopress_titles_help_tab_content .= '<li>';
|
67 |
-
$seopress_titles_help_tab_content .= '<strong>' . $key . '</strong> - <em>' . $value . '</em>';
|
68 |
-
$seopress_titles_help_tab_content .= '</li>';
|
69 |
-
}
|
70 |
-
|
71 |
-
$seopress_titles_help_tab_content .= '<ul>';
|
72 |
-
|
73 |
-
$seopress_titles_help_tab_content .= wp_oembed_get('https://www.youtube.com/watch?v=Jretu4Gpgo8', ['width'=>530]);
|
74 |
-
|
75 |
-
$seopress_titles_help_robots_tab_content = wp_oembed_get('https://www.youtube.com/watch?v=Jretu4Gpgo8', ['width'=>530]);
|
76 |
-
|
77 |
-
$screen->add_help_tab([
|
78 |
-
'id' => 'seopress_titles_help_tab',
|
79 |
-
'title' => __('Templates variables', 'wp-seopress'),
|
80 |
-
'content' => $seopress_titles_help_tab_content,
|
81 |
-
]);
|
82 |
-
|
83 |
-
$screen->add_help_tab([
|
84 |
-
'id' => 'seopress_titles_help_robots_tab',
|
85 |
-
'title' => __('Edit your meta robots', 'wp-seopress'),
|
86 |
-
'content' => $seopress_titles_help_robots_tab_content,
|
87 |
-
]);
|
88 |
-
|
89 |
-
if (function_exists('seopress_get_locale') && 'fr' == seopress_get_locale()) {
|
90 |
-
$screen->set_help_sidebar(
|
91 |
-
'<ul>
|
92 |
-
<li><a href="https://www.seopress.org/fr/support/guides/?utm_source=plugin&utm_medium=wp-admin-help-tab&utm_campaign=seopress" target="_blank">' . __('Browse our guides', 'wp-seopress') . '</a></li>
|
93 |
-
<li><a href="https://www.seopress.org/fr/support/faq/?utm_source=plugin&utm_medium=wp-admin-help-tab&utm_campaign=seopress" target="_blank">' . __('Read our FAQ', 'wp-seopress') . '</a></li>
|
94 |
-
<li><a href="https://www.seopress.org/fr/?utm_source=plugin&utm_medium=wp-admin-help-tab&utm_campaign=seopress" target="_blank">' . __('Check our website', 'wp-seopress') . '</a></li>
|
95 |
-
</ul>'
|
96 |
-
);
|
97 |
-
} else {
|
98 |
-
$screen->set_help_sidebar(
|
99 |
-
'<ul>
|
100 |
-
<li><a href="https://www.seopress.org/support/guides/?utm_source=plugin&utm_medium=wp-admin-help-tab&utm_campaign=seopress" target="_blank">' . __('Browse our guides', 'wp-seopress') . '</a></li>
|
101 |
-
<li><a href="https://www.seopress.org/support/faq/?utm_source=plugin&utm_medium=wp-admin-help-tab&utm_campaign=seopress" target="_blank">' . __('Read our FAQ', 'wp-seopress') . '</a></li>
|
102 |
-
<li><a href="https://www.seopress.org/?utm_source=plugin&utm_medium=wp-admin-help-tab&utm_campaign=seopress" target="_blank">' . __('Check our website', 'wp-seopress') . '</a></li>
|
103 |
-
</ul>'
|
104 |
-
);
|
105 |
-
}
|
106 |
-
}
|
107 |
-
add_action('load-' . $seopress_titles_help_tab, 'seopress_titles_help_tab');
|
108 |
-
|
109 |
-
function seopress_xml_sitemaps_help_tab() {
|
110 |
-
$screen = get_current_screen();
|
111 |
-
|
112 |
-
$seopress_xml_sitemaps_help_tab_content = '
|
113 |
-
<p>' . __('Watch our video to learn how to enable XML sitemaps to improve crawling and them to Google Search Console.', 'wp-seopress') . '</p>
|
114 |
-
' . wp_oembed_get('https://www.youtube.com/watch?v=Bjfspe1nusY', ['width'=>530]);
|
115 |
-
|
116 |
-
$screen->add_help_tab([
|
117 |
-
'id' => 'seopress_google_analytics_help_tab',
|
118 |
-
'title' => __('How-to', 'wp-seopress'),
|
119 |
-
'content' => $seopress_xml_sitemaps_help_tab_content,
|
120 |
-
]);
|
121 |
-
|
122 |
-
if (function_exists('seopress_get_locale') && 'fr' == seopress_get_locale()) {
|
123 |
-
$screen->set_help_sidebar(
|
124 |
-
'<ul>
|
125 |
-
<li><a href="https://www.seopress.org/fr/support/guides/activer-sitemap-xml/?utm_source=plugin&utm_medium=wp-admin-help-tab&utm_campaign=seopress" target="_blank">' . __('Read our guide', 'wp-seopress') . '</a></li>
|
126 |
-
</ul>'
|
127 |
-
);
|
128 |
-
} else {
|
129 |
-
$screen->set_help_sidebar(
|
130 |
-
'<ul>
|
131 |
-
<li><a href="https://www.seopress.org/support/guides/enable-xml-sitemaps/?utm_source=plugin&utm_medium=wp-admin-help-tab&utm_campaign=seopress" target="_blank">' . __('Read our guide', 'wp-seopress') . '</a></li>
|
132 |
-
</ul>'
|
133 |
-
);
|
134 |
-
}
|
135 |
-
}
|
136 |
-
add_action('load-' . $seopress_xml_sitemaps_help_tab, 'seopress_xml_sitemaps_help_tab');
|
137 |
-
|
138 |
-
function seopress_social_networks_help_tab() {
|
139 |
-
$screen = get_current_screen();
|
140 |
-
|
141 |
-
$seopress_social_networks_help_tab_content = '
|
142 |
-
<p>' . __('Watch our video to learn how to edit your Open Graph and Twitters Cards tags to improve social sharing.', 'wp-seopress') . '</p>
|
143 |
-
' . wp_oembed_get('https://www.youtube.com/watch?v=TX3AUsI6vKk', ['width'=>530]);
|
144 |
-
|
145 |
-
$screen->add_help_tab([
|
146 |
-
'id' => 'seopress_social_networks_help_tab',
|
147 |
-
'title' => __('How-to', 'wp-seopress'),
|
148 |
-
'content' => $seopress_social_networks_help_tab_content,
|
149 |
-
]);
|
150 |
-
|
151 |
-
if (function_exists('seopress_get_locale') && 'fr' == seopress_get_locale()) {
|
152 |
-
$screen->set_help_sidebar(
|
153 |
-
'<ul>
|
154 |
-
<li><a href="https://www.seopress.org/fr/support/guides/gerer-les-metas-facebook-open-graph-et-twitter-cards/?utm_source=plugin&utm_medium=wp-admin-help-tab&utm_campaign=seopress" target="_blank">' . __('Read our guide', 'wp-seopress') . '</a></li>
|
155 |
-
</ul>'
|
156 |
-
);
|
157 |
-
} else {
|
158 |
-
$screen->set_help_sidebar(
|
159 |
-
'<ul>
|
160 |
-
<li><a href="https://www.seopress.org/support/guides/manage-facebook-open-graph-and-twitter-cards-metas/?utm_source=plugin&utm_medium=wp-admin-help-tab&utm_campaign=seopress" target="_blank">' . __('Read our guide', 'wp-seopress') . '</a></li>
|
161 |
-
</ul>'
|
162 |
-
);
|
163 |
-
}
|
164 |
-
}
|
165 |
-
add_action('load-' . $seopress_social_networks_help_tab, 'seopress_social_networks_help_tab');
|
166 |
-
|
167 |
-
function seopress_google_analytics_help_tab() {
|
168 |
-
$screen = get_current_screen();
|
169 |
-
|
170 |
-
$seopress_google_analytics_help_tab_content = '
|
171 |
-
<p>' . __('Watch our video to learn how to connect your WordPress site with Google Analytics and get statistics right in your dashboard (PRO only).', 'wp-seopress') . '</p>
|
172 |
-
' . wp_oembed_get('https://www.youtube.com/watch?v=2EWdogYuFgs', ['width'=>530]);
|
173 |
-
|
174 |
-
$screen->add_help_tab([
|
175 |
-
'id' => 'seopress_google_analytics_help_tab',
|
176 |
-
'title' => __('How-to', 'wp-seopress'),
|
177 |
-
'content' => $seopress_google_analytics_help_tab_content,
|
178 |
-
]);
|
179 |
-
|
180 |
-
if (function_exists('seopress_get_locale') && 'fr' == seopress_get_locale()) {
|
181 |
-
$screen->set_help_sidebar(
|
182 |
-
'<ul>
|
183 |
-
<li><a href="https://www.seopress.org/fr/support/guides/connectez-site-wordpress-a-google-analytics/?utm_source=plugin&utm_medium=wp-admin-help-tab&utm_campaign=seopress" target="_blank">' . __('Read our guide', 'wp-seopress') . '</a></li>
|
184 |
-
</ul>'
|
185 |
-
);
|
186 |
-
} else {
|
187 |
-
$screen->set_help_sidebar(
|
188 |
-
'<ul>
|
189 |
-
<li><a href="https://www.seopress.org/support/guides/connect-wordpress-site-google-analytics/?utm_source=plugin&utm_medium=wp-admin-help-tab&utm_campaign=seopress" target="_blank">' . __('Read our guide', 'wp-seopress') . '</a></li>
|
190 |
-
</ul>'
|
191 |
-
);
|
192 |
-
}
|
193 |
-
}
|
194 |
-
add_action('load-' . $seopress_google_analytics_help_tab, 'seopress_google_analytics_help_tab');
|
195 |
}
|
196 |
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
} ?>
|
202 |
-
<form method="post" action="<?php echo admin_url('options.php'); ?>" class="seopress-option">
|
203 |
-
<?php
|
204 |
-
if (isset($_GET['settings-updated']) && 'true' === $_GET['settings-updated']) {
|
205 |
-
echo '<div class="sp-components-snackbar-list"><div class="sp-components-snackbar"><div class="sp-components-snackbar__content"><span class="dashicons dashicons-yes"></span>' . __('Your settings have been saved.', 'wp-seopress') . '</div></div></div>';
|
206 |
-
}
|
207 |
-
|
208 |
-
global $wp_version, $title;
|
209 |
-
$current_tab = '';
|
210 |
-
$tag = version_compare($wp_version, '4.4') >= 0 ? 'h1' : 'h2';
|
211 |
-
echo '<' . $tag . '><span class="dashicons dashicons-editor-table"></span>' . $title;
|
212 |
-
|
213 |
-
if ('1' == seopress_get_toggle_option('titles')) {
|
214 |
-
$seopress_get_toggle_titles_option = '"1"';
|
215 |
-
} else {
|
216 |
-
$seopress_get_toggle_titles_option = '"0"';
|
217 |
-
} ?>
|
218 |
-
|
219 |
-
<input type="checkbox" name="toggle-titles" id="toggle-titles" class="toggle" data-toggle=<?php echo $seopress_get_toggle_titles_option; ?>>
|
220 |
-
<label for="toggle-titles"></label>
|
221 |
-
|
222 |
-
<?php
|
223 |
-
if ('1' == seopress_get_toggle_option('titles')) {
|
224 |
-
echo '<span id="titles-state-default" class="feature-state"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to disable this feature', 'wp-seopress') . '</span>';
|
225 |
-
echo '<span id="titles-state" class="feature-state feature-state-off"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to enable this feature', 'wp-seopress') . '</span>';
|
226 |
-
} else {
|
227 |
-
echo '<span id="titles-state-default" class="feature-state"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to enable this feature', 'wp-seopress') . '</span>';
|
228 |
-
echo '<span id="titles-state" class="feature-state feature-state-off"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to disable this feature', 'wp-seopress') . '</span>';
|
229 |
-
}
|
230 |
-
|
231 |
-
echo '<div id="seopress-notice-save" style="display: none"><span class="dashicons dashicons-yes"></span><span class="html"></span></div>';
|
232 |
-
|
233 |
-
echo '</' . $tag . '>';
|
234 |
-
|
235 |
-
settings_fields('seopress_titles_option_group'); ?>
|
236 |
-
|
237 |
-
<div id="seopress-tabs" class="wrap">
|
238 |
-
<?php
|
239 |
-
|
240 |
-
$plugin_settings_tabs = [
|
241 |
-
'tab_seopress_titles_home' => __('Home', 'wp-seopress'),
|
242 |
-
'tab_seopress_titles_single' => __('Single Post Types', 'wp-seopress'),
|
243 |
-
'tab_seopress_titles_archives' => __('Archives', 'wp-seopress'),
|
244 |
-
'tab_seopress_titles_tax' => __('Taxonomies', 'wp-seopress'),
|
245 |
-
'tab_seopress_titles_advanced' => __('Advanced', 'wp-seopress'),
|
246 |
-
];
|
247 |
-
|
248 |
-
echo '<div class="nav-tab-wrapper">';
|
249 |
-
foreach ($plugin_settings_tabs as $tab_key => $tab_caption) {
|
250 |
-
echo '<a id="' . $tab_key . '-tab" class="nav-tab" href="?page=seopress-titles#tab=' . $tab_key . '">' . $tab_caption . '</a>';
|
251 |
-
}
|
252 |
-
echo '</div>'; ?>
|
253 |
-
<div class="seopress-tab <?php if ('tab_seopress_titles_home' == $current_tab) {
|
254 |
-
echo 'active';
|
255 |
-
} ?>" id="tab_seopress_titles_home"><?php do_settings_sections('seopress-settings-admin-titles-home'); ?></div>
|
256 |
-
<div class="seopress-tab <?php if ('tab_seopress_titles_single' == $current_tab) {
|
257 |
-
echo 'active';
|
258 |
-
} ?>" id="tab_seopress_titles_single"><?php do_settings_sections('seopress-settings-admin-titles-single'); ?></div>
|
259 |
-
<div class="seopress-tab <?php if ('tab_seopress_titles_archives' == $current_tab) {
|
260 |
-
echo 'active';
|
261 |
-
} ?>" id="tab_seopress_titles_archives"><?php do_settings_sections('seopress-settings-admin-titles-archives'); ?></div>
|
262 |
-
<div class="seopress-tab <?php if ('tab_seopress_titles_tax' == $current_tab) {
|
263 |
-
echo 'active';
|
264 |
-
} ?>" id="tab_seopress_titles_tax"><?php do_settings_sections('seopress-settings-admin-titles-tax'); ?></div>
|
265 |
-
<div class="seopress-tab <?php if ('tab_seopress_titles_advanced' == $current_tab) {
|
266 |
-
echo 'active';
|
267 |
-
} ?>" id="tab_seopress_titles_advanced"><?php do_settings_sections('seopress-settings-admin-titles-advanced'); ?></div>
|
268 |
-
</div>
|
269 |
-
|
270 |
-
<?php submit_button(); ?>
|
271 |
-
</form>
|
272 |
-
<?php
|
273 |
}
|
274 |
|
275 |
-
public function seopress_xml_sitemap_page()
|
276 |
-
|
277 |
-
|
278 |
-
echo seopress_admin_header();
|
279 |
-
} ?>
|
280 |
-
<form method="post" action="<?php echo admin_url('options.php'); ?>" class="seopress-option" name="seopress-flush">
|
281 |
-
<?php
|
282 |
-
if (isset($_GET['settings-updated']) && 'true' === $_GET['settings-updated']) {
|
283 |
-
echo '<div class="sp-components-snackbar-list"><div class="sp-components-snackbar"><div class="sp-components-snackbar__content"><span class="dashicons dashicons-yes"></span>' . __('Your settings have been saved.', 'wp-seopress') . '</div></div></div>';
|
284 |
-
}
|
285 |
-
global $wp_version, $title;
|
286 |
-
$current_tab = '';
|
287 |
-
$tag = version_compare($wp_version, '4.4') >= 0 ? 'h1' : 'h2';
|
288 |
-
echo '<' . $tag . '><span class="dashicons dashicons-media-spreadsheet"></span>' . $title;
|
289 |
-
|
290 |
-
if ('1' == seopress_get_toggle_option('xml-sitemap')) {
|
291 |
-
$seopress_get_toggle_xml_sitemap_option = '"1"';
|
292 |
-
} else {
|
293 |
-
$seopress_get_toggle_xml_sitemap_option = '"0"';
|
294 |
-
} ?>
|
295 |
-
|
296 |
-
<input type="checkbox" name="toggle-xml-sitemap" id="toggle-xml-sitemap" class="toggle" data-toggle=<?php echo $seopress_get_toggle_xml_sitemap_option; ?>>
|
297 |
-
|
298 |
-
<label for="toggle-xml-sitemap"></label>
|
299 |
-
|
300 |
-
<?php if ('1' == seopress_get_toggle_option('xml-sitemap')) {
|
301 |
-
echo '<span id="xml-sitemap-state-default" class="feature-state"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to disable this feature', 'wp-seopress') . '</span>';
|
302 |
-
echo '<span id="xml-sitemap-state" class="feature-state feature-state-off"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to enable this feature', 'wp-seopress') . '</span>';
|
303 |
-
} else {
|
304 |
-
echo '<span id="xml-sitemap-state-default" class="feature-state"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to enable this feature', 'wp-seopress') . '</span>';
|
305 |
-
echo '<span id="xml-sitemap-state" class="feature-state feature-state-off"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to disable this feature', 'wp-seopress') . '</span>';
|
306 |
-
}
|
307 |
-
|
308 |
-
echo '<div id="seopress-notice-save" style="display: none"><span class="dashicons dashicons-yes"></span><span class="html"></span></div>';
|
309 |
-
|
310 |
-
echo '</' . $tag . '>';
|
311 |
-
|
312 |
-
settings_fields('seopress_xml_sitemap_option_group'); ?>
|
313 |
-
|
314 |
-
<div id="seopress-tabs" class="wrap">
|
315 |
-
<?php
|
316 |
-
|
317 |
-
$plugin_settings_tabs = [
|
318 |
-
'tab_seopress_xml_sitemap_general' => __('General', 'wp-seopress'),
|
319 |
-
'tab_seopress_xml_sitemap_post_types' => __('Post Types', 'wp-seopress'),
|
320 |
-
'tab_seopress_xml_sitemap_taxonomies' => __('Taxonomies', 'wp-seopress'),
|
321 |
-
'tab_seopress_html_sitemap' => __('HTML Sitemap', 'wp-seopress'),
|
322 |
-
];
|
323 |
-
|
324 |
-
echo '<div class="nav-tab-wrapper">';
|
325 |
-
foreach ($plugin_settings_tabs as $tab_key => $tab_caption) {
|
326 |
-
echo '<a id="' . $tab_key . '-tab" class="nav-tab" href="?page=seopress-xml-sitemap#tab=' . $tab_key . '">' . $tab_caption . '</a>';
|
327 |
-
}
|
328 |
-
echo '</div>'; ?>
|
329 |
-
<div class="seopress-tab <?php if ('tab_seopress_xml_sitemap_general' == $current_tab) {
|
330 |
-
echo 'active';
|
331 |
-
} ?>" id="tab_seopress_xml_sitemap_general"><?php do_settings_sections('seopress-settings-admin-xml-sitemap-general'); ?></div>
|
332 |
-
<div class="seopress-tab <?php if ('tab_seopress_xml_sitemap_post_types' == $current_tab) {
|
333 |
-
echo 'active';
|
334 |
-
} ?>" id="tab_seopress_xml_sitemap_post_types"><?php do_settings_sections('seopress-settings-admin-xml-sitemap-post-types'); ?></div>
|
335 |
-
<div class="seopress-tab <?php if ('tab_seopress_xml_sitemap_taxonomies' == $current_tab) {
|
336 |
-
echo 'active';
|
337 |
-
} ?>" id="tab_seopress_xml_sitemap_taxonomies"><?php do_settings_sections('seopress-settings-admin-xml-sitemap-taxonomies'); ?></div>
|
338 |
-
<div class="seopress-tab <?php if ('tab_seopress_html_sitemap' == $current_tab) {
|
339 |
-
echo 'active';
|
340 |
-
} ?>" id="tab_seopress_html_sitemap"><?php do_settings_sections('seopress-settings-admin-html-sitemap'); ?></div>
|
341 |
-
</div>
|
342 |
-
<?php submit_button(); ?>
|
343 |
-
</form>
|
344 |
-
<?php
|
345 |
}
|
346 |
|
347 |
-
public function seopress_social_page()
|
348 |
-
|
349 |
-
|
350 |
-
echo seopress_admin_header();
|
351 |
-
} ?>
|
352 |
-
<form method="post" action="<?php echo admin_url('options.php'); ?>" class="seopress-option">
|
353 |
-
<?php
|
354 |
-
if (isset($_GET['settings-updated']) && 'true' === $_GET['settings-updated']) {
|
355 |
-
echo '<div class="sp-components-snackbar-list"><div class="sp-components-snackbar"><div class="sp-components-snackbar__content"><span class="dashicons dashicons-yes"></span>' . __('Your settings have been saved.', 'wp-seopress') . '</div></div></div>';
|
356 |
-
}
|
357 |
-
|
358 |
-
global $wp_version, $title;
|
359 |
-
$current_tab = '';
|
360 |
-
$tag = version_compare($wp_version, '4.4') >= 0 ? 'h1' : 'h2';
|
361 |
-
echo '<' . $tag . '><span class="dashicons dashicons-share"></span>' . $title;
|
362 |
-
|
363 |
-
if ('1' == seopress_get_toggle_option('social')) {
|
364 |
-
$seopress_get_toggle_social_option = '"1"';
|
365 |
-
} else {
|
366 |
-
$seopress_get_toggle_social_option = '"0"';
|
367 |
-
} ?>
|
368 |
-
|
369 |
-
<input type="checkbox" name="toggle-social" id="toggle-social" class="toggle" data-toggle=<?php echo $seopress_get_toggle_social_option; ?>>
|
370 |
-
<label for="toggle-social"></label>
|
371 |
-
|
372 |
-
<?php
|
373 |
-
if ('1' == seopress_get_toggle_option('social')) {
|
374 |
-
echo '<span id="social-state-default" class="feature-state"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to disable this feature', 'wp-seopress') . '</span>';
|
375 |
-
echo '<span id="social-state" class="feature-state feature-state-off"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to enable this feature', 'wp-seopress') . '</span>';
|
376 |
-
} else {
|
377 |
-
echo '<span id="social-state-default" class="feature-state"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to enable this feature', 'wp-seopress') . '</span>';
|
378 |
-
echo '<span id="social-state" class="feature-state feature-state-off"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to disable this feature', 'wp-seopress') . '</span>';
|
379 |
-
}
|
380 |
-
|
381 |
-
echo '<div id="seopress-notice-save" style="display: none"><span class="dashicons dashicons-yes"></span><span class="html"></span></div>';
|
382 |
-
|
383 |
-
echo '</' . $tag . '>';
|
384 |
-
|
385 |
-
settings_fields('seopress_social_option_group'); ?>
|
386 |
-
|
387 |
-
<div id="seopress-tabs" class="wrap">
|
388 |
-
<?php
|
389 |
-
|
390 |
-
$plugin_settings_tabs = [
|
391 |
-
'tab_seopress_social_knowledge' => __('Knowledge Graph', 'wp-seopress'),
|
392 |
-
'tab_seopress_social_accounts' => __('Your social accounts', 'wp-seopress'),
|
393 |
-
'tab_seopress_social_facebook' => __('Facebook (Open Graph)', 'wp-seopress'),
|
394 |
-
'tab_seopress_social_twitter' => __('Twitter (Twitter card)', 'wp-seopress'),
|
395 |
-
];
|
396 |
-
|
397 |
-
echo '<div class="nav-tab-wrapper">';
|
398 |
-
foreach ($plugin_settings_tabs as $tab_key => $tab_caption) {
|
399 |
-
echo '<a id="' . $tab_key . '-tab" class="nav-tab" href="?page=seopress-social#tab=' . $tab_key . '">' . $tab_caption . '</a>';
|
400 |
-
}
|
401 |
-
echo '</div>'; ?>
|
402 |
-
<div class="seopress-tab <?php if ('tab_seopress_social_knowledge' == $current_tab) {
|
403 |
-
echo 'active';
|
404 |
-
} ?>" id="tab_seopress_social_knowledge"><?php do_settings_sections('seopress-settings-admin-social-knowledge'); ?></div>
|
405 |
-
<div class="seopress-tab <?php if ('tab_seopress_social_accounts' == $current_tab) {
|
406 |
-
echo 'active';
|
407 |
-
} ?>" id="tab_seopress_social_accounts"><?php do_settings_sections('seopress-settings-admin-social-accounts'); ?></div>
|
408 |
-
<div class="seopress-tab <?php if ('tab_seopress_social_facebook' == $current_tab) {
|
409 |
-
echo 'active';
|
410 |
-
} ?>" id="tab_seopress_social_facebook"><?php do_settings_sections('seopress-settings-admin-social-facebook'); ?></div>
|
411 |
-
<div class="seopress-tab <?php if ('tab_seopress_social_twitter' == $current_tab) {
|
412 |
-
echo 'active';
|
413 |
-
} ?>" id="tab_seopress_social_twitter"><?php do_settings_sections('seopress-settings-admin-social-twitter'); ?></div>
|
414 |
-
</div>
|
415 |
-
|
416 |
-
<?php submit_button(); ?>
|
417 |
-
</form>
|
418 |
-
<?php
|
419 |
}
|
420 |
|
421 |
-
public function seopress_google_analytics_page()
|
422 |
-
|
423 |
-
|
424 |
-
echo seopress_admin_header();
|
425 |
-
} ?>
|
426 |
-
<form method="post" action="<?php echo admin_url('options.php'); ?>" class="seopress-option">
|
427 |
-
<?php
|
428 |
-
if (isset($_GET['settings-updated']) && 'true' === $_GET['settings-updated']) {
|
429 |
-
echo '<div class="sp-components-snackbar-list"><div class="sp-components-snackbar"><div class="sp-components-snackbar__content"><span class="dashicons dashicons-yes"></span>' . __('Your setting have been saved.', 'wp-seopress') . '</div></div></div>';
|
430 |
-
}
|
431 |
-
|
432 |
-
global $wp_version, $title;
|
433 |
-
$current_tab = '';
|
434 |
-
$tag = version_compare($wp_version, '4.4') >= 0 ? 'h1' : 'h2';
|
435 |
-
echo '<' . $tag . '><span class="dashicons dashicons-chart-area"></span>' . $title;
|
436 |
-
|
437 |
-
if ('1' == seopress_get_toggle_option('google-analytics')) {
|
438 |
-
$seopress_get_toggle_google_analytics_option = '"1"';
|
439 |
-
} else {
|
440 |
-
$seopress_get_toggle_google_analytics_option = '"0"';
|
441 |
-
} ?>
|
442 |
-
|
443 |
-
<input type="checkbox" name="toggle-google-analytics" id="toggle-google-analytics" class="toggle" data-toggle=<?php echo $seopress_get_toggle_google_analytics_option; ?>>
|
444 |
-
|
445 |
-
<label for="toggle-google-analytics"></label>
|
446 |
-
|
447 |
-
<?php
|
448 |
-
if ('1' == seopress_get_toggle_option('google-analytics')) {
|
449 |
-
echo '<span id="google-analytics-state-default" class="feature-state"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to disable this feature', 'wp-seopress') . '</span>';
|
450 |
-
echo '<span id="google-analytics-state" class="feature-state feature-state-off"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to enable this feature', 'wp-seopress') . '</span>';
|
451 |
-
} else {
|
452 |
-
echo '<span id="google-analytics-state-default" class="feature-state"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to enable this feature', 'wp-seopress') . '</span>';
|
453 |
-
echo '<span id="google-analytics-state" class="feature-state feature-state-off"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to disable this feature', 'wp-seopress') . '</span>';
|
454 |
-
}
|
455 |
-
|
456 |
-
echo '<div id="seopress-notice-save" style="display: none"><span class="dashicons dashicons-yes"></span><span class="html"></span></div>';
|
457 |
-
|
458 |
-
echo '</' . $tag . '>';
|
459 |
-
|
460 |
-
settings_fields('seopress_google_analytics_option_group'); ?>
|
461 |
-
|
462 |
-
<div id="seopress-tabs" class="wrap">
|
463 |
-
<?php
|
464 |
-
|
465 |
-
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
466 |
-
$plugin_settings_tabs = [
|
467 |
-
'tab_seopress_google_analytics_enable' => __('General', 'wp-seopress'),
|
468 |
-
'tab_seopress_google_analytics_features' => __('Tracking', 'wp-seopress'),
|
469 |
-
'tab_seopress_google_analytics_ecommerce' => __('Ecommerce', 'wp-seopress'),
|
470 |
-
'tab_seopress_google_analytics_events' => __('Events', 'wp-seopress'),
|
471 |
-
'tab_seopress_google_analytics_custom_dimensions' => __('Custom Dimensions', 'wp-seopress'),
|
472 |
-
'tab_seopress_google_analytics_dashboard' => __('Stats in Dashboard', 'wp-seopress'),
|
473 |
-
'tab_seopress_google_analytics_gdpr' => __('Cookie bar / GDPR', 'wp-seopress'),
|
474 |
-
'tab_seopress_google_analytics_matomo' => __('Matomo', 'wp-seopress'),
|
475 |
-
];
|
476 |
-
} else {
|
477 |
-
$plugin_settings_tabs = [
|
478 |
-
'tab_seopress_google_analytics_enable' => __('General', 'wp-seopress'),
|
479 |
-
'tab_seopress_google_analytics_features' => __('Tracking', 'wp-seopress'),
|
480 |
-
'tab_seopress_google_analytics_events' => __('Events', 'wp-seopress'),
|
481 |
-
'tab_seopress_google_analytics_custom_dimensions' => __('Custom Dimensions', 'wp-seopress'),
|
482 |
-
'tab_seopress_google_analytics_gdpr' => __('Cookie bar / GDPR', 'wp-seopress'),
|
483 |
-
'tab_seopress_google_analytics_matomo' => __('Matomo', 'wp-seopress'),
|
484 |
-
];
|
485 |
-
}
|
486 |
-
|
487 |
-
echo '<div class="nav-tab-wrapper">';
|
488 |
-
foreach ($plugin_settings_tabs as $tab_key => $tab_caption) {
|
489 |
-
echo '<a id="' . $tab_key . '-tab" class="nav-tab" href="?page=seopress-google-analytics#tab=' . $tab_key . '">' . $tab_caption . '</a>';
|
490 |
-
}
|
491 |
-
echo '</div>'; ?>
|
492 |
-
<div class="seopress-tab <?php if ('tab_seopress_google_analytics_enable' == $current_tab) {
|
493 |
-
echo 'active';
|
494 |
-
} ?>" id="tab_seopress_google_analytics_enable"><?php do_settings_sections('seopress-settings-admin-google-analytics-enable'); ?></div>
|
495 |
-
<div class="seopress-tab <?php if ('tab_seopress_google_analytics_features' == $current_tab) {
|
496 |
-
echo 'active';
|
497 |
-
} ?>" id="tab_seopress_google_analytics_features"><?php do_settings_sections('seopress-settings-admin-google-analytics-features'); ?></div><div class="seopress-tab <?php if ('tab_seopress_google_analytics_events' == $current_tab) {
|
498 |
-
echo 'active';
|
499 |
-
} ?>" id="tab_seopress_google_analytics_events"><?php do_settings_sections('seopress-settings-admin-google-analytics-events'); ?></div>
|
500 |
-
<div class="seopress-tab <?php if ('tab_seopress_google_analytics_custom_dimensions' == $current_tab) {
|
501 |
-
echo 'active';
|
502 |
-
} ?>" id="tab_seopress_google_analytics_custom_dimensions"><?php do_settings_sections('seopress-settings-admin-google-analytics-custom-dimensions'); ?></div>
|
503 |
-
<?php if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) { ?>
|
504 |
-
<div class="seopress-tab <?php if ('tab_seopress_google_analytics_dashboard' == $current_tab) {
|
505 |
-
echo 'active';
|
506 |
-
} ?>" id="tab_seopress_google_analytics_dashboard"><?php do_settings_sections('seopress-settings-admin-google-analytics-dashboard'); ?></div>
|
507 |
-
<div class="seopress-tab <?php if ('tab_seopress_google_analytics_ecommerce' == $current_tab) {
|
508 |
-
echo 'active';
|
509 |
-
} ?>" id="tab_seopress_google_analytics_ecommerce"><?php do_settings_sections('seopress-settings-admin-google-analytics-ecommerce'); ?></div>
|
510 |
-
<?php } ?>
|
511 |
-
<div class="seopress-tab <?php if ('tab_seopress_google_analytics_gdpr' == $current_tab) {
|
512 |
-
echo 'active';
|
513 |
-
} ?>" id="tab_seopress_google_analytics_gdpr"><?php do_settings_sections('seopress-settings-admin-google-analytics-gdpr'); ?></div>
|
514 |
-
<div class="seopress-tab <?php if ('tab_seopress_google_analytics_matomo' == $current_tab) {
|
515 |
-
echo 'active';
|
516 |
-
} ?>" id="tab_seopress_google_analytics_matomo"><?php do_settings_sections('seopress-settings-admin-google-analytics-matomo'); ?></div>
|
517 |
-
</div>
|
518 |
-
|
519 |
-
<?php submit_button(); ?>
|
520 |
-
</form>
|
521 |
-
<?php
|
522 |
}
|
523 |
|
524 |
-
public function seopress_advanced_page()
|
525 |
-
|
526 |
-
|
527 |
-
echo seopress_admin_header();
|
528 |
-
} ?>
|
529 |
-
<form method="post" action="<?php echo admin_url('options.php'); ?>" class="seopress-option">
|
530 |
-
<?php
|
531 |
-
if (isset($_GET['settings-updated']) && 'true' === $_GET['settings-updated']) {
|
532 |
-
echo '<div class="sp-components-snackbar-list"><div class="sp-components-snackbar"><div class="sp-components-snackbar__content"><span class="dashicons dashicons-yes"></span>' . __('Your settings have been saved.', 'wp-seopress') . '</div></div></div>';
|
533 |
-
}
|
534 |
-
|
535 |
-
global $wp_version, $title;
|
536 |
-
$current_tab = '';
|
537 |
-
$tag = version_compare($wp_version, '4.4') >= 0 ? 'h1' : 'h2';
|
538 |
-
echo '<' . $tag . '><span class="dashicons dashicons-admin-tools"></span>' . $title;
|
539 |
-
|
540 |
-
if ('1' == seopress_get_toggle_option('advanced')) {
|
541 |
-
$seopress_get_toggle_advanced_option = '"1"';
|
542 |
-
} else {
|
543 |
-
$seopress_get_toggle_advanced_option = '"0"';
|
544 |
-
} ?>
|
545 |
-
|
546 |
-
<input type="checkbox" name="toggle-advanced" id="toggle-advanced" class="toggle" data-toggle=<?php echo $seopress_get_toggle_advanced_option; ?>>
|
547 |
-
<label for="toggle-advanced"></label>
|
548 |
-
|
549 |
-
<?php
|
550 |
-
if ('1' == seopress_get_toggle_option('advanced')) {
|
551 |
-
echo '<span id="advanced-state-default" class="feature-state"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to disable this feature', 'wp-seopress') . '</span>';
|
552 |
-
echo '<span id="advanced-state" class="feature-state feature-state-off"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to enable this feature', 'wp-seopress') . '</span>';
|
553 |
-
} else {
|
554 |
-
echo '<span id="advanced-state-default" class="feature-state"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to enable this feature', 'wp-seopress') . '</span>';
|
555 |
-
echo '<span id="advanced-state" class="feature-state feature-state-off"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to disable this feature', 'wp-seopress') . '</span>';
|
556 |
-
}
|
557 |
-
|
558 |
-
echo '<div id="seopress-notice-save" style="display: none"><span class="dashicons dashicons-yes"></span><span class="html"></span></div>';
|
559 |
-
|
560 |
-
echo '</' . $tag . '>';
|
561 |
-
|
562 |
-
settings_fields('seopress_advanced_option_group'); ?>
|
563 |
-
|
564 |
-
<div id="seopress-tabs" class="wrap">
|
565 |
-
<?php
|
566 |
-
|
567 |
-
$plugin_settings_tabs = [
|
568 |
-
'tab_seopress_advanced_image' => __('Image SEO', 'wp-seopress'),
|
569 |
-
'tab_seopress_advanced_advanced' => __('Advanced', 'wp-seopress'),
|
570 |
-
'tab_seopress_advanced_appearance' => __('Appearance', 'wp-seopress'),
|
571 |
-
'tab_seopress_advanced_security' => __('Security', 'wp-seopress'),
|
572 |
-
];
|
573 |
-
|
574 |
-
echo '<div class="nav-tab-wrapper">';
|
575 |
-
foreach ($plugin_settings_tabs as $tab_key => $tab_caption) {
|
576 |
-
echo '<a id="' . $tab_key . '-tab" class="nav-tab" href="?page=seopress-advanced#tab=' . $tab_key . '">' . $tab_caption . '</a>';
|
577 |
-
}
|
578 |
-
echo '</div>'; ?>
|
579 |
-
<div class="seopress-tab <?php if ('tab_seopress_advanced_image' == $current_tab) {
|
580 |
-
echo 'active';
|
581 |
-
} ?>" id="tab_seopress_advanced_image"><?php do_settings_sections('seopress-settings-admin-advanced-image'); ?>
|
582 |
-
</div>
|
583 |
-
<div class="seopress-tab <?php if ('tab_seopress_advanced_advanced' == $current_tab) {
|
584 |
-
echo 'active';
|
585 |
-
} ?>" id="tab_seopress_advanced_advanced"><?php do_settings_sections('seopress-settings-admin-advanced-advanced'); ?>
|
586 |
-
</div>
|
587 |
-
<div class="seopress-tab <?php if ('tab_seopress_advanced_appearance' == $current_tab) {
|
588 |
-
echo 'active';
|
589 |
-
} ?>" id="tab_seopress_advanced_appearance"><?php do_settings_sections('seopress-settings-admin-advanced-appearance'); ?></div>
|
590 |
-
<div class="seopress-tab <?php if ('tab_seopress_advanced_security' == $current_tab) {
|
591 |
-
echo 'active';
|
592 |
-
} ?>" id="tab_seopress_advanced_security"><?php do_settings_sections('seopress-settings-admin-advanced-security'); ?></div>
|
593 |
-
</div>
|
594 |
-
|
595 |
-
<?php submit_button(); ?>
|
596 |
-
</form>
|
597 |
-
<?php
|
598 |
}
|
599 |
|
600 |
-
public function seopress_import_export_page()
|
601 |
-
|
602 |
-
|
603 |
-
echo seopress_admin_header();
|
604 |
-
} ?>
|
605 |
-
<div class="seopress-option">
|
606 |
-
<?php global $wp_version, $title;
|
607 |
-
$current_tab = '';
|
608 |
-
$tag = version_compare($wp_version, '4.4') >= 0 ? 'h1' : 'h2';
|
609 |
-
echo '<' . $tag . '><span class="dashicons dashicons-admin-settings"></span>' . $title . '</' . $tag . '>'; ?>
|
610 |
-
<div id="seopress-tabs" class="wrap">
|
611 |
-
<?php
|
612 |
-
$plugin_settings_tabs = [
|
613 |
-
'tab_seopress_tool_compatibility' => __('Compatibility Center', 'wp-seopress'),
|
614 |
-
'tab_seopress_tool_data' => __('Data', 'wp-seopress'),
|
615 |
-
'tab_seopress_tool_settings' => __('Settings', 'wp-seopress'),
|
616 |
-
'tab_seopress_tool_plugins' => __('Plugins', 'wp-seopress'),
|
617 |
-
'tab_seopress_tool_redirects' => __('Redirections', 'wp-seopress'),
|
618 |
-
'tab_seopress_tool_reset' => __('Reset', 'wp-seopress'),
|
619 |
-
];
|
620 |
-
|
621 |
-
if ( ! is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
622 |
-
unset($plugin_settings_tabs['tab_seopress_tool_data']);
|
623 |
-
unset($plugin_settings_tabs['tab_seopress_tool_redirects']);
|
624 |
-
}
|
625 |
-
|
626 |
-
echo '<div class="nav-tab-wrapper">';
|
627 |
-
foreach ($plugin_settings_tabs as $tab_key => $tab_caption) {
|
628 |
-
echo '<a id="' . $tab_key . '-tab" class="nav-tab" href="?page=seopress-import-export#tab=' . $tab_key . '">' . $tab_caption . '</a>';
|
629 |
-
}
|
630 |
-
echo '</div>'; ?>
|
631 |
-
<div class="seopress-tab <?php if ('tab_seopress_tool_compatibility' == $current_tab) {
|
632 |
-
echo 'active';
|
633 |
-
} ?>" id="tab_seopress_tool_compatibility">
|
634 |
-
<form method="post" action="<?php echo admin_url('options.php'); ?>">
|
635 |
-
<?php
|
636 |
-
settings_fields('seopress_tools_option_group');
|
637 |
-
do_settings_sections('seopress-settings-admin-tools-compatibility');
|
638 |
-
submit_button(); ?>
|
639 |
-
</form>
|
640 |
-
</div>
|
641 |
-
<?php if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) { ?>
|
642 |
-
<div class="seopress-tab <?php if ('tab_seopress_tool_data' == $current_tab) {
|
643 |
-
echo 'active';
|
644 |
-
} ?>" id="tab_seopress_tool_data">
|
645 |
-
<div class="postbox section-tool">
|
646 |
-
<div class="inside">
|
647 |
-
<h3><span><?php _e('Import data from a CSV', 'wp-seopress'); ?></span></h3>
|
648 |
-
<p><?php _e('Upload a CSV file to quickly import post (post, page, single post type) and term metadata:', 'wp-seopress'); ?></p>
|
649 |
-
<ul>
|
650 |
-
<li>
|
651 |
-
<?php _e('Meta title', 'wp-seopress'); ?>
|
652 |
-
</li>
|
653 |
-
<li>
|
654 |
-
<?php _e('Meta description', 'wp-seopress'); ?>
|
655 |
-
</li>
|
656 |
-
<li>
|
657 |
-
<?php _e('Meta robots (noindex, nofollow...)', 'wp-seopress'); ?>
|
658 |
-
</li>
|
659 |
-
<li>
|
660 |
-
<?php _e('Facebook Open Graph tags (title, description, image)', 'wp-seopress'); ?>
|
661 |
-
</li>
|
662 |
-
<li>
|
663 |
-
<?php _e('Twitter cards tags (title, description, image)', 'wp-seopress'); ?>
|
664 |
-
</li>
|
665 |
-
<li>
|
666 |
-
<?php _e('Redirection (enable, type, URL)', 'wp-seopress'); ?>
|
667 |
-
</li>
|
668 |
-
<li>
|
669 |
-
<?php _e('Primary category', 'wp-seopress'); ?>
|
670 |
-
</li>
|
671 |
-
<li>
|
672 |
-
<?php _e('Canonical URL', 'wp-seopress'); ?>
|
673 |
-
</li>
|
674 |
-
<li>
|
675 |
-
<?php _e('Target keywords', 'wp-seopress'); ?>
|
676 |
-
</li>
|
677 |
-
</ul>
|
678 |
-
<a class="button" href="<?php echo admin_url('admin.php?page=seopress_csv_importer'); ?>"><?php _e('Run the importer', 'wp-seopress'); ?></a>
|
679 |
-
</div><!-- .inside -->
|
680 |
-
</div><!-- .postbox -->
|
681 |
-
<div id="metadata-migration-tool" class="postbox section-tool">
|
682 |
-
<div class="inside">
|
683 |
-
<h3><span><?php _e('Export metadata to a CSV', 'wp-seopress'); ?></span></h3>
|
684 |
-
<p><?php _e('Export your post (post, page, single post type) and term metadata for this site as a .csv file.', 'wp-seopress'); ?></p>
|
685 |
-
<ul>
|
686 |
-
<li>
|
687 |
-
<?php _e('Meta title', 'wp-seopress'); ?>
|
688 |
-
</li>
|
689 |
-
<li>
|
690 |
-
<?php _e('Meta description', 'wp-seopress'); ?>
|
691 |
-
</li>
|
692 |
-
<li>
|
693 |
-
<?php _e('Meta robots (noindex, nofollow...)', 'wp-seopress'); ?>
|
694 |
-
</li>
|
695 |
-
<li>
|
696 |
-
<?php _e('Facebook Open Graph tags (title, description, image)', 'wp-seopress'); ?>
|
697 |
-
</li>
|
698 |
-
<li>
|
699 |
-
<?php _e('Twitter cards tags (title, description, image)', 'wp-seopress'); ?>
|
700 |
-
</li>
|
701 |
-
<li>
|
702 |
-
<?php _e('Redirection (enable, type, URL)', 'wp-seopress'); ?>
|
703 |
-
</li>
|
704 |
-
<li>
|
705 |
-
<?php _e('Primary category', 'wp-seopress'); ?>
|
706 |
-
</li>
|
707 |
-
<li>
|
708 |
-
<?php _e('Canonical URL', 'wp-seopress'); ?>
|
709 |
-
</li>
|
710 |
-
<li>
|
711 |
-
<?php _e('Target keywords', 'wp-seopress'); ?>
|
712 |
-
</li>
|
713 |
-
</ul>
|
714 |
-
<form method="post">
|
715 |
-
<p><input type="hidden" name="seopress_action" value="export_csv_metadata" /></p>
|
716 |
-
<p>
|
717 |
-
<?php wp_nonce_field('seopress_export_csv_metadata_nonce', 'seopress_export_csv_metadata_nonce'); ?>
|
718 |
-
<button id="seopress-metadata-migrate" type="button" class="button"><?php _e('Export', 'wp-seopress'); ?></button>
|
719 |
-
<span class="spinner"></span>
|
720 |
-
<div class="log"></div>
|
721 |
-
</p>
|
722 |
-
</form>
|
723 |
-
</div><!-- .inside -->
|
724 |
-
</div><!-- .postbox -->
|
725 |
-
</div>
|
726 |
-
<?php } ?>
|
727 |
-
<div class="seopress-tab <?php if ('tab_seopress_tool_settings' == $current_tab) {
|
728 |
-
echo 'active';
|
729 |
-
} ?>" id="tab_seopress_tool_settings">
|
730 |
-
<div class="postbox section-tool">
|
731 |
-
<div class="inside">
|
732 |
-
<h3><span><?php _e('Export plugin settings', 'wp-seopress'); ?></span></h3>
|
733 |
-
<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>
|
734 |
-
<form method="post">
|
735 |
-
<p><input type="hidden" name="seopress_action" value="export_settings" /></p>
|
736 |
-
<p>
|
737 |
-
<?php wp_nonce_field('seopress_export_nonce', 'seopress_export_nonce'); ?>
|
738 |
-
<?php submit_button(__('Export', 'wp-seopress'), 'secondary', 'submit', false); ?>
|
739 |
-
</p>
|
740 |
-
</form>
|
741 |
-
</div><!-- .inside -->
|
742 |
-
</div><!-- .postbox -->
|
743 |
-
|
744 |
-
<div class="postbox section-tool">
|
745 |
-
<div class="inside">
|
746 |
-
<h3><span><?php _e('Import plugin settings', 'wp-seopress'); ?></span></h3>
|
747 |
-
<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>
|
748 |
-
<form method="post" enctype="multipart/form-data">
|
749 |
-
<p>
|
750 |
-
<input type="file" name="import_file"/>
|
751 |
-
</p>
|
752 |
-
<p>
|
753 |
-
<input type="hidden" name="seopress_action" value="import_settings" />
|
754 |
-
<?php wp_nonce_field('seopress_import_nonce', 'seopress_import_nonce'); ?>
|
755 |
-
<?php submit_button(__('Import', 'wp-seopress'), 'secondary', 'submit', false); ?>
|
756 |
-
<?php if ( ! empty($_GET['success']) && 'true' == htmlspecialchars($_GET['success'])) {
|
757 |
-
echo '<div class="log">' . __('Import completed!', 'wp-seopress') . '</div>';
|
758 |
-
} ?>
|
759 |
-
</p>
|
760 |
-
</form>
|
761 |
-
</div><!-- .inside -->
|
762 |
-
</div><!-- .postbox -->
|
763 |
-
</div>
|
764 |
-
<div class="seopress-tab <?php if ('tab_seopress_tool_plugins' == $current_tab) {
|
765 |
-
echo 'active';
|
766 |
-
} ?>" id="tab_seopress_tool_plugins">
|
767 |
-
<div class="postbox section-tool">
|
768 |
-
<h3><span><?php _e('Import posts and terms metadata from', 'wp-seopress'); ?></span></h3>
|
769 |
-
<select id="select-wizard-import" name="select-wizard-import">
|
770 |
-
<option value="none"><?php _e('Select an option', 'wp-seopress'); ?></option>
|
771 |
-
<option value="yoast-migration-tool"><?php _e('Yoast SEO', 'wp-seopress'); ?></option>
|
772 |
-
<option value="aio-migration-tool"><?php _e('All In One SEO', 'wp-seopress'); ?></option>
|
773 |
-
<option value="seo-framework-migration-tool"><?php _e('The SEO Framework', 'wp-seopress'); ?></option>
|
774 |
-
<option value="rk-migration-tool"><?php _e('Rank Math', 'wp-seopress'); ?></option>
|
775 |
-
<option value="squirrly-migration-tool"><?php _e('Squirrly SEO', 'wp-seopress'); ?></option>
|
776 |
-
<option value="seo-ultimate-migration-tool"><?php _e('SEO Ultimate', 'wp-seopress'); ?></option>
|
777 |
-
<option value="wp-meta-seo-migration-tool"><?php _e('WP Meta SEO', 'wp-seopress'); ?></option>
|
778 |
-
<option value="premium-seo-pack-migration-tool"><?php _e('Premium SEO Pack', 'wp-seopress'); ?></option>
|
779 |
-
<option value="wpseo-migration-tool"><?php _e('wpSEO', 'wp-seopress'); ?></option>
|
780 |
-
<option value="platinum-seo-migration-tool"><?php _e('Platinum SEO Pack', 'wp-seopress'); ?></option>
|
781 |
-
<option value="smart-crawl-migration-tool"><?php _e('SmartCrawl', 'wp-seopress'); ?></option>
|
782 |
-
<option value="seopressor-migration-tool"><?php _e('SEOPressor', 'wp-seopress'); ?></option>
|
783 |
-
</select>
|
784 |
-
<br><br>
|
785 |
-
<p class="description"><?php _e('You don\'t have to enable the selected SEO plugin to run the import.', 'wp-seopress'); ?></p>
|
786 |
-
</div>
|
787 |
-
<!-- Yoast import tool -->
|
788 |
-
<div id="yoast-migration-tool" class="postbox section-tool">
|
789 |
-
<div class="inside">
|
790 |
-
<h3><span><?php _e('Import posts and terms metadata from Yoast', 'wp-seopress'); ?></span></h3>
|
791 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
792 |
-
<ul>
|
793 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
794 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
795 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
796 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
797 |
-
<li><?php _e('Meta Robots (noindex, nofollow...)', 'wp-seopress'); ?></li>
|
798 |
-
<li><?php _e('Canonical URL', 'wp-seopress'); ?></li>
|
799 |
-
<li><?php _e('Focus keywords', 'wp-seopress'); ?></li>
|
800 |
-
<li><?php _e('Primary category', 'wp-seopress'); ?></li>
|
801 |
-
</ul>
|
802 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Migration will delete / update all SEOPress posts and terms metadata. Some dynamic variables will not be interpreted. We do NOT delete any Yoast data.', 'wp-seopress'); ?></p>
|
803 |
-
<button id="seopress-yoast-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
804 |
-
<span class="spinner"></span>
|
805 |
-
<div class="log"></div>
|
806 |
-
</div><!-- .inside -->
|
807 |
-
</div><!-- .postbox -->
|
808 |
-
|
809 |
-
<!-- All In One import tool -->
|
810 |
-
<div id="aio-migration-tool" class="postbox section-tool">
|
811 |
-
<div class="inside">
|
812 |
-
<h3><span><?php _e('Import posts metadata from All In One SEO', 'wp-seopress'); ?></span></h3>
|
813 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
814 |
-
<ul>
|
815 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
816 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
817 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
818 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
819 |
-
<li><?php _e('Meta Robots (noindex, nofollow...)', 'wp-seopress'); ?></li>
|
820 |
-
<li><?php _e('Canonical URL', 'wp-seopress'); ?></li>
|
821 |
-
<li><?php _e('Focus keyword', 'wp-seopress'); ?></li>
|
822 |
-
</ul>
|
823 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Migration will update/delete all SEOPress posts and terms metadata. Some dynamic variables will not be interpreted. We do NOT delete any AIO data.', 'wp-seopress'); ?></p>
|
824 |
-
<button id="seopress-aio-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
825 |
-
<span class="spinner"></span>
|
826 |
-
<div class="log"></div>
|
827 |
-
</div><!-- .inside -->
|
828 |
-
</div><!-- .postbox -->
|
829 |
-
|
830 |
-
<!-- SEO Framework import tool -->
|
831 |
-
<div id="seo-framework-migration-tool" class="postbox section-tool">
|
832 |
-
<div class="inside">
|
833 |
-
<h3><span><?php _e('Import posts and terms metadata from The SEO Framework', 'wp-seopress'); ?></span></h3>
|
834 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
835 |
-
<ul>
|
836 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
837 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
838 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
839 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
840 |
-
<li><?php _e('Meta Robots (noindex, nofollow, noarchive)', 'wp-seopress'); ?></li>
|
841 |
-
<li><?php _e('Canonical URL', 'wp-seopress'); ?></li>
|
842 |
-
<li><?php _e('Redirect URL', 'wp-seopress'); ?></li>
|
843 |
-
</ul>
|
844 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Migration will update / delete all SEOPress posts and terms metadata. Some dynamic variables will not be interpreted. We do NOT delete any SEO Framework data.', 'wp-seopress'); ?></p>
|
845 |
-
<button id="seopress-seo-framework-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
846 |
-
<span class="spinner"></span>
|
847 |
-
<div class="log"></div>
|
848 |
-
</div><!-- .inside -->
|
849 |
-
</div><!-- .postbox -->
|
850 |
-
|
851 |
-
<!-- RK import tool -->
|
852 |
-
<div id="rk-migration-tool" class="postbox section-tool">
|
853 |
-
<div class="inside">
|
854 |
-
<h3><span><?php _e('Import posts and terms metadata from Rank Math', 'wp-seopress'); ?></span></h3>
|
855 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
856 |
-
<ul>
|
857 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
858 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
859 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
860 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
861 |
-
<li><?php _e('Meta Robots (noindex, nofollow, noarchive, noimageindex)', 'wp-seopress'); ?></li>
|
862 |
-
<li><?php _e('Canonical URL', 'wp-seopress'); ?></li>
|
863 |
-
<li><?php _e('Focus keywords', 'wp-seopress'); ?></li>
|
864 |
-
</ul>
|
865 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Migration will update / delete all SEOPress posts and terms metadata. Some dynamic variables will not be interpreted. We do NOT delete any Rank Math data.', 'wp-seopress'); ?></p>
|
866 |
-
<button id="seopress-rk-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
867 |
-
<span class="spinner"></span>
|
868 |
-
<div class="log"></div>
|
869 |
-
</div><!-- .inside -->
|
870 |
-
</div><!-- .postbox -->
|
871 |
-
|
872 |
-
<!-- Squirrly import tool -->
|
873 |
-
<div id="squirrly-migration-tool" class="postbox section-tool">
|
874 |
-
<div class="inside">
|
875 |
-
<h3><span><?php _e('Import posts metadata from Squirrly SEO', 'wp-seopress'); ?></span></h3>
|
876 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
877 |
-
<ul>
|
878 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
879 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
880 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
881 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
882 |
-
<li><?php _e('Meta Robots (noindex or nofollow)', 'wp-seopress'); ?></li>
|
883 |
-
<li><?php _e('Canonical URL', 'wp-seopress'); ?></li>
|
884 |
-
</ul>
|
885 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Migration will update/delete all SEOPress posts metadata. Some dynamic variables will not be interpreted. We do NOT delete any Squirrly SEO data.', 'wp-seopress'); ?></p>
|
886 |
-
<button id="seopress-squirrly-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
887 |
-
<span class="spinner"></span>
|
888 |
-
<div class="log"></div>
|
889 |
-
</div><!-- .inside -->
|
890 |
-
</div><!-- .postbox -->
|
891 |
-
|
892 |
-
<!-- SEO Ultimate import tool -->
|
893 |
-
<div id="seo-ultimate-migration-tool" class="postbox section-tool">
|
894 |
-
<div class="inside">
|
895 |
-
<h3><span><?php _e('Import posts metadata from SEO Ultimate', 'wp-seopress'); ?></span></h3>
|
896 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
897 |
-
<ul>
|
898 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
899 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
900 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
901 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
902 |
-
<li><?php _e('Meta Robots (noindex or nofollow)', 'wp-seopress'); ?></li>
|
903 |
-
</ul>
|
904 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Migration will update / delete all SEOPress posts metadata. Some dynamic variables will not be interpreted. We do NOT delete any SEO Ultimate data.', 'wp-seopress'); ?></p>
|
905 |
-
<button id="seopress-seo-ultimate-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
906 |
-
<span class="spinner"></span>
|
907 |
-
<div class="log"></div>
|
908 |
-
</div><!-- .inside -->
|
909 |
-
</div><!-- .postbox -->
|
910 |
-
|
911 |
-
<!-- WP Meta SEO import tool -->
|
912 |
-
<div id="wp-meta-seo-migration-tool" class="postbox section-tool">
|
913 |
-
<div class="inside">
|
914 |
-
<h3><span><?php _e('Import posts and terms metadata from WP Meta SEO', 'wp-seopress'); ?></span></h3>
|
915 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
916 |
-
<ul>
|
917 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
918 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
919 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
920 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
921 |
-
</ul>
|
922 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Migration will update / delete all SEOPress posts metadata. Some dynamic variables will not be interpreted. We do NOT delete any WP Meta SEO data.', 'wp-seopress'); ?></p>
|
923 |
-
<button id="seopress-wp-meta-seo-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
924 |
-
<span class="spinner"></span>
|
925 |
-
<div class="log"></div>
|
926 |
-
</div><!-- .inside -->
|
927 |
-
</div><!-- .postbox -->
|
928 |
-
|
929 |
-
<!-- Premium SEO Pack import tool -->
|
930 |
-
<div id="premium-seo-pack-migration-tool" class="postbox section-tool">
|
931 |
-
<div class="inside">
|
932 |
-
<h3><span><?php _e('Import posts and terms metadata from Premium SEO Pack', 'wp-seopress'); ?></span></h3>
|
933 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
934 |
-
<ul>
|
935 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
936 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
937 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
938 |
-
<li><?php _e('Meta Robots (noindex, nofollow)', 'wp-seopress'); ?></li>
|
939 |
-
<li><?php _e('Canonical URL', 'wp-seopress'); ?></li>
|
940 |
-
<li><?php _e('Focus keywords', 'wp-seopress'); ?></li>
|
941 |
-
</ul>
|
942 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Migration will update / delete all SEOPress posts metadata. Some dynamic variables will not be interpreted. We do NOT delete any Premium SEO Pack data.', 'wp-seopress'); ?></p>
|
943 |
-
<button id="seopress-premium-seo-pack-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
944 |
-
<span class="spinner"></span>
|
945 |
-
<div class="log"></div>
|
946 |
-
</div><!-- .inside -->
|
947 |
-
</div><!-- .postbox -->
|
948 |
-
|
949 |
-
<!-- wpSEO import tool -->
|
950 |
-
<div id="wpseo-migration-tool" class="postbox section-tool">
|
951 |
-
<div class="inside">
|
952 |
-
<h3><span><?php _e('Import posts and terms metadata from wpSEO', 'wp-seopress'); ?></span></h3>
|
953 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
954 |
-
<ul>
|
955 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
956 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
957 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
958 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
959 |
-
<li><?php _e('Meta Robots (noindex, nofollow)', 'wp-seopress'); ?></li>
|
960 |
-
<li><?php _e('Canonical URL', 'wp-seopress'); ?></li>
|
961 |
-
<li><?php _e('Redirect URL', 'wp-seopress'); ?></li>
|
962 |
-
<li><?php _e('Main keyword', 'wp-seopress'); ?></li>
|
963 |
-
</ul>
|
964 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Migration will update / delete all SEOPress posts metadata. Some dynamic variables will not be interpreted. We do NOT delete any wpSEO data.', 'wp-seopress'); ?></p>
|
965 |
-
<button id="seopress-wpseo-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
966 |
-
<span class="spinner"></span>
|
967 |
-
<div class="log"></div>
|
968 |
-
</div><!-- .inside -->
|
969 |
-
</div><!-- .postbox -->
|
970 |
-
|
971 |
-
<!-- Platinum SEO import tool -->
|
972 |
-
<div id="platinum-seo-migration-tool" class="postbox section-tool">
|
973 |
-
<div class="inside">
|
974 |
-
<h3><span><?php _e('Import posts and terms metadata from Platinum SEO Pack', 'wp-seopress'); ?></span></h3>
|
975 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
976 |
-
<ul>
|
977 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
978 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
979 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
980 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
981 |
-
<li><?php _e('Meta Robots (noindex, nofollow, noarchive, nosnippet, noimageindex)', 'wp-seopress'); ?></li>
|
982 |
-
<li><?php _e('Canonical URL', 'wp-seopress'); ?></li>
|
983 |
-
<li><?php _e('Redirect URL', 'wp-seopress'); ?></li>
|
984 |
-
<li><?php _e('Primary category', 'wp-seopress'); ?></li>
|
985 |
-
<li><?php _e('Keywords', 'wp-seopress'); ?></li>
|
986 |
-
</ul>
|
987 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Migration will update / delete all SEOPress posts metadata. Some dynamic variables will not be interpreted. We do NOT delete any Platinum SEO data.', 'wp-seopress'); ?></p>
|
988 |
-
<button id="seopress-platinum-seo-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
989 |
-
<span class="spinner"></span>
|
990 |
-
<div class="log"></div>
|
991 |
-
</div><!-- .inside -->
|
992 |
-
</div><!-- .postbox -->
|
993 |
-
|
994 |
-
<!-- Smart Crawl import tool -->
|
995 |
-
<div id="smart-crawl-migration-tool" class="postbox section-tool">
|
996 |
-
<div class="inside">
|
997 |
-
<h3><span><?php _e('Import posts and terms metadata from SmartCrawl', 'wp-seopress'); ?></span></h3>
|
998 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
999 |
-
<ul>
|
1000 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
1001 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
1002 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
1003 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
1004 |
-
<li><?php _e('Meta Robots (noindex, nofollow, noarchive, nosnippet)', 'wp-seopress'); ?></li>
|
1005 |
-
<li><?php _e('Canonical URL', 'wp-seopress'); ?></li>
|
1006 |
-
<li><?php _e('Redirect URL', 'wp-seopress'); ?></li>
|
1007 |
-
<li><?php _e('Focus keywords', 'wp-seopress'); ?></li>
|
1008 |
-
</ul>
|
1009 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Migration will update / delete all SEOPress posts metadata. Some dynamic variables will not be interpreted. We do NOT delete any SmartCrawl data.', 'wp-seopress'); ?></p>
|
1010 |
-
<button id="seopress-smart-crawl-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
1011 |
-
<span class="spinner"></span>
|
1012 |
-
<div class="log"></div>
|
1013 |
-
</div><!-- .inside -->
|
1014 |
-
</div><!-- .postbox -->
|
1015 |
-
|
1016 |
-
<!-- SEOPressor import tool -->
|
1017 |
-
<div id="seopressor-migration-tool" class="postbox section-tool">
|
1018 |
-
<div class="inside">
|
1019 |
-
<h3><span><?php _e('Import posts metadata from SEOPressor', 'wp-seopress'); ?></span></h3>
|
1020 |
-
<p><?php _e('By clicking Migrate, we\'ll import:', 'wp-seopress'); ?></p>
|
1021 |
-
<ul>
|
1022 |
-
<li><?php _e('Title tags', 'wp-seopress'); ?></li>
|
1023 |
-
<li><?php _e('Meta description', 'wp-seopress'); ?></li>
|
1024 |
-
<li><?php _e('Facebook Open Graph tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
1025 |
-
<li><?php _e('Twitter tags (title, description and image thumbnail)', 'wp-seopress'); ?></li>
|
1026 |
-
<li><?php _e('Meta Robots (noindex, nofollow, noarchive, nosnippet, noodp, noimageindex)', 'wp-seopress'); ?></li>
|
1027 |
-
<li><?php _e('Canonical URL', 'wp-seopress'); ?></li>
|
1028 |
-
<li><?php _e('Redirect URL', 'wp-seopress'); ?></li>
|
1029 |
-
<li><?php _e('Keywords', 'wp-seopress'); ?></li>
|
1030 |
-
</ul>
|
1031 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Migration will update / delete all SEOPress posts metadata. Some dynamic variables will not be interpreted. We do NOT delete any SEOPressor data.', 'wp-seopress'); ?></p>
|
1032 |
-
<button id="seopress-seopressor-migrate" type="button" class="button"><?php _e('Migrate now', 'wp-seopress'); ?></button>
|
1033 |
-
<span class="spinner"></span>
|
1034 |
-
<div class="log"></div>
|
1035 |
-
</div><!-- .inside -->
|
1036 |
-
</div><!-- .postbox -->
|
1037 |
-
</div>
|
1038 |
-
<div class="seopress-tab <?php if ('tab_seopress_tool_redirects' == $current_tab) {
|
1039 |
-
echo 'active';
|
1040 |
-
} ?>" id="tab_seopress_tool_redirects">
|
1041 |
-
<?php if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) { ?>
|
1042 |
-
<?php if ('1' == seopress_get_toggle_option('404') && function_exists('seopress_get_redirection_pro_html')) {
|
1043 |
-
seopress_get_redirection_pro_html();
|
1044 |
-
} else { ?>
|
1045 |
-
<p><?php _e('Redirections feature is disabled. Please activate it from the PRO page.', 'wp-seopress'); ?></p>
|
1046 |
-
<a href="<?php echo admin_url('admin.php?page=seopress-pro-page'); ?>"><?php _e('Activate Redirections', 'wp-seopress'); ?></a>
|
1047 |
-
<?php } ?>
|
1048 |
-
<?php } ?>
|
1049 |
-
</div>
|
1050 |
-
<div class="seopress-tab <?php if ('tab_seopress_tool_reset' == $current_tab) {
|
1051 |
-
echo 'active';
|
1052 |
-
} ?>" id="tab_seopress_tool_reset">
|
1053 |
-
<div class="postbox section-tool">
|
1054 |
-
<div class="inside">
|
1055 |
-
<h3><span><?php _e('Reset All Notices From Notifications Center', 'wp-seopress'); ?></span></h3>
|
1056 |
-
<p><?php _e('By clicking Reset Notices, all notices in the notifications center will be set to their initial status.', 'wp-seopress'); ?></p>
|
1057 |
-
<form method="post" enctype="multipart/form-data">
|
1058 |
-
<p>
|
1059 |
-
<input type="hidden" name="seopress_action" value="reset_notices_settings" />
|
1060 |
-
<?php wp_nonce_field('seopress_reset_notices_nonce', 'seopress_reset_notices_nonce'); ?>
|
1061 |
-
<?php submit_button(__('Reset notices', 'wp-seopress'), 'secondary', 'submit', false); ?>
|
1062 |
-
</p>
|
1063 |
-
</form>
|
1064 |
-
</div><!-- .inside -->
|
1065 |
-
</div><!-- .postbox -->
|
1066 |
-
|
1067 |
-
<div class="postbox section-tool">
|
1068 |
-
<div class="inside">
|
1069 |
-
<h3><span><?php _e('Reset All Settings', 'wp-seopress'); ?></span></h3>
|
1070 |
-
<p style="color:red"><span class="dashicons dashicons-info"></span> <?php _e('<strong>WARNING:</strong> Delete all options related to this plugin in your database AND set settings to their default values.', 'wp-seopress'); ?></p>
|
1071 |
-
<form method="post" enctype="multipart/form-data">
|
1072 |
-
<p>
|
1073 |
-
<input type="hidden" name="seopress_action" value="reset_settings" />
|
1074 |
-
<?php wp_nonce_field('seopress_reset_nonce', 'seopress_reset_nonce'); ?>
|
1075 |
-
<?php submit_button(__('Reset settings', 'wp-seopress'), 'secondary', 'submit', false); ?>
|
1076 |
-
</p>
|
1077 |
-
</form>
|
1078 |
-
</div><!-- .inside -->
|
1079 |
-
</div><!-- .postbox -->
|
1080 |
-
</div>
|
1081 |
-
</div>
|
1082 |
-
</div>
|
1083 |
-
<?php
|
1084 |
}
|
1085 |
|
1086 |
-
|
1087 |
-
|
1088 |
-
|
1089 |
-
public function create_admin_page() {
|
1090 |
-
// Set class property
|
1091 |
-
$this->options = get_option('seopress_option_name');
|
1092 |
-
$current_tab ='';
|
1093 |
-
if (function_exists('seopress_admin_header')) {
|
1094 |
-
echo seopress_admin_header();
|
1095 |
-
} ?>
|
1096 |
-
<div id="seopress-content">
|
1097 |
-
<!--Get started-->
|
1098 |
-
<?php
|
1099 |
-
function seopress_get_hidden_notices_get_started_option() {
|
1100 |
-
$seopress_get_hidden_notices_get_started_option = get_option('seopress_notices');
|
1101 |
-
if ( ! empty($seopress_get_hidden_notices_get_started_option)) {
|
1102 |
-
foreach ($seopress_get_hidden_notices_get_started_option as $key => $seopress_get_hidden_notices_get_started_value) {
|
1103 |
-
$options[$key] = $seopress_get_hidden_notices_get_started_value;
|
1104 |
-
}
|
1105 |
-
if (isset($seopress_get_hidden_notices_get_started_option['notice-get-started'])) {
|
1106 |
-
return $seopress_get_hidden_notices_get_started_option['notice-get-started'];
|
1107 |
-
}
|
1108 |
-
}
|
1109 |
-
}
|
1110 |
-
if ('1' != seopress_get_hidden_notices_get_started_option()) {
|
1111 |
-
if (function_exists('seopress_get_toggle_white_label_option') && '1' == seopress_get_toggle_white_label_option()) {
|
1112 |
-
//do nothing
|
1113 |
-
} else {
|
1114 |
-
include_once dirname(__FILE__) . '/admin-get-started.php';
|
1115 |
-
}
|
1116 |
-
} ?>
|
1117 |
-
|
1118 |
-
<!--Notifications Center-->
|
1119 |
-
<?php include_once dirname(__FILE__) . '/admin-notifications-center.php'; ?>
|
1120 |
-
|
1121 |
-
<!--Features list-->
|
1122 |
-
<?php include_once dirname(__FILE__) . '/admin-features-list.php'; ?>
|
1123 |
-
</div>
|
1124 |
-
<?php
|
1125 |
}
|
1126 |
|
1127 |
-
|
1128 |
-
|
1129 |
-
|
1130 |
-
|
1131 |
-
|
1132 |
-
|
1133 |
-
|
1134 |
-
|
1135 |
-
);
|
1136 |
-
|
1137 |
-
|
1138 |
-
'seopress_titles_option_group', // Option group
|
1139 |
-
'seopress_titles_option_name', // Option name
|
1140 |
-
[$this, 'sanitize'] // Sanitize
|
1141 |
-
);
|
1142 |
-
|
1143 |
-
register_setting(
|
1144 |
-
'seopress_xml_sitemap_option_group', // Option group
|
1145 |
-
'seopress_xml_sitemap_option_name', // Option name
|
1146 |
-
[$this, 'sanitize'] // Sanitize
|
1147 |
-
);
|
1148 |
-
|
1149 |
-
register_setting(
|
1150 |
-
'seopress_social_option_group', // Option group
|
1151 |
-
'seopress_social_option_name', // Option name
|
1152 |
-
[$this, 'sanitize'] // Sanitize
|
1153 |
-
);
|
1154 |
-
|
1155 |
-
register_setting(
|
1156 |
-
'seopress_google_analytics_option_group', // Option group
|
1157 |
-
'seopress_google_analytics_option_name', // Option name
|
1158 |
-
[$this, 'sanitize'] // Sanitize
|
1159 |
-
);
|
1160 |
-
|
1161 |
-
register_setting(
|
1162 |
-
'seopress_advanced_option_group', // Option group
|
1163 |
-
'seopress_advanced_option_name', // Option name
|
1164 |
-
[$this, 'sanitize'] // Sanitize
|
1165 |
-
);
|
1166 |
-
|
1167 |
-
register_setting(
|
1168 |
-
'seopress_tools_option_group', // Option group
|
1169 |
-
'seopress_tools_option_name', // Option name
|
1170 |
-
[$this, 'sanitize'] // Sanitize
|
1171 |
-
);
|
1172 |
-
|
1173 |
-
register_setting(
|
1174 |
-
'seopress_import_export_option_group', // Option group
|
1175 |
-
'seopress_import_export_option_name', // Option name
|
1176 |
-
[$this, 'sanitize'] // Sanitize
|
1177 |
-
);
|
1178 |
-
|
1179 |
-
//Titles & metas SECTION===================================================================
|
1180 |
-
add_settings_section(
|
1181 |
-
'seopress_setting_section_titles_home', // ID
|
1182 |
-
'',
|
1183 |
-
//__("Home","wp-seopress"), // Title
|
1184 |
-
[$this, 'print_section_info_titles'], // Callback
|
1185 |
-
'seopress-settings-admin-titles-home' // Page
|
1186 |
-
);
|
1187 |
-
|
1188 |
-
add_settings_field(
|
1189 |
-
'seopress_titles_sep', // ID
|
1190 |
-
__('Separator', 'wp-seopress'), // Title
|
1191 |
-
[$this, 'seopress_titles_sep_callback'], // Callback
|
1192 |
-
'seopress-settings-admin-titles-home', // Page
|
1193 |
-
'seopress_setting_section_titles_home' // Section
|
1194 |
-
);
|
1195 |
-
|
1196 |
-
add_settings_field(
|
1197 |
-
'seopress_titles_home_site_title', // ID
|
1198 |
-
__('Site title', 'wp-seopress'), // Title
|
1199 |
-
[$this, 'seopress_titles_home_site_title_callback'], // Callback
|
1200 |
-
'seopress-settings-admin-titles-home', // Page
|
1201 |
-
'seopress_setting_section_titles_home' // Section
|
1202 |
-
);
|
1203 |
-
|
1204 |
-
add_settings_field(
|
1205 |
-
'seopress_titles_home_site_desc', // ID
|
1206 |
-
__('Meta description', 'wp-seopress'), // Title
|
1207 |
-
[$this, 'seopress_titles_home_site_desc_callback'], // Callback
|
1208 |
-
'seopress-settings-admin-titles-home', // Page
|
1209 |
-
'seopress_setting_section_titles_home' // Section
|
1210 |
-
);
|
1211 |
-
|
1212 |
-
//Single Post Types SECTION================================================================
|
1213 |
-
add_settings_section(
|
1214 |
-
'seopress_setting_section_titles_single', // ID
|
1215 |
-
'',
|
1216 |
-
//__("Single Post Types","wp-seopress"), // Title
|
1217 |
-
[$this, 'print_section_info_single'], // Callback
|
1218 |
-
'seopress-settings-admin-titles-single' // Page
|
1219 |
-
);
|
1220 |
-
|
1221 |
-
add_settings_field(
|
1222 |
-
'seopress_titles_single_titles', // ID
|
1223 |
-
'',
|
1224 |
-
[$this, 'seopress_titles_single_titles_callback'], // Callback
|
1225 |
-
'seopress-settings-admin-titles-single', // Page
|
1226 |
-
'seopress_setting_section_titles_single' // Section
|
1227 |
-
);
|
1228 |
-
|
1229 |
-
if (is_plugin_active('buddypress/bp-loader.php') || is_plugin_active('buddyboss-platform/bp-loader.php')) {
|
1230 |
-
add_settings_field(
|
1231 |
-
'seopress_titles_bp_groups_title', // ID
|
1232 |
-
'',
|
1233 |
-
[$this, 'seopress_titles_bp_groups_title_callback'], // Callback
|
1234 |
-
'seopress-settings-admin-titles-single', // Page
|
1235 |
-
'seopress_setting_section_titles_single' // Section
|
1236 |
-
);
|
1237 |
-
|
1238 |
-
add_settings_field(
|
1239 |
-
'seopress_titles_bp_groups_desc', // ID
|
1240 |
-
'',
|
1241 |
-
[$this, 'seopress_titles_bp_groups_desc_callback'], // Callback
|
1242 |
-
'seopress-settings-admin-titles-single', // Page
|
1243 |
-
'seopress_setting_section_titles_single' // Section
|
1244 |
-
);
|
1245 |
-
|
1246 |
-
add_settings_field(
|
1247 |
-
'seopress_titles_bp_groups_noindex', // ID
|
1248 |
-
'',
|
1249 |
-
[$this, 'seopress_titles_bp_groups_noindex_callback'], // Callback
|
1250 |
-
'seopress-settings-admin-titles-single', // Page
|
1251 |
-
'seopress_setting_section_titles_single' // Section
|
1252 |
-
);
|
1253 |
-
}
|
1254 |
-
|
1255 |
-
//Archives SECTION=========================================================================
|
1256 |
-
add_settings_section(
|
1257 |
-
'seopress_setting_section_titles_archives', // ID
|
1258 |
-
'',
|
1259 |
-
//__("Archives","wp-seopress"), // Title
|
1260 |
-
[$this, 'print_section_info_archives'], // Callback
|
1261 |
-
'seopress-settings-admin-titles-archives' // Page
|
1262 |
-
);
|
1263 |
-
|
1264 |
-
add_settings_field(
|
1265 |
-
'seopress_titles_archives_titles', // ID
|
1266 |
-
'',
|
1267 |
-
[$this, 'seopress_titles_archives_titles_callback'], // Callback
|
1268 |
-
'seopress-settings-admin-titles-archives', // Page
|
1269 |
-
'seopress_setting_section_titles_archives' // Section
|
1270 |
-
);
|
1271 |
-
|
1272 |
-
add_settings_field(
|
1273 |
-
'seopress_titles_archives_author_title', // ID
|
1274 |
-
'',
|
1275 |
-
//__('Title template','wp-seopress'),
|
1276 |
-
[$this, 'seopress_titles_archives_author_title_callback'], // Callback
|
1277 |
-
'seopress-settings-admin-titles-archives', // Page
|
1278 |
-
'seopress_setting_section_titles_archives' // Section
|
1279 |
-
);
|
1280 |
-
|
1281 |
-
add_settings_field(
|
1282 |
-
'seopress_titles_archives_author_desc', // ID
|
1283 |
-
'',
|
1284 |
-
//__('Meta description template','wp-seopress'),
|
1285 |
-
[$this, 'seopress_titles_archives_author_desc_callback'], // Callback
|
1286 |
-
'seopress-settings-admin-titles-archives', // Page
|
1287 |
-
'seopress_setting_section_titles_archives' // Section
|
1288 |
-
);
|
1289 |
-
|
1290 |
-
add_settings_field(
|
1291 |
-
'seopress_titles_archives_author_noindex', // ID
|
1292 |
-
'',
|
1293 |
-
//__("noindex","wp-seopress"), // Title
|
1294 |
-
[$this, 'seopress_titles_archives_author_noindex_callback'], // Callback
|
1295 |
-
'seopress-settings-admin-titles-archives', // Page
|
1296 |
-
'seopress_setting_section_titles_archives' // Section
|
1297 |
-
);
|
1298 |
-
|
1299 |
-
add_settings_field(
|
1300 |
-
'seopress_titles_archives_author_disable', // ID
|
1301 |
-
'',
|
1302 |
-
//__("disable","wp-seopress"), // Title
|
1303 |
-
[$this, 'seopress_titles_archives_author_disable_callback'], // Callback
|
1304 |
-
'seopress-settings-admin-titles-archives', // Page
|
1305 |
-
'seopress_setting_section_titles_archives' // Section
|
1306 |
-
);
|
1307 |
-
|
1308 |
-
add_settings_field(
|
1309 |
-
'seopress_titles_archives_date_title', // ID
|
1310 |
-
'',
|
1311 |
-
//__('Title template','wp-seopress'),
|
1312 |
-
[$this, 'seopress_titles_archives_date_title_callback'], // Callback
|
1313 |
-
'seopress-settings-admin-titles-archives', // Page
|
1314 |
-
'seopress_setting_section_titles_archives' // Section
|
1315 |
-
);
|
1316 |
-
|
1317 |
-
add_settings_field(
|
1318 |
-
'seopress_titles_archives_date_desc', // ID
|
1319 |
-
'',
|
1320 |
-
//__('Meta description template','wp-seopress'),
|
1321 |
-
[$this, 'seopress_titles_archives_date_desc_callback'], // Callback
|
1322 |
-
'seopress-settings-admin-titles-archives', // Page
|
1323 |
-
'seopress_setting_section_titles_archives' // Section
|
1324 |
-
);
|
1325 |
-
|
1326 |
-
add_settings_field(
|
1327 |
-
'seopress_titles_archives_date_noindex', // ID
|
1328 |
-
'',
|
1329 |
-
//__("noindex","wp-seopress"), // Title
|
1330 |
-
[$this, 'seopress_titles_archives_date_noindex_callback'], // Callback
|
1331 |
-
'seopress-settings-admin-titles-archives', // Page
|
1332 |
-
'seopress_setting_section_titles_archives' // Section
|
1333 |
-
);
|
1334 |
-
|
1335 |
-
add_settings_field(
|
1336 |
-
'seopress_titles_archives_date_disable', // ID
|
1337 |
-
'',
|
1338 |
-
//__("disable","wp-seopress"), // Title
|
1339 |
-
[$this, 'seopress_titles_archives_date_disable_callback'], // Callback
|
1340 |
-
'seopress-settings-admin-titles-archives', // Page
|
1341 |
-
'seopress_setting_section_titles_archives' // Section
|
1342 |
-
);
|
1343 |
-
|
1344 |
-
add_settings_field(
|
1345 |
-
'seopress_titles_archives_search_title', // ID
|
1346 |
-
'',
|
1347 |
-
//__('Title template','wp-seopress'),
|
1348 |
-
[$this, 'seopress_titles_archives_search_title_callback'], // Callback
|
1349 |
-
'seopress-settings-admin-titles-archives', // Page
|
1350 |
-
'seopress_setting_section_titles_archives' // Section
|
1351 |
-
);
|
1352 |
-
|
1353 |
-
add_settings_field(
|
1354 |
-
'seopress_titles_archives_search_desc', // ID
|
1355 |
-
'',
|
1356 |
-
//__('Meta description template','wp-seopress'),
|
1357 |
-
[$this, 'seopress_titles_archives_search_desc_callback'], // Callback
|
1358 |
-
'seopress-settings-admin-titles-archives', // Page
|
1359 |
-
'seopress_setting_section_titles_archives' // Section
|
1360 |
-
);
|
1361 |
-
|
1362 |
-
add_settings_field(
|
1363 |
-
'seopress_titles_archives_search_title_noindex', // ID
|
1364 |
-
'',
|
1365 |
-
//__('noindex','wp-seopress'),
|
1366 |
-
[$this, 'seopress_titles_archives_search_title_noindex_callback'], // Callback
|
1367 |
-
'seopress-settings-admin-titles-archives', // Page
|
1368 |
-
'seopress_setting_section_titles_archives' // Section
|
1369 |
-
);
|
1370 |
-
|
1371 |
-
add_settings_field(
|
1372 |
-
'seopress_titles_archives_404_title', // ID
|
1373 |
-
'',
|
1374 |
-
//__('Title template','wp-seopress'),
|
1375 |
-
[$this, 'seopress_titles_archives_404_title_callback'], // Callback
|
1376 |
-
'seopress-settings-admin-titles-archives', // Page
|
1377 |
-
'seopress_setting_section_titles_archives' // Section
|
1378 |
-
);
|
1379 |
-
|
1380 |
-
add_settings_field(
|
1381 |
-
'seopress_titles_archives_404_desc', // ID
|
1382 |
-
'',
|
1383 |
-
//__('Meta description template','wp-seopress'),
|
1384 |
-
[$this, 'seopress_titles_archives_404_desc_callback'], // Callback
|
1385 |
-
'seopress-settings-admin-titles-archives', // Page
|
1386 |
-
'seopress_setting_section_titles_archives' // Section
|
1387 |
-
);
|
1388 |
-
|
1389 |
-
//Taxonomies SECTION=======================================================================
|
1390 |
-
add_settings_section(
|
1391 |
-
'seopress_setting_section_titles_tax', // ID
|
1392 |
-
'',
|
1393 |
-
//__("Taxonomies","wp-seopress"), // Title
|
1394 |
-
[$this, 'print_section_info_tax'], // Callback
|
1395 |
-
'seopress-settings-admin-titles-tax' // Page
|
1396 |
-
);
|
1397 |
-
|
1398 |
-
add_settings_field(
|
1399 |
-
'seopress_titles_tax_titles', // ID
|
1400 |
-
'',
|
1401 |
-
[$this, 'seopress_titles_tax_titles_callback'], // Callback
|
1402 |
-
'seopress-settings-admin-titles-tax', // Page
|
1403 |
-
'seopress_setting_section_titles_tax' // Section
|
1404 |
-
);
|
1405 |
-
|
1406 |
-
//Advanced SECTION=========================================================================
|
1407 |
-
add_settings_section(
|
1408 |
-
'seopress_setting_section_titles_advanced', // ID
|
1409 |
-
'',
|
1410 |
-
//__("Advanced","wp-seopress"), // Title
|
1411 |
-
[$this, 'print_section_info_advanced'], // Callback
|
1412 |
-
'seopress-settings-admin-titles-advanced' // Page
|
1413 |
-
);
|
1414 |
-
|
1415 |
-
add_settings_field(
|
1416 |
-
'seopress_titles_noindex', // ID
|
1417 |
-
__('noindex', 'wp-seopress'), // Title
|
1418 |
-
[$this, 'seopress_titles_noindex_callback'], // Callback
|
1419 |
-
'seopress-settings-admin-titles-advanced', // Page
|
1420 |
-
'seopress_setting_section_titles_advanced' // Section
|
1421 |
-
);
|
1422 |
-
|
1423 |
-
add_settings_field(
|
1424 |
-
'seopress_titles_nofollow', // ID
|
1425 |
-
__('nofollow', 'wp-seopress'), // Title
|
1426 |
-
[$this, 'seopress_titles_nofollow_callback'], // Callback
|
1427 |
-
'seopress-settings-admin-titles-advanced', // Page
|
1428 |
-
'seopress_setting_section_titles_advanced' // Section
|
1429 |
-
);
|
1430 |
-
|
1431 |
-
add_settings_field(
|
1432 |
-
'seopress_titles_noodp', // ID
|
1433 |
-
__('noodp', 'wp-seopress'), // Title
|
1434 |
-
[$this, 'seopress_titles_noodp_callback'], // Callback
|
1435 |
-
'seopress-settings-admin-titles-advanced', // Page
|
1436 |
-
'seopress_setting_section_titles_advanced' // Section
|
1437 |
-
);
|
1438 |
-
|
1439 |
-
add_settings_field(
|
1440 |
-
'seopress_titles_noimageindex', // ID
|
1441 |
-
__('noimageindex', 'wp-seopress'), // Title
|
1442 |
-
[$this, 'seopress_titles_noimageindex_callback'], // Callback
|
1443 |
-
'seopress-settings-admin-titles-advanced', // Page
|
1444 |
-
'seopress_setting_section_titles_advanced' // Section
|
1445 |
-
);
|
1446 |
-
|
1447 |
-
add_settings_field(
|
1448 |
-
'seopress_titles_noarchive', // ID
|
1449 |
-
__('noarchive', 'wp-seopress'), // Title
|
1450 |
-
[$this, 'seopress_titles_noarchive_callback'], // Callback
|
1451 |
-
'seopress-settings-admin-titles-advanced', // Page
|
1452 |
-
'seopress_setting_section_titles_advanced' // Section
|
1453 |
-
);
|
1454 |
-
|
1455 |
-
add_settings_field(
|
1456 |
-
'seopress_titles_nosnippet', // ID
|
1457 |
-
__('nosnippet', 'wp-seopress'), // Title
|
1458 |
-
[$this, 'seopress_titles_nosnippet_callback'], // Callback
|
1459 |
-
'seopress-settings-admin-titles-advanced', // Page
|
1460 |
-
'seopress_setting_section_titles_advanced' // Section
|
1461 |
-
);
|
1462 |
-
|
1463 |
-
add_settings_field(
|
1464 |
-
'seopress_titles_nositelinkssearchbox', // ID
|
1465 |
-
__('nositelinkssearchbox', 'wp-seopress'), // Title
|
1466 |
-
[$this, 'seopress_titles_nositelinkssearchbox_callback'], // Callback
|
1467 |
-
'seopress-settings-admin-titles-advanced', // Page
|
1468 |
-
'seopress_setting_section_titles_advanced' // Section
|
1469 |
-
);
|
1470 |
-
|
1471 |
-
add_settings_field(
|
1472 |
-
'seopress_titles_paged_rel', // ID
|
1473 |
-
__('Indicate paginated content to Google', 'wp-seopress'), // Title
|
1474 |
-
[$this, 'seopress_titles_paged_rel_callback'], // Callback
|
1475 |
-
'seopress-settings-admin-titles-advanced', // Page
|
1476 |
-
'seopress_setting_section_titles_advanced' // Section
|
1477 |
-
);
|
1478 |
-
|
1479 |
-
add_settings_field(
|
1480 |
-
'seopress_titles_paged_noindex', // ID
|
1481 |
-
__('noindex on paged archives', 'wp-seopress'), // Title
|
1482 |
-
[$this, 'seopress_titles_paged_noindex_callback'], // Callback
|
1483 |
-
'seopress-settings-admin-titles-advanced', // Page
|
1484 |
-
'seopress_setting_section_titles_advanced' // Section
|
1485 |
-
);
|
1486 |
-
|
1487 |
-
add_settings_field(
|
1488 |
-
'seopress_titles_attachments_noindex', // ID
|
1489 |
-
__('noindex on attachment pages', 'wp-seopress'), // Title
|
1490 |
-
[$this, 'seopress_titles_attachments_noindex_callback'], // Callback
|
1491 |
-
'seopress-settings-admin-titles-advanced', // Page
|
1492 |
-
'seopress_setting_section_titles_advanced' // Section
|
1493 |
-
);
|
1494 |
-
|
1495 |
-
//XML Sitemap SECTION======================================================================
|
1496 |
-
add_settings_section(
|
1497 |
-
'seopress_setting_section_xml_sitemap_general', // ID
|
1498 |
-
'',
|
1499 |
-
//__("General","wp-seopress"), // Title
|
1500 |
-
[$this, 'print_section_info_xml_sitemap_general'], // Callback
|
1501 |
-
'seopress-settings-admin-xml-sitemap-general' // Page
|
1502 |
-
);
|
1503 |
-
|
1504 |
-
add_settings_field(
|
1505 |
-
'seopress_xml_sitemap_general_enable', // ID
|
1506 |
-
__('Enable XML Sitemap', 'wp-seopress'), // Title
|
1507 |
-
[$this, 'seopress_xml_sitemap_general_enable_callback'], // Callback
|
1508 |
-
'seopress-settings-admin-xml-sitemap-general', // Page
|
1509 |
-
'seopress_setting_section_xml_sitemap_general' // Section
|
1510 |
-
);
|
1511 |
-
|
1512 |
-
add_settings_field(
|
1513 |
-
'seopress_xml_sitemap_img_enable', // ID
|
1514 |
-
__('Enable XML Image Sitemaps', 'wp-seopress'), // Title
|
1515 |
-
[$this, 'seopress_xml_sitemap_img_enable_callback'], // Callback
|
1516 |
-
'seopress-settings-admin-xml-sitemap-general', // Page
|
1517 |
-
'seopress_setting_section_xml_sitemap_general' // Section
|
1518 |
-
);
|
1519 |
-
|
1520 |
-
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
1521 |
-
add_settings_field(
|
1522 |
-
'seopress_xml_sitemap_video_enable_callback', // ID
|
1523 |
-
__('Enable XML Video Sitemaps', 'wp-seopress'), // Title
|
1524 |
-
[$this, 'seopress_xml_sitemap_video_enable_callback'], // Callback
|
1525 |
-
'seopress-settings-admin-xml-sitemap-general', // Page
|
1526 |
-
'seopress_setting_section_xml_sitemap_general' // Section
|
1527 |
-
);
|
1528 |
-
}
|
1529 |
-
|
1530 |
-
add_settings_field(
|
1531 |
-
'seopress_xml_sitemap_author_enable', // ID
|
1532 |
-
__('Enable Author Sitemap', 'wp-seopress'), // Title
|
1533 |
-
[$this, 'seopress_xml_sitemap_author_enable_callback'], // Callback
|
1534 |
-
'seopress-settings-admin-xml-sitemap-general', // Page
|
1535 |
-
'seopress_setting_section_xml_sitemap_general' // Section
|
1536 |
-
);
|
1537 |
-
|
1538 |
-
add_settings_field(
|
1539 |
-
'seopress_xml_sitemap_html_enable', // ID
|
1540 |
-
__('Enable HTML Sitemap', 'wp-seopress'), // Title
|
1541 |
-
[$this, 'seopress_xml_sitemap_html_enable_callback'], // Callback
|
1542 |
-
'seopress-settings-admin-xml-sitemap-general', // Page
|
1543 |
-
'seopress_setting_section_xml_sitemap_general' // Section
|
1544 |
-
);
|
1545 |
-
|
1546 |
-
add_settings_section(
|
1547 |
-
'seopress_setting_section_xml_sitemap_post_types', // ID
|
1548 |
-
'',
|
1549 |
-
//__("Post Types","wp-seopress"), // Title
|
1550 |
-
[$this, 'print_section_info_xml_sitemap_post_types'], // Callback
|
1551 |
-
'seopress-settings-admin-xml-sitemap-post-types' // Page
|
1552 |
-
);
|
1553 |
-
|
1554 |
-
add_settings_field(
|
1555 |
-
'seopress_xml_sitemap_post_types_list', // ID
|
1556 |
-
__('Check to INCLUDE Post Types', 'wp-seopress'), // Title
|
1557 |
-
[$this, 'seopress_xml_sitemap_post_types_list_callback'], // Callback
|
1558 |
-
'seopress-settings-admin-xml-sitemap-post-types', // Page
|
1559 |
-
'seopress_setting_section_xml_sitemap_post_types' // Section
|
1560 |
-
);
|
1561 |
-
|
1562 |
-
add_settings_section(
|
1563 |
-
'seopress_setting_section_xml_sitemap_taxonomies', // ID
|
1564 |
-
'',
|
1565 |
-
//__("Taxonomies","wp-seopress"), // Title
|
1566 |
-
[$this, 'print_section_info_xml_sitemap_taxonomies'], // Callback
|
1567 |
-
'seopress-settings-admin-xml-sitemap-taxonomies' // Page
|
1568 |
-
);
|
1569 |
-
|
1570 |
-
add_settings_field(
|
1571 |
-
'seopress_xml_sitemap_taxonomies_list', // ID
|
1572 |
-
__('Check to INCLUDE Taxonomies', 'wp-seopress'), // Title
|
1573 |
-
[$this, 'seopress_xml_sitemap_taxonomies_list_callback'], // Callback
|
1574 |
-
'seopress-settings-admin-xml-sitemap-taxonomies', // Page
|
1575 |
-
'seopress_setting_section_xml_sitemap_taxonomies' // Section
|
1576 |
-
);
|
1577 |
-
|
1578 |
-
add_settings_section(
|
1579 |
-
'seopress_setting_section_html_sitemap', // ID
|
1580 |
-
'',
|
1581 |
-
//__("HTML Sitemap","wp-seopress"), // Title
|
1582 |
-
[$this, 'print_section_info_html_sitemap'], // Callback
|
1583 |
-
'seopress-settings-admin-html-sitemap' // Page
|
1584 |
-
);
|
1585 |
-
|
1586 |
-
add_settings_field(
|
1587 |
-
'seopress_xml_sitemap_html_mapping', // ID
|
1588 |
-
__('Enter a post, page or custom post type ID(s) to display the sitemap', 'wp-seopress'), // Title
|
1589 |
-
[$this, 'seopress_xml_sitemap_html_mapping_callback'], // Callback
|
1590 |
-
'seopress-settings-admin-html-sitemap', // Page
|
1591 |
-
'seopress_setting_section_html_sitemap' // Section
|
1592 |
-
);
|
1593 |
-
|
1594 |
-
add_settings_field(
|
1595 |
-
'seopress_xml_sitemap_html_exclude', // ID
|
1596 |
-
__('Exclude some Posts, Pages, Custom Post Types or Terms IDs', 'wp-seopress'), // Title
|
1597 |
-
[$this, 'seopress_xml_sitemap_html_exclude_callback'], // Callback
|
1598 |
-
'seopress-settings-admin-html-sitemap', // Page
|
1599 |
-
'seopress_setting_section_html_sitemap' // Section
|
1600 |
-
);
|
1601 |
-
|
1602 |
-
add_settings_field(
|
1603 |
-
'seopress_xml_sitemap_html_order', // ID
|
1604 |
-
__('Sort order', 'wp-seopress'), // Title
|
1605 |
-
[$this, 'seopress_xml_sitemap_html_order_callback'], // Callback
|
1606 |
-
'seopress-settings-admin-html-sitemap', // Page
|
1607 |
-
'seopress_setting_section_html_sitemap' // Section
|
1608 |
-
);
|
1609 |
-
|
1610 |
-
add_settings_field(
|
1611 |
-
'seopress_xml_sitemap_html_orderby', // ID
|
1612 |
-
__('Order posts by', 'wp-seopress'), // Title
|
1613 |
-
[$this, 'seopress_xml_sitemap_html_orderby_callback'], // Callback
|
1614 |
-
'seopress-settings-admin-html-sitemap', // Page
|
1615 |
-
'seopress_setting_section_html_sitemap' // Section
|
1616 |
-
);
|
1617 |
-
|
1618 |
-
add_settings_field(
|
1619 |
-
'seopress_xml_sitemap_html_date', // ID
|
1620 |
-
__('Disable the display of the publication date', 'wp-seopress'), // Title
|
1621 |
-
[$this, 'seopress_xml_sitemap_html_date_callback'], // Callback
|
1622 |
-
'seopress-settings-admin-html-sitemap', // Page
|
1623 |
-
'seopress_setting_section_html_sitemap' // Section
|
1624 |
-
);
|
1625 |
-
|
1626 |
-
add_settings_field(
|
1627 |
-
'seopress_xml_sitemap_html_archive_links', // ID
|
1628 |
-
__('Remove links from archive pages', 'wp-seopress'), // Title
|
1629 |
-
[$this, 'seopress_xml_sitemap_html_archive_links_callback'], // Callback
|
1630 |
-
'seopress-settings-admin-html-sitemap', // Page
|
1631 |
-
'seopress_setting_section_html_sitemap' // Section
|
1632 |
-
);
|
1633 |
-
|
1634 |
-
//Knowledge graph SECTION======================================================================
|
1635 |
-
add_settings_section(
|
1636 |
-
'seopress_setting_section_social_knowledge', // ID
|
1637 |
-
'',
|
1638 |
-
//__("Knowledge graph","wp-seopress"), // Title
|
1639 |
-
[$this, 'print_section_info_social_knowledge'], // Callback
|
1640 |
-
'seopress-settings-admin-social-knowledge' // Page
|
1641 |
-
);
|
1642 |
-
|
1643 |
-
add_settings_field(
|
1644 |
-
'seopress_social_knowledge_type', // ID
|
1645 |
-
__('Person or organization', 'wp-seopress'), // Title
|
1646 |
-
[$this, 'seopress_social_knowledge_type_callback'], // Callback
|
1647 |
-
'seopress-settings-admin-social-knowledge', // Page
|
1648 |
-
'seopress_setting_section_social_knowledge' // Section
|
1649 |
-
);
|
1650 |
-
|
1651 |
-
add_settings_field(
|
1652 |
-
'seopress_social_knowledge_name', // ID
|
1653 |
-
__('Your name/organization', 'wp-seopress'), // Title
|
1654 |
-
[$this, 'seopress_social_knowledge_name_callback'], // Callback
|
1655 |
-
'seopress-settings-admin-social-knowledge', // Page
|
1656 |
-
'seopress_setting_section_social_knowledge' // Section
|
1657 |
-
);
|
1658 |
-
|
1659 |
-
add_settings_field(
|
1660 |
-
'seopress_social_knowledge_img', // ID
|
1661 |
-
__('Your photo/organization logo', 'wp-seopress'), // Title
|
1662 |
-
[$this, 'seopress_social_knowledge_img_callback'], // Callback
|
1663 |
-
'seopress-settings-admin-social-knowledge', // Page
|
1664 |
-
'seopress_setting_section_social_knowledge' // Section
|
1665 |
-
);
|
1666 |
-
|
1667 |
-
add_settings_field(
|
1668 |
-
'seopress_social_knowledge_phone', // ID
|
1669 |
-
__("Organization's phone number (only for Organizations)", 'wp-seopress'), // Title
|
1670 |
-
[$this, 'seopress_social_knowledge_phone_callback'], // Callback
|
1671 |
-
'seopress-settings-admin-social-knowledge', // Page
|
1672 |
-
'seopress_setting_section_social_knowledge' // Section
|
1673 |
-
);
|
1674 |
-
|
1675 |
-
add_settings_field(
|
1676 |
-
'seopress_social_knowledge_contact_type', // ID
|
1677 |
-
__('Contact type (only for Organizations)', 'wp-seopress'), // Title
|
1678 |
-
[$this, 'seopress_social_knowledge_contact_type_callback'], // Callback
|
1679 |
-
'seopress-settings-admin-social-knowledge', // Page
|
1680 |
-
'seopress_setting_section_social_knowledge' // Section
|
1681 |
-
);
|
1682 |
-
|
1683 |
-
add_settings_field(
|
1684 |
-
'seopress_social_knowledge_contact_option', // ID
|
1685 |
-
__('Contact option (only for Organizations)', 'wp-seopress'), // Title
|
1686 |
-
[$this, 'seopress_social_knowledge_contact_option_callback'], // Callback
|
1687 |
-
'seopress-settings-admin-social-knowledge', // Page
|
1688 |
-
'seopress_setting_section_social_knowledge' // Section
|
1689 |
-
);
|
1690 |
-
|
1691 |
-
//Social SECTION=====================================================================================
|
1692 |
-
add_settings_section(
|
1693 |
-
'seopress_setting_section_social_accounts', // ID
|
1694 |
-
'',
|
1695 |
-
//__("Social","wp-seopress"), // Title
|
1696 |
-
[$this, 'print_section_info_social_accounts'], // Callback
|
1697 |
-
'seopress-settings-admin-social-accounts' // Page
|
1698 |
-
);
|
1699 |
-
|
1700 |
-
add_settings_field(
|
1701 |
-
'seopress_social_accounts_facebook', // ID
|
1702 |
-
__('Facebook Page URL', 'wp-seopress'), // Title
|
1703 |
-
[$this, 'seopress_social_accounts_facebook_callback'], // Callback
|
1704 |
-
'seopress-settings-admin-social-accounts', // Page
|
1705 |
-
'seopress_setting_section_social_accounts' // Section
|
1706 |
-
);
|
1707 |
-
|
1708 |
-
add_settings_field(
|
1709 |
-
'seopress_social_accounts_twitter', // ID
|
1710 |
-
__('Twitter Username', 'wp-seopress'), // Title
|
1711 |
-
[$this, 'seopress_social_accounts_twitter_callback'], // Callback
|
1712 |
-
'seopress-settings-admin-social-accounts', // Page
|
1713 |
-
'seopress_setting_section_social_accounts' // Section
|
1714 |
-
);
|
1715 |
-
|
1716 |
-
add_settings_field(
|
1717 |
-
'seopress_social_accounts_pinterest', // ID
|
1718 |
-
__('Pinterest URL', 'wp-seopress'), // Title
|
1719 |
-
[$this, 'seopress_social_accounts_pinterest_callback'], // Callback
|
1720 |
-
'seopress-settings-admin-social-accounts', // Page
|
1721 |
-
'seopress_setting_section_social_accounts' // Section
|
1722 |
-
);
|
1723 |
-
|
1724 |
-
add_settings_field(
|
1725 |
-
'seopress_social_accounts_instagram', // ID
|
1726 |
-
__('Instagram URL', 'wp-seopress'), // Title
|
1727 |
-
[$this, 'seopress_social_accounts_instagram_callback'], // Callback
|
1728 |
-
'seopress-settings-admin-social-accounts', // Page
|
1729 |
-
'seopress_setting_section_social_accounts' // Section
|
1730 |
-
);
|
1731 |
-
|
1732 |
-
add_settings_field(
|
1733 |
-
'seopress_social_accounts_youtube', // ID
|
1734 |
-
__('YouTube URL', 'wp-seopress'), // Title
|
1735 |
-
[$this, 'seopress_social_accounts_youtube_callback'], // Callback
|
1736 |
-
'seopress-settings-admin-social-accounts', // Page
|
1737 |
-
'seopress_setting_section_social_accounts' // Section
|
1738 |
-
);
|
1739 |
-
|
1740 |
-
add_settings_field(
|
1741 |
-
'seopress_social_accounts_linkedin', // ID
|
1742 |
-
__('LinkedIn URL', 'wp-seopress'), // Title
|
1743 |
-
[$this, 'seopress_social_accounts_linkedin_callback'], // Callback
|
1744 |
-
'seopress-settings-admin-social-accounts', // Page
|
1745 |
-
'seopress_setting_section_social_accounts' // Section
|
1746 |
-
);
|
1747 |
-
|
1748 |
-
//Facebook SECTION=========================================================================
|
1749 |
-
add_settings_section(
|
1750 |
-
'seopress_setting_section_social_facebook', // ID
|
1751 |
-
'',
|
1752 |
-
//__("Facebook","wp-seopress"), // Title
|
1753 |
-
[$this, 'print_section_info_social_facebook'], // Callback
|
1754 |
-
'seopress-settings-admin-social-facebook' // Page
|
1755 |
-
);
|
1756 |
-
|
1757 |
-
add_settings_field(
|
1758 |
-
'seopress_social_facebook_og', // ID
|
1759 |
-
__('Enable Open Graph Data', 'wp-seopress'), // Title
|
1760 |
-
[$this, 'seopress_social_facebook_og_callback'], // Callback
|
1761 |
-
'seopress-settings-admin-social-facebook', // Page
|
1762 |
-
'seopress_setting_section_social_facebook' // Section
|
1763 |
-
);
|
1764 |
-
|
1765 |
-
add_settings_field(
|
1766 |
-
'seopress_social_facebook_img', // ID
|
1767 |
-
__('Select a default image', 'wp-seopress'), // Title
|
1768 |
-
[$this, 'seopress_social_facebook_img_callback'], // Callback
|
1769 |
-
'seopress-settings-admin-social-facebook', // Page
|
1770 |
-
'seopress_setting_section_social_facebook' // Section
|
1771 |
-
);
|
1772 |
-
|
1773 |
-
add_settings_field(
|
1774 |
-
'seopress_social_facebook_img_default', // ID
|
1775 |
-
__('Apply this image to all your og:image tag', 'wp-seopress'), // Title
|
1776 |
-
[$this, 'seopress_social_facebook_img_default_callback'], // Callback
|
1777 |
-
'seopress-settings-admin-social-facebook', // Page
|
1778 |
-
'seopress_setting_section_social_facebook' // Section
|
1779 |
-
);
|
1780 |
-
|
1781 |
-
add_settings_field(
|
1782 |
-
'seopress_social_facebook_img_cpt', // ID
|
1783 |
-
__('Define custom og:image tag for post type archive pages', 'wp-seopress'), // Title
|
1784 |
-
[$this, 'seopress_social_facebook_img_cpt_callback'], // Callback
|
1785 |
-
'seopress-settings-admin-social-facebook', // Page
|
1786 |
-
'seopress_setting_section_social_facebook' // Section
|
1787 |
-
);
|
1788 |
-
|
1789 |
-
add_settings_field(
|
1790 |
-
'seopress_social_facebook_link_ownership_id', // ID
|
1791 |
-
__('Facebook Link Ownership ID', 'wp-seopress'), // Title
|
1792 |
-
[$this, 'seopress_social_facebook_link_ownership_id_callback'], // Callback
|
1793 |
-
'seopress-settings-admin-social-facebook', // Page
|
1794 |
-
'seopress_setting_section_social_facebook' // Section
|
1795 |
-
);
|
1796 |
-
|
1797 |
-
add_settings_field(
|
1798 |
-
'seopress_social_facebook_admin_id', // ID
|
1799 |
-
__('Facebook Admin ID', 'wp-seopress'), // Title
|
1800 |
-
[$this, 'seopress_social_facebook_admin_id_callback'], // Callback
|
1801 |
-
'seopress-settings-admin-social-facebook', // Page
|
1802 |
-
'seopress_setting_section_social_facebook' // Section
|
1803 |
-
);
|
1804 |
-
|
1805 |
-
add_settings_field(
|
1806 |
-
'seopress_social_facebook_app_id', // ID
|
1807 |
-
__('Facebook App ID', 'wp-seopress'), // Title
|
1808 |
-
[$this, 'seopress_social_facebook_app_id_callback'], // Callback
|
1809 |
-
'seopress-settings-admin-social-facebook', // Page
|
1810 |
-
'seopress_setting_section_social_facebook' // Section
|
1811 |
-
);
|
1812 |
-
|
1813 |
-
//Twitter SECTION==========================================================================
|
1814 |
-
add_settings_section(
|
1815 |
-
'seopress_setting_section_social_twitter', // ID
|
1816 |
-
'',
|
1817 |
-
//__("Twitter","wp-seopress"), // Title
|
1818 |
-
[$this, 'print_section_info_social_twitter'], // Callback
|
1819 |
-
'seopress-settings-admin-social-twitter' // Page
|
1820 |
-
);
|
1821 |
-
|
1822 |
-
add_settings_field(
|
1823 |
-
'seopress_social_twitter_card', // ID
|
1824 |
-
__('Enable Twitter Card', 'wp-seopress'), // Title
|
1825 |
-
[$this, 'seopress_social_twitter_card_callback'], // Callback
|
1826 |
-
'seopress-settings-admin-social-twitter', // Page
|
1827 |
-
'seopress_setting_section_social_twitter' // Section
|
1828 |
-
);
|
1829 |
-
|
1830 |
-
add_settings_field(
|
1831 |
-
'seopress_social_twitter_card_og', // ID
|
1832 |
-
__('Use Open Graph if no Twitter Card is filled', 'wp-seopress'), // Title
|
1833 |
-
[$this, 'seopress_social_twitter_card_og_callback'], // Callback
|
1834 |
-
'seopress-settings-admin-social-twitter', // Page
|
1835 |
-
'seopress_setting_section_social_twitter' // Section
|
1836 |
-
);
|
1837 |
|
1838 |
-
|
1839 |
-
|
1840 |
-
|
1841 |
-
|
1842 |
-
'seopress-settings-admin-social-twitter', // Page
|
1843 |
-
'seopress_setting_section_social_twitter' // Section
|
1844 |
-
);
|
1845 |
|
1846 |
-
|
1847 |
-
|
1848 |
-
|
1849 |
-
|
1850 |
-
|
1851 |
-
|
1852 |
-
);
|
|
|
|
|
|
|
1853 |
|
1854 |
-
//Google Analytics Enable SECTION==========================================================
|
1855 |
-
add_settings_section(
|
1856 |
-
'seopress_setting_section_google_analytics_enable', // ID
|
1857 |
-
'',
|
1858 |
-
//__("Google Analytics","wp-seopress"), // Title
|
1859 |
-
[$this, 'print_section_info_google_analytics_enable'], // Callback
|
1860 |
-
'seopress-settings-admin-google-analytics-enable' // Page
|
1861 |
-
);
|
1862 |
-
|
1863 |
-
add_settings_field(
|
1864 |
-
'seopress_google_analytics_enable', // ID
|
1865 |
-
__('Enable Google Analytics tracking', 'wp-seopress'), // Title
|
1866 |
-
[$this, 'seopress_google_analytics_enable_callback'], // Callback
|
1867 |
-
'seopress-settings-admin-google-analytics-enable', // Page
|
1868 |
-
'seopress_setting_section_google_analytics_enable' // Section
|
1869 |
-
);
|
1870 |
-
|
1871 |
-
add_settings_field(
|
1872 |
-
'seopress_google_analytics_ua', // ID
|
1873 |
-
__('Enter your tracking ID', 'wp-seopress'), // Title
|
1874 |
-
[$this, 'seopress_google_analytics_ua_callback'], // Callback
|
1875 |
-
'seopress-settings-admin-google-analytics-enable', // Page
|
1876 |
-
'seopress_setting_section_google_analytics_enable' // Section
|
1877 |
-
);
|
1878 |
-
|
1879 |
-
add_settings_field(
|
1880 |
-
'seopress_google_analytics_ga4', // ID
|
1881 |
-
__('Enter your measurement ID (GA4)', 'wp-seopress'), // Title
|
1882 |
-
[$this, 'seopress_google_analytics_ga4_callback'], // Callback
|
1883 |
-
'seopress-settings-admin-google-analytics-enable', // Page
|
1884 |
-
'seopress_setting_section_google_analytics_enable' // Section
|
1885 |
-
);
|
1886 |
-
|
1887 |
-
add_settings_field(
|
1888 |
-
'seopress_google_analytics_roles', // ID
|
1889 |
-
__('Exclude user roles from tracking (Google Analytics and Matomo)', 'wp-seopress'), // Title
|
1890 |
-
[$this, 'seopress_google_analytics_roles_callback'], // Callback
|
1891 |
-
'seopress-settings-admin-google-analytics-enable', // Page
|
1892 |
-
'seopress_setting_section_google_analytics_enable' // Section
|
1893 |
-
);
|
1894 |
-
|
1895 |
-
//Cookie bar / GDPR SECTION================================================================
|
1896 |
-
add_settings_section(
|
1897 |
-
'seopress_setting_section_google_analytics_gdpr', // ID
|
1898 |
-
'',
|
1899 |
-
//__("Google Analytics","wp-seopress"), // Title
|
1900 |
-
[$this, 'print_section_info_google_analytics_gdpr'], // Callback
|
1901 |
-
'seopress-settings-admin-google-analytics-gdpr' // Page
|
1902 |
-
);
|
1903 |
-
|
1904 |
-
add_settings_field(
|
1905 |
-
'seopress_google_analytics_hook', // ID
|
1906 |
-
__('Where to display the cookie bar?', 'wp-seopress'), // Title
|
1907 |
-
[$this, 'seopress_google_analytics_hook_callback'], // Callback
|
1908 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
1909 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
1910 |
-
);
|
1911 |
-
|
1912 |
-
add_settings_field(
|
1913 |
-
'seopress_google_analytics_disable', // ID
|
1914 |
-
__('Analytics tracking opt-in', 'wp-seopress'), // Title
|
1915 |
-
[$this, 'seopress_google_analytics_disable_callback'], // Callback
|
1916 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
1917 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
1918 |
-
);
|
1919 |
-
|
1920 |
-
add_settings_field(
|
1921 |
-
'seopress_google_analytics_half_disable', // ID
|
1922 |
-
'', // Title
|
1923 |
-
[$this, 'seopress_google_analytics_half_disable_callback'], // Callback
|
1924 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
1925 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
1926 |
-
);
|
1927 |
-
|
1928 |
-
add_settings_field(
|
1929 |
-
'seopress_google_analytics_opt_out_edit_choice', // ID
|
1930 |
-
__('Allow user to change its choice', 'wp-seopress'), // Title
|
1931 |
-
[$this, 'seopress_google_analytics_opt_out_edit_choice_callback'], // Callback
|
1932 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
1933 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
1934 |
-
);
|
1935 |
-
|
1936 |
-
add_settings_field(
|
1937 |
-
'seopress_google_analytics_opt_out_msg', // ID
|
1938 |
-
__('Consent message for user tracking', 'wp-seopress'), // Title
|
1939 |
-
[$this, 'seopress_google_analytics_opt_out_msg_callback'], // Callback
|
1940 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
1941 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
1942 |
-
);
|
1943 |
-
|
1944 |
-
add_settings_field(
|
1945 |
-
'seopress_google_analytics_opt_out_msg_ok', // ID
|
1946 |
-
__('Accept button for user tracking', 'wp-seopress'), // Title
|
1947 |
-
[$this, 'seopress_google_analytics_opt_out_msg_ok_callback'], // Callback
|
1948 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
1949 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
1950 |
-
);
|
1951 |
-
|
1952 |
-
add_settings_field(
|
1953 |
-
'seopress_google_analytics_opt_out_msg_close', // ID
|
1954 |
-
__('Close button', 'wp-seopress'), // Title
|
1955 |
-
[$this, 'seopress_google_analytics_opt_out_msg_close_callback'], // Callback
|
1956 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
1957 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
1958 |
-
);
|
1959 |
-
|
1960 |
-
add_settings_field(
|
1961 |
-
'seopress_google_analytics_opt_out_msg_edit', // ID
|
1962 |
-
__('Edit cookies button', 'wp-seopress'), // Title
|
1963 |
-
[$this, 'seopress_google_analytics_opt_out_msg_edit_callback'], // Callback
|
1964 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
1965 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
1966 |
-
);
|
1967 |
-
|
1968 |
-
add_settings_field(
|
1969 |
-
'seopress_google_analytics_cb_exp_date', // ID
|
1970 |
-
__('User consent cookie expiration date', 'wp-seopress'), // Title
|
1971 |
-
[$this, 'seopress_google_analytics_cb_exp_date_callback'], // Callback
|
1972 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
1973 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
1974 |
-
);
|
1975 |
-
|
1976 |
-
add_settings_field(
|
1977 |
-
'seopress_google_analytics_cb_pos', // ID
|
1978 |
-
__('Cookie bar position', 'wp-seopress'), // Title
|
1979 |
-
[$this, 'seopress_google_analytics_cb_pos_callback'], // Callback
|
1980 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
1981 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
1982 |
-
);
|
1983 |
-
|
1984 |
-
add_settings_field(
|
1985 |
-
'seopress_google_analytics_cb_txt_align', // ID
|
1986 |
-
__('Text alignment', 'wp-seopress'), // Title
|
1987 |
-
[$this, 'seopress_google_analytics_cb_txt_align_callback'], // Callback
|
1988 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
1989 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
1990 |
-
);
|
1991 |
-
|
1992 |
-
add_settings_field(
|
1993 |
-
'seopress_google_analytics_cb_width', // ID
|
1994 |
-
__('Cookie bar width', 'wp-seopress'), // Title
|
1995 |
-
[$this, 'seopress_google_analytics_cb_width_callback'], // Callback
|
1996 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
1997 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
1998 |
-
);
|
1999 |
-
|
2000 |
-
add_settings_field(
|
2001 |
-
'seopress_google_analytics_cb_backdrop', // ID
|
2002 |
-
'', // Title
|
2003 |
-
[$this, 'seopress_google_analytics_cb_backdrop_callback'], // Callback
|
2004 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
2005 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
2006 |
-
);
|
2007 |
-
|
2008 |
-
add_settings_field(
|
2009 |
-
'seopress_google_analytics_cb_backdrop_bg', // ID
|
2010 |
-
'', // Title
|
2011 |
-
[$this, 'seopress_google_analytics_cb_backdrop_bg_callback'], // Callback
|
2012 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
2013 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
2014 |
-
);
|
2015 |
-
|
2016 |
-
add_settings_field(
|
2017 |
-
'seopress_google_analytics_cb_bg', // ID
|
2018 |
-
'', // Title
|
2019 |
-
[$this, 'seopress_google_analytics_cb_bg_callback'], // Callback
|
2020 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
2021 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
2022 |
-
);
|
2023 |
-
|
2024 |
-
add_settings_field(
|
2025 |
-
'seopress_google_analytics_cb_txt_col', // ID
|
2026 |
-
'', // Title
|
2027 |
-
[$this, 'seopress_google_analytics_cb_txt_col_callback'], // Callback
|
2028 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
2029 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
2030 |
-
);
|
2031 |
-
|
2032 |
-
add_settings_field(
|
2033 |
-
'seopress_google_analytics_cb_lk_col', // ID
|
2034 |
-
'', // Title
|
2035 |
-
[$this, 'seopress_google_analytics_cb_lk_col_callback'], // Callback
|
2036 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
2037 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
2038 |
-
);
|
2039 |
-
|
2040 |
-
add_settings_field(
|
2041 |
-
'seopress_google_analytics_cb_btn_bg', // ID
|
2042 |
-
'', // Title
|
2043 |
-
[$this, 'seopress_google_analytics_cb_btn_bg_callback'], // Callback
|
2044 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
2045 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
2046 |
-
);
|
2047 |
-
|
2048 |
-
add_settings_field(
|
2049 |
-
'seopress_google_analytics_cb_btn_bg_hov', // ID
|
2050 |
-
'', // Title
|
2051 |
-
[$this, 'seopress_google_analytics_cb_btn_bg_hov_callback'], // Callback
|
2052 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
2053 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
2054 |
-
);
|
2055 |
-
|
2056 |
-
add_settings_field(
|
2057 |
-
'seopress_google_analytics_cb_btn_col', // ID
|
2058 |
-
'', // Title
|
2059 |
-
[$this, 'seopress_google_analytics_cb_btn_col_callback'], // Callback
|
2060 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
2061 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
2062 |
-
);
|
2063 |
-
|
2064 |
-
add_settings_field(
|
2065 |
-
'seopress_google_analytics_cb_btn_col_hov', // ID
|
2066 |
-
'', // Title
|
2067 |
-
[$this, 'seopress_google_analytics_cb_btn_col_hov_callback'], // Callback
|
2068 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
2069 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
2070 |
-
);
|
2071 |
-
|
2072 |
-
add_settings_field(
|
2073 |
-
'seopress_google_analytics_cb_btn_sec_bg', // ID
|
2074 |
-
'', // Title
|
2075 |
-
[$this, 'seopress_google_analytics_cb_btn_sec_bg_callback'], // Callback
|
2076 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
2077 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
2078 |
-
);
|
2079 |
-
|
2080 |
-
add_settings_field(
|
2081 |
-
'seopress_google_analytics_cb_btn_sec_col', // ID
|
2082 |
-
'', // Title
|
2083 |
-
[$this, 'seopress_google_analytics_cb_btn_sec_col_callback'], // Callback
|
2084 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
2085 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
2086 |
-
);
|
2087 |
-
|
2088 |
-
add_settings_field(
|
2089 |
-
'seopress_google_analytics_cb_btn_sec_bg_hov', // ID
|
2090 |
-
'', // Title
|
2091 |
-
[$this, 'seopress_google_analytics_cb_btn_sec_bg_hov_callback'], // Callback
|
2092 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
2093 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
2094 |
-
);
|
2095 |
-
|
2096 |
-
add_settings_field(
|
2097 |
-
'seopress_google_analytics_cb_btn_sec_col_hov', // ID
|
2098 |
-
'', // Title
|
2099 |
-
[$this, 'seopress_google_analytics_cb_btn_sec_col_hov_callback'], // Callback
|
2100 |
-
'seopress-settings-admin-google-analytics-gdpr', // Page
|
2101 |
-
'seopress_setting_section_google_analytics_gdpr' // Section
|
2102 |
-
);
|
2103 |
-
|
2104 |
-
//Google Analytics Tracking SECTION========================================================
|
2105 |
-
|
2106 |
-
add_settings_section(
|
2107 |
-
'seopress_setting_section_google_analytics_features', // ID
|
2108 |
-
'',
|
2109 |
-
//__("Google Analytics","wp-seopress"), // Title
|
2110 |
-
[$this, 'print_section_info_google_analytics_features'], // Callback
|
2111 |
-
'seopress-settings-admin-google-analytics-features' // Page
|
2112 |
-
);
|
2113 |
-
|
2114 |
-
add_settings_field(
|
2115 |
-
'seopress_google_analytics_optimize', // ID
|
2116 |
-
__('Enable Google Optimize', 'wp-seopress'), // Title
|
2117 |
-
[$this, 'seopress_google_analytics_optimize_callback'], // Callback
|
2118 |
-
'seopress-settings-admin-google-analytics-features', // Page
|
2119 |
-
'seopress_setting_section_google_analytics_features' // Section
|
2120 |
-
);
|
2121 |
-
|
2122 |
-
add_settings_field(
|
2123 |
-
'seopress_google_analytics_ads', // ID
|
2124 |
-
__('Enable Google Ads', 'wp-seopress'), // Title
|
2125 |
-
[$this, 'seopress_google_analytics_ads_callback'], // Callback
|
2126 |
-
'seopress-settings-admin-google-analytics-features', // Page
|
2127 |
-
'seopress_setting_section_google_analytics_features' // Section
|
2128 |
-
);
|
2129 |
-
|
2130 |
-
add_settings_field(
|
2131 |
-
'seopress_google_analytics_other_tracking', // ID
|
2132 |
-
__('[HEAD] Add an additional tracking code (like Facebook Pixel, Hotjar...)', 'wp-seopress'), // Title
|
2133 |
-
[$this, 'seopress_google_analytics_other_tracking_callback'], // Callback
|
2134 |
-
'seopress-settings-admin-google-analytics-features', // Page
|
2135 |
-
'seopress_setting_section_google_analytics_features' // Section
|
2136 |
-
);
|
2137 |
-
|
2138 |
-
add_settings_field(
|
2139 |
-
'seopress_google_analytics_other_tracking_body', // ID
|
2140 |
-
__('[BODY] Add an additional tracking code (like Google Tag Manager...)', 'wp-seopress'), // Title
|
2141 |
-
[$this, 'seopress_google_analytics_other_tracking_body_callback'], // Callback
|
2142 |
-
'seopress-settings-admin-google-analytics-features', // Page
|
2143 |
-
'seopress_setting_section_google_analytics_features' // Section
|
2144 |
-
);
|
2145 |
-
|
2146 |
-
add_settings_field(
|
2147 |
-
'seopress_google_analytics_other_tracking_footer', // ID
|
2148 |
-
__('[BODY (FOOTER)] Add an additional tracking code (like Google Tag Manager...)', 'wp-seopress'), // Title
|
2149 |
-
[$this, 'seopress_google_analytics_other_tracking_footer_callback'], // Callback
|
2150 |
-
'seopress-settings-admin-google-analytics-features', // Page
|
2151 |
-
'seopress_setting_section_google_analytics_features' // Section
|
2152 |
-
);
|
2153 |
-
|
2154 |
-
add_settings_field(
|
2155 |
-
'seopress_google_analytics_remarketing', // ID
|
2156 |
-
__('Enable remarketing, demographics, and interests reporting', 'wp-seopress'), // Title
|
2157 |
-
[$this, 'seopress_google_analytics_remarketing_callback'], // Callback
|
2158 |
-
'seopress-settings-admin-google-analytics-features', // Page
|
2159 |
-
'seopress_setting_section_google_analytics_features' // Section
|
2160 |
-
);
|
2161 |
-
|
2162 |
-
add_settings_field(
|
2163 |
-
'seopress_google_analytics_ip_anonymization', // ID
|
2164 |
-
__('Enable IP Anonymization', 'wp-seopress'), // Title
|
2165 |
-
[$this, 'seopress_google_analytics_ip_anonymization_callback'], // Callback
|
2166 |
-
'seopress-settings-admin-google-analytics-features', // Page
|
2167 |
-
'seopress_setting_section_google_analytics_features' // Section
|
2168 |
-
);
|
2169 |
-
|
2170 |
-
add_settings_field(
|
2171 |
-
'seopress_google_analytics_link_attribution', // ID
|
2172 |
-
__('Enhanced Link Attribution', 'wp-seopress'), // Title
|
2173 |
-
[$this, 'seopress_google_analytics_link_attribution_callback'], // Callback
|
2174 |
-
'seopress-settings-admin-google-analytics-features', // Page
|
2175 |
-
'seopress_setting_section_google_analytics_features' // Section
|
2176 |
-
);
|
2177 |
-
|
2178 |
-
add_settings_field(
|
2179 |
-
'seopress_google_analytics_cross_domain_enable', // ID
|
2180 |
-
__('Enable cross-domain tracking', 'wp-seopress'), // Title
|
2181 |
-
[$this, 'seopress_google_analytics_cross_enable_callback'], // Callback
|
2182 |
-
'seopress-settings-admin-google-analytics-features', // Page
|
2183 |
-
'seopress_setting_section_google_analytics_features' // Section
|
2184 |
-
);
|
2185 |
-
|
2186 |
-
add_settings_field(
|
2187 |
-
'seopress_google_analytics_cross_domain', // ID
|
2188 |
-
__('Cross domains', 'wp-seopress'), // Title
|
2189 |
-
[$this, 'seopress_google_analytics_cross_domain_callback'], // Callback
|
2190 |
-
'seopress-settings-admin-google-analytics-features', // Page
|
2191 |
-
'seopress_setting_section_google_analytics_features' // Section
|
2192 |
-
);
|
2193 |
-
|
2194 |
-
//Google Analytics Events SECTION==========================================================
|
2195 |
-
|
2196 |
-
add_settings_section(
|
2197 |
-
'seopress_setting_section_google_analytics_events', // ID
|
2198 |
-
'',
|
2199 |
-
//__("Google Analytics","wp-seopress"), // Title
|
2200 |
-
[$this, 'print_section_info_google_analytics_events'], // Callback
|
2201 |
-
'seopress-settings-admin-google-analytics-events' // Page
|
2202 |
-
);
|
2203 |
-
|
2204 |
-
add_settings_field(
|
2205 |
-
'seopress_google_analytics_link_tracking_enable', // ID
|
2206 |
-
__('Enable external links tracking', 'wp-seopress'), // Title
|
2207 |
-
[$this, 'seopress_google_analytics_link_tracking_enable_callback'], // Callback
|
2208 |
-
'seopress-settings-admin-google-analytics-events', // Page
|
2209 |
-
'seopress_setting_section_google_analytics_events' // Section
|
2210 |
-
);
|
2211 |
-
|
2212 |
-
add_settings_field(
|
2213 |
-
'seopress_google_analytics_download_tracking_enable', // ID
|
2214 |
-
__('Enable downloads tracking (eg: PDF, XLSX, DOCX...)', 'wp-seopress'), // Title
|
2215 |
-
[$this, 'seopress_google_analytics_download_tracking_enable_callback'], // Callback
|
2216 |
-
'seopress-settings-admin-google-analytics-events', // Page
|
2217 |
-
'seopress_setting_section_google_analytics_events' // Section
|
2218 |
-
);
|
2219 |
-
|
2220 |
-
add_settings_field(
|
2221 |
-
'seopress_google_analytics_download_tracking', // ID
|
2222 |
-
__("Track downloads' clicks", 'wp-seopress'), // Title
|
2223 |
-
[$this, 'seopress_google_analytics_download_tracking_callback'], // Callback
|
2224 |
-
'seopress-settings-admin-google-analytics-events', // Page
|
2225 |
-
'seopress_setting_section_google_analytics_events' // Section
|
2226 |
-
);
|
2227 |
-
|
2228 |
-
add_settings_field(
|
2229 |
-
'seopress_google_analytics_affiliate_tracking_enable', // ID
|
2230 |
-
__('Enable affiliate/outbound links tracking (eg: aff, go, out, recommends)', 'wp-seopress'), // Title
|
2231 |
-
[$this, 'seopress_google_analytics_affiliate_tracking_enable_callback'], // Callback
|
2232 |
-
'seopress-settings-admin-google-analytics-events', // Page
|
2233 |
-
'seopress_setting_section_google_analytics_events' // Section
|
2234 |
-
);
|
2235 |
-
|
2236 |
-
add_settings_field(
|
2237 |
-
'seopress_google_analytics_affiliate_tracking', // ID
|
2238 |
-
__('Track affiliate/outbound links', 'wp-seopress'), // Title
|
2239 |
-
[$this, 'seopress_google_analytics_affiliate_tracking_callback'], // Callback
|
2240 |
-
'seopress-settings-admin-google-analytics-events', // Page
|
2241 |
-
'seopress_setting_section_google_analytics_events' // Section
|
2242 |
-
);
|
2243 |
-
|
2244 |
-
//Google Analytics Custom Dimensions SECTION===============================================
|
2245 |
-
|
2246 |
-
add_settings_section(
|
2247 |
-
'seopress_setting_section_google_analytics_custom_dimensions', // ID
|
2248 |
-
'',
|
2249 |
-
//__("Google Analytics","wp-seopress"), // Title
|
2250 |
-
[$this, 'print_section_info_google_analytics_custom_dimensions'], // Callback
|
2251 |
-
'seopress-settings-admin-google-analytics-custom-dimensions' // Page
|
2252 |
-
);
|
2253 |
-
|
2254 |
-
add_settings_field(
|
2255 |
-
'seopress_google_analytics_cd_author', // ID
|
2256 |
-
__('Track Authors', 'wp-seopress'), // Title
|
2257 |
-
[$this, 'seopress_google_analytics_cd_author_callback'], // Callback
|
2258 |
-
'seopress-settings-admin-google-analytics-custom-dimensions', // Page
|
2259 |
-
'seopress_setting_section_google_analytics_custom_dimensions' // Section
|
2260 |
-
);
|
2261 |
-
|
2262 |
-
add_settings_field(
|
2263 |
-
'seopress_google_analytics_cd_category', // ID
|
2264 |
-
__('Track Categories', 'wp-seopress'), // Title
|
2265 |
-
[$this, 'seopress_google_analytics_cd_category_callback'], // Callback
|
2266 |
-
'seopress-settings-admin-google-analytics-custom-dimensions', // Page
|
2267 |
-
'seopress_setting_section_google_analytics_custom_dimensions' // Section
|
2268 |
-
);
|
2269 |
-
|
2270 |
-
add_settings_field(
|
2271 |
-
'seopress_google_analytics_cd_tag', // ID
|
2272 |
-
__('Track Tags', 'wp-seopress'), // Title
|
2273 |
-
[$this, 'seopress_google_analytics_cd_tag_callback'], // Callback
|
2274 |
-
'seopress-settings-admin-google-analytics-custom-dimensions', // Page
|
2275 |
-
'seopress_setting_section_google_analytics_custom_dimensions' // Section
|
2276 |
-
);
|
2277 |
-
|
2278 |
-
add_settings_field(
|
2279 |
-
'seopress_google_analytics_cd_post_type', // ID
|
2280 |
-
__('Track Post Types', 'wp-seopress'), // Title
|
2281 |
-
[$this, 'seopress_google_analytics_cd_post_type_callback'], // Callback
|
2282 |
-
'seopress-settings-admin-google-analytics-custom-dimensions', // Page
|
2283 |
-
'seopress_setting_section_google_analytics_custom_dimensions' // Section
|
2284 |
-
);
|
2285 |
-
|
2286 |
-
add_settings_field(
|
2287 |
-
'seopress_google_analytics_cd_logged_in_user', // ID
|
2288 |
-
__('Track Logged In Users', 'wp-seopress'), // Title
|
2289 |
-
[$this, 'seopress_google_analytics_cd_logged_in_user_callback'], // Callback
|
2290 |
-
'seopress-settings-admin-google-analytics-custom-dimensions', // Page
|
2291 |
-
'seopress_setting_section_google_analytics_custom_dimensions' // Section
|
2292 |
-
);
|
2293 |
-
|
2294 |
-
//Matomo SECTION===========================================================================
|
2295 |
-
add_settings_section(
|
2296 |
-
'seopress_setting_section_google_analytics_matomo', // ID
|
2297 |
-
'',
|
2298 |
-
//__("Google Analytics","wp-seopress"), // Title
|
2299 |
-
[$this, 'print_section_info_google_analytics_matomo'], // Callback
|
2300 |
-
'seopress-settings-admin-google-analytics-matomo' // Page
|
2301 |
-
);
|
2302 |
-
|
2303 |
-
add_settings_field(
|
2304 |
-
'seopress_google_analytics_matomo_enable', // ID
|
2305 |
-
__('Enable Matomo tracking', 'wp-seopress'), // Title
|
2306 |
-
[$this, 'seopress_google_analytics_matomo_enable_callback'], // Callback
|
2307 |
-
'seopress-settings-admin-google-analytics-matomo', // Page
|
2308 |
-
'seopress_setting_section_google_analytics_matomo' // Section
|
2309 |
-
);
|
2310 |
-
|
2311 |
-
add_settings_field(
|
2312 |
-
'seopress_google_analytics_matomo_id', // ID
|
2313 |
-
__('Enter your tracking ID', 'wp-seopress'), // Title
|
2314 |
-
[$this, 'seopress_google_analytics_matomo_id_callback'], // Callback
|
2315 |
-
'seopress-settings-admin-google-analytics-matomo', // Page
|
2316 |
-
'seopress_setting_section_google_analytics_matomo' // Section
|
2317 |
-
);
|
2318 |
-
|
2319 |
-
add_settings_field(
|
2320 |
-
'seopress_google_analytics_matomo_site_id', // ID
|
2321 |
-
__('Enter your site ID', 'wp-seopress'), // Title
|
2322 |
-
[$this, 'seopress_google_analytics_matomo_site_id_callback'], // Callback
|
2323 |
-
'seopress-settings-admin-google-analytics-matomo', // Page
|
2324 |
-
'seopress_setting_section_google_analytics_matomo' // Section
|
2325 |
-
);
|
2326 |
-
|
2327 |
-
add_settings_field(
|
2328 |
-
'seopress_google_analytics_matomo_subdomains', // ID
|
2329 |
-
__('Track visitors across all subdomains', 'wp-seopress'), // Title
|
2330 |
-
[$this, 'seopress_google_analytics_matomo_subdomains_callback'], // Callback
|
2331 |
-
'seopress-settings-admin-google-analytics-matomo', // Page
|
2332 |
-
'seopress_setting_section_google_analytics_matomo' // Section
|
2333 |
-
);
|
2334 |
-
|
2335 |
-
add_settings_field(
|
2336 |
-
'seopress_google_analytics_matomo_site_domain', // ID
|
2337 |
-
__('Prepend the site domain', 'wp-seopress'), // Title
|
2338 |
-
[$this, 'seopress_google_analytics_matomo_site_domain_callback'], // Callback
|
2339 |
-
'seopress-settings-admin-google-analytics-matomo', // Page
|
2340 |
-
'seopress_setting_section_google_analytics_matomo' // Section
|
2341 |
-
);
|
2342 |
-
|
2343 |
-
add_settings_field(
|
2344 |
-
'seopress_google_analytics_matomo_no_js', // ID
|
2345 |
-
__('Track users with JavaScript disabled', 'wp-seopress'), // Title
|
2346 |
-
[$this, 'seopress_google_analytics_matomo_no_js_callback'], // Callback
|
2347 |
-
'seopress-settings-admin-google-analytics-matomo', // Page
|
2348 |
-
'seopress_setting_section_google_analytics_matomo' // Section
|
2349 |
-
);
|
2350 |
-
|
2351 |
-
add_settings_field(
|
2352 |
-
'seopress_google_analytics_matomo_cross_domain', // ID
|
2353 |
-
__('Enables cross domain linking', 'wp-seopress'), // Title
|
2354 |
-
[$this, 'seopress_google_analytics_matomo_cross_domain_callback'], // Callback
|
2355 |
-
'seopress-settings-admin-google-analytics-matomo', // Page
|
2356 |
-
'seopress_setting_section_google_analytics_matomo' // Section
|
2357 |
-
);
|
2358 |
-
|
2359 |
-
add_settings_field(
|
2360 |
-
'seopress_google_analytics_matomo_cross_domain_sites', // ID
|
2361 |
-
__('Cross domain', 'wp-seopress'), // Title
|
2362 |
-
[$this, 'seopress_google_analytics_matomo_cross_domain_sites_callback'], // Callback
|
2363 |
-
'seopress-settings-admin-google-analytics-matomo', // Page
|
2364 |
-
'seopress_setting_section_google_analytics_matomo' // Section
|
2365 |
-
);
|
2366 |
-
add_settings_field(
|
2367 |
-
'seopress_google_analytics_matomo_dnt', // ID
|
2368 |
-
__('Enable DoNotTrack detection', 'wp-seopress'), // Title
|
2369 |
-
[$this, 'seopress_google_analytics_matomo_dnt_callback'], // Callback
|
2370 |
-
'seopress-settings-admin-google-analytics-matomo', // Page
|
2371 |
-
'seopress_setting_section_google_analytics_matomo' // Section
|
2372 |
-
);
|
2373 |
-
|
2374 |
-
add_settings_field(
|
2375 |
-
'seopress_google_analytics_matomo_no_cookies', // ID
|
2376 |
-
__('Disable all tracking cookies', 'wp-seopress'), // Title
|
2377 |
-
[$this, 'seopress_google_analytics_matomo_no_cookies_callback'], // Callback
|
2378 |
-
'seopress-settings-admin-google-analytics-matomo', // Page
|
2379 |
-
'seopress_setting_section_google_analytics_matomo' // Section
|
2380 |
-
);
|
2381 |
-
|
2382 |
-
add_settings_field(
|
2383 |
-
'seopress_google_analytics_matomo_link_tracking', // ID
|
2384 |
-
__('Download & Outlink tracking', 'wp-seopress'), // Title
|
2385 |
-
[$this, 'seopress_google_analytics_matomo_link_tracking_callback'], // Callback
|
2386 |
-
'seopress-settings-admin-google-analytics-matomo', // Page
|
2387 |
-
'seopress_setting_section_google_analytics_matomo' // Section
|
2388 |
-
);
|
2389 |
-
|
2390 |
-
add_settings_field(
|
2391 |
-
'seopress_google_analytics_matomo_no_heatmaps', // ID
|
2392 |
-
__('Disable all heatmaps and session recordings', 'wp-seopress'), // Title
|
2393 |
-
[$this, 'seopress_google_analytics_matomo_no_heatmaps_callback'], // Callback
|
2394 |
-
'seopress-settings-admin-google-analytics-matomo', // Page
|
2395 |
-
'seopress_setting_section_google_analytics_matomo' // Section
|
2396 |
-
);
|
2397 |
-
|
2398 |
-
//Image SECTION============================================================================
|
2399 |
-
add_settings_section(
|
2400 |
-
'seopress_setting_section_advanced_image', // ID
|
2401 |
-
'',
|
2402 |
-
//__("Image SEO","wp-seopress"), // Title
|
2403 |
-
[$this, 'print_section_info_advanced_image'], // Callback
|
2404 |
-
'seopress-settings-admin-advanced-image' // Page
|
2405 |
-
);
|
2406 |
-
|
2407 |
-
add_settings_field(
|
2408 |
-
'seopress_advanced_advanced_attachments', // ID
|
2409 |
-
__('Redirect attachment pages to post parent', 'wp-seopress'), // Title
|
2410 |
-
[$this, 'seopress_advanced_advanced_attachments_callback'], // Callback
|
2411 |
-
'seopress-settings-admin-advanced-image', // Page
|
2412 |
-
'seopress_setting_section_advanced_image' // Section
|
2413 |
-
);
|
2414 |
-
|
2415 |
-
add_settings_field(
|
2416 |
-
'seopress_advanced_advanced_attachments_file', // ID
|
2417 |
-
__('Redirect attachment pages to their file URL', 'wp-seopress'), // Title
|
2418 |
-
[$this, 'seopress_advanced_advanced_attachments_file_callback'], // Callback
|
2419 |
-
'seopress-settings-admin-advanced-image', // Page
|
2420 |
-
'seopress_setting_section_advanced_image' // Section
|
2421 |
-
);
|
2422 |
-
|
2423 |
-
add_settings_field(
|
2424 |
-
'seopress_advanced_advanced_replytocom', // ID
|
2425 |
-
__('Remove ?replytocom link to avoid duplicate content', 'wp-seopress'), // Title
|
2426 |
-
[$this, 'seopress_advanced_advanced_replytocom_callback'], // Callback
|
2427 |
-
'seopress-settings-admin-advanced-image', // Page
|
2428 |
-
'seopress_setting_section_advanced_image' // Section
|
2429 |
-
);
|
2430 |
-
|
2431 |
-
add_settings_field(
|
2432 |
-
'seopress_advanced_advanced_image_auto_title_editor', // ID
|
2433 |
-
__('Automatically set the image Title', 'wp-seopress'), // Title
|
2434 |
-
[$this, 'seopress_advanced_advanced_image_auto_title_editor_callback'], // Callback
|
2435 |
-
'seopress-settings-admin-advanced-image', // Page
|
2436 |
-
'seopress_setting_section_advanced_image' // Section
|
2437 |
-
);
|
2438 |
-
|
2439 |
-
add_settings_field(
|
2440 |
-
'seopress_advanced_advanced_image_auto_alt_editor', // ID
|
2441 |
-
__('Automatically set the image Alt text', 'wp-seopress'), // Title
|
2442 |
-
[$this, 'seopress_advanced_advanced_image_auto_alt_editor_callback'], // Callback
|
2443 |
-
'seopress-settings-admin-advanced-image', // Page
|
2444 |
-
'seopress_setting_section_advanced_image' // Section
|
2445 |
-
);
|
2446 |
-
|
2447 |
-
add_settings_field(
|
2448 |
-
'seopress_advanced_advanced_image_auto_alt_target_kw', // ID
|
2449 |
-
__('Automatically set the image Alt text from target keywords', 'wp-seopress'), // Title
|
2450 |
-
[$this, 'seopress_advanced_advanced_image_auto_alt_target_kw_callback'], // Callback
|
2451 |
-
'seopress-settings-admin-advanced-image', // Page
|
2452 |
-
'seopress_setting_section_advanced_image' // Section
|
2453 |
-
);
|
2454 |
-
|
2455 |
-
add_settings_field(
|
2456 |
-
'seopress_advanced_advanced_image_auto_caption_editor', // ID
|
2457 |
-
__('Automatically set the image Caption', 'wp-seopress'), // Title
|
2458 |
-
[$this, 'seopress_advanced_advanced_image_auto_caption_editor_callback'], // Callback
|
2459 |
-
'seopress-settings-admin-advanced-image', // Page
|
2460 |
-
'seopress_setting_section_advanced_image' // Section
|
2461 |
-
);
|
2462 |
-
|
2463 |
-
add_settings_field(
|
2464 |
-
'seopress_advanced_advanced_image_auto_desc_editor', // ID
|
2465 |
-
__('Automatically set the image Description', 'wp-seopress'), // Title
|
2466 |
-
[$this, 'seopress_advanced_advanced_image_auto_desc_editor_callback'], // Callback
|
2467 |
-
'seopress-settings-admin-advanced-image', // Page
|
2468 |
-
'seopress_setting_section_advanced_image' // Section
|
2469 |
-
);
|
2470 |
-
|
2471 |
-
//Advanced SECTION=========================================================================
|
2472 |
-
add_settings_section(
|
2473 |
-
'seopress_setting_section_advanced_advanced', // ID
|
2474 |
-
'',
|
2475 |
-
//__("Advanced","wp-seopress"), // Title
|
2476 |
-
[$this, 'print_section_info_advanced_advanced'], // Callback
|
2477 |
-
'seopress-settings-admin-advanced-advanced' // Page
|
2478 |
-
);
|
2479 |
-
|
2480 |
-
add_settings_field(
|
2481 |
-
'seopress_advanced_advanced_tax_desc_editor', // ID
|
2482 |
-
__('Add WP Editor to taxonomy description textarea', 'wp-seopress'), // Title
|
2483 |
-
[$this, 'seopress_advanced_advanced_tax_desc_editor_callback'], // Callback
|
2484 |
-
'seopress-settings-admin-advanced-advanced', // Page
|
2485 |
-
'seopress_setting_section_advanced_advanced' // Section
|
2486 |
-
);
|
2487 |
-
|
2488 |
-
add_settings_field(
|
2489 |
-
'seopress_advanced_advanced_category_url', // ID
|
2490 |
-
__('Remove /category/ in URL', 'wp-seopress'), // Title
|
2491 |
-
[$this, 'seopress_advanced_advanced_category_url_callback'], // Callback
|
2492 |
-
'seopress-settings-admin-advanced-advanced', // Page
|
2493 |
-
'seopress_setting_section_advanced_advanced' // Section
|
2494 |
-
);
|
2495 |
-
|
2496 |
-
add_settings_field(
|
2497 |
-
'seopress_advanced_advanced_trailingslash', // ID
|
2498 |
-
__('Disable trailing slash for metas', 'wp-seopress'), // Title
|
2499 |
-
[$this, 'seopress_advanced_advanced_trailingslash_callback'], // Callback
|
2500 |
-
'seopress-settings-admin-advanced-advanced', // Page
|
2501 |
-
'seopress_setting_section_advanced_advanced' // Section
|
2502 |
-
);
|
2503 |
-
|
2504 |
-
add_settings_field(
|
2505 |
-
'seopress_advanced_advanced_wp_generator', // ID
|
2506 |
-
__('Remove WordPress generator meta tag', 'wp-seopress'), // Title
|
2507 |
-
[$this, 'seopress_advanced_advanced_wp_generator_callback'], // Callback
|
2508 |
-
'seopress-settings-admin-advanced-advanced', // Page
|
2509 |
-
'seopress_setting_section_advanced_advanced' // Section
|
2510 |
-
);
|
2511 |
-
|
2512 |
-
add_settings_field(
|
2513 |
-
'seopress_advanced_advanced_hentry', // ID
|
2514 |
-
__('Remove hentry post class', 'wp-seopress'), // Title
|
2515 |
-
[$this, 'seopress_advanced_advanced_hentry_callback'], // Callback
|
2516 |
-
'seopress-settings-admin-advanced-advanced', // Page
|
2517 |
-
'seopress_setting_section_advanced_advanced' // Section
|
2518 |
-
);
|
2519 |
-
|
2520 |
-
add_settings_field(
|
2521 |
-
'seopress_advanced_advanced_comments_author_url', // ID
|
2522 |
-
__('Remove author URL', 'wp-seopress'), // Title
|
2523 |
-
[$this, 'seopress_advanced_advanced_comments_author_url_callback'], // Callback
|
2524 |
-
'seopress-settings-admin-advanced-advanced', // Page
|
2525 |
-
'seopress_setting_section_advanced_advanced' // Section
|
2526 |
-
);
|
2527 |
-
|
2528 |
-
add_settings_field(
|
2529 |
-
'seopress_advanced_advanced_comments_website', // ID
|
2530 |
-
__('Remove website field in comment form', 'wp-seopress'), // Title
|
2531 |
-
[$this, 'seopress_advanced_advanced_comments_website_callback'], // Callback
|
2532 |
-
'seopress-settings-admin-advanced-advanced', // Page
|
2533 |
-
'seopress_setting_section_advanced_advanced' // Section
|
2534 |
-
);
|
2535 |
-
|
2536 |
-
add_settings_field(
|
2537 |
-
'seopress_advanced_advanced_wp_shortlink', // ID
|
2538 |
-
__('Remove WordPress shortlink meta tag', 'wp-seopress'), // Title
|
2539 |
-
[$this, 'seopress_advanced_advanced_wp_shortlink_callback'], // Callback
|
2540 |
-
'seopress-settings-admin-advanced-advanced', // Page
|
2541 |
-
'seopress_setting_section_advanced_advanced' // Section
|
2542 |
-
);
|
2543 |
-
|
2544 |
-
add_settings_field(
|
2545 |
-
'seopress_advanced_advanced_wp_wlw', // ID
|
2546 |
-
__('Remove Windows Live Writer meta tag', 'wp-seopress'), // Title
|
2547 |
-
[$this, 'seopress_advanced_advanced_wp_wlw_callback'], // Callback
|
2548 |
-
'seopress-settings-admin-advanced-advanced', // Page
|
2549 |
-
'seopress_setting_section_advanced_advanced' // Section
|
2550 |
-
);
|
2551 |
-
|
2552 |
-
add_settings_field(
|
2553 |
-
'seopress_advanced_advanced_wp_rsd', // ID
|
2554 |
-
__('Remove RSD meta tag', 'wp-seopress'), // Title
|
2555 |
-
[$this, 'seopress_advanced_advanced_wp_rsd_callback'], // Callback
|
2556 |
-
'seopress-settings-admin-advanced-advanced', // Page
|
2557 |
-
'seopress_setting_section_advanced_advanced' // Section
|
2558 |
-
);
|
2559 |
-
|
2560 |
-
add_settings_field(
|
2561 |
-
'seopress_advanced_advanced_google', // ID
|
2562 |
-
__('Google site verification', 'wp-seopress'), // Title
|
2563 |
-
[$this, 'seopress_advanced_advanced_google_callback'], // Callback
|
2564 |
-
'seopress-settings-admin-advanced-advanced', // Page
|
2565 |
-
'seopress_setting_section_advanced_advanced' // Section
|
2566 |
-
);
|
2567 |
-
|
2568 |
-
add_settings_field(
|
2569 |
-
'seopress_advanced_advanced_bing', // ID
|
2570 |
-
__('Bing site verification', 'wp-seopress'), // Title
|
2571 |
-
[$this, 'seopress_advanced_advanced_bing_callback'], // Callback
|
2572 |
-
'seopress-settings-admin-advanced-advanced', // Page
|
2573 |
-
'seopress_setting_section_advanced_advanced' // Section
|
2574 |
-
);
|
2575 |
-
|
2576 |
-
add_settings_field(
|
2577 |
-
'seopress_advanced_advanced_pinterest', // ID
|
2578 |
-
__('Pinterest site verification', 'wp-seopress'), // Title
|
2579 |
-
[$this, 'seopress_advanced_advanced_pinterest_callback'], // Callback
|
2580 |
-
'seopress-settings-admin-advanced-advanced', // Page
|
2581 |
-
'seopress_setting_section_advanced_advanced' // Section
|
2582 |
-
);
|
2583 |
-
|
2584 |
-
add_settings_field(
|
2585 |
-
'seopress_advanced_advanced_yandex', // ID
|
2586 |
-
__('Yandex site verification', 'wp-seopress'), // Title
|
2587 |
-
[$this, 'seopress_advanced_advanced_yandex_callback'], // Callback
|
2588 |
-
'seopress-settings-admin-advanced-advanced', // Page
|
2589 |
-
'seopress_setting_section_advanced_advanced' // Section
|
2590 |
-
);
|
2591 |
-
|
2592 |
-
//Appearance SECTION=======================================================================
|
2593 |
-
add_settings_section(
|
2594 |
-
'seopress_setting_section_advanced_appearance', // ID
|
2595 |
-
'',
|
2596 |
-
//__("Appearance","wp-seopress"), // Title
|
2597 |
-
[$this, 'print_section_info_advanced_appearance'], // Callback
|
2598 |
-
'seopress-settings-admin-advanced-appearance' // Page
|
2599 |
-
);
|
2600 |
-
|
2601 |
-
add_settings_field(
|
2602 |
-
'seopress_advanced_appearance_adminbar', // ID
|
2603 |
-
__('SEO in admin bar', 'wp-seopress'), // Title
|
2604 |
-
[$this, 'seopress_advanced_appearance_adminbar_callback'], // Callback
|
2605 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2606 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2607 |
-
);
|
2608 |
-
|
2609 |
-
add_settings_field(
|
2610 |
-
'seopress_advanced_appearance_adminbar_noindex', // ID
|
2611 |
-
__('Noindex in admin bar', 'wp-seopress'), // Title
|
2612 |
-
[$this, 'seopress_advanced_appearance_adminbar_noindex_callback'], // Callback
|
2613 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2614 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2615 |
-
);
|
2616 |
-
|
2617 |
-
add_settings_field(
|
2618 |
-
'seopress_advanced_appearance_metabox_position', // ID
|
2619 |
-
__("Move SEO metabox's position", 'wp-seopress'), // Title
|
2620 |
-
[$this, 'seopress_advanced_appearance_metaboxe_position_callback'], // Callback
|
2621 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2622 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2623 |
-
);
|
2624 |
-
|
2625 |
-
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
2626 |
-
add_settings_field(
|
2627 |
-
'seopress_advanced_appearance_schema_default_tab', // ID
|
2628 |
-
__('Set default tab for Structured data metabox', 'wp-seopress'), // Title
|
2629 |
-
[$this, 'seopress_advanced_appearance_schema_default_tab_callback'], // Callback
|
2630 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2631 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2632 |
-
);
|
2633 |
-
}
|
2634 |
-
|
2635 |
-
add_settings_field(
|
2636 |
-
'seopress_advanced_appearance_notifications', // ID
|
2637 |
-
__('Hide Notifications Center', 'wp-seopress'), // Title
|
2638 |
-
[$this, 'seopress_advanced_appearance_notifications_callback'], // Callback
|
2639 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2640 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2641 |
-
);
|
2642 |
-
|
2643 |
-
add_settings_field(
|
2644 |
-
'seopress_advanced_appearance_seo_tools', // ID
|
2645 |
-
__('Hide SEO tools', 'wp-seopress'), // Title
|
2646 |
-
[$this, 'seopress_advanced_appearance_seo_tools_callback'], // Callback
|
2647 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2648 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2649 |
-
);
|
2650 |
-
|
2651 |
-
add_settings_field(
|
2652 |
-
'seopress_advanced_appearance_useful_links', // ID
|
2653 |
-
__('Hide Useful Links', 'wp-seopress'), // Title
|
2654 |
-
[$this, 'seopress_advanced_appearance_useful_links_callback'], // Callback
|
2655 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2656 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2657 |
-
);
|
2658 |
-
|
2659 |
-
add_settings_field(
|
2660 |
-
'seopress_advanced_appearance_title_col', // ID
|
2661 |
-
__('Show Title tag column in post types', 'wp-seopress'), // Title
|
2662 |
-
[$this, 'seopress_advanced_appearance_title_col_callback'], // Callback
|
2663 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2664 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2665 |
-
);
|
2666 |
-
|
2667 |
-
add_settings_field(
|
2668 |
-
'seopress_advanced_appearance_meta_desc_col', // ID
|
2669 |
-
__('Show Meta description column in post types', 'wp-seopress'), // Title
|
2670 |
-
[$this, 'seopress_advanced_appearance_meta_desc_col_callback'], // Callback
|
2671 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2672 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2673 |
-
);
|
2674 |
-
|
2675 |
-
add_settings_field(
|
2676 |
-
'seopress_advanced_appearance_redirect_enable_col', // ID
|
2677 |
-
__('Show Redirection Enable column in post types', 'wp-seopress'), // Title
|
2678 |
-
[$this, 'seopress_advanced_appearance_redirect_enable_col_callback'], // Callback
|
2679 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2680 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2681 |
-
);
|
2682 |
-
|
2683 |
-
add_settings_field(
|
2684 |
-
'seopress_advanced_appearance_redirect_url_col', // ID
|
2685 |
-
__('Show Redirect URL column in post types', 'wp-seopress'), // Title
|
2686 |
-
[$this, 'seopress_advanced_appearance_redirect_url_col_callback'], // Callback
|
2687 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2688 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2689 |
-
);
|
2690 |
-
|
2691 |
-
add_settings_field(
|
2692 |
-
'seopress_advanced_appearance_canonical', // ID
|
2693 |
-
__('Show canonical URL column in post types', 'wp-seopress'), // Title
|
2694 |
-
[$this, 'seopress_advanced_appearance_canonical_callback'], // Callback
|
2695 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2696 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2697 |
-
);
|
2698 |
-
|
2699 |
-
add_settings_field(
|
2700 |
-
'seopress_advanced_appearance_target_kw_col', // ID
|
2701 |
-
__('Show Target Keyword column in post types', 'wp-seopress'), // Title
|
2702 |
-
[$this, 'seopress_advanced_appearance_target_kw_col_callback'], // Callback
|
2703 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2704 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2705 |
-
);
|
2706 |
-
|
2707 |
-
add_settings_field(
|
2708 |
-
'seopress_advanced_appearance_noindex_col', // ID
|
2709 |
-
__('Show noindex column in post types', 'wp-seopress'), // Title
|
2710 |
-
[$this, 'seopress_advanced_appearance_noindex_col_callback'], // Callback
|
2711 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2712 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2713 |
-
);
|
2714 |
-
|
2715 |
-
add_settings_field(
|
2716 |
-
'seopress_advanced_appearance_nofollow_col', // ID
|
2717 |
-
__('Show nofollow column in post types', 'wp-seopress'), // Title
|
2718 |
-
[$this, 'seopress_advanced_appearance_nofollow_col_callback'], // Callback
|
2719 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2720 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2721 |
-
);
|
2722 |
-
|
2723 |
-
add_settings_field(
|
2724 |
-
'seopress_advanced_appearance_words_col', // ID
|
2725 |
-
__('Show total number of words column in post types', 'wp-seopress'), // Title
|
2726 |
-
[$this, 'seopress_advanced_appearance_words_col_callback'], // Callback
|
2727 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2728 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2729 |
-
);
|
2730 |
-
|
2731 |
-
add_settings_field(
|
2732 |
-
'seopress_advanced_appearance_w3c_col', // ID
|
2733 |
-
__('Show W3C validator column in post types', 'wp-seopress'), // Title
|
2734 |
-
[$this, 'seopress_advanced_appearance_w3c_col_callback'], // Callback
|
2735 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2736 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2737 |
-
);
|
2738 |
-
if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
|
2739 |
-
add_settings_field(
|
2740 |
-
'seopress_advanced_appearance_ps_col', // ID
|
2741 |
-
__('Show Google Page Speed column in post types', 'wp-seopress'), // Title
|
2742 |
-
[$this, 'seopress_advanced_appearance_ps_col_callback'], // Callback
|
2743 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2744 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2745 |
-
);
|
2746 |
-
}
|
2747 |
-
|
2748 |
-
if (is_plugin_active('wp-seopress-insights/seopress-insights.php')) {
|
2749 |
-
add_settings_field(
|
2750 |
-
'seopress_advanced_appearance_insights_col', // ID
|
2751 |
-
__('Show Insights column in post types', 'wp-seopress'), // Title
|
2752 |
-
[$this, 'seopress_advanced_appearance_insights_col_callback'], // Callback
|
2753 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2754 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2755 |
-
);
|
2756 |
-
}
|
2757 |
-
|
2758 |
-
add_settings_field(
|
2759 |
-
'seopress_advanced_appearance_score_col', // ID
|
2760 |
-
__('Show content analysis score column in post types', 'wp-seopress'), // Title
|
2761 |
-
[$this, 'seopress_advanced_appearance_score_col_callback'], // Callback
|
2762 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2763 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2764 |
-
);
|
2765 |
-
|
2766 |
-
add_settings_field(
|
2767 |
-
'seopress_advanced_appearance_ca_metaboxe', // ID
|
2768 |
-
__('Remove Content Analysis Metabox', 'wp-seopress'), // Title
|
2769 |
-
[$this, 'seopress_advanced_appearance_ca_metaboxe_callback'], // Callback
|
2770 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2771 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2772 |
-
);
|
2773 |
-
|
2774 |
-
add_settings_field(
|
2775 |
-
'seopress_advanced_appearance_genesis_seo_metaboxe', // ID
|
2776 |
-
__('Hide Genesis SEO Metabox', 'wp-seopress'), // Title
|
2777 |
-
[$this, 'seopress_advanced_appearance_genesis_seo_metaboxe_callback'], // Callback
|
2778 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2779 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2780 |
-
);
|
2781 |
-
|
2782 |
-
add_settings_field(
|
2783 |
-
'seopress_advanced_appearance_genesis_seo_menu', // ID
|
2784 |
-
__('Hide Genesis SEO Settings link', 'wp-seopress'), // Title
|
2785 |
-
[$this, 'seopress_advanced_appearance_genesis_seo_menu_callback'], // Callback
|
2786 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2787 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2788 |
-
);
|
2789 |
-
|
2790 |
-
add_settings_field(
|
2791 |
-
'seopress_advanced_appearance_advice_schema', // ID
|
2792 |
-
__('Hide advice in Structured Data Types metabox', 'wp-seopress'), // Title
|
2793 |
-
[$this, 'seopress_advanced_appearance_advice_schema_callback'], // Callback
|
2794 |
-
'seopress-settings-admin-advanced-appearance', // Page
|
2795 |
-
'seopress_setting_section_advanced_appearance' // Section
|
2796 |
-
);
|
2797 |
-
|
2798 |
-
//Security SECTION=======================================================================
|
2799 |
-
add_settings_section(
|
2800 |
-
'seopress_setting_section_advanced_security', // ID
|
2801 |
-
'',
|
2802 |
-
//__("Security","wp-seopress"), // Title
|
2803 |
-
[$this, 'print_section_info_advanced_security'], // Callback
|
2804 |
-
'seopress-settings-admin-advanced-security' // Page
|
2805 |
-
);
|
2806 |
-
|
2807 |
-
add_settings_field(
|
2808 |
-
'seopress_advanced_security_metaboxe_role', // ID
|
2809 |
-
__('Block SEO metabox to user roles', 'wp-seopress'), // Title
|
2810 |
-
[$this, 'seopress_advanced_security_metaboxe_role_callback'], // Callback
|
2811 |
-
'seopress-settings-admin-advanced-security', // Page
|
2812 |
-
'seopress_setting_section_advanced_security' // Section
|
2813 |
-
);
|
2814 |
-
|
2815 |
-
add_settings_field(
|
2816 |
-
'seopress_advanced_security_metaboxe_ca_role', // ID
|
2817 |
-
__('Block Content analysis metabox to user roles', 'wp-seopress'), // Title
|
2818 |
-
[$this, 'seopress_advanced_security_metaboxe_ca_role_callback'], // Callback
|
2819 |
-
'seopress-settings-admin-advanced-security', // Page
|
2820 |
-
'seopress_setting_section_advanced_security' // Section
|
2821 |
-
);
|
2822 |
-
|
2823 |
-
seopress_get_service('SectionPagesSEOPress')->printSectionPages();
|
2824 |
-
|
2825 |
-
//Tools SECTION=======================================================================
|
2826 |
-
add_settings_section(
|
2827 |
-
'seopress_setting_section_tools_compatibility', // ID
|
2828 |
-
'',
|
2829 |
-
//__("Compatibility Center","wp-seopress"), // Title
|
2830 |
-
[$this, 'print_section_info_tools_compatibility'], // Callback
|
2831 |
-
'seopress-settings-admin-tools-compatibility' // Page
|
2832 |
-
);
|
2833 |
-
|
2834 |
-
add_settings_field(
|
2835 |
-
'seopress_setting_section_tools_compatibility_oxygen', // ID
|
2836 |
-
__('Oxygen Builder compatibility', 'wp-seopress'), // Title
|
2837 |
-
[$this, 'seopress_setting_section_tools_compatibility_oxygen_callback'], // Callback
|
2838 |
-
'seopress-settings-admin-tools-compatibility', // Page
|
2839 |
-
'seopress_setting_section_tools_compatibility' // Section
|
2840 |
-
);
|
2841 |
-
|
2842 |
-
add_settings_field(
|
2843 |
-
'seopress_setting_section_tools_compatibility_divi', // ID
|
2844 |
-
__('Divi Builder compatibility', 'wp-seopress'), // Title
|
2845 |
-
[$this, 'seopress_setting_section_tools_compatibility_divi_callback'], // Callback
|
2846 |
-
'seopress-settings-admin-tools-compatibility', // Page
|
2847 |
-
'seopress_setting_section_tools_compatibility' // Section
|
2848 |
-
);
|
2849 |
-
|
2850 |
-
add_settings_field(
|
2851 |
-
'seopress_setting_section_tools_compatibility_bakery', // ID
|
2852 |
-
__('WP Bakery Builder compatibility', 'wp-seopress'), // Title
|
2853 |
-
[$this, 'seopress_setting_section_tools_compatibility_bakery_callback'], // Callback
|
2854 |
-
'seopress-settings-admin-tools-compatibility', // Page
|
2855 |
-
'seopress_setting_section_tools_compatibility' // Section
|
2856 |
-
);
|
2857 |
-
|
2858 |
-
add_settings_field(
|
2859 |
-
'seopress_setting_section_tools_compatibility_avia', // ID
|
2860 |
-
__('Avia Layout Builder compatibility', 'wp-seopress'), // Title
|
2861 |
-
[$this, 'seopress_setting_section_tools_compatibility_avia_callback'], // Callback
|
2862 |
-
'seopress-settings-admin-tools-compatibility', // Page
|
2863 |
-
'seopress_setting_section_tools_compatibility' // Section
|
2864 |
-
);
|
2865 |
-
|
2866 |
-
add_settings_field(
|
2867 |
-
'seopress_setting_section_tools_compatibility_fusion', // ID
|
2868 |
-
__('Fusion Builder compatibility', 'wp-seopress'), // Title
|
2869 |
-
[$this, 'seopress_setting_section_tools_compatibility_fusion_callback'], // Callback
|
2870 |
-
'seopress-settings-admin-tools-compatibility', // Page
|
2871 |
-
'seopress_setting_section_tools_compatibility' // Section
|
2872 |
-
);
|
2873 |
-
}
|
2874 |
-
|
2875 |
-
/**
|
2876 |
-
* Sanitize each setting field as needed.
|
2877 |
-
*
|
2878 |
-
* @param array $input Contains all settings fields as array keys
|
2879 |
-
*/
|
2880 |
-
public function sanitize($input) {
|
2881 |
-
$seopress_sanitize_fields = [
|
2882 |
-
'seopress_titles_home_site_title',
|
2883 |
-
'seopress_titles_home_site_desc',
|
2884 |
-
'seopress_titles_archives_author_title',
|
2885 |
-
'seopress_titles_archives_author_desc',
|
2886 |
-
'seopress_titles_archives_date_title',
|
2887 |
-
'seopress_titles_archives_date_desc',
|
2888 |
-
'seopress_titles_archives_search_title',
|
2889 |
-
'seopress_titles_archives_search_desc',
|
2890 |
-
'seopress_titles_archives_404_title',
|
2891 |
-
'seopress_titles_archives_404_desc',
|
2892 |
-
'seopress_xml_sitemap_html_exclude',
|
2893 |
-
'seopress_social_knowledge_name',
|
2894 |
-
'seopress_social_knowledge_img',
|
2895 |
-
'seopress_social_knowledge_phone',
|
2896 |
-
'seopress_social_accounts_facebook',
|
2897 |
-
'seopress_social_accounts_twitter',
|
2898 |
-
'seopress_social_accounts_pinterest',
|
2899 |
-
'seopress_social_accounts_instagram',
|
2900 |
-
'seopress_social_accounts_youtube',
|
2901 |
-
'seopress_social_accounts_linkedin',
|
2902 |
-
'seopress_social_facebook_link_ownership_id',
|
2903 |
-
'seopress_social_facebook_admin_id',
|
2904 |
-
'seopress_social_facebook_app_id',
|
2905 |
-
'seopress_google_analytics_ua',
|
2906 |
-
'seopress_google_analytics_ga4',
|
2907 |
-
'seopress_google_analytics_download_tracking',
|
2908 |
-
'seopress_google_analytics_opt_out_msg',
|
2909 |
-
'seopress_google_analytics_opt_out_msg_ok',
|
2910 |
-
'seopress_google_analytics_opt_out_msg_close',
|
2911 |
-
'seopress_google_analytics_opt_out_msg_edit',
|
2912 |
-
'seopress_google_analytics_other_tracking',
|
2913 |
-
'seopress_google_analytics_other_tracking_body',
|
2914 |
-
'seopress_google_analytics_optimize',
|
2915 |
-
'seopress_google_analytics_ads',
|
2916 |
-
'seopress_google_analytics_cross_domain',
|
2917 |
-
'seopress_google_analytics_matomo_id',
|
2918 |
-
'seopress_google_analytics_matomo_site_id',
|
2919 |
-
'seopress_google_analytics_matomo_cross_domain_sites',
|
2920 |
-
'seopress_google_analytics_cb_backdrop_bg',
|
2921 |
-
'seopress_google_analytics_cb_exp_date',
|
2922 |
-
'seopress_google_analytics_cb_bg',
|
2923 |
-
'seopress_google_analytics_cb_txt_col',
|
2924 |
-
'seopress_google_analytics_cb_lk_col',
|
2925 |
-
'seopress_google_analytics_cb_btn_bg',
|
2926 |
-
'seopress_google_analytics_cb_btn_col',
|
2927 |
-
'seopress_google_analytics_cb_btn_bg_hov',
|
2928 |
-
'seopress_google_analytics_cb_btn_col_hov',
|
2929 |
-
'seopress_google_analytics_cb_btn_sec_bg',
|
2930 |
-
'seopress_google_analytics_cb_btn_sec_col',
|
2931 |
-
'seopress_google_analytics_cb_btn_sec_bg_hov',
|
2932 |
-
'seopress_google_analytics_cb_btn_sec_col_hov',
|
2933 |
-
'seopress_google_analytics_cb_width',
|
2934 |
-
];
|
2935 |
-
|
2936 |
-
$seopress_esc_attr = [
|
2937 |
-
'seopress_titles_sep',
|
2938 |
-
];
|
2939 |
-
|
2940 |
-
$seopress_sanitize_site_verification = [
|
2941 |
-
'seopress_advanced_advanced_google',
|
2942 |
-
'seopress_advanced_advanced_bing',
|
2943 |
-
'seopress_advanced_advanced_pinterest',
|
2944 |
-
'seopress_advanced_advanced_yandex',
|
2945 |
-
];
|
2946 |
-
|
2947 |
-
foreach ($seopress_sanitize_fields as $value) {
|
2948 |
-
if ( ! empty($input['seopress_google_analytics_opt_out_msg']) && 'seopress_google_analytics_opt_out_msg' == $value) {
|
2949 |
-
$args = [
|
2950 |
-
'strong' => [],
|
2951 |
-
'em' => [],
|
2952 |
-
'br' => [],
|
2953 |
-
'a' => [
|
2954 |
-
'href' => [],
|
2955 |
-
'target' => [],
|
2956 |
-
],
|
2957 |
-
];
|
2958 |
-
$input[$value] = wp_kses($input[$value], $args);
|
2959 |
-
} elseif (( ! empty($input['seopress_google_analytics_other_tracking']) && 'seopress_google_analytics_other_tracking' == $value) || ( ! empty($input['seopress_google_analytics_other_tracking_body']) && 'seopress_google_analytics_other_tracking_body' == $value) || ( ! empty($input['seopress_google_analytics_other_tracking_footer']) && 'seopress_google_analytics_other_tracking_footer' == $value)) {
|
2960 |
-
$input[$value] = $input[$value]; //No sanitization for this field
|
2961 |
-
} elseif ( ! empty($input[$value])) {
|
2962 |
-
$input[$value] = sanitize_text_field($input[$value]);
|
2963 |
-
}
|
2964 |
-
}
|
2965 |
-
|
2966 |
-
foreach ($seopress_esc_attr as $value) {
|
2967 |
-
if ( ! empty($input[$value])) {
|
2968 |
-
$input[$value] = esc_attr($input[$value]);
|
2969 |
-
}
|
2970 |
-
}
|
2971 |
-
|
2972 |
-
foreach ($seopress_sanitize_site_verification as $value) {
|
2973 |
-
if ( ! empty($input[$value])) {
|
2974 |
-
if (preg_match('#content=\'([^"]+)\'#', $input[$value], $m)) {
|
2975 |
-
$input[$value] = esc_attr($m[1]);
|
2976 |
-
} elseif (preg_match('#content="([^"]+)"#', $input[$value], $m)) {
|
2977 |
-
$input[$value] = esc_attr($m[1]);
|
2978 |
-
} else {
|
2979 |
-
$input[$value] = esc_attr($input[$value]);
|
2980 |
-
}
|
2981 |
-
}
|
2982 |
-
}
|
2983 |
-
|
2984 |
-
return $input;
|
2985 |
-
}
|
2986 |
-
|
2987 |
-
/**
|
2988 |
-
* Print the Section text.
|
2989 |
-
*/
|
2990 |
-
public function print_section_info_titles() {
|
2991 |
-
echo __('<p>Customize your title & meta description for homepage</p>', 'wp-seopress');
|
2992 |
-
|
2993 |
-
echo "<script>function sp_get_field_length(e) {
|
2994 |
-
if (e.val().length > 0) {
|
2995 |
-
meta = e.val() + ' ';
|
2996 |
-
} else {
|
2997 |
-
meta = e.val();
|
2998 |
-
}
|
2999 |
-
return meta;
|
3000 |
-
}</script>";
|
3001 |
-
}
|
3002 |
-
|
3003 |
-
public function print_section_info_single() {
|
3004 |
-
echo __('<p>Customize your titles & metas for Single Custom Post Types</p>', 'wp-seopress');
|
3005 |
-
}
|
3006 |
-
|
3007 |
-
public function print_section_info_advanced() {
|
3008 |
-
echo __('<p>Customize your metas for all pages</p>', 'wp-seopress');
|
3009 |
-
}
|
3010 |
-
|
3011 |
-
public function print_section_info_tax() {
|
3012 |
-
echo __('<p>Customize your metas for all taxonomies archives</p>', 'wp-seopress');
|
3013 |
-
}
|
3014 |
-
|
3015 |
-
public function print_section_info_archives() {
|
3016 |
-
echo __('<p>Customize your metas for all archives</p>', 'wp-seopress');
|
3017 |
-
}
|
3018 |
-
|
3019 |
-
public function print_section_info_xml_sitemap_general() {
|
3020 |
-
if ('' == get_option('permalink_structure')) {
|
3021 |
-
echo '<div class="error notice is-dismissable">';
|
3022 |
-
echo '<p>' . __('Your permalinks are not SEO Friendly! Enable pretty permalinks to fix this.', 'wp-seopress');
|
3023 |
-
echo ' <a href="' . admin_url('options-permalink.php') . '">' . __('Change this settings', 'wp-seopress') . '</a></p>';
|
3024 |
-
echo '</div>';
|
3025 |
-
}
|
3026 |
-
echo '<p>' . __('To view your sitemap, enable permalinks (not default one), and save settings to flush them.', 'wp-seopress') . '</p>';
|
3027 |
-
|
3028 |
-
if (isset($_SERVER['SERVER_SOFTWARE'])) {
|
3029 |
-
$server_software = explode('/', $_SERVER['SERVER_SOFTWARE']);
|
3030 |
-
reset($server_software);
|
3031 |
-
if ('nginx' == current($server_software)) { //IF NGINX
|
3032 |
-
echo '<p>' . __('Your server uses NGINX. If XML Sitemaps doesn\'t work properly, you need to add this rule to your configuration:', 'wp-seopress') . '</p><br>';
|
3033 |
-
echo '<pre style="margin:0;padding:10px;font-weight: bold;background:#F3F3F3;display:inline-block;width: 100%">
|
3034 |
-
location ~ ([^/]*)sitemap(.*)\.x(m|s)l$ {
|
3035 |
-
## SEOPress
|
3036 |
-
rewrite ^.*/sitemaps\.xml$ /index.php?seopress_sitemap=1 last;
|
3037 |
-
rewrite ^.*/sitemaps/news.xml$ /index.php?seopress_news=$1 last;
|
3038 |
-
rewrite ^.*/sitemaps/video.xml$ /index.php?seopress_video=$1 last;
|
3039 |
-
rewrite ^.*/sitemaps/author.xml$ /index.php?seopress_author=$1 last;
|
3040 |
-
rewrite ^.*/sitemaps_xsl\.xsl$ /index.php?seopress_sitemap_xsl=1 last;
|
3041 |
-
rewrite ^.*/sitemaps/([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?seopress_cpt=$1&seopress_paged=$2 last;
|
3042 |
-
}
|
3043 |
-
</pre>';
|
3044 |
-
}
|
3045 |
-
}
|
3046 |
-
echo '<p>' . __('Noindex content will not be displayed in Sitemaps.', 'wp-seopress') . '</p>';
|
3047 |
-
echo '<p>' . __('If you disable globally this feature (using the blue toggle from above), the native WordPress XML sitemaps will be re-activated.', 'wp-seopress') . '</p>';
|
3048 |
-
|
3049 |
-
if (function_exists('seopress_get_locale') && 'fr' == seopress_get_locale()) {
|
3050 |
-
$seopress_docs_link['sitemaps']['error']['blank'] = 'https://www.seopress.org/fr/support/guides/xml-sitemap-page-blanche/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
|
3051 |
-
$seopress_docs_link['sitemaps']['error']['404'] = 'https://www.seopress.org/fr/support/guides/plan-de-site-xml-retourne-erreur-404/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
|
3052 |
-
$seopress_docs_link['sitemaps']['error']['html'] = 'https://www.seopress.org/fr/support/guides/exclure-fichiers-xml-xsl-extensions-cache/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
|
3053 |
-
} else {
|
3054 |
-
$seopress_docs_link['sitemaps']['error']['blank'] = 'https://www.seopress.org/support/guides/xml-sitemap-blank-page/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
|
3055 |
-
$seopress_docs_link['sitemaps']['error']['404'] = 'https://www.seopress.org/support/guides/xml-sitemap-returns-404-error/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
|
3056 |
-
$seopress_docs_link['sitemaps']['error']['html'] = 'https://www.seopress.org/support/guides/how-to-exclude-xml-and-xsl-files-from-caching-plugins/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
|
3057 |
-
}
|
3058 |
-
|
3059 |
-
echo '<p class="seopress-help"><span class="dashicons dashicons-external"></span><a href="' . $seopress_docs_link['sitemaps']['error']['blank'] . '" target="_blank">' . __('Blank sitemap?', 'wp-seopress') . '</a> - ';
|
3060 |
-
echo '<span class="dashicons dashicons-external"></span><a href="' . $seopress_docs_link['sitemaps']['error']['404'] . '" target="_blank">' . __('404 error?', 'wp-seopress') . '</a> - ';
|
3061 |
-
echo '<span class="dashicons dashicons-external"></span><a href="' . $seopress_docs_link['sitemaps']['error']['html'] . '" target="_blank">' . __('HTML error? Exclude XML and XSL from caching plugins!', 'wp-seopress') . '</a></p><br>';
|
3062 |
-
|
3063 |
-
echo '<a href="' . get_option('home') . '/sitemaps.xml" target="_blank" class="button"><span class="dashicons dashicons-visibility"></span>' . __('View your sitemap', 'wp-seopress') . '</a>';
|
3064 |
-
echo ' ';
|
3065 |
-
echo '<a href="https://www.google.com/ping?sitemap=' . get_option('home') . '/sitemaps.xml/" target="_blank" class="button"><span class="dashicons dashicons-share-alt2"></span>' . __('Ping Google manually', 'wp-seopress') . '</a>';
|
3066 |
-
echo ' ';
|
3067 |
-
echo '<button type="button" id="seopress-flush-permalinks" class="button"><span class="dashicons dashicons-admin-links"></span>' . __('Flush permalinks', 'wp-seopress') . '</button>';
|
3068 |
-
echo '<span class="spinner"></span>';
|
3069 |
-
}
|
3070 |
-
|
3071 |
-
public function print_section_info_html_sitemap() {
|
3072 |
-
echo __('<p>Create an HTML Sitemap for your visitors and boost your SEO.</p>', 'wp-seopress');
|
3073 |
-
echo __('<p>Limited to 1,000 posts per post type. You can change the order and sorting criteria below.</p>', 'wp-seopress');
|
3074 |
-
|
3075 |
-
if (function_exists('seopress_get_locale') && 'fr' == seopress_get_locale()) {
|
3076 |
-
$seopress_docs_link['sitemaps']['html'] = 'https://www.seopress.org/fr/support/guides/activer-plan-de-site-html/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
|
3077 |
-
} else {
|
3078 |
-
$seopress_docs_link['sitemaps']['html'] = 'https://www.seopress.org/support/guides/enable-html-sitemap/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
|
3079 |
-
}
|
3080 |
-
|
3081 |
-
echo '<a class="seopress-doc" href="' . $seopress_docs_link['sitemaps']['html'] . '" target="_blank"><span class="dashicons dashicons-editor-help"></span><span class="screen-reader-text">' . __('Guide to enable a HTML Sitemap - new window', 'wp-seopress') . '</span></a></p>';
|
3082 |
-
}
|
3083 |
-
|
3084 |
-
public function print_section_info_xml_sitemap_post_types() {
|
3085 |
-
echo __('<p>Include/Exclude Post Types.</p>', 'wp-seopress');
|
3086 |
-
}
|
3087 |
-
|
3088 |
-
public function print_section_info_xml_sitemap_taxonomies() {
|
3089 |
-
echo __('<p>Include/Exclude Taxonomies.</p>', 'wp-seopress');
|
3090 |
-
}
|
3091 |
-
|
3092 |
-
public function print_section_info_social_knowledge() {
|
3093 |
-
echo __('<p>Configure Google Knowledge Graph.</p>', 'wp-seopress');
|
3094 |
-
echo '<p class="seopress-help"><span class="dashicons dashicons-external"></span><a href="https://developers.google.com/search/docs/guides/enhance-site" target="_blank">' . __('Learn more on Google official website.', 'wp-seopress') . '</a></p>';
|
3095 |
-
}
|
3096 |
-
|
3097 |
-
public function print_section_info_social_accounts() {
|
3098 |
-
echo __('<p>Link your site with your social accounts. Use markup on your website to add your social profile information to a Google Knowledge panel. Knowledge panels prominently display your social profile information in some Google Search results. Filling in these fields does not guarantee the display of this data in search results. It may take a long time to see these social-network links.</p>', 'wp-seopress');
|
3099 |
-
}
|
3100 |
-
|
3101 |
-
public function print_section_info_social_facebook() {
|
3102 |
-
echo __('<p>Manage Open Graph data.</p>', 'wp-seopress');
|
3103 |
-
|
3104 |
-
echo __('<p>We generate the <strong>og:image</strong> meta in this order:</p>', 'wp-seopress');
|
3105 |
-
|
3106 |
-
echo '
|
3107 |
-
<ol>
|
3108 |
-
<li>' . __('Custom OG Image from SEO metabox', 'wp-seopress') . '</li>
|
3109 |
-
<li>' . __('Post thumbnail / Product category thumbnail', 'wp-seopress') . '</li>
|
3110 |
-
<li>' . __('First image of your post content', 'wp-seopress') . '</li>
|
3111 |
-
<li>' . __('Global OG Image set in SEO > Social > Open Graph', 'wp-seopress') . '</li>
|
3112 |
-
</ol>';
|
3113 |
-
}
|
3114 |
-
|
3115 |
-
public function print_section_info_social_twitter() {
|
3116 |
-
echo __('<p>Manage your Twitter card.</p>', 'wp-seopress');
|
3117 |
-
|
3118 |
-
echo __('<p>We generate the <strong>twitter:image</strong> meta in this order:</p>', 'wp-seopress');
|
3119 |
-
|
3120 |
-
echo '
|
3121 |
-
<ol>
|
3122 |
-
<li>' . __('Custom Twitter image from SEO metabox', 'wp-seopress') . '</li>
|
3123 |
-
<li>' . __('Post thumbnail / Product category thumbnail', 'wp-seopress') . '</li>
|
3124 |
-
<li>' . __('First image of your post content', 'wp-seopress') . '</li>
|
3125 |
-
<li>' . __('Global Twitter:image set in SEO > Social > Twitter Card', 'wp-seopress') . '</li>
|
3126 |
-
</ol>';
|
3127 |
-
}
|
3128 |
-
|
3129 |
-
public function print_section_info_google_analytics_enable() {
|
3130 |
-
echo __('<p>Link your Google Analytics to your website. The tracking code will be automatically added to your site.</p>', 'wp-seopress');
|
3131 |
-
}
|
3132 |
-
|
3133 |
-
public function print_section_info_google_analytics_gdpr() {
|
3134 |
-
echo __('<p>Manage user consent for GDPR and customize your cookie bar easily.</p>', 'wp-seopress');
|
3135 |
-
echo '<p>' . __('Works with <strong>Google Analytics</strong> and <strong>Matomo</strong>.', 'wp-seopress') . '</p>';
|
3136 |
-
}
|
3137 |
-
|
3138 |
-
public function print_section_info_google_analytics_features() {
|
3139 |
-
echo __('<p>Configure your Google Analytics tracking code.</p>', 'wp-seopress');
|
3140 |
-
}
|
3141 |
-
|
3142 |
-
public function print_section_info_google_analytics_events() {
|
3143 |
-
echo __('<p>Track events in Google Analytics.</p>', 'wp-seopress');
|
3144 |
-
}
|
3145 |
-
|
3146 |
-
public function print_section_info_google_analytics_custom_dimensions() {
|
3147 |
-
echo __('<p>Configure your Google Analytics custom dimensions. <br>Custom dimensions and custom metrics are like the default dimensions and metrics in your Analytics account, except you create them yourself.<br> Use them to collect and analyze data that Analytics doesn\'t automatically track.<br> Please note that you also have to setup your custom dimensions in your Google Analytics account. More info by clicking on the help icon.', 'wp-seopress');
|
3148 |
-
|
3149 |
-
echo '<p>' . __('Custom dimensions also work with <strong>Matomo</strong> tracking code.', 'wp-seopress') . '</p>';
|
3150 |
-
|
3151 |
-
if (function_exists('seopress_get_locale') && 'fr' == seopress_get_locale()) {
|
3152 |
-
$seopress_docs_link['support']['analytics']['custom_dimensions'] = 'https://www.seopress.org/fr/support/guides/creer-dimensions-personnalisees-google-analytics/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
|
3153 |
-
} else {
|
3154 |
-
$seopress_docs_link['support']['analytics']['custom_dimensions'] = 'https://www.seopress.org/support/guides/create-custom-dimension-google-analytics/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
|
3155 |
-
}
|
3156 |
-
|
3157 |
-
echo '<a class="seopress-doc" href="' . $seopress_docs_link['support']['analytics']['custom_dimensions'] . '" target="_blank"><span class="dashicons dashicons-editor-help"></span><span class="screen-reader-text">' . __('Guide to create custom dimensions in Google Analytics - new window', 'wp-seopress') . '</span></a></p>';
|
3158 |
-
}
|
3159 |
-
|
3160 |
-
public function print_section_info_google_analytics_matomo() {
|
3161 |
-
echo '<p>' . __('Use Matomo to track your users with privacy in mind.', 'wp-seopress') . '</p>';
|
3162 |
-
|
3163 |
-
echo '<p>' . __('Your <strong>Custom Dimensions</strong> will also work with Matomo tracking code.', 'wp-seopress') . '</p>';
|
3164 |
-
}
|
3165 |
-
|
3166 |
-
public function print_section_info_advanced_image() {
|
3167 |
-
echo '<p>' . __('Image SEO options.', 'wp-seopress') . '</p>';
|
3168 |
-
}
|
3169 |
-
|
3170 |
-
public function print_section_info_advanced_advanced() {
|
3171 |
-
echo '<p>' . __('Advanced SEO options.', 'wp-seopress') . '</p>';
|
3172 |
-
}
|
3173 |
-
|
3174 |
-
public function print_section_info_advanced_appearance() {
|
3175 |
-
echo '<p>' . __('Customize the plugin to fit your needs.', 'wp-seopress') . '</p>';
|
3176 |
-
}
|
3177 |
-
|
3178 |
-
public function print_section_info_advanced_security() {
|
3179 |
-
echo '<p>' . __('Manage security for user roles.', 'wp-seopress') . '</p>';
|
3180 |
-
}
|
3181 |
-
|
3182 |
-
public function print_section_info_tools_compatibility() {
|
3183 |
-
echo '<p>' . __('Our <strong>Compatibility Center</strong> makes it easy to integrate SEOPress with your favorite tools.', 'wp-seopress') . '</p>';
|
3184 |
-
echo '<p>' . __('SEOPress works out of the box with the page builders listed below. Checking these options is only necessary for generating automatic meta description based on your post content.', 'wp-seopress') . '</p>';
|
3185 |
-
echo '<p class="seopress-notice" style="color:red">' . __('<strong>Warning</strong>: Running shortcodes to automatically generate meta description can have side effects / slow down your site.', 'wp-seopress') . '</p>';
|
3186 |
-
|
3187 |
-
if (function_exists('seopress_get_locale') && 'fr' == seopress_get_locale()) {
|
3188 |
-
$seopress_docs_link['support']['compatibility']['automatic'] = 'https://www.seopress.org/fr/support/guides/generez-automatiquement-meta-descriptions-divi-oxygen-builder/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
|
3189 |
-
} else {
|
3190 |
-
$seopress_docs_link['support']['compatibility']['automatic'] = 'https://www.seopress.org/support/guides/generate-automatic-meta-description-from-page-builders/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
|
3191 |
-
}
|
3192 |
-
|
3193 |
-
echo '<a class="seopress-doc" href="' . $seopress_docs_link['support']['compatibility']['automatic'] . '" target="_blank"><span class="dashicons dashicons-info" title="' . __('Learn more about automatic meta descriptions', 'wp-seopress-pro') . '"></span></a></p>';
|
3194 |
-
}
|
3195 |
-
|
3196 |
-
/**
|
3197 |
-
* Get the settings option array and print one of its values.
|
3198 |
-
*/
|
3199 |
-
|
3200 |
-
//Titles & metas
|
3201 |
-
public function seopress_titles_sep_callback() {
|
3202 |
-
$check = isset($this->options['seopress_titles_sep']) ? $this->options['seopress_titles_sep'] : null;
|
3203 |
-
|
3204 |
-
printf(
|
3205 |
-
'<input type="text" id="seopress_titles_sep" name="seopress_titles_option_name[seopress_titles_sep]" placeholder="' . esc_html__('Enter your separator, eg: "-"', 'wp-seopress') . '" aria-label="' . __('Separator', 'wp-seopress') . '" value="%s"/>',
|
3206 |
-
esc_html($check)
|
3207 |
-
);
|
3208 |
-
|
3209 |
-
echo '<p class="description">' . __('Use this separator with %%sep%% in your title and meta description.', 'wp-seopress') . '</p>';
|
3210 |
-
}
|
3211 |
-
|
3212 |
-
public function seopress_titles_home_site_title_callback() {
|
3213 |
-
printf(
|
3214 |
-
'<input type="text" id="seopress_titles_home_site_title" name="seopress_titles_option_name[seopress_titles_home_site_title]" placeholder="' . esc_html__('My awesome website', 'wp-seopress') . '" aria-label="' . __('Site title', 'wp-seopress') . '" value="%s"/>',
|
3215 |
-
esc_html($this->options['seopress_titles_home_site_title'])
|
3216 |
-
);
|
3217 |
-
echo '<div class="wrap-tags"><span id="seopress-tag-site-title" data-tag="%%sitetitle%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Site Title', 'wp-seopress') . '</span>';
|
3218 |
-
echo '<span id="seopress-tag-site-sep" data-tag="%%sep%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Separator', 'wp-seopress') . '</span>';
|
3219 |
-
echo '<span id="seopress-tag-site-desc" data-tag="%%tagline%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Tagline', 'wp-seopress') . '</span>';
|
3220 |
-
|
3221 |
-
echo seopress_render_dyn_variables('tag-title');
|
3222 |
-
}
|
3223 |
-
|
3224 |
-
public function seopress_titles_home_site_desc_callback() {
|
3225 |
-
printf(
|
3226 |
-
'<textarea id="seopress_titles_home_site_desc" name="seopress_titles_option_name[seopress_titles_home_site_desc]" placeholder="' . esc_html__('This is a cool website about Wookiees', 'wp-seopress') . '" aria-label="' . __('Meta description', 'wp-seopress') . '">%s</textarea>',
|
3227 |
-
esc_html($this->options['seopress_titles_home_site_desc'])
|
3228 |
-
);
|
3229 |
-
echo '<div class="wrap-tags"><span id="seopress-tag-meta-desc" data-tag="%%tagline%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Tagline', 'wp-seopress') . '</span>';
|
3230 |
-
|
3231 |
-
echo seopress_render_dyn_variables('tag-description');
|
3232 |
-
|
3233 |
-
if (get_option('page_for_posts')) {
|
3234 |
-
echo '<p><a href="' . admin_url('post.php?post=' . get_option('page_for_posts') . '&action=edit') . '">' . __('Looking to edit your blog page?', 'wp-seopress') . '</a></p>';
|
3235 |
-
}
|
3236 |
-
}
|
3237 |
-
|
3238 |
-
//Single CPT
|
3239 |
-
public function seopress_titles_single_titles_callback() {
|
3240 |
-
foreach (seopress_get_post_types() as $seopress_cpt_key => $seopress_cpt_value) {
|
3241 |
-
echo '<h2>' . $seopress_cpt_value->labels->name . ' <em><small>[' . $seopress_cpt_value->name . ']</small></em></h2>';
|
3242 |
-
|
3243 |
-
//Single on/off CPT
|
3244 |
-
echo '<div class="seopress_wrap_single_cpt">';
|
3245 |
-
|
3246 |
-
$options = get_option('seopress_titles_option_name');
|
3247 |
-
|
3248 |
-
$check = isset($options['seopress_titles_single_titles'][$seopress_cpt_key]['enable']) ? $options['seopress_titles_single_titles'][$seopress_cpt_key]['enable'] : null;
|
3249 |
-
|
3250 |
-
echo '<input id="seopress_titles_single_cpt_enable[' . $seopress_cpt_key . ']" data-id=' . $seopress_cpt_key . ' name="seopress_titles_option_name[seopress_titles_single_titles][' . $seopress_cpt_key . '][enable]" class="toggle" type="checkbox"';
|
3251 |
-
if ('1' == $check) {
|
3252 |
-
echo 'checked="yes" data-toggle="0"';
|
3253 |
-
} else {
|
3254 |
-
echo 'data-toggle="1"';
|
3255 |
-
}
|
3256 |
-
echo ' value="1"/>';
|
3257 |
-
|
3258 |
-
echo '<label for="seopress_titles_single_cpt_enable[' . $seopress_cpt_key . ']">' . __('Click to hide any SEO metaboxes / columns for this post type', 'wp-seopress') . '</label>';
|
3259 |
-
|
3260 |
-
if ('1' == $check) {
|
3261 |
-
echo '<span id="titles-state-default" class="feature-state"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to display any SEO metaboxes / columns for this post type', 'wp-seopress') . '</span>';
|
3262 |
-
echo '<span id="titles-state" class="feature-state feature-state-off"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to hide any SEO metaboxes / columns for this post type', 'wp-seopress') . '</span>';
|
3263 |
-
} else {
|
3264 |
-
echo '<span id="titles-state-default" class="feature-state"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to hide any SEO metaboxes / columns for this post type', 'wp-seopress') . '</span>';
|
3265 |
-
echo '<span id="titles-state" class="feature-state feature-state-off"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to display any SEO metaboxes / columns for this post type', 'wp-seopress') . '</span>';
|
3266 |
-
}
|
3267 |
-
|
3268 |
-
$toggle_txt_on = '<span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to display any SEO metaboxes / columns for this post type', 'wp-seopress');
|
3269 |
-
$toggle_txt_off = '<span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to hide any SEO metaboxes / columns for this post type', 'wp-seopress');
|
3270 |
-
|
3271 |
-
echo "<script>
|
3272 |
-
jQuery(document).ready(function($) {
|
3273 |
-
$('input[data-id=" . $seopress_cpt_key . "]').on('click', function() {
|
3274 |
-
$(this).attr('data-toggle', $(this).attr('data-toggle') == '1' ? '0' : '1');
|
3275 |
-
if ($(this).attr('data-toggle') == '1') {
|
3276 |
-
$(this).next().next('.feature-state').html('" . $toggle_txt_off . "');
|
3277 |
-
} else {
|
3278 |
-
$(this).next().next('.feature-state').html('" . $toggle_txt_on . "');
|
3279 |
-
}
|
3280 |
-
});
|
3281 |
-
});
|
3282 |
-
</script>";
|
3283 |
-
|
3284 |
-
if (isset($this->options['seopress_titles_single_titles'][$seopress_cpt_key]['enable'])) {
|
3285 |
-
esc_attr($this->options['seopress_titles_single_titles'][$seopress_cpt_key]['enable']);
|
3286 |
-
}
|
3287 |
-
|
3288 |
-
echo '</div>';
|
3289 |
-
|
3290 |
-
//Single Title CPT
|
3291 |
-
echo '<div class="seopress_wrap_single_cpt">';
|
3292 |
-
|
3293 |
-
_e('Title template', 'wp-seopress');
|
3294 |
-
|
3295 |
-
$check = isset($this->options['seopress_titles_single_titles'][$seopress_cpt_key]['title']) ? $this->options['seopress_titles_single_titles'][$seopress_cpt_key]['title'] : null;
|
3296 |
-
|
3297 |
-
echo '<br/>';
|
3298 |
-
|
3299 |
-
echo "<script>
|
3300 |
-
jQuery(document).ready(function($) {
|
3301 |
-
$('#seopress-tag-single-title-" . $seopress_cpt_key . "').click(function() {
|
3302 |
-
$('#seopress_titles_single_titles_" . $seopress_cpt_key . "').val(sp_get_field_length($('#seopress_titles_single_titles_" . $seopress_cpt_key . "')) + $('#seopress-tag-single-title-" . $seopress_cpt_key . "').attr('data-tag'));
|
3303 |
-
});
|
3304 |
-
$('#seopress-tag-sep-" . $seopress_cpt_key . "').click(function() {
|
3305 |
-
$('#seopress_titles_single_titles_" . $seopress_cpt_key . "').val(sp_get_field_length($('#seopress_titles_single_titles_" . $seopress_cpt_key . "')) + $('#seopress-tag-sep-" . $seopress_cpt_key . "').attr('data-tag'));
|
3306 |
-
});
|
3307 |
-
$('#seopress-tag-single-sitetitle-" . $seopress_cpt_key . "').click(function() {
|
3308 |
-
$('#seopress_titles_single_titles_" . $seopress_cpt_key . "').val(sp_get_field_length($('#seopress_titles_single_titles_" . $seopress_cpt_key . "')) + $('#seopress-tag-single-sitetitle-" . $seopress_cpt_key . "').attr('data-tag'));
|
3309 |
-
});
|
3310 |
-
});
|
3311 |
-
</script>";
|
3312 |
-
|
3313 |
-
printf(
|
3314 |
-
'<input type="text" id="seopress_titles_single_titles_' . $seopress_cpt_key . '" name="seopress_titles_option_name[seopress_titles_single_titles][' . $seopress_cpt_key . '][title]" value="%s"/>',
|
3315 |
-
esc_html($check)
|
3316 |
-
);
|
3317 |
-
|
3318 |
-
echo '<div class="wrap-tags"><span id="seopress-tag-single-title-' . $seopress_cpt_key . '" data-tag="%%post_title%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Post Title', 'wp-seopress') . '</span>';
|
3319 |
-
|
3320 |
-
echo '<span id="seopress-tag-sep-' . $seopress_cpt_key . '" data-tag="%%sep%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Separator', 'wp-seopress') . '</span>';
|
3321 |
-
|
3322 |
-
echo '<span id="seopress-tag-single-sitetitle-' . $seopress_cpt_key . '" data-tag="%%sitetitle%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Site Title', 'wp-seopress') . '</span>';
|
3323 |
-
|
3324 |
-
echo seopress_render_dyn_variables('tag-title');
|
3325 |
-
|
3326 |
-
echo '</div>';
|
3327 |
-
|
3328 |
-
//Single Meta Description CPT
|
3329 |
-
echo '<div class="seopress_wrap_single_cpt">';
|
3330 |
-
|
3331 |
-
_e('Meta description template', 'wp-seopress');
|
3332 |
-
echo '<br/>';
|
3333 |
-
|
3334 |
-
$check = isset($this->options['seopress_titles_single_titles'][$seopress_cpt_key]['description']) ? $this->options['seopress_titles_single_titles'][$seopress_cpt_key]['description'] : null;
|
3335 |
-
|
3336 |
-
printf(
|
3337 |
-
'<textarea name="seopress_titles_option_name[seopress_titles_single_titles][' . $seopress_cpt_key . '][description]">%s</textarea>',
|
3338 |
-
esc_html($check)
|
3339 |
-
);
|
3340 |
-
|
3341 |
-
echo '</div>';
|
3342 |
-
|
3343 |
-
//Single No-Index CPT
|
3344 |
-
echo '<div class="seopress_wrap_single_cpt">';
|
3345 |
-
|
3346 |
-
$options = get_option('seopress_titles_option_name');
|
3347 |
-
|
3348 |
-
$check = isset($options['seopress_titles_single_titles'][$seopress_cpt_key]['noindex']);
|
3349 |
-
|
3350 |
-
echo '<input id="seopress_titles_single_cpt_noindex[' . $seopress_cpt_key . ']" name="seopress_titles_option_name[seopress_titles_single_titles][' . $seopress_cpt_key . '][noindex]" type="checkbox"';
|
3351 |
-
if ('1' == $check) {
|
3352 |
-
echo 'checked="yes"';
|
3353 |
-
}
|
3354 |
-
echo ' value="1"/>';
|
3355 |
-
|
3356 |
-
echo '<label for="seopress_titles_single_cpt_noindex[' . $seopress_cpt_key . ']">' . __('Do not display this single post type in search engine results <strong>(noindex)</strong>', 'wp-seopress') . '</label>';
|
3357 |
-
|
3358 |
-
$cpt_in_sitemap = seopress_get_service('SitemapOption')->getPostTypesList();
|
3359 |
-
|
3360 |
-
if ('1' == $check && isset($cpt_in_sitemap[$seopress_cpt_key]) && '1' === $cpt_in_sitemap[$seopress_cpt_key]['include']) {
|
3361 |
-
echo '<p class="seopress-notice error notice">' . __('This custom post type is <strong>NOT</strong> excluded from your XML sitemaps despite the fact that it is set to <strong>NOINDEX</strong>. We recommend that you check this out.', 'wp-seopress') . '</p><br>';
|
3362 |
-
}
|
3363 |
-
|
3364 |
-
if (isset($this->options['seopress_titles_single_titles'][$seopress_cpt_key]['noindex'])) {
|
3365 |
-
esc_attr($this->options['seopress_titles_single_titles'][$seopress_cpt_key]['noindex']);
|
3366 |
-
}
|
3367 |
-
|
3368 |
-
echo '</div>';
|
3369 |
-
|
3370 |
-
//Single No-Follow CPT
|
3371 |
-
echo '<div class="seopress_wrap_single_cpt">';
|
3372 |
-
|
3373 |
-
$options = get_option('seopress_titles_option_name');
|
3374 |
-
|
3375 |
-
$check = isset($options['seopress_titles_single_titles'][$seopress_cpt_key]['nofollow']);
|
3376 |
-
|
3377 |
-
echo '<input id="seopress_titles_single_cpt_nofollow[' . $seopress_cpt_key . ']" name="seopress_titles_option_name[seopress_titles_single_titles][' . $seopress_cpt_key . '][nofollow]" type="checkbox"';
|
3378 |
-
if ('1' == $check) {
|
3379 |
-
echo 'checked="yes"';
|
3380 |
-
}
|
3381 |
-
echo ' value="1"/>';
|
3382 |
-
|
3383 |
-
echo '<label for="seopress_titles_single_cpt_nofollow[' . $seopress_cpt_key . ']">' . __('Do not follow links for this single post type <strong>(nofollow)</strong>', 'wp-seopress') . '</label>';
|
3384 |
-
|
3385 |
-
if (isset($this->options['seopress_titles_single_titles'][$seopress_cpt_key]['nofollow'])) {
|
3386 |
-
esc_attr($this->options['seopress_titles_single_titles'][$seopress_cpt_key]['nofollow']);
|
3387 |
-
}
|
3388 |
-
|
3389 |
-
echo '</div>';
|
3390 |
-
|
3391 |
-
//Single Published / modified date CPT
|
3392 |
-
echo '<div class="seopress_wrap_single_cpt">';
|
3393 |
-
|
3394 |
-
$options = get_option('seopress_titles_option_name');
|
3395 |
-
|
3396 |
-
$check = isset($options['seopress_titles_single_titles'][$seopress_cpt_key]['date']);
|
3397 |
-
|
3398 |
-
echo '<input id="seopress_titles_single_cpt_date[' . $seopress_cpt_key . ']" name="seopress_titles_option_name[seopress_titles_single_titles][' . $seopress_cpt_key . '][date]" type="checkbox"';
|
3399 |
-
if ('1' == $check) {
|
3400 |
-
echo 'checked="yes"';
|
3401 |
-
}
|
3402 |
-
echo ' value="1"/>';
|
3403 |
-
|
3404 |
-
echo '<label for="seopress_titles_single_cpt_date[' . $seopress_cpt_key . ']">' . __('Display date in Google search results by adding <code>article:published_time</code> and <code>article:modified_time</code> meta?', 'wp-seopress') . '</label>';
|
3405 |
-
|
3406 |
-
echo '<p class="description">' . __('Unchecking this doesn\'t prevent Google to display post date in search results.', 'wp-seopress') . '</p><br>';
|
3407 |
-
|
3408 |
-
if (isset($this->options['seopress_titles_single_titles'][$seopress_cpt_key]['date'])) {
|
3409 |
-
esc_attr($this->options['seopress_titles_single_titles'][$seopress_cpt_key]['date']);
|
3410 |
-
}
|
3411 |
-
|
3412 |
-
echo '</div>';
|
3413 |
-
|
3414 |
-
//Single meta thumbnail CPT
|
3415 |
-
echo '<div class="seopress_wrap_single_cpt">';
|
3416 |
-
|
3417 |
-
$options = get_option('seopress_titles_option_name');
|
3418 |
-
|
3419 |
-
$check = isset($options['seopress_titles_single_titles'][$seopress_cpt_key]['thumb_gcs']);
|
3420 |
-
|
3421 |
-
echo '<input id="seopress_titles_single_cpt_thumb_gcs[' . $seopress_cpt_key . ']" name="seopress_titles_option_name[seopress_titles_single_titles][' . $seopress_cpt_key . '][thumb_gcs]" type="checkbox"';
|
3422 |
-
if ('1' == $check) {
|
3423 |
-
echo 'checked="yes"';
|
3424 |
-
}
|
3425 |
-
echo ' value="1"/>';
|
3426 |
-
|
3427 |
-
echo '<label for="seopress_titles_single_cpt_thumb_gcs[' . $seopress_cpt_key . ']">' . __('Display post thumbnail in Google Custom Search results?', 'wp-seopress') . '</label>';
|
3428 |
-
|
3429 |
-
if (isset($this->options['seopress_titles_single_titles'][$seopress_cpt_key]['thumb_gcs'])) {
|
3430 |
-
esc_attr($this->options['seopress_titles_single_titles'][$seopress_cpt_key]['thumb_gcs']);
|
3431 |
-
}
|
3432 |
-
|
3433 |
-
echo '</div>';
|
3434 |
-
}
|
3435 |
-
}
|
3436 |
-
|
3437 |
-
//BuddyPress Groups
|
3438 |
-
public function seopress_titles_bp_groups_title_callback() {
|
3439 |
-
if (is_plugin_active('buddypress/bp-loader.php') || is_plugin_active('buddyboss-platform/bp-loader.php')) {
|
3440 |
-
echo '<h2>' . __('BuddyPress groups', 'wp-seopress') . '</h2>';
|
3441 |
-
|
3442 |
-
_e('Title template', 'wp-seopress');
|
3443 |
-
echo '<br/>';
|
3444 |
-
|
3445 |
-
$check = isset($this->options['seopress_titles_bp_groups_title']) ? $this->options['seopress_titles_bp_groups_title'] : null;
|
3446 |
-
|
3447 |
-
printf(
|
3448 |
-
'<input id="seopress_titles_bp_groups_title" type="text" name="seopress_titles_option_name[seopress_titles_bp_groups_title]" value="%s"/>',
|
3449 |
-
esc_html($check)
|
3450 |
-
);
|
3451 |
-
|
3452 |
-
echo '<div class="wrap-tags"><span id="seopress-tag-post-title-bd-groups" data-tag="%%post_title%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Post Title', 'wp-seopress') . '</span>';
|
3453 |
-
echo '<span id="seopress-tag-sep-bd-groups" data-tag="%%sep%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Separator', 'wp-seopress') . '</span>';
|
3454 |
-
echo '<span id="seopress-tag-site-title-bd-groups" data-tag="%%sitetitle%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Site Title', 'wp-seopress') . '</span>';
|
3455 |
-
echo seopress_render_dyn_variables('tag-title');
|
3456 |
-
}
|
3457 |
-
}
|
3458 |
-
|
3459 |
-
public function seopress_titles_bp_groups_desc_callback() {
|
3460 |
-
if (is_plugin_active('buddypress/bp-loader.php') || is_plugin_active('buddyboss-platform/bp-loader.php')) {
|
3461 |
-
_e('Meta description template', 'wp-seopress');
|
3462 |
-
echo '<br/>';
|
3463 |
-
|
3464 |
-
$check = isset($this->options['seopress_titles_bp_groups_desc']) ? $this->options['seopress_titles_bp_groups_desc'] : null;
|
3465 |
-
|
3466 |
-
printf(
|
3467 |
-
'<textarea name="seopress_titles_option_name[seopress_titles_bp_groups_desc]">%s</textarea>',
|
3468 |
-
esc_html($check)
|
3469 |
-
);
|
3470 |
-
}
|
3471 |
-
}
|
3472 |
-
|
3473 |
-
public function seopress_titles_bp_groups_noindex_callback() {
|
3474 |
-
if (is_plugin_active('buddypress/bp-loader.php') || is_plugin_active('buddyboss-platform/bp-loader.php')) {
|
3475 |
-
$options = get_option('seopress_titles_option_name');
|
3476 |
-
|
3477 |
-
$check = isset($options['seopress_titles_bp_groups_noindex']);
|
3478 |
-
|
3479 |
-
echo '<input id="seopress_titles_bp_groups_noindex" name="seopress_titles_option_name[seopress_titles_bp_groups_noindex]" type="checkbox"';
|
3480 |
-
if ('1' == $check) {
|
3481 |
-
echo 'checked="yes"';
|
3482 |
-
}
|
3483 |
-
echo ' value="1"/>';
|
3484 |
-
|
3485 |
-
echo '<label for="seopress_titles_bp_groups_noindex">' . __('Do not display BuddyPress groups in search engine results <strong>(noindex)</strong>', 'wp-seopress') . '</label>';
|
3486 |
-
|
3487 |
-
if (isset($this->options['seopress_titles_bp_groups_noindex'])) {
|
3488 |
-
esc_attr($this->options['seopress_titles_bp_groups_noindex']);
|
3489 |
-
}
|
3490 |
-
}
|
3491 |
-
}
|
3492 |
-
|
3493 |
-
//Taxonomies
|
3494 |
-
public function seopress_titles_tax_titles_callback() {
|
3495 |
-
foreach (seopress_get_taxonomies() as $seopress_tax_key => $seopress_tax_value) {
|
3496 |
-
echo '<h2>' . $seopress_tax_value->labels->name . ' <em><small>[' . $seopress_tax_value->name . ']</small></em></h2>';
|
3497 |
-
|
3498 |
-
//Single on/off Tax
|
3499 |
-
echo '<div class="seopress_wrap_tax">';
|
3500 |
-
|
3501 |
-
$options = get_option('seopress_titles_option_name');
|
3502 |
-
|
3503 |
-
$check = isset($options['seopress_titles_tax_titles'][$seopress_tax_key]['enable']) ? $options['seopress_titles_tax_titles'][$seopress_tax_key]['enable'] : null;
|
3504 |
-
|
3505 |
-
echo '<input id="seopress_titles_tax_titles_enable[' . $seopress_tax_key . ']" data-id=' . $seopress_tax_key . ' name="seopress_titles_option_name[seopress_titles_tax_titles][' . $seopress_tax_key . '][enable]" class="toggle" type="checkbox"';
|
3506 |
-
if ('1' == $check) {
|
3507 |
-
echo 'checked="yes" data-toggle="0"';
|
3508 |
-
} else {
|
3509 |
-
echo 'data-toggle="1"';
|
3510 |
-
}
|
3511 |
-
echo ' value="1"/>';
|
3512 |
-
|
3513 |
-
echo '<label for="seopress_titles_tax_titles_enable[' . $seopress_tax_key . ']">' . __('Click to hide any SEO metaboxes for this taxonomy', 'wp-seopress') . '</label>';
|
3514 |
-
|
3515 |
-
if ('1' == $check) {
|
3516 |
-
echo '<span id="titles-state-default" class="feature-state"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to display any SEO metaboxes for this taxonomy', 'wp-seopress') . '</span>';
|
3517 |
-
echo '<span id="titles-state" class="feature-state feature-state-off"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to hide any SEO metaboxes for this taxonomy', 'wp-seopress') . '</span>';
|
3518 |
-
} else {
|
3519 |
-
echo '<span id="titles-state-default" class="feature-state"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to hide any SEO metaboxes for this taxonomy', 'wp-seopress') . '</span>';
|
3520 |
-
echo '<span id="titles-state" class="feature-state feature-state-off"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to display any SEO metaboxes for this taxonomy', 'wp-seopress') . '</span>';
|
3521 |
-
}
|
3522 |
-
|
3523 |
-
$toggle_txt_on = '<span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to display any SEO metaboxes for this taxonomy', 'wp-seopress');
|
3524 |
-
$toggle_txt_off = '<span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to hide any SEO metaboxes for this taxonomy', 'wp-seopress');
|
3525 |
-
|
3526 |
-
echo "<script>
|
3527 |
-
jQuery(document).ready(function($) {
|
3528 |
-
$('input[data-id=" . $seopress_tax_key . "]').on('click', function() {
|
3529 |
-
$(this).attr('data-toggle', $(this).attr('data-toggle') == '1' ? '0' : '1');
|
3530 |
-
if ($(this).attr('data-toggle') == '1') {
|
3531 |
-
$(this).next().next('.feature-state').html('" . $toggle_txt_off . "');
|
3532 |
-
} else {
|
3533 |
-
$(this).next().next('.feature-state').html('" . $toggle_txt_on . "');
|
3534 |
-
}
|
3535 |
-
});
|
3536 |
-
});
|
3537 |
-
</script>";
|
3538 |
-
|
3539 |
-
if (isset($this->options['seopress_titles_tax_titles'][$seopress_tax_key]['enable'])) {
|
3540 |
-
esc_attr($this->options['seopress_titles_tax_titles'][$seopress_tax_key]['enable']);
|
3541 |
-
}
|
3542 |
-
|
3543 |
-
echo '</div>';
|
3544 |
-
|
3545 |
-
//Tax Title
|
3546 |
-
$check = isset($this->options['seopress_titles_tax_titles'][$seopress_tax_key]['title']) ? $this->options['seopress_titles_tax_titles'][$seopress_tax_key]['title'] : null;
|
3547 |
-
|
3548 |
-
echo '<div class="seopress_wrap_tax">';
|
3549 |
-
|
3550 |
-
_e('Title template', 'wp-seopress');
|
3551 |
-
echo '<br/>';
|
3552 |
-
|
3553 |
-
echo "<script>
|
3554 |
-
jQuery(document).ready(function($) {
|
3555 |
-
$('#seopress-tag-tax-title-" . $seopress_tax_key . "').click(function() {
|
3556 |
-
$('#seopress_titles_tax_titles_" . $seopress_tax_key . "').val(sp_get_field_length($('#seopress_titles_tax_titles_" . $seopress_tax_key . "')) + $('#seopress-tag-tax-title-" . $seopress_tax_key . "').attr('data-tag'));
|
3557 |
-
});
|
3558 |
-
$('#seopress-tag-sep-" . $seopress_tax_key . "').click(function() {
|
3559 |
-
$('#seopress_titles_tax_titles_" . $seopress_tax_key . "').val(sp_get_field_length($('#seopress_titles_tax_titles_" . $seopress_tax_key . "')) + $('#seopress-tag-sep-" . $seopress_tax_key . "').attr('data-tag'));
|
3560 |
-
});
|
3561 |
-
$('#seopress-tag-tax-sitetitle-" . $seopress_tax_key . "').click(function() {
|
3562 |
-
$('#seopress_titles_tax_titles_" . $seopress_tax_key . "').val(sp_get_field_length($('#seopress_titles_tax_titles_" . $seopress_tax_key . "')) + $('#seopress-tag-tax-sitetitle-" . $seopress_tax_key . "').attr('data-tag'));
|
3563 |
-
});
|
3564 |
-
});
|
3565 |
-
</script>";
|
3566 |
-
|
3567 |
-
printf(
|
3568 |
-
'<input type="text" id="seopress_titles_tax_titles_' . $seopress_tax_key . '" name="seopress_titles_option_name[seopress_titles_tax_titles][' . $seopress_tax_key . '][title]" value="%s"/>',
|
3569 |
-
esc_html($check)
|
3570 |
-
);
|
3571 |
-
|
3572 |
-
if ('category' == $seopress_tax_key) {
|
3573 |
-
echo '<div class="wrap-tags"><span id="seopress-tag-tax-title-' . $seopress_tax_key . '" data-tag="%%_category_title%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Category Title', 'wp-seopress') . '</span>';
|
3574 |
-
} elseif ('post_tag' == $seopress_tax_key) {
|
3575 |
-
echo '<div class="wrap-tags"><span id="seopress-tag-tax-title-' . $seopress_tax_key . '" data-tag="%%tag_title%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Tag Title', 'wp-seopress') . '</span>';
|
3576 |
-
} else {
|
3577 |
-
echo '<div class="wrap-tags"><span id="seopress-tag-tax-title-' . $seopress_tax_key . '" data-tag="%%term_title%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Term Title', 'wp-seopress') . '</span>';
|
3578 |
-
}
|
3579 |
-
|
3580 |
-
echo '<span id="seopress-tag-sep-' . $seopress_tax_key . '" data-tag="%%sep%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Separator', 'wp-seopress') . '</span>';
|
3581 |
-
|
3582 |
-
echo '<span id="seopress-tag-tax-sitetitle-' . $seopress_tax_key . '" data-tag="%%sitetitle%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Site Title', 'wp-seopress') . '</span>';
|
3583 |
-
|
3584 |
-
echo seopress_render_dyn_variables('tag-title');
|
3585 |
-
|
3586 |
-
echo '</div>';
|
3587 |
-
|
3588 |
-
//Tax Meta Description
|
3589 |
-
echo '<div class="seopress_wrap_tax">';
|
3590 |
-
|
3591 |
-
$check2 = isset($this->options['seopress_titles_tax_titles'][$seopress_tax_key]['description']) ? $this->options['seopress_titles_tax_titles'][$seopress_tax_key]['description'] : null;
|
3592 |
-
|
3593 |
-
_e('Meta description template', 'wp-seopress');
|
3594 |
-
echo '<br/>';
|
3595 |
-
|
3596 |
-
echo "<script>
|
3597 |
-
jQuery(document).ready(function($) {
|
3598 |
-
$('#seopress-tag-tax-desc-" . $seopress_tax_key . "').click(function() {
|
3599 |
-
$('#seopress_titles_tax_desc_" . $seopress_tax_key . "').val(sp_get_field_length($('#seopress_titles_tax_desc_" . $seopress_tax_key . "')) + $('#seopress-tag-tax-desc-" . $seopress_tax_key . "').attr('data-tag'));
|
3600 |
-
});
|
3601 |
-
});
|
3602 |
-
</script>";
|
3603 |
-
|
3604 |
-
printf(
|
3605 |
-
'<textarea id="seopress_titles_tax_desc_' . $seopress_tax_key . '" name="seopress_titles_option_name[seopress_titles_tax_titles][' . $seopress_tax_key . '][description]">%s</textarea>',
|
3606 |
-
esc_html($check2)
|
3607 |
-
);
|
3608 |
-
|
3609 |
-
if ('category' == $seopress_tax_key) {
|
3610 |
-
echo '<div class="wrap-tags"><span id="seopress-tag-tax-desc-' . $seopress_tax_key . '" data-tag="%%_category_description%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Category Description', 'wp-seopress') . '</span>';
|
3611 |
-
} elseif ('post_tag' == $seopress_tax_key) {
|
3612 |
-
echo '<div class="wrap-tags"><span id="seopress-tag-tax-desc-' . $seopress_tax_key . '" data-tag="%%tag_description%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Tag Description', 'wp-seopress') . '</span>';
|
3613 |
-
} else {
|
3614 |
-
echo '<div class="wrap-tags"><span id="seopress-tag-tax-desc-' . $seopress_tax_key . '" data-tag="%%term_description%%" class="tag-title"><span class="dashicons dashicons-plus"></span>' . __('Term Description', 'wp-seopress') . '</span>';
|
3615 |
-
}
|
3616 |
-
|
3617 |
-
echo seopress_render_dyn_variables('tag-title');
|
3618 |
-
|
3619 |
-
echo '</div>';
|
3620 |
-
|
3621 |
-
//Tax No-Index
|
3622 |
-
echo '<div class="seopress_wrap_tax">';
|
3623 |
-
|
3624 |
-
$options = get_option('seopress_titles_option_name');
|
3625 |
-
|
3626 |
-
$check = isset($options['seopress_titles_tax_titles'][$seopress_tax_key]['noindex']);
|
3627 |
-
|
3628 |
-
echo '<input id="seopress_titles_tax_noindex[' . $seopress_tax_key . ']" name="seopress_titles_option_name[seopress_titles_tax_titles][' . $seopress_tax_key . '][noindex]" type="checkbox"';
|
3629 |
-
if ('1' == $check) {
|
3630 |
-
echo 'checked="yes"';
|
3631 |
-
}
|
3632 |
-
echo ' value="1"/>';
|
3633 |
-
|
3634 |
-
echo '<label for="seopress_titles_tax_noindex[' . $seopress_tax_key . ']">' . __('Do not display this taxonomy archive in search engine results <strong>(noindex)</strong>', 'wp-seopress') . '</label>';
|
3635 |
-
|
3636 |
-
$tax_in_sitemap = seopress_get_service('SitemapOption')->getTaxonomiesList();
|
3637 |
-
|
3638 |
-
if ('1' == $check && isset($tax_in_sitemap[$seopress_tax_key]) && '1' === $tax_in_sitemap[$seopress_tax_key]['include']) {
|
3639 |
-
echo '<p class="seopress-notice error notice">' . __('This custom taxonomy is <strong>NOT</strong> excluded from your XML sitemaps despite the fact that it is set to <strong>NOINDEX</strong>. We recommend that you check this out.', 'wp-seopress') . '</p><br>';
|
3640 |
-
}
|
3641 |
-
|
3642 |
-
if (isset($this->options['seopress_titles_tax_titles'][$seopress_tax_key]['noindex'])) {
|
3643 |
-
esc_attr($this->options['seopress_titles_tax_titles'][$seopress_tax_key]['noindex']);
|
3644 |
-
}
|
3645 |
-
|
3646 |
-
echo '</div>';
|
3647 |
-
|
3648 |
-
|
4 |
|
5 |
use SEOPress\Helpers\PagesAdmin;
|
6 |
|
7 |
+
class seopress_options
|
8 |
+
{
|
9 |
/**
|
10 |
* Holds the values to be used in the fields callbacks.
|
11 |
*/
|
14 |
/**
|
15 |
* Start up.
|
16 |
*/
|
17 |
+
public function __construct()
|
18 |
+
{
|
19 |
add_action('admin_menu', [$this, 'add_plugin_page'], 10);
|
20 |
add_action('admin_init', [$this, 'page_init']);
|
21 |
+
add_action('admin_init', [$this, 'seopress_feature_save'], 30);
|
22 |
+
add_action('admin_init', [$this, 'seopress_feature_title'], 20);
|
23 |
+
add_action('admin_init', [$this, 'sanitize'], 20);
|
24 |
+
add_action('admin_init', [$this, 'load_sections'], 30);
|
25 |
+
add_action('admin_init', [$this, 'load_callbacks'], 40);
|
26 |
+
}
|
27 |
+
|
28 |
+
public function seopress_feature_save()
|
29 |
+
{
|
30 |
+
$html = '';
|
31 |
+
if (isset($_GET['settings-updated']) && 'true' === $_GET['settings-updated']) {
|
32 |
+
$html .= '<div id="seopress-notice-save" class="sp-components-snackbar-list">';
|
33 |
+
} else {
|
34 |
+
$html .= '<div id="seopress-notice-save" class="sp-components-snackbar-list" style="display: none">';
|
35 |
+
}
|
36 |
+
$html .= '<div class="sp-components-snackbar">
|
37 |
+
<div class="sp-components-snackbar__content">
|
38 |
+
<span class="dashicons dashicons-yes"></span>
|
39 |
+
' . __('Your settings have been saved.', 'wp-seopress') . '
|
40 |
+
</div>
|
41 |
+
</div>
|
42 |
+
</div>';
|
43 |
+
|
44 |
+
return $html;
|
45 |
+
}
|
46 |
+
|
47 |
+
public function seopress_feature_title($feature)
|
48 |
+
{
|
49 |
+
global $title;
|
50 |
+
|
51 |
+
$html = '<h1>' . $title;
|
52 |
+
|
53 |
+
if (null !== $feature) {
|
54 |
+
if ('1' == seopress_get_toggle_option($feature)) {
|
55 |
+
$toggle = '"1"';
|
56 |
+
} else {
|
57 |
+
$toggle = '"0"';
|
58 |
+
}
|
59 |
+
|
60 |
+
$html .= '<input type="checkbox" name="toggle-' . $feature . '" id="toggle-' . $feature . '" class="toggle" data-toggle=' . $toggle . '>';
|
61 |
+
$html .= '<label for="toggle-' . $feature . '"></label>';
|
62 |
+
|
63 |
+
$html .= $this->seopress_feature_save();
|
64 |
+
|
65 |
+
if ('1' == seopress_get_toggle_option($feature)) {
|
66 |
+
$html .= '<span id="titles-state-default" class="feature-state"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to disable this feature', 'wp-seopress') . '</span>';
|
67 |
+
$html .= '<span id="titles-state" class="feature-state feature-state-off"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to enable this feature', 'wp-seopress') . '</span>';
|
68 |
+
} else {
|
69 |
+
$html .= '<span id="titles-state-default" class="feature-state"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to enable this feature', 'wp-seopress') . '</span>';
|
70 |
+
$html .= '<span id="titles-state" class="feature-state feature-state-off"><span class="dashicons dashicons-arrow-left-alt"></span>' . __('Click to disable this feature', 'wp-seopress') . '</span>';
|
71 |
+
}
|
72 |
+
}
|
73 |
|
74 |
+
$html .= '<hr role="presentation"></h1>';
|
75 |
+
|
76 |
+
return $html;
|
77 |
}
|
78 |
|
79 |
/**
|
80 |
* Add options page.
|
81 |
*/
|
82 |
+
public function add_plugin_page()
|
83 |
+
{
|
84 |
if (has_filter('seopress_seo_admin_menu')) {
|
85 |
$sp_seo_admin_menu['icon'] = '';
|
86 |
$sp_seo_admin_menu['icon'] = apply_filters('seopress_seo_admin_menu', $sp_seo_admin_menu['icon']);
|
96 |
add_menu_page(__('SEOPress Option Page', 'wp-seopress-pro'), $sp_seo_admin_menu['title'], seopress_capability('manage_options', 'menu'), 'seopress-option', [$this, 'create_admin_page'], $sp_seo_admin_menu['icon'], 90);
|
97 |
add_submenu_page('seopress-option', __('Dashboard', 'wp-seopress'), __('Dashboard', 'wp-seopress'), seopress_capability('manage_options', 'menu'), 'seopress-option', [$this, 'create_admin_page']);
|
98 |
$seopress_titles_help_tab = add_submenu_page('seopress-option', __('Titles & Metas', 'wp-seopress'), __('Titles & Metas', 'wp-seopress'), seopress_capability('manage_options', PagesAdmin::TITLE_METAS), 'seopress-titles', [$this, 'seopress_titles_page']);
|
99 |
+
$seopress_xml_sitemaps_help_tab = add_submenu_page('seopress-option', __('XML - HTML Sitemap', 'wp-seopress'), __('XML - HTML Sitemap', 'wp-seopress'), seopress_capability('manage_options', PagesAdmin::XML_HTML_SITEMAP), 'seopress-xml-sitemap', [$this, 'seopress_xml_sitemap_page']);
|
100 |
$seopress_social_networks_help_tab = add_submenu_page('seopress-option', __('Social Networks', 'wp-seopress'), __('Social Networks', 'wp-seopress'), seopress_capability('manage_options', PagesAdmin::SOCIAL_NETWORKS), 'seopress-social', [$this, 'seopress_social_page']);
|
101 |
$seopress_google_analytics_help_tab = add_submenu_page('seopress-option', __('Analytics', 'wp-seopress'), __('Analytics', 'wp-seopress'), seopress_capability('manage_options', PagesAdmin::ANALYTICS), 'seopress-google-analytics', [$this, 'seopress_google_analytics_page']);
|
102 |
add_submenu_page('seopress-option', __('Advanced', 'wp-seopress'), __('Advanced', 'wp-seopress'), seopress_capability('manage_options', PagesAdmin::ADVANCED), 'seopress-advanced', [$this, 'seopress_advanced_page']);
|
111 |
}
|
112 |
}
|
113 |
|
114 |
+
//Help tabs
|
115 |
+
require_once dirname(__FILE__) . '/help-tabs/Titles.php';
|
116 |
+
require_once dirname(__FILE__) . '/help-tabs/Sitemaps.php';
|
117 |
+
require_once dirname(__FILE__) . '/help-tabs/Social.php';
|
118 |
+
require_once dirname(__FILE__) . '/help-tabs/Analytics.php';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
}
|
120 |
|
121 |
+
//Admin Pages
|
122 |
+
public function seopress_titles_page()
|
123 |
+
{
|
124 |
+
require_once dirname(__FILE__) . '/admin-pages/Titles.php';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
}
|
126 |
|
127 |
+
public function seopress_xml_sitemap_page()
|
128 |
+
{
|
129 |
+
require_once dirname(__FILE__) . '/admin-pages/Sitemaps.php';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
}
|
131 |
|
132 |
+
public function seopress_social_page()
|
133 |
+
{
|
134 |
+
require_once dirname(__FILE__) . '/admin-pages/Social.php';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
}
|
136 |
|
137 |
+
public function seopress_google_analytics_page()
|
138 |
+
{
|
139 |
+
require_once dirname(__FILE__) . '/admin-pages/Analytics.php';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
}
|
141 |
|
142 |
+
public function seopress_advanced_page()
|
143 |
+
{
|
144 |
+
require_once dirname(__FILE__) . '/admin-pages/Advanced.php';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
}
|
146 |
|
147 |
+
public function seopress_import_export_page()
|
148 |
+
{
|
149 |
+
require_once dirname(__FILE__) . '/admin-pages/Tools.php';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
}
|
151 |
|
152 |
+
public function create_admin_page()
|
153 |
+
{
|
154 |
+
require_once dirname(__FILE__) . '/admin-pages/Main.php';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
}
|
156 |
|
157 |
+
public function page_init()
|
158 |
+
{
|
159 |
+
require_once dirname(__FILE__) . '/settings/Main.php';
|
160 |
+
require_once dirname(__FILE__) . '/settings/Titles.php';
|
161 |
+
require_once dirname(__FILE__) . '/settings/Sitemaps.php';
|
162 |
+
require_once dirname(__FILE__) . '/settings/Social.php';
|
163 |
+
require_once dirname(__FILE__) . '/settings/Analytics.php';
|
164 |
+
require_once dirname(__FILE__) . '/settings/ImageSEO.php';
|
165 |
+
require_once dirname(__FILE__) . '/settings/Advanced.php';
|
166 |
+
require_once dirname(__FILE__) . '/settings/Tools.php';
|
167 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
|
169 |
+
public function sanitize($input)
|
170 |
+
{
|
171 |
+
require_once dirname(__FILE__) . '/sanitize/Sanitize.php';
|
172 |
+
}
|
|
|
|
|
|
|
173 |
|
174 |
+
public function load_sections()
|
175 |
+
{
|
176 |
+
require_once dirname(__FILE__) . '/sections/Titles.php';
|
177 |
+
require_once dirname(__FILE__) . '/sections/Sitemaps.php';
|
178 |
+
require_once dirname(__FILE__) . '/sections/Social.php';
|
179 |
+
require_once dirname(__FILE__) . '/sections/Analytics.php';
|
180 |
+
require_once dirname(__FILE__) . '/sections/ImageSEO.php';
|
181 |
+
require_once dirname(__FILE__) . '/sections/Advanced.php';
|
182 |
+
require_once dirname(__FILE__) . '/sections/Tools.php';
|
183 |
+
}
|
184 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|