Version Description
Read the blog post update = * NEW Support for Site names in Google Search * NEW PHP 8.1 compatibility * NEW Add "nofollow", "UGC", "sponsored" link attributes with Classic Editor * NEW Import SEO metadata from Slim SEO plugin * NEW Add a notice to content analysis metabox if a target keyword is already used from another content * NEW 'seopress_pro_breadcrumbs_terms' hook to filter terms taxonomy from the Breadcrumbs (https://www.seopress.org/support/hooks/filter-taxonomy-terms-in-the-breadcrumbs/) * NEW 'seopress_schemas_website' hook to filter Website schema (https://www.seopress.org/support/hooks/filter-website-schema/) * NEW 'seopress_matomo_dashboard_widget_cap' hook to filter Matomo Analytics capability (https://www.seopress.org/support/hooks/filter-matomo-analytics-dashboard-widget-capability/) * INFO Update Website schema to follow new Google guidelines * INFO Update GA4 stats in dashboard CSS widget * INFO REST API: add custom breadcrumbs, attachment ID, image width and image height to post and term metadata endpoints * INFO Add post/page/post type/term ID as third item for each crumbs of the Breadcrumbs for better flexibility * INFO Remove request reverse domains from SEO dashboard * INFO Improve UI for Redirections manager * FIX 404 errors sorting (SEO, Redirections) * FIX A user capability issue with Matomo Analytics & Google Analytics widgets * FIX Word counters with Elementor in specific cases * FIX Undefined SEOPRESS_PRO_VERSION constant * FIX Stop showing Matomo widget if no site ID or tracking ID set * FIX Improve compatibility with Oxygen for Content Analysis * FIX Saving attachment ID / width / height for term SEO metadata * FIX Saving Service type value for automatic Service schema * FIX GA4 stats in dashboard if no GA3 property associated with the Google account * FIX i18n * FIX WPML configuration file * FIX CSS
View our complete changelog
Release Info
Developer | rainbowgeek |
Plugin | ![]() |
Version | 6.1 |
Comparing to | |
See all releases |
Code changes from version 6.0.2 to 6.1
- assets/css/seopress-classic-editor.css +25 -0
- assets/css/seopress-classic-editor.min.css +1 -0
- assets/css/seopress.css +27 -3
- assets/css/seopress.min.css +1 -1
- assets/js/seopress-analytics.min.js +1 -1
- assets/js/seopress-block-editor.js +1 -0
- assets/js/seopress-block-editor.min.js +1 -1
- assets/js/seopress-classic-editor.js +83 -0
- assets/js/seopress-classic-editor.min.js +83 -0
- assets/js/seopress-cookies-ajax.min.js +1 -1
- assets/js/seopress-cookies.min.js +1 -1
- assets/js/seopress-counters.js +1 -0
- assets/js/seopress-counters.min.js +1 -1
- assets/js/seopress-dashboard.js +5 -24
- assets/js/seopress-dashboard.min.js +1 -1
- assets/js/seopress-media-uploader.min.js +1 -1
- assets/js/seopress-metabox.min.js +1 -1
- assets/js/seopress-migrate.js +10 -0
- assets/js/seopress-migrate.min.js +1 -1
- assets/js/seopress-network-tabs.min.js +1 -1
- assets/js/seopress-quick-edit.js +1 -1
- assets/js/seopress-quick-edit.min.js +1 -1
- assets/js/seopress-sitemap-ajax.min.js +1 -1
- assets/js/seopress-sitemap-video.min.js +1 -1
- assets/js/seopress-tabs.min.js +1 -1
- inc/admin/admin-pages/Tools.php +14 -110
- inc/admin/ajax-migrate/slim-seo.php +111 -0
- inc/admin/ajax.php +3 -8
- inc/admin/blocks/insights.php +28 -152
- inc/admin/blocks/notifications-center.php +1 -0
- inc/admin/callbacks/Advanced.php +21 -14
- inc/admin/callbacks/Analytics.php +5 -2
- inc/admin/callbacks/ImageSEO.php +5 -5
- inc/admin/callbacks/Sitemaps.php +6 -17
- inc/admin/callbacks/Titles.php +18 -0
- inc/admin/docs/DocsLinks.php +4 -0
- inc/admin/metaboxes/admin-metaboxes-content-analysis-form.php +45 -21
- inc/admin/metaboxes/admin-term-metaboxes.php +24 -6
- inc/admin/migrate/MigrationTools.php +3 -3
- inc/admin/page-builders/classic/classic-editor.php +21 -0
- inc/admin/page-builders/gutenberg/blocks/faq/block.php +2 -2
- inc/admin/sanitize/Sanitize.php +1 -0
- inc/admin/sections/Advanced.php +28 -7
- inc/admin/sections/Analytics.php +7 -2
- inc/admin/settings/Advanced.php +10 -0
- inc/admin/settings/Titles.php +8 -0
- inc/admin/wizard/admin-wizard.php +17 -0
- inc/functions/options-advanced.php +38 -0
- inc/functions/options-instant-indexing.php +2 -2
- inc/functions/options-redirections.php +0 -39
- inc/functions/options-social.php +41 -13
- inc/functions/options.php +2 -2
- languages/wp-seopress.pot +755 -822
- public/metaboxe.js +0 -1
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#wp-link-wrap {
|
2 |
+
height: 560px;
|
3 |
+
}
|
4 |
+
|
5 |
+
#wp-link .link-sponsored,
|
6 |
+
#wp-link .link-no-follow,
|
7 |
+
#wp-link .link-ugc {
|
8 |
+
padding: 3px 0 0;
|
9 |
+
}
|
10 |
+
|
11 |
+
.has-text-field #wp-link .query-results {
|
12 |
+
top: 270px;
|
13 |
+
}
|
14 |
+
|
15 |
+
@media screen and (max-width: 782px) {
|
16 |
+
.has-text-field #wp-link .query-results {
|
17 |
+
top: inherit;
|
18 |
+
}
|
19 |
+
|
20 |
+
#wp-link .link-sponsored,
|
21 |
+
#wp-link .link-no-follow,
|
22 |
+
#wp-link .link-ugc {
|
23 |
+
padding-top: 10px;
|
24 |
+
}
|
25 |
+
}
|
@@ -0,0 +1 @@
|
|
|
1 |
+
#wp-link-wrap{height:560px}#wp-link .link-no-follow,#wp-link .link-sponsored,#wp-link .link-ugc{padding:3px 0 0}.has-text-field #wp-link .query-results{top:270px}@media screen and (max-width:782px){.has-text-field #wp-link .query-results{top:inherit}#wp-link .link-no-follow,#wp-link .link-sponsored,#wp-link .link-ugc{padding-top:10px}}
|
@@ -27,7 +27,7 @@
|
|
27 |
|
28 |
#adminmenu div.wp-menu-image.dashicons-admin-seopress::before {
|
29 |
content: "\e800";
|
30 |
-
font-family: seopress;
|
31 |
font-weight: 700;
|
32 |
font-size: 12px;
|
33 |
line-height: 20px;
|
@@ -235,7 +235,7 @@ body .seopress-option h3 {
|
|
235 |
#seopress_content_analysis textarea,
|
236 |
#seopress_cpt input[type="text"],
|
237 |
#seopress_cpt textarea,
|
238 |
-
#seopress_pro_cpt input[type="text"],
|
239 |
#seopress_pro_cpt textarea {
|
240 |
width: 100%;
|
241 |
display: inline-block;
|
@@ -554,20 +554,38 @@ table.fixed thead .column-seopress_noindex {
|
|
554 |
box-sizing: border-box;
|
555 |
}
|
556 |
|
|
|
557 |
#seopress_matomo_dashboard_widget .seopress-summary-item:nth-child(even) {
|
558 |
border-right: none;
|
559 |
}
|
560 |
|
|
|
|
|
561 |
#seopress_matomo_dashboard_widget .seopress-summary-item:nth-last-child(2),
|
562 |
#seopress_matomo_dashboard_widget .seopress-summary-item:last-child {
|
563 |
border-bottom: none;
|
564 |
}
|
565 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
566 |
@media only screen and (max-width: 782px) {
|
|
|
|
|
567 |
#seopress_matomo_dashboard_widget .seopress-summary-item {
|
568 |
border-right: none;
|
569 |
}
|
570 |
|
|
|
571 |
#seopress_matomo_dashboard_widget .seopress-summary-item:nth-last-child(2) {
|
572 |
border-bottom: 1px solid var(--borderColorLight40);
|
573 |
}
|
@@ -2087,7 +2105,7 @@ body #seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-active {
|
|
2087 |
.seopress_social_twitter_img_upload:hover::after {
|
2088 |
content: "\f464";
|
2089 |
position: absolute;
|
2090 |
-
font-family: "
|
2091 |
width: 100%;
|
2092 |
height: 100%;
|
2093 |
top: 0;
|
@@ -2369,6 +2387,8 @@ body #seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-active {
|
|
2369 |
border-radius: 3px;
|
2370 |
color: var(--colorDark);
|
2371 |
font-size: var(--fontSize);
|
|
|
|
|
2372 |
/* display: none; */
|
2373 |
}
|
2374 |
|
@@ -2390,6 +2410,10 @@ body #seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-active {
|
|
2390 |
margin: 0 auto;
|
2391 |
}
|
2392 |
|
|
|
|
|
|
|
|
|
2393 |
#seopress-tabs .seopress-tab {
|
2394 |
padding: 10px 1.5rem;
|
2395 |
width: 100%;
|
27 |
|
28 |
#adminmenu div.wp-menu-image.dashicons-admin-seopress::before {
|
29 |
content: "\e800";
|
30 |
+
font-family: seopress !important;
|
31 |
font-weight: 700;
|
32 |
font-size: 12px;
|
33 |
line-height: 20px;
|
235 |
#seopress_content_analysis textarea,
|
236 |
#seopress_cpt input[type="text"],
|
237 |
#seopress_cpt textarea,
|
238 |
+
#seopress_pro_cpt input[type="text"]:not(.hidden),
|
239 |
#seopress_pro_cpt textarea {
|
240 |
width: 100%;
|
241 |
display: inline-block;
|
554 |
box-sizing: border-box;
|
555 |
}
|
556 |
|
557 |
+
#seopress_ga_dashboard_widget .seopress-summary-item:nth-child(even),
|
558 |
#seopress_matomo_dashboard_widget .seopress-summary-item:nth-child(even) {
|
559 |
border-right: none;
|
560 |
}
|
561 |
|
562 |
+
#seopress_ga_dashboard_widget .seopress-summary-item:nth-last-child(2),
|
563 |
+
#seopress_ga_dashboard_widget .seopress-summary-item:last-child,
|
564 |
#seopress_matomo_dashboard_widget .seopress-summary-item:nth-last-child(2),
|
565 |
#seopress_matomo_dashboard_widget .seopress-summary-item:last-child {
|
566 |
border-bottom: none;
|
567 |
}
|
568 |
|
569 |
+
#tab_seopress_analytics .spinner,
|
570 |
+
#tab_seopress_matomo .spinner {
|
571 |
+
top: 10px;
|
572 |
+
position: relative;
|
573 |
+
left: 10px;
|
574 |
+
}
|
575 |
+
|
576 |
+
#tab_seopress_analytics .wrap-chart-stat,
|
577 |
+
#tab_seopress_matomo .wrap-chart-stat {
|
578 |
+
padding: 0 1rem;
|
579 |
+
}
|
580 |
+
|
581 |
@media only screen and (max-width: 782px) {
|
582 |
+
|
583 |
+
#seopress_ga_dashboard_widget .seopress-summary-item,
|
584 |
#seopress_matomo_dashboard_widget .seopress-summary-item {
|
585 |
border-right: none;
|
586 |
}
|
587 |
|
588 |
+
#seopress_ga_dashboard_widget .seopress-summary-item:nth-last-child(2),
|
589 |
#seopress_matomo_dashboard_widget .seopress-summary-item:nth-last-child(2) {
|
590 |
border-bottom: 1px solid var(--borderColorLight40);
|
591 |
}
|
2105 |
.seopress_social_twitter_img_upload:hover::after {
|
2106 |
content: "\f464";
|
2107 |
position: absolute;
|
2108 |
+
font-family: "Dashicons";
|
2109 |
width: 100%;
|
2110 |
height: 100%;
|
2111 |
top: 0;
|
2387 |
border-radius: 3px;
|
2388 |
color: var(--colorDark);
|
2389 |
font-size: var(--fontSize);
|
2390 |
+
word-break: break-all;
|
2391 |
+
white-space: pre-line;
|
2392 |
/* display: none; */
|
2393 |
}
|
2394 |
|
2410 |
margin: 0 auto;
|
2411 |
}
|
2412 |
|
2413 |
+
.wrap-seopress-tab-content .seopress-tools-card {
|
2414 |
+
padding: 16px 25px;
|
2415 |
+
}
|
2416 |
+
|
2417 |
#seopress-tabs .seopress-tab {
|
2418 |
padding: 10px 1.5rem;
|
2419 |
width: 100%;
|
@@ -1 +1 @@
|
|
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_ga_dashboard_widget,#seopress_matomo_dashboard_widget,#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:#eb0f00;--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}.seopress-option .btnSecondary.is-deletable,.seopress-styles .btnSecondary.is-deletable{border-color:#cc1818;color:#cc1818;box-shadow:rgb(204 24 24) 0 0 0 1px inset}.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-setup hr,.seopress-styles hr{align-self:center;flex-grow:1;height:1px;margin:0;border:0;border-top:1px solid #dcdcde;border-bottom:1px solid #f6f7f7}.seopress-setup hr{margin-left: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-activity-panel .dashicons{margin-right:0}#seopress-news-panel .seopress-item-inner .dashicons{vertical-align:top}.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)}.seopress-tab .form-table td{padding:15px 0}.seopress-tab .form-table td p{margin:4px 0}.seopress-tab .form-table td p.seopress_wrap_archive_cpt{margin-bottom:15px}.seopress-tab .form-table td label{display:block}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:110;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}.sp-dashboard-card-highlight{border:1px dashed #c3c4c7;margin:20px 0}.seopress-summary-items{display:flex;flex-wrap:wrap}.seopress-summary-item{display:flex;flex-direction:column;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);justify-content:center;box-sizing:border-box}#seopress_matomo_dashboard_widget .seopress-summary-item:nth-child(even){border-right:none}#seopress_matomo_dashboard_widget .seopress-summary-item:last-child,#seopress_matomo_dashboard_widget .seopress-summary-item:nth-last-child(2){border-bottom:none}@media only screen and (max-width:782px){#seopress_matomo_dashboard_widget .seopress-summary-item{border-right:none}#seopress_matomo_dashboard_widget .seopress-summary-item:nth-last-child(2){border-bottom:1px solid var(--borderColorLight40)}.seopress-summary-item{width:100%}}.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-summary-item-data small{font-weight:400;font-size:11px;text-transform:uppercase}.seopress-summary-items .inside,.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%}.seopress-option .has-action{display:flex;align-items:center}.seopress-list-items .seopress-item .seopress-item-inner.done{text-decoration:line-through}.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}.indexing-log,.seopress-list-items .seopress-item .seopress-item-inner.check{position:relative}.indexing-log::before,.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.check::before{content:attr(data-index);color:var(--primaryColor);font-size:16px;border-color:var(--primaryColor)}.indexing-log.indexing-done::before,.indexing-log.indexing-failed::before,.seopress-list-items .seopress-item .seopress-item-inner.done::before{background:var(--backgroundPrimary);border:none;content:"\f15e";font-family:Dashicons;color:#fff;font-size:24px}.seopress-list-items .seopress-item.is-active:first-child a{box-shadow:inset 5px 0 0 0 var(--primaryColor);transition:box-shadow .1s linear}.seopress-list-items .seopress-item.is-active:first-child a::after{content:'';box-shadow:inset 5px 0 0 0 var(--primaryColor);transition:box-shadow .1s linear;background-color:var(--primaryColor);opacity:.1;position:absolute;width:100%;height:100%;left:0;top:0}.indexing-log.indexing-done::before{background:var(--colorSuccess)}.indexing-log.indexing-failed::before{background:var(--colorAlert);content:"\f335"}.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-ca-tabs .seopress-gsc-render{margin:1rem 0}#seopress-ca-tabs .dashicons{vertical-align:middle;margin-right:1rem}#seopress-ca-tabs .seopress-gsc-verdict .dashicons{font-size:30px;width:30px;height:30px}#seopress-ca-tabs .dashicons-yes-alt{color:var(--colorSuccess)}#seopress-ca-tabs .dashicons-info{color:var(--colorWarning)}#seopress-ca-tabs .dashicons-dismiss{color:var(--colorAlert)}#seopress-ca-tabs .seopress-gsc-analysis{margin-top:1rem;margin-bottom:1rem;display:inline-block;width:100%}#seopress-ca-tabs .seopress-gsc-cat{border-bottom:1px solid var(--borderColorCard);margin-bottom:.5rem;font-weight:700;padding-bottom:.5rem}#seopress-ca-tabs .seopress-gsc-analysis .seopress-gsc-item{display:flex}#seopress-ca-tabs .seopress-gsc-analysis .seopress-gsc-item-name{width:240px}#seopress-ca-tabs .seopress-gsc-analysis .seopress-gsc-item div{margin:.5rem 0}#seopress-ca-tabs .seopress-gsc-summary{display:block;padding:20px;margin:20px 0;top:0;left:0}#seopress-ca-tabs .seopress-gsc-verdict{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:101px;stroke:var(--colorWarning)}#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}#tab_seopress_page_speed .ps-score svg path,#tab_seopress_ps .ps-score svg path{stroke-linecap:round;stroke-width:2.8;fill:none}#tab_seopress_page_speed .ps-score,#tab_seopress_ps .ps-score{position:relative;display:inline-block}#tab_seopress_page_speed .ps-score svg,#tab_seopress_ps .ps-score svg{width:80px;height:80px}#tab_seopress_page_speed .ps-score span,#tab_seopress_ps .ps-score span{font-weight:700;left:0;position:absolute;top:0;width:80px;height:80px;align-items:center;display:flex;justify-content:center;margin:0}#tab_seopress_page_speed .ps-score.green #bar,#tab_seopress_ps .ps-score.green #bar{stroke:var(--colorSuccess)}#tab_seopress_page_speed .ps-score.yellow #bar,#tab_seopress_ps .ps-score.yellow #bar{stroke:var(--colorWarning)}#tab_seopress_page_speed .ps-score.red #bar,#tab_seopress_ps .ps-score.red #bar{stroke:var(--colorAlert)}#tab_seopress_ps .score,.wrap-seopress-score .score{width:12px;height:12px;display:inline-block;margin-right:10px;vertical-align:middle}#tab_seopress_ps .score.red,.wrap-seopress-score .score.red{border-bottom-color:var(--colorAlert);border-bottom-style:solid;border-bottom-width:12px;border-left-color:transparent;border-left-style:solid;border-left-width:6px;border-right-color:transparent;border-right-style:solid;border-right-width:6px}.wrap-seopress-score small{font-size:12px}.wrap-seopress-score small.red,.wrap-seopress-score small.yellow{color:var(--colorAlert)}#tab_seopress_ps .score.yellow,.wrap-seopress-score .score.yellow{background-color:var(--colorWarning);display:inline-block}#tab_seopress_ps .score.green,.wrap-seopress-score .score.green{border-radius:100%;background-color:var(--colorSuccess)}.wrap-seopress-score small.green{color:var(--colorSuccess)}.wrap-seopress-score .score.null{background:#ccc;border-radius:100%}#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 .seopress-arrow::after{content:"\f343";font-family:Dashicons;position:absolute;right:10px;top:calc(50% - 7px)}#seopress_content_analysis .gr-analysis-title button.open .seopress-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;user-select:auto}#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-schemas-tabs .description-alt,#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-schemas-tabs .description-alt svg,#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-snippet-mobile{display:flex;justify-content:space-between}#seopress_cpt .google-snippet-preview.mobile-preview .wrap-meta-desc{margin-right:8px}#seopress_cpt .google-snippet-preview .wrap-post-thumb{display:none}#seopress_cpt .google-snippet-preview.mobile-preview .wrap-post-thumb{margin-left:8px;display:block}#seopress_cpt .google-snippet-preview.mobile-preview .snippet-post-thumb{width:104px;max-width:inherit;height:104px;border-radius:8px;object-fit:cover}#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;hyphens:none;word-break:normal}#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}.term-php #seopress_cpt .facebook-snippet-box img,.term-php #seopress_cpt .twitter-snippet-box img{width:100%;height:auto}.seopress_social_fb_img_upload,.seopress_social_twitter_img_upload{position:absolute;width:100%;cursor:pointer;height:100%;left:0;top:0}.seopress_social_fb_img_upload:hover::after,.seopress_social_twitter_img_upload:hover::after{content:"\f464";position:absolute;font-family:dashicons;width:100%;height:100%;top:0;left:0;font-size:40px;background:rgb(255 255 255 / 70%);display:flex;justify-content:center;align-items:center;color:#1e1e1e}.snippet-fb-img,.snippet-fb-img-custom,.snippet-fb-img-default,.snippet-twitter-img,.snippet-twitter-img-custom,.snippet-twitter-img-default{position:relative}#seopress_cpt .twitter-snippet-box{color:#4b4f56;font-size:14px;width:504px;max-width:100%}#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:263px;width:504px;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}.seo_page_seopress-instant-indexing .wrap-sp-progress{max-width:35rem}#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-setup .seopress-option h1,.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-setup .seopress-option h1{margin-bottom:30px}.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;margin:20px 0}.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-ca-tabs .seopress-notice,#seopress-tabs .seopress-notice,#seopress_insights_dashboard_rankings_widget .seopress-notice,#seopress_pro_cpt .seopress-notice,.seopress-setup .seopress-notice{top:inherit;left:inherit;margin:15px 0 30px 0;width:auto}.seopress-hidden{display:none}.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 .seopress-notice.is-inline,.seopress-setup .seopress-notice.is-inline{margin-bottom:0;width:fit-content}#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}}#notice-insights-alert.is-active,#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);display:inline-block}.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 a+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-dashboard-columns .seopress-dashboard-column:last-child .seopress-card-title:hover{cursor:move}.seopress-card-title h2{margin:0}.seopress-cart-list{border-bottom:1px solid var(--borderColorCard);padding:0 0 0 24px;display:flex;align-items:center;text-decoration:none;color:var(--primaryColor);font-weight:700;line-height:20px}.seopress-cart-list *{text-decoration:none}.seopress-cart-list a{display:block;width:100%;padding:18px 24px 18px 0}.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}.seopress-option .wrap-tags{flex-wrap:wrap}.seopress-option .wrap-tags button{margin-bottom:10px}@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-setup .wrap,.seopress-styles .wrap{margin:0;display:flex;position:relative}.toplevel_page_seopress-option.seopress-styles .wrap{display:inherit;position:inherit;margin:inherit}@media only screen and (max-width:782px){.seopress-setup .wrap,.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;line-height:1.71428571;font-size:14px;text-decoration:none}#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}
|
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!important;font-weight:700;font-size:12px;line-height:20px}#seopress_content_analysis,#seopress_cpt,#seopress_ga_dashboard_widget,#seopress_matomo_dashboard_widget,#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:#eb0f00;--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}.seopress-option .btnSecondary.is-deletable,.seopress-styles .btnSecondary.is-deletable{border-color:#cc1818;color:#cc1818;box-shadow:rgb(204 24 24) 0 0 0 1px inset}.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-setup hr,.seopress-styles hr{align-self:center;flex-grow:1;height:1px;margin:0;border:0;border-top:1px solid #dcdcde;border-bottom:1px solid #f6f7f7}.seopress-setup hr{margin-left: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-activity-panel .dashicons{margin-right:0}#seopress-news-panel .seopress-item-inner .dashicons{vertical-align:top}.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]:not(.hidden),#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)}.seopress-tab .form-table td{padding:15px 0}.seopress-tab .form-table td p{margin:4px 0}.seopress-tab .form-table td p.seopress_wrap_archive_cpt{margin-bottom:15px}.seopress-tab .form-table td label{display:block}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:110;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}.sp-dashboard-card-highlight{border:1px dashed #c3c4c7;margin:20px 0}.seopress-summary-items{display:flex;flex-wrap:wrap}.seopress-summary-item{display:flex;flex-direction:column;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);justify-content:center;box-sizing:border-box}#seopress_ga_dashboard_widget .seopress-summary-item:nth-child(even),#seopress_matomo_dashboard_widget .seopress-summary-item:nth-child(even){border-right:none}#seopress_ga_dashboard_widget .seopress-summary-item:last-child,#seopress_ga_dashboard_widget .seopress-summary-item:nth-last-child(2),#seopress_matomo_dashboard_widget .seopress-summary-item:last-child,#seopress_matomo_dashboard_widget .seopress-summary-item:nth-last-child(2){border-bottom:none}#tab_seopress_analytics .spinner,#tab_seopress_matomo .spinner{top:10px;position:relative;left:10px}#tab_seopress_analytics .wrap-chart-stat,#tab_seopress_matomo .wrap-chart-stat{padding:0 1rem}@media only screen and (max-width:782px){#seopress_ga_dashboard_widget .seopress-summary-item,#seopress_matomo_dashboard_widget .seopress-summary-item{border-right:none}#seopress_ga_dashboard_widget .seopress-summary-item:nth-last-child(2),#seopress_matomo_dashboard_widget .seopress-summary-item:nth-last-child(2){border-bottom:1px solid var(--borderColorLight40)}.seopress-summary-item{width:100%}}.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-summary-item-data small{font-weight:400;font-size:11px;text-transform:uppercase}.seopress-summary-items .inside,.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%}.seopress-option .has-action{display:flex;align-items:center}.seopress-list-items .seopress-item .seopress-item-inner.done{text-decoration:line-through}.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}.indexing-log,.seopress-list-items .seopress-item .seopress-item-inner.check{position:relative}.indexing-log::before,.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.check::before{content:attr(data-index);color:var(--primaryColor);font-size:16px;border-color:var(--primaryColor)}.indexing-log.indexing-done::before,.indexing-log.indexing-failed::before,.seopress-list-items .seopress-item .seopress-item-inner.done::before{background:var(--backgroundPrimary);border:none;content:"\f15e";font-family:Dashicons;color:#fff;font-size:24px}.seopress-list-items .seopress-item.is-active:first-child a{box-shadow:inset 5px 0 0 0 var(--primaryColor);transition:box-shadow .1s linear}.seopress-list-items .seopress-item.is-active:first-child a::after{content:'';box-shadow:inset 5px 0 0 0 var(--primaryColor);transition:box-shadow .1s linear;background-color:var(--primaryColor);opacity:.1;position:absolute;width:100%;height:100%;left:0;top:0}.indexing-log.indexing-done::before{background:var(--colorSuccess)}.indexing-log.indexing-failed::before{background:var(--colorAlert);content:"\f335"}.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-ca-tabs .seopress-gsc-render{margin:1rem 0}#seopress-ca-tabs .dashicons{vertical-align:middle;margin-right:1rem}#seopress-ca-tabs .seopress-gsc-verdict .dashicons{font-size:30px;width:30px;height:30px}#seopress-ca-tabs .dashicons-yes-alt{color:var(--colorSuccess)}#seopress-ca-tabs .dashicons-info{color:var(--colorWarning)}#seopress-ca-tabs .dashicons-dismiss{color:var(--colorAlert)}#seopress-ca-tabs .seopress-gsc-analysis{margin-top:1rem;margin-bottom:1rem;display:inline-block;width:100%}#seopress-ca-tabs .seopress-gsc-cat{border-bottom:1px solid var(--borderColorCard);margin-bottom:.5rem;font-weight:700;padding-bottom:.5rem}#seopress-ca-tabs .seopress-gsc-analysis .seopress-gsc-item{display:flex}#seopress-ca-tabs .seopress-gsc-analysis .seopress-gsc-item-name{width:240px}#seopress-ca-tabs .seopress-gsc-analysis .seopress-gsc-item div{margin:.5rem 0}#seopress-ca-tabs .seopress-gsc-summary{display:block;padding:20px;margin:20px 0;top:0;left:0}#seopress-ca-tabs .seopress-gsc-verdict{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:101px;stroke:var(--colorWarning)}#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}#tab_seopress_page_speed .ps-score svg path,#tab_seopress_ps .ps-score svg path{stroke-linecap:round;stroke-width:2.8;fill:none}#tab_seopress_page_speed .ps-score,#tab_seopress_ps .ps-score{position:relative;display:inline-block}#tab_seopress_page_speed .ps-score svg,#tab_seopress_ps .ps-score svg{width:80px;height:80px}#tab_seopress_page_speed .ps-score span,#tab_seopress_ps .ps-score span{font-weight:700;left:0;position:absolute;top:0;width:80px;height:80px;align-items:center;display:flex;justify-content:center;margin:0}#tab_seopress_page_speed .ps-score.green #bar,#tab_seopress_ps .ps-score.green #bar{stroke:var(--colorSuccess)}#tab_seopress_page_speed .ps-score.yellow #bar,#tab_seopress_ps .ps-score.yellow #bar{stroke:var(--colorWarning)}#tab_seopress_page_speed .ps-score.red #bar,#tab_seopress_ps .ps-score.red #bar{stroke:var(--colorAlert)}#tab_seopress_ps .score,.wrap-seopress-score .score{width:12px;height:12px;display:inline-block;margin-right:10px;vertical-align:middle}#tab_seopress_ps .score.red,.wrap-seopress-score .score.red{border-bottom-color:var(--colorAlert);border-bottom-style:solid;border-bottom-width:12px;border-left-color:transparent;border-left-style:solid;border-left-width:6px;border-right-color:transparent;border-right-style:solid;border-right-width:6px}.wrap-seopress-score small{font-size:12px}.wrap-seopress-score small.red,.wrap-seopress-score small.yellow{color:var(--colorAlert)}#tab_seopress_ps .score.yellow,.wrap-seopress-score .score.yellow{background-color:var(--colorWarning);display:inline-block}#tab_seopress_ps .score.green,.wrap-seopress-score .score.green{border-radius:100%;background-color:var(--colorSuccess)}.wrap-seopress-score small.green{color:var(--colorSuccess)}.wrap-seopress-score .score.null{background:#ccc;border-radius:100%}#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 .seopress-arrow::after{content:"\f343";font-family:Dashicons;position:absolute;right:10px;top:calc(50% - 7px)}#seopress_content_analysis .gr-analysis-title button.open .seopress-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;user-select:auto}#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-schemas-tabs .description-alt,#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-schemas-tabs .description-alt svg,#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-snippet-mobile{display:flex;justify-content:space-between}#seopress_cpt .google-snippet-preview.mobile-preview .wrap-meta-desc{margin-right:8px}#seopress_cpt .google-snippet-preview .wrap-post-thumb{display:none}#seopress_cpt .google-snippet-preview.mobile-preview .wrap-post-thumb{margin-left:8px;display:block}#seopress_cpt .google-snippet-preview.mobile-preview .snippet-post-thumb{width:104px;max-width:inherit;height:104px;border-radius:8px;object-fit:cover}#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;hyphens:none;word-break:normal}#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}.term-php #seopress_cpt .facebook-snippet-box img,.term-php #seopress_cpt .twitter-snippet-box img{width:100%;height:auto}.seopress_social_fb_img_upload,.seopress_social_twitter_img_upload{position:absolute;width:100%;cursor:pointer;height:100%;left:0;top:0}.seopress_social_fb_img_upload:hover::after,.seopress_social_twitter_img_upload:hover::after{content:"\f464";position:absolute;font-family:Dashicons;width:100%;height:100%;top:0;left:0;font-size:40px;background:rgb(255 255 255 / 70%);display:flex;justify-content:center;align-items:center;color:#1e1e1e}.snippet-fb-img,.snippet-fb-img-custom,.snippet-fb-img-default,.snippet-twitter-img,.snippet-twitter-img-custom,.snippet-twitter-img-default{position:relative}#seopress_cpt .twitter-snippet-box{color:#4b4f56;font-size:14px;width:504px;max-width:100%}#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:263px;width:504px;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}.seo_page_seopress-instant-indexing .wrap-sp-progress{max-width:35rem}#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-setup .seopress-option h1,.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-setup .seopress-option h1{margin-bottom:30px}.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);word-break:break-all;white-space:pre-line}.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}.wrap-seopress-tab-content .seopress-tools-card{padding:16px 25px}#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;margin:20px 0}.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-ca-tabs .seopress-notice,#seopress-tabs .seopress-notice,#seopress_insights_dashboard_rankings_widget .seopress-notice,#seopress_pro_cpt .seopress-notice,.seopress-setup .seopress-notice{top:inherit;left:inherit;margin:15px 0 30px 0;width:auto}.seopress-hidden{display:none}.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 .seopress-notice.is-inline,.seopress-setup .seopress-notice.is-inline{margin-bottom:0;width:fit-content}#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}}#notice-insights-alert.is-active,#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);display:inline-block}.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 a+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-dashboard-columns .seopress-dashboard-column:last-child .seopress-card-title:hover{cursor:move}.seopress-card-title h2{margin:0}.seopress-cart-list{border-bottom:1px solid var(--borderColorCard);padding:0 0 0 24px;display:flex;align-items:center;text-decoration:none;color:var(--primaryColor);font-weight:700;line-height:20px}.seopress-cart-list *{text-decoration:none}.seopress-cart-list a{display:block;width:100%;padding:18px 24px 18px 0}.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}.seopress-option .wrap-tags{flex-wrap:wrap}.seopress-option .wrap-tags button{margin-bottom:10px}@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-setup .wrap,.seopress-styles .wrap{margin:0;display:flex;position:relative}.toplevel_page_seopress-option.seopress-styles .wrap{display:inherit;position:inherit;margin:inherit}@media only screen and (max-width:782px){.seopress-setup .wrap,.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;line-height:1.71428571;font-size:14px;text-decoration:none}#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}
|
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(
|
1 |
+
jQuery(document).ready((function($){jQuery(document.body).on("updated_cart_totals wc_cart_emptied removed_from_cart added_to_cart",(function(){$.ajax({method:"GET",url:seopressAjaxAnalytics.seopress_analytics,data:{action:"seopress_after_update_cart",_ajax_nonce:seopressAjaxAnalytics.seopress_nonce},success:function(data){jQuery("body").append(data.data)}})}))}));
|
@@ -145,6 +145,7 @@ jQuery(document).ready(function ($) {
|
|
145 |
$('#seopress_cpt #seopress_robots_canonical_meta').attr('placeholder', s.data.canonical),
|
146 |
|
147 |
$('#seopress-analysis-tabs').load(" #seopress-analysis-tabs-1", '', sp_ca_toggle),
|
|
|
148 |
$(".analysis-score p").removeClass('loading')
|
149 |
},
|
150 |
});
|
145 |
$('#seopress_cpt #seopress_robots_canonical_meta').attr('placeholder', s.data.canonical),
|
146 |
|
147 |
$('#seopress-analysis-tabs').load(" #seopress-analysis-tabs-1", '', sp_ca_toggle),
|
148 |
+
$('#seopress-wrap-notice-target-kw').load(" #seopress-notice-target-kw", ''),
|
149 |
$(".analysis-score p").removeClass('loading')
|
150 |
},
|
151 |
});
|
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(
|
1 |
+
jQuery(document).ready((function($){const{subscribe:subscribe,select:select}=wp.data;let hasSaved=!1;subscribe(()=>{var isAutosavingPost=wp.data.select("core/editor").isAutosavingPost(),isSavingMetaBoxes=wp.data.select("core/edit-post").isSavingMetaBoxes();if(isSavingMetaBoxes&&!isAutosavingPost&&!hasSaved){if(void 0!==$("#seopress-tabs").attr("data_id"))var post_id=$("#seopress-tabs").attr("data_id");else if(void 0!==$("#seopress_content_analysis .wrap-seopress-analysis").attr("data_id"))var post_id=$("#seopress_content_analysis .wrap-seopress-analysis").attr("data_id");if(void 0!==$("#seopress-tabs").attr("data_tax"))var tax_name=$("#seopress-tabs").attr("data_tax");else if(void 0!==$("#seopress_content_analysis .wrap-seopress-analysis").attr("data_tax"))var tax_name=$("#seopress_content_analysis .wrap-seopress-analysis").attr("data_tax");if(void 0!==$("#seopress-tabs").attr("data_origin"))var origin=$("#seopress-tabs").attr("data_origin");else if(void 0!==$("#seopress_content_analysis .wrap-seopress-analysis").attr("data_origin"))var origin=$("#seopress_content_analysis .wrap-seopress-analysis").attr("data_origin");$.ajax({method:"GET",url:seopressAjaxRealPreview.seopress_real_preview,data:{action:"seopress_do_real_preview",post_id:post_id,tax_name:tax_name,origin:origin,post_type:$("#seopress_launch_analysis").attr("data_post_type"),seopress_analysis_target_kw:$("#seopress_analysis_target_kw_meta").val(),_ajax_nonce:seopressAjaxRealPreview.seopress_nonce},beforeSend:function(){$(".analysis-score p span").fadeIn().text(seopressAjaxRealPreview.i18n.progress),$(".analysis-score p").addClass("loading")},success:function(s){void 0===s.data.og_title?og_title="":og_title=s.data.og_title.values,void 0===s.data.og_desc?og_desc="":og_desc=s.data.og_desc.values,void 0===s.data.og_img?og_img="":og_img=s.data.og_img.values,void 0===s.data.og_url?og_url="":og_url=s.data.og_url.host,void 0===s.data.og_site_name?og_site_name="":og_site_name=s.data.og_site_name.values,void 0===s.data.tw_title?tw_title="":tw_title=s.data.tw_title.values,void 0===s.data.tw_desc?tw_desc="":tw_desc=s.data.tw_desc.values,void 0===s.data.tw_img?tw_img="":tw_img=s.data.tw_img.values,void 0===s.data.meta_robots?meta_robots="":meta_robots=s.data.meta_robots[0];var data_arr={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},if_noindex;for(var key in data_arr)data_arr.length&&(key=data_arr[key].length>1?data_arr[key].slice(-1)[0]:data_arr[key][0]);meta_robots=meta_robots.toString(),$("#sp-advanced-alert").empty(),new RegExp("noindex").test(meta_robots)&&$("#sp-advanced-alert").append('<span class="impact high" aria-hidden="true"></span>'),$("#seopress_cpt .google-snippet-preview .snippet-title").html(s.data.title),$("#seopress_cpt .google-snippet-preview .snippet-title-default").html(s.data.title),$("#seopress_titles_title_meta").attr("placeholder",s.data.title),$("#seopress_cpt .google-snippet-preview .snippet-description").html(s.data.meta_desc),$("#seopress_cpt .google-snippet-preview .snippet-description-default").html(s.data.meta_desc),$("#seopress_titles_desc_meta").attr("placeholder",s.data.meta_desc),data_arr.og_title&&($("#seopress_cpt #seopress_social_fb_title_meta").attr("placeholder",data_arr.og_title[0]),$("#seopress_cpt .facebook-snippet-preview .snippet-fb-title").html(data_arr.og_title[0]),$("#seopress_cpt .facebook-snippet-preview .snippet-fb-title-default").html(data_arr.og_title[0])),data_arr.og_desc&&($("#seopress_cpt #seopress_social_fb_desc_meta").attr("placeholder",data_arr.og_desc[0]),$("#seopress_cpt .facebook-snippet-preview .snippet-fb-description").html(data_arr.og_desc[0]),$("#seopress_cpt .facebook-snippet-preview .snippet-fb-description-default").html(data_arr.og_desc[0])),data_arr.og_img&&($("#seopress_cpt #seopress_social_fb_img_meta").attr("placeholder",data_arr.og_img[0]),$("#seopress_cpt .facebook-snippet-preview .snippet-fb-img img").attr("src",data_arr.og_img[0]),$("#seopress_cpt .facebook-snippet-preview .snippet-fb-img-default img").attr("src",data_arr.og_img[0])),$("#seopress_cpt .facebook-snippet-preview .snippet-fb-url").html(data_arr.og_url),$("#seopress_cpt .facebook-snippet-preview .snippet-fb-site-name").html(data_arr.og_site_name),data_arr.tw_title&&($("#seopress_cpt #seopress_social_twitter_title_meta").attr("placeholder",data_arr.tw_title[0]),$("#seopress_cpt .twitter-snippet-preview .snippet-twitter-title").html(data_arr.tw_title[0]),$("#seopress_cpt .twitter-snippet-preview .snippet-twitter-title-default").html(data_arr.tw_title[0])),data_arr.tw_desc&&($("#seopress_cpt #seopress_social_twitter_desc_meta").attr("placeholder",data_arr.tw_desc[0]),$("#seopress_cpt .twitter-snippet-preview .snippet-twitter-description").html(data_arr.tw_desc[0]),$("#seopress_cpt .twitter-snippet-preview .snippet-twitter-description-default").html(data_arr.tw_desc[0])),data_arr.tw_img&&($("#seopress_cpt #seopress_social_twitter_img_meta").attr("placeholder",data_arr.tw_img[0]),$("#seopress_cpt .twitter-snippet-preview .snippet-twitter-img img").attr("src",data_arr.tw_img[0]),$("#seopress_cpt .twitter-snippet-preview .snippet-twitter-img-default img").attr("src",data_arr.tw_img[0])),$("#seopress_cpt .twitter-snippet-preview .snippet-twitter-url").html(data_arr.og_url),$("#seopress_cpt #seopress_robots_canonical_meta").attr("placeholder",s.data.canonical),$("#seopress-analysis-tabs").load(" #seopress-analysis-tabs-1","",sp_ca_toggle),$("#seopress-wrap-notice-target-kw").load(" #seopress-notice-target-kw",""),$(".analysis-score p").removeClass("loading")}})}hasSaved=!!isSavingMetaBoxes})}));
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function ($, wpLinkL10n, wp) {
|
2 |
+
let editor = null;
|
3 |
+
const inputs = {};
|
4 |
+
const getLink = () => editor ? editor.$('a[data-wplink-edit="true"]') : null;
|
5 |
+
|
6 |
+
$(document).on('wplink-open', function (event, wrap) {
|
7 |
+
|
8 |
+
if (!inputs.sponsored) {
|
9 |
+
$('#link-options').append(
|
10 |
+
`<div class="link-sponsored">
|
11 |
+
<label><span></span>
|
12 |
+
<input type="checkbox" id="wp-link-sponsored" />${seopressI18n.sponsored}</label>
|
13 |
+
</div>`
|
14 |
+
);
|
15 |
+
}
|
16 |
+
if (wpLink.isMCE()) {
|
17 |
+
if (!inputs.nofollow) {
|
18 |
+
$('#link-options').append(
|
19 |
+
`<div class="link-no-follow">
|
20 |
+
<label><span></span>
|
21 |
+
<input type="checkbox" id="wp-link-no-follow" />${seopressI18n.nofollow}</label>
|
22 |
+
</div>`
|
23 |
+
);
|
24 |
+
}
|
25 |
+
if (!inputs.ugc) {
|
26 |
+
$('#link-options').append(
|
27 |
+
`<div class="link-ugc">
|
28 |
+
<label><span></span>
|
29 |
+
<input type="checkbox" id="wp-link-ugc" />${seopressI18n.ugc}</label>
|
30 |
+
</div>`
|
31 |
+
);
|
32 |
+
}
|
33 |
+
}
|
34 |
+
|
35 |
+
inputs.sponsored = $('#wp-link-sponsored');
|
36 |
+
inputs.nofollow = $('#wp-link-no-follow');
|
37 |
+
inputs.ugc = $('#wp-link-ugc');
|
38 |
+
inputs.openInNewTab = $('#wp-link-target');
|
39 |
+
inputs.url = $('#wp-link-url');
|
40 |
+
|
41 |
+
if (typeof window.tinymce !== 'undefined') {
|
42 |
+
const ed = window.tinymce.get(window.wpActiveEditor);
|
43 |
+
editor = ed && !ed.isHidden() ? ed : null;
|
44 |
+
const linkNode = getLink();
|
45 |
+
inputs.sponsored.prop('checked', linkNode.attr('rel')?.includes('sponsored'));
|
46 |
+
inputs.nofollow.prop('checked', linkNode.attr('rel')?.includes('nofollow'));
|
47 |
+
inputs.ugc.prop('checked', linkNode.attr('rel')?.includes('ugc'));
|
48 |
+
}
|
49 |
+
});
|
50 |
+
|
51 |
+
window.wpLink.getAttrs = function () {
|
52 |
+
wpLink.correctURL();
|
53 |
+
|
54 |
+
const attrs = {
|
55 |
+
href: inputs.url.val().trim(),
|
56 |
+
target: inputs.openInNewTab.prop('checked') ? '_blank' : null,
|
57 |
+
}
|
58 |
+
|
59 |
+
let rel = '';
|
60 |
+
rel += inputs.sponsored.prop('checked') ? 'sponsored ' : ''
|
61 |
+
rel += inputs.nofollow.prop('checked') ? 'nofollow ' : ''
|
62 |
+
rel += inputs.ugc.prop('checked') ? 'ugc ' : ''
|
63 |
+
attrs.rel = rel ? rel : null;
|
64 |
+
|
65 |
+
return attrs;
|
66 |
+
};
|
67 |
+
|
68 |
+
window.wpLink.buildHtml = function (attrs) {
|
69 |
+
var html = '<a href="' + attrs.href + '"';
|
70 |
+
|
71 |
+
let rel = '';
|
72 |
+
if (attrs.target) {
|
73 |
+
html += ' target="' + attrs.target + '"';
|
74 |
+
rel += 'noopener ';
|
75 |
+
}
|
76 |
+
|
77 |
+
if (attrs.rel) rel += attrs.rel;
|
78 |
+
if (rel) html += ' rel="' + rel.trim() + '"';
|
79 |
+
|
80 |
+
return html + '>';
|
81 |
+
};
|
82 |
+
|
83 |
+
})(jQuery, window.wpLinkL10n, window.wp);
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function ($, wpLinkL10n, wp) {
|
2 |
+
let editor = null;
|
3 |
+
const inputs = {};
|
4 |
+
const getLink = () => editor ? editor.$('a[data-wplink-edit="true"]') : null;
|
5 |
+
|
6 |
+
$(document).on('wplink-open', function (event, wrap) {
|
7 |
+
|
8 |
+
if (!inputs.sponsored) {
|
9 |
+
$('#link-options').append(
|
10 |
+
`<div class="link-sponsored">
|
11 |
+
<label><span></span>
|
12 |
+
<input type="checkbox" id="wp-link-sponsored" />${seopressI18n.sponsored}</label>
|
13 |
+
</div>`
|
14 |
+
);
|
15 |
+
}
|
16 |
+
if (wpLink.isMCE()) {
|
17 |
+
if (!inputs.nofollow) {
|
18 |
+
$('#link-options').append(
|
19 |
+
`<div class="link-no-follow">
|
20 |
+
<label><span></span>
|
21 |
+
<input type="checkbox" id="wp-link-no-follow" />${seopressI18n.nofollow}</label>
|
22 |
+
</div>`
|
23 |
+
);
|
24 |
+
}
|
25 |
+
if (!inputs.ugc) {
|
26 |
+
$('#link-options').append(
|
27 |
+
`<div class="link-ugc">
|
28 |
+
<label><span></span>
|
29 |
+
<input type="checkbox" id="wp-link-ugc" />${seopressI18n.ugc}</label>
|
30 |
+
</div>`
|
31 |
+
);
|
32 |
+
}
|
33 |
+
}
|
34 |
+
inputs.sponsored = $('#wp-link-sponsored');
|
35 |
+
inputs.nofollow = $('#wp-link-no-follow');
|
36 |
+
inputs.ugc = $('#wp-link-ugc');
|
37 |
+
inputs.openInNewTab = $('#wp-link-target');
|
38 |
+
inputs.url = $('#wp-link-url');
|
39 |
+
|
40 |
+
if (typeof window.tinymce !== 'undefined') {
|
41 |
+
const ed = window.tinymce.get(window.wpActiveEditor);
|
42 |
+
editor = ed && !ed.isHidden() ? ed : null;
|
43 |
+
const linkNode = getLink();
|
44 |
+
inputs.sponsored.prop('checked', linkNode.attr('rel')?.includes('sponsored'));
|
45 |
+
inputs.nofollow.prop('checked', linkNode.attr('rel')?.includes('nofollow'));
|
46 |
+
inputs.ugc.prop('checked', linkNode.attr('rel')?.includes('ugc'));
|
47 |
+
}
|
48 |
+
});
|
49 |
+
|
50 |
+
window.wpLink.getAttrs = function () {
|
51 |
+
wpLink.correctURL();
|
52 |
+
|
53 |
+
const attrs = {
|
54 |
+
href: inputs.url.val().trim(),
|
55 |
+
target: inputs.openInNewTab.prop('checked') ? '_blank' : null,
|
56 |
+
}
|
57 |
+
|
58 |
+
let rel = '';
|
59 |
+
rel += inputs.sponsored.prop('checked') ? 'sponsored ' : ''
|
60 |
+
rel += inputs.nofollow.prop('checked') ? 'nofollow ' : ''
|
61 |
+
rel += inputs.ugc.prop('checked') ? 'ugc ' : ''
|
62 |
+
attrs.rel = rel ? rel : null;
|
63 |
+
|
64 |
+
console.log(attrs);
|
65 |
+
return attrs;
|
66 |
+
};
|
67 |
+
|
68 |
+
window.wpLink.buildHtml = function (attrs) {
|
69 |
+
var html = '<a href="' + attrs.href + '"';
|
70 |
+
|
71 |
+
let rel = '';
|
72 |
+
if (attrs.target) {
|
73 |
+
html += ' target="' + attrs.target + '"';
|
74 |
+
rel += 'noopener ';
|
75 |
+
}
|
76 |
+
|
77 |
+
if (attrs.rel) rel += attrs.rel;
|
78 |
+
if (rel) html += ' rel="' + rel.trim() + '"';
|
79 |
+
|
80 |
+
return html + '>';
|
81 |
+
};
|
82 |
+
|
83 |
+
})(jQuery, window.wpLinkL10n, window.wp);
|
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(
|
1 |
+
jQuery(document).ready((function($){null==Cookies.get("seopress-user-consent-close")&&null==Cookies.get("seopress-user-consent-accept")&&($(".seopress-user-consent.seopress-user-message").removeClass("seopress-user-consent-hide"),$(".seopress-user-consent-backdrop").removeClass("seopress-user-consent-hide")),$("#seopress-user-consent-accept").on("click",(function(){$(".seopress-user-consent.seopress-user-message").addClass("seopress-user-consent-hide"),$(".seopress-user-consent-backdrop").addClass("seopress-user-consent-hide"),$.ajax({method:"GET",url:seopressAjaxGAUserConsent.seopress_cookies_user_consent,data:{action:"seopress_cookies_user_consent",_ajax_nonce:seopressAjaxGAUserConsent.seopress_nonce},success:function(data){data.data&&($("head").append(data.data.gtag_js),$("head").append(data.data.matomo_js),$("head").append(data.data.clarity_js),$("head").append(data.data.custom),$("head").append(data.data.head_js),$("body").prepend(data.data.body_js),$("body").append(data.data.footer_js)),Cookies.set("seopress-user-consent-accept","1",{expires:Number(seopressAjaxGAUserConsent.seopress_cookies_expiration_days)})}})})),$("#seopress-user-consent-close").on("click",(function(){$(".seopress-user-consent.seopress-user-message").addClass("seopress-user-consent-hide"),$(".seopress-user-consent-backdrop").addClass("seopress-user-consent-hide"),Cookies.set("seopress-user-consent-close","1",{expires:Number(seopressAjaxGAUserConsent.seopress_cookies_expiration_days)}),Cookies.remove("seopress-user-consent-accept")})),$("#seopress-user-consent-edit").on("click",(function(){$(".seopress-user-consent.seopress-user-message").removeClass("seopress-user-consent-hide"),$(".seopress-user-consent-backdrop").removeClass("seopress-user-consent-hide")}))}));
|
@@ -1 +1 @@
|
|
1 |
-
!function(e){var n=!1;if("function"==typeof define&&define.amd&&(define(e),n=!0),"object"==typeof exports&&(module.exports=e(),n=!0),!n){var o=window.Cookies,t=window.Cookies=e();t.noConflict=function(){return window.Cookies=o,t}}}(function(){function e(){for(var e=0,n={};e<arguments.length;e++){var o=arguments[e];for(var t in o)n[t]=o[t]}return n}return function n(o){function t(n,r,i){var c;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(i=e({path:"/"},t.defaults,i)).expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*i.expires),i.expires=a}i.expires=i.expires?i.expires.toUTCString():"";try{c=JSON.stringify(r),/^[\{\[]/.test(c)&&(r=c)}catch(e){}r=o.write?o.write(r,n):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=(n=(n=encodeURIComponent(String(n))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var s="";for(var f in i)i[f]&&(s+="; "+f,!0!==i[f]&&(s+="="+i[f]));return document.cookie=n+"="+r+s}n||(c={});for(var p=document.cookie?document.cookie.split("; "):[],d=/(%[0-9A-Z]{2})+/g,u=0;u<p.length;u++){var l=p[u].split("="),C=l.slice(1).join("=");this.json||'"'!==C.charAt(0)||(C=C.slice(1,-1));try{var g=l[0].replace(d,decodeURIComponent);if(C=o.read?o.read(C,g):o(C,g)||C.replace(d,decodeURIComponent),this.json)try{C=JSON.parse(C)}catch(e){}if(n===g){c=C;break}n||(c[g]=C)}catch(e){}}return c}}return t.set=t,t.get=function(e){return t.call(t,e)},t.getJSON=function(){return t.apply({json:!0},[].slice.call(arguments))},t.defaults={},t.remove=function(n,o){t(n,"",e(o,{expires:-1}))},t.withConverter=n,t}(function(){})});
|
1 |
+
!function(e){var n=!1;if("function"==typeof define&&define.amd&&(define(e),n=!0),"object"==typeof exports&&(module.exports=e(),n=!0),!n){var o=window.Cookies,t=window.Cookies=e();t.noConflict=function(){return window.Cookies=o,t}}}((function(){function e(){for(var e=0,n={};e<arguments.length;e++){var o=arguments[e];for(var t in o)n[t]=o[t]}return n}return function n(o){function t(n,r,i){var c;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(i=e({path:"/"},t.defaults,i)).expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*i.expires),i.expires=a}i.expires=i.expires?i.expires.toUTCString():"";try{c=JSON.stringify(r),/^[\{\[]/.test(c)&&(r=c)}catch(e){}r=o.write?o.write(r,n):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=(n=(n=encodeURIComponent(String(n))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var s="";for(var f in i)i[f]&&(s+="; "+f,!0!==i[f]&&(s+="="+i[f]));return document.cookie=n+"="+r+s}n||(c={});for(var p=document.cookie?document.cookie.split("; "):[],d=/(%[0-9A-Z]{2})+/g,u=0;u<p.length;u++){var l=p[u].split("="),C=l.slice(1).join("=");this.json||'"'!==C.charAt(0)||(C=C.slice(1,-1));try{var g=l[0].replace(d,decodeURIComponent);if(C=o.read?o.read(C,g):o(C,g)||C.replace(d,decodeURIComponent),this.json)try{C=JSON.parse(C)}catch(e){}if(n===g){c=C;break}n||(c[g]=C)}catch(e){}}return c}}return t.set=t,t.get=function(e){return t.call(t,e)},t.getJSON=function(){return t.apply({json:!0},[].slice.call(arguments))},t.defaults={},t.remove=function(n,o){t(n,"",e(o,{expires:-1}))},t.withConverter=n,t}((function(){}))}));
|
@@ -961,6 +961,7 @@ jQuery(document).ready(function (e) {
|
|
961 |
"",
|
962 |
sp_ca_toggle
|
963 |
),
|
|
|
964 |
e(".analysis-score p").removeClass("loading"),
|
965 |
e(" #seopress_titles_title_counters_val").remove(),
|
966 |
e(" #seopress_titles_desc_counters_val").remove(),
|
961 |
"",
|
962 |
sp_ca_toggle
|
963 |
),
|
964 |
+
e('#seopress-wrap-notice-target-kw').load(" #seopress-notice-target-kw", ''),
|
965 |
e(".analysis-score p").removeClass("loading"),
|
966 |
e(" #seopress_titles_title_counters_val").remove(),
|
967 |
e(" #seopress_titles_desc_counters_val").remove(),
|
@@ -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","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).attr("aria-expanded","false"==jQuery(this).attr("aria-expanded")),jQuery(this).parent().parent().next(".gr-analysis-content").toggle(),jQuery(this).parent().parent().next(".gr-analysis-content").attr("aria-hidden","true"!=jQuery(this).parent().parent().next(".gr-analysis-content").attr("aria-hidden"))}),jQuery("#expand-all").on("click",function(e){e.preventDefault(),jQuery(".gr-analysis-content").show(),jQuery(".gr-analysis-title button").attr("aria-expanded",!0),jQuery(".gr-analysis-content").attr("aria-hidden",!1)}),jQuery("#close-all").on("click",function(e){e.preventDefault(),jQuery(".gr-analysis-content").hide(),jQuery(".gr-analysis-title button").attr("aria-expanded",!1),jQuery(".gr-analysis-content").attr("aria-hidden",!0)})}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())})}document.addEventListener("DOMContentLoaded",function(){const e=jQuery;e("#seopress-ca-tabs").length&&e("#seopress-ca-tabs .wrap-ca-list").length&&(e("#seopress-ca-tabs .hidden").removeClass("hidden"),e("#seopress-ca-tabs").tabs())});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(),jQuery("#seopress_inspect_url").on("click",function(){if(jQuery(this).attr("disabled","disabled"),jQuery(".spinner").css("visibility","visible"),jQuery(".spinner").css("float","none"),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");e.ajax({method:"POST",url:seopressAjaxInspectUrl.seopress_inspect_url,data:{action:"seopress_inspect_url",post_id:t,_ajax_nonce:seopressAjaxInspectUrl.seopress_nonce},success:function(){jQuery(".spinner").css("visibility","hidden"),jQuery("#seopress_inspect_url").removeAttr("disabled"),jQuery("#seopress-ca-tabs-1").load(" #seopress-ca-tabs-1")}})})});
|
1 |
+
function sp_titles_counters(){const $=jQuery;let elementTitleMeta=$("#seopress_titles_title_meta");if($("#seopress_titles_title_meta").length){$(".snippet-title-custom:visible").length>0?elementTitleMeta=$(".snippet-title-custom"):$(".snippet-title:visible").length>0?elementTitleMeta=$(".snippet-title"):$(".snippet-title-default:visible").length>0&&(elementTitleMeta=$(".snippet-title-default"));var meta_title_val=elementTitleMeta.val(),meta_title_placeholder=jQuery("#seopress_titles_title_meta").attr("placeholder");if(jQuery("#seopress_titles_title_counters").after('<div id="seopress_titles_title_counters_val">/ 60</div>'),meta_title_val.length>0?(jQuery("#seopress_titles_title_counters").text(meta_title_val.length),jQuery("#seopress_titles_title_pixel").text(pixelTitle(meta_title_val))):meta_title_placeholder.length&&(jQuery("#seopress_titles_title_counters").text(meta_title_placeholder.length),jQuery("#seopress_titles_title_pixel").text(pixelTitle(meta_title_placeholder))),meta_title_val.length>60?jQuery("#seopress_titles_title_counters").css("color","red"):meta_title_placeholder.length>60&&jQuery("#seopress_titles_title_counters").css("color","red"),pixelTitle(meta_title_val)>568?jQuery("#seopress_titles_title_pixel").css("color","red"):pixelTitle(meta_title_placeholder)>568&&jQuery("#seopress_titles_title_pixel").css("color","red"),meta_title_val.length)var progress=Math.round(pixelTitle(meta_title_val)/568*100);else var progress=Math.round(pixelTitle(meta_title_placeholder)/568*100);progress>=100&&(progress=100),jQuery("#seopress_titles_title_counters_progress").attr("aria-valuenow",progress),jQuery("#seopress_titles_title_counters_progress").text(progress+"%"),jQuery("#seopress_titles_title_counters_progress").css("width",progress+"%"),jQuery("#seopress_titles_title_meta, #seopress-tag-single-title, #seopress-tag-single-site-title, #seopress-tag-single-sep").on("keyup paste change click",(function(e){var meta_title_val=$("#seopress_titles_title_meta").val();$(".snippet-title-custom:visible").length>0?meta_title_val=$(".snippet-title-custom").text():$(".snippet-title:visible").length>0?meta_title_val=$(".snippet-title").text():$(".snippet-title-default:visible").length>0&&(meta_title_val=$(".snippet-title-default").text());var meta_title_placeholder=jQuery("#seopress_titles_title_meta").attr("placeholder");if(jQuery("#seopress_titles_title_counters").css("color","inherit"),jQuery("#seopress_titles_title_pixel").css("color","inherit"),meta_title_val.length>60&&jQuery("#seopress_titles_title_counters").css("color","red"),pixelTitle(meta_title_val)>568&&jQuery("#seopress_titles_title_pixel").css("color","red"),0==meta_title_val.length&&(meta_title_placeholder.length>60&&jQuery("#seopress_titles_title_counters").css("color","red"),pixelTitle(meta_title_placeholder)>568&&jQuery("#seopress_titles_title_pixel").css("color","red")),meta_title_val.length>0?(jQuery("#seopress_titles_title_counters").text(meta_title_val.length),jQuery("#seopress_titles_title_pixel").text(pixelTitle(meta_title_val))):meta_title_placeholder.length&&(jQuery("#seopress_titles_title_counters").text(meta_title_placeholder.length),jQuery("#seopress_titles_title_pixel").text(pixelTitle(meta_title_placeholder))),meta_title_val.length)var progress=Math.round(pixelTitle(meta_title_val)/568*100);else var progress=Math.round(pixelTitle(meta_title_placeholder)/568*100);progress>=100&&(progress=100),jQuery("#seopress_titles_title_counters_progress").attr("aria-valuenow",progress),jQuery("#seopress_titles_title_counters_progress").text(progress+"%"),jQuery("#seopress_titles_title_counters_progress").css("width",progress+"%")}))}}function sp_meta_desc_counters(){if(jQuery("#seopress_titles_desc_meta").length){var meta_desc_val=jQuery("#seopress_titles_desc_meta").val(),meta_desc_placeholder=jQuery("#seopress_titles_desc_meta").attr("placeholder");if(jQuery("#seopress_titles_desc_counters").after('<div id="seopress_titles_desc_counters_val">/ 160</div>'),meta_desc_val.length>0?(jQuery("#seopress_titles_desc_counters").text(meta_desc_val.length),jQuery("#seopress_titles_desc_pixel").text(pixelDesc(meta_desc_val))):meta_desc_placeholder.length&&(jQuery("#seopress_titles_desc_counters").text(meta_desc_placeholder.length),jQuery("#seopress_titles_desc_pixel").text(pixelDesc(meta_desc_placeholder))),meta_desc_val.length>160?jQuery("#seopress_titles_desc_counters").css("color","red"):meta_desc_placeholder.length>160&&jQuery("#seopress_titles_desc_counters").css("color","red"),pixelDesc(meta_desc_val)>940?jQuery("#seopress_titles_desc_pixel").css("color","red"):pixelDesc(meta_desc_placeholder)>940&&jQuery("#seopress_titles_desc_pixel").css("color","red"),meta_desc_val.length)var progress=Math.round(pixelDesc(meta_desc_val)/940*100);else var progress=Math.round(pixelDesc(meta_desc_placeholder)/940*100);progress>=100&&(progress=100),jQuery("#seopress_titles_desc_counters_progress").attr("aria-valuenow",progress),jQuery("#seopress_titles_desc_counters_progress").text(progress+"%"),jQuery("#seopress_titles_desc_counters_progress").css("width",progress+"%"),jQuery("#seopress_titles_desc_meta, #seopress-tag-single-excerpt").on("keyup paste change click",(function(e){var meta_desc_val=jQuery("#seopress_titles_desc_meta").val(),meta_desc_placeholder=jQuery("#seopress_titles_desc_meta").attr("placeholder");if(jQuery("#seopress_titles_desc_counters").css("color","inherit"),jQuery("#seopress_titles_desc_pixel").css("color","inherit"),meta_desc_val.length>160&&jQuery("#seopress_titles_desc_counters").css("color","red"),pixelDesc(meta_desc_val)>940&&jQuery("#seopress_titles_desc_pixel").css("color","red"),0==meta_desc_val.length&&(meta_desc_placeholder.length>160&&jQuery("#seopress_titles_desc_counters").css("color","red"),pixelDesc(meta_desc_placeholder)>940&&jQuery("#seopress_titles_desc_pixel").css("color","red")),meta_desc_val.length>0?(jQuery("#seopress_titles_desc_counters").text(meta_desc_val.length),jQuery("#seopress_titles_desc_pixel").text(pixelDesc(meta_desc_val))):meta_desc_placeholder.length&&(jQuery("#seopress_titles_desc_counters").text(meta_desc_placeholder.length),jQuery("#seopress_titles_desc_pixel").text(pixelDesc(meta_desc_placeholder))),meta_desc_val.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==meta_desc_val.length&&(jQuery(".snippet-description-default").css("display","inline"),jQuery(".snippet-description-custom").css("display","none"),jQuery(".snippet-description").css("display","none")),meta_desc_val.length)var progress=Math.round(pixelDesc(meta_desc_val)/940*100);else var progress=Math.round(pixelDesc(meta_desc_placeholder)/940*100);progress>=100&&(progress=100),jQuery("#seopress_titles_desc_counters_progress").attr("aria-valuenow",progress),jQuery("#seopress_titles_desc_counters_progress").text(progress+"%"),jQuery("#seopress_titles_desc_counters_progress").css("width",progress+"%")})),jQuery("#excerpt, .editor-post-excerpt textarea").keyup((function(e){var meta_desc_val=jQuery("#seopress_titles_desc_meta").val(),meta_desc_placeholder=jQuery("#seopress_titles_desc_meta").attr("placeholder");if(0==meta_desc_val.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")),meta_desc_val.length)var progress=meta_desc_val.length;else var progress=meta_desc_placeholder.length;progress>=100&&(progress=100),jQuery("#seopress_titles_desc_counters_progress").attr("aria-valuenow",progress),jQuery("#seopress_titles_desc_counters_progress").text(progress+"%"),jQuery("#seopress_titles_desc_counters_progress").css("width",progress+"%")}))}}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(string){var res;return null!==string.match(/(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g)}function sp_social_img(social_slug){if(jQuery("#seopress_social_fb_title_meta").length){var meta_img_val;if(jQuery(".snippet-"+social_slug+"-img-alert").css("display","none"),""==(meta_img_val=jQuery("#seopress_social_"+social_slug+"_img_meta").val()))var meta_img_val=jQuery("#seopress_social_"+social_slug+"_img_meta").attr("placeholder");!0===sp_is_valid_url(meta_img_val)?(meta_img_val.length>0?(jQuery(".snippet-"+social_slug+"-img-custom img").attr("src",meta_img_val),jQuery(".snippet-"+social_slug+"-img").css("display","none"),jQuery(".snippet-"+social_slug+"-img-custom").css("display","block"),jQuery(".snippet-"+social_slug+"-img-default").css("display","none")):0==meta_img_val.length&&(jQuery(".snippet-"+social_slug+"-img-default").css("display","block"),jQuery(".snippet-"+social_slug+"-img-custom").css("display","none"),jQuery(".snippet-"+social_slug+"-img").css("display","none")),meta_img_val.length>0&&jQuery.get(meta_img_val).done((function(){var meta_img_filetype=meta_img_val.split(/\#|\?/)[0].split(".").pop().trim(),types;if(-1==["jpg","jpeg","gif","png","webp"].indexOf(meta_img_filetype))jQuery(".snippet-"+social_slug+"-img-alert.alert1").css("display","block");else{var tmp_img=new Image;tmp_img.src=meta_img_val,jQuery(tmp_img).one("load",(function(){pic_real_width=parseInt(tmp_img.width),pic_real_height=parseInt(tmp_img.height),"fb"==social_slug?(min_width=200,min_height=200):(min_width=144,min_height=144),(pic_real_width<min_width||pic_real_height<min_height)&&jQuery(".snippet-"+social_slug+"-img-alert.alert2").css("display","block"),ratio_img=(pic_real_width/pic_real_height).toFixed(2),jQuery(".snippet-"+social_slug+"-img-alert.alert4").css("display","block"),jQuery(".snippet-"+social_slug+"-img-alert.alert4 span").text(ratio_img)}))}})).fail((function(){jQuery(".snippet-"+social_slug+"-img-alert.alert3").css("display","block")}))):jQuery(".snippet-"+social_slug+"-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 meta_fb_title_val=jQuery("#seopress_social_fb_title_meta").val();meta_fb_title_val.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==meta_fb_title_val.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 meta_fb_desc_val=jQuery("#seopress_social_fb_desc_meta").val();meta_fb_desc_val.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==meta_fb_desc_val.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 meta_fb_title_val=jQuery("#seopress_social_twitter_title_meta").val();meta_fb_title_val.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==meta_fb_title_val.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 meta_fb_desc_val=jQuery("#seopress_social_twitter_desc_meta").val();meta_fb_desc_val.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==meta_fb_desc_val.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 stop=!1;jQuery(".gr-analysis-title .btn-toggle").on("click",(function(e){stop&&(event.stopImmediatePropagation(),event.preventDefault(),stop=!1),jQuery(this).toggleClass("open"),jQuery(this).attr("aria-expanded","false"==jQuery(this).attr("aria-expanded")),jQuery(this).parent().parent().next(".gr-analysis-content").toggle(),jQuery(this).parent().parent().next(".gr-analysis-content").attr("aria-hidden","true"!=jQuery(this).parent().parent().next(".gr-analysis-content").attr("aria-hidden"))})),jQuery("#expand-all").on("click",(function(e){e.preventDefault(),jQuery(".gr-analysis-content").show(),jQuery(".gr-analysis-title button").attr("aria-expanded",!0),jQuery(".gr-analysis-content").attr("aria-hidden",!1)})),jQuery("#close-all").on("click",(function(e){e.preventDefault(),jQuery(".gr-analysis-content").hide(),jQuery(".gr-analysis-title button").attr("aria-expanded",!1),jQuery(".gr-analysis-content").attr("aria-hidden",!0)}))}document.addEventListener("DOMContentLoaded",(function(){const $=jQuery;$("#seopress-ca-tabs").length&&$("#seopress-ca-tabs .wrap-ca-list").length&&($("#seopress-ca-tabs .hidden").removeClass("hidden"),$("#seopress-ca-tabs").tabs())}));var input=document.querySelector("input[id=seopress_analysis_target_kw_meta]"),target_kw=new Tagify(input,{originalInputValueFormat:valuesArr=>valuesArr.map(item=>item.value).join(",")});function seopress_google_suggest(data){var raw_suggestions,suggestions_array=String(data).split(","),i;for(i=0;i<suggestions_array.length;i++)null!=suggestions_array[i]&&null!=suggestions_array[i]&&""!=suggestions_array[i]&&"[object Object]"!=suggestions_array[i]&&(document.getElementById("seopress_suggestions").innerHTML+='<li><a href="#" class="sp-suggest-btn components-button is-secondary">'+suggestions_array[i]+"</a></li>");jQuery(".sp-suggest-btn").click((function(e){e.preventDefault(),target_kw.addTags(jQuery(this).text())}))}jQuery(document).ready((function(e){function s(){if(void 0!==e("#seopress-tabs").attr("data_id"))var post_id=e("#seopress-tabs").attr("data_id");else if(void 0!==e("#seopress_content_analysis .wrap-seopress-analysis").attr("data_id"))var post_id=e("#seopress_content_analysis .wrap-seopress-analysis").attr("data_id");if(void 0!==e("#seopress-tabs").attr("data_tax"))var tax_name=e("#seopress-tabs").attr("data_tax");else if(void 0!==e("#seopress_content_analysis .wrap-seopress-analysis").attr("data_tax"))var tax_name=e("#seopress_content_analysis .wrap-seopress-analysis").attr("data_tax");if(void 0!==e("#seopress-tabs").attr("data_origin"))var origin=e("#seopress-tabs").attr("data_origin");else if(void 0!==e("#seopress_content_analysis .wrap-seopress-analysis").attr("data_origin"))var origin=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:post_id,tax_name:tax_name,origin:origin,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(s){void 0===s.data.og_title?og_title="":og_title=s.data.og_title.values,void 0===s.data.og_desc?og_desc="":og_desc=s.data.og_desc.values,void 0===s.data.og_img?og_img="":og_img=s.data.og_img.values,void 0===s.data.og_url?og_url="":og_url=s.data.og_url.host,void 0===s.data.og_site_name?og_site_name="":og_site_name=s.data.og_site_name.values,void 0===s.data.tw_title?tw_title="":tw_title=s.data.tw_title.values,void 0===s.data.tw_desc?tw_desc="":tw_desc=s.data.tw_desc.values,void 0===s.data.tw_img?tw_img="":tw_img=s.data.tw_img.values,void 0===s.data.meta_robots?meta_robots="":meta_robots=s.data.meta_robots[0];var data_arr={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},if_noindex;for(var key in data_arr)data_arr.length&&(key=data_arr[key].length>1?data_arr[key].slice(-1)[0]:data_arr[key][0]);meta_robots=meta_robots.toString(),e("#sp-advanced-alert").empty(),new RegExp("noindex").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(s.data.title),e("#seopress_cpt .google-snippet-preview .snippet-title-default").html(s.data.title),e("#seopress_titles_title_meta").attr("placeholder",s.data.title),e("#seopress_cpt .google-snippet-preview .snippet-description").html(s.data.meta_desc),e("#seopress_cpt .google-snippet-preview .snippet-description-default").html(s.data.meta_desc),e("#seopress_titles_desc_meta").attr("placeholder",s.data.meta_desc),data_arr.og_title&&(e("#seopress_cpt #seopress_social_fb_title_meta").attr("placeholder",data_arr.og_title[0]),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-title").html(data_arr.og_title[0]),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-title-default").html(data_arr.og_title[0])),data_arr.og_desc&&(e("#seopress_cpt #seopress_social_fb_desc_meta").attr("placeholder",data_arr.og_desc[0]),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-description").html(data_arr.og_desc[0]),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-description-default").html(data_arr.og_desc[0])),data_arr.og_img&&(e("#seopress_cpt #seopress_social_fb_img_meta").attr("placeholder",data_arr.og_img[0]),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-img img").attr("src",data_arr.og_img[0]),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-img-default img").attr("src",data_arr.og_img[0])),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-url").html(data_arr.og_url),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-site-name").html(data_arr.og_site_name),data_arr.tw_title&&(e("#seopress_cpt #seopress_social_twitter_title_meta").attr("placeholder",data_arr.tw_title[0]),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-title").html(data_arr.tw_title[0]),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-title-default").html(data_arr.tw_title[0])),data_arr.tw_desc&&(e("#seopress_cpt #seopress_social_twitter_desc_meta").attr("placeholder",data_arr.tw_desc[0]),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-description").html(data_arr.tw_desc[0]),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-description-default").html(data_arr.tw_desc[0])),data_arr.tw_img&&(e("#seopress_cpt #seopress_social_twitter_img_meta").attr("placeholder",data_arr.tw_img[0]),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-img img").attr("src",data_arr.tw_img[0]),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-img-default img").attr("src",data_arr.tw_img[0])),e("#seopress_cpt .twitter-snippet-preview .snippet-twitter-url").html(data_arr.og_url),e("#seopress_cpt #seopress_robots_canonical_meta").attr("placeholder",s.data.canonical),e("#seopress-analysis-tabs").load(" #seopress-analysis-tabs-1","",sp_ca_toggle),e("#seopress-wrap-notice-target-kw").load(" #seopress-notice-target-kw",""),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")})),s(),e("#seopress_launch_analysis").on("click",(function(){s()})),sp_ca_toggle(),jQuery("#seopress_inspect_url").on("click",(function(){if(jQuery(this).attr("disabled","disabled"),jQuery(".spinner").css("visibility","visible"),jQuery(".spinner").css("float","none"),void 0!==e("#seopress-tabs").attr("data_id"))var post_id=e("#seopress-tabs").attr("data_id");else if(void 0!==e("#seopress_content_analysis .wrap-seopress-analysis").attr("data_id"))var post_id=e("#seopress_content_analysis .wrap-seopress-analysis").attr("data_id");e.ajax({method:"POST",url:seopressAjaxInspectUrl.seopress_inspect_url,data:{action:"seopress_inspect_url",post_id:post_id,_ajax_nonce:seopressAjaxInspectUrl.seopress_nonce},success:function(){jQuery(".spinner").css("visibility","hidden"),jQuery("#seopress_inspect_url").removeAttr("disabled"),jQuery("#seopress-ca-tabs-1").load(" #seopress-ca-tabs-1")}})}))}));
|
@@ -175,12 +175,12 @@ jQuery(document).ready(function ($) {
|
|
175 |
if (typeof sessionStorage != 'undefined') {
|
176 |
var seopress_admin_tab_session_storage = sessionStorage.getItem("seopress_admin_tab");
|
177 |
|
178 |
-
if (clean_hash[1] == '1') { //
|
179 |
$('#tab_seopress_analytics-tab').addClass("nav-tab-active");
|
180 |
$('#tab_seopress_analytics').addClass("active");
|
181 |
-
} else if (clean_hash[1] == '2') { //
|
182 |
-
$('#
|
183 |
-
$('#
|
184 |
} else if (clean_hash[1] == '3') { //Page Speed Tab
|
185 |
$('#tab_seopress_ps-tab').addClass("nav-tab-active");
|
186 |
$('#tab_seopress_ps_tools').addClass("active");
|
@@ -205,7 +205,7 @@ jQuery(document).ready(function ($) {
|
|
205 |
if (clean_hash[1] == 1) {
|
206 |
sessionStorage.setItem("seopress_admin_tab", 'tab_seopress_analytics');
|
207 |
} else if (clean_hash[1] == 2) {
|
208 |
-
sessionStorage.setItem("seopress_admin_tab", '
|
209 |
} else if (clean_hash[1] == 3) {
|
210 |
sessionStorage.setItem("seopress_admin_tab", 'tab_seopress_ps_tools');
|
211 |
} else {
|
@@ -215,25 +215,6 @@ jQuery(document).ready(function ($) {
|
|
215 |
$('#seopress-admin-tabs').find('.seopress-tab.active').removeClass("active");
|
216 |
$('#' + hash).addClass("active");
|
217 |
});
|
218 |
-
//Request Reverse Domains
|
219 |
-
$('#seopress-reverse-submit').on('click', function () {
|
220 |
-
$.ajax({
|
221 |
-
method: 'GET',
|
222 |
-
url: seopressAjaxReverse.seopress_request_reverse,
|
223 |
-
data: {
|
224 |
-
action: 'seopress_request_reverse',
|
225 |
-
_ajax_nonce: seopressAjaxReverse.seopress_nonce,
|
226 |
-
},
|
227 |
-
success: function (data) {
|
228 |
-
window.location.reload(true);
|
229 |
-
},
|
230 |
-
});
|
231 |
-
});
|
232 |
-
$('#seopress-reverse-submit').on('click', function () {
|
233 |
-
$(this).attr("disabled", "disabled");
|
234 |
-
$('#spinner-reverse.spinner').css("visibility", "visible");
|
235 |
-
$('#spinner-reverse.spinner').css("float", "none");
|
236 |
-
});
|
237 |
|
238 |
//Drag and drop for cards
|
239 |
$(".seopress-dashboard-columns .seopress-dashboard-column:last-child").sortable({
|
175 |
if (typeof sessionStorage != 'undefined') {
|
176 |
var seopress_admin_tab_session_storage = sessionStorage.getItem("seopress_admin_tab");
|
177 |
|
178 |
+
if (clean_hash[1] == '1') { //Analytics Tab
|
179 |
$('#tab_seopress_analytics-tab').addClass("nav-tab-active");
|
180 |
$('#tab_seopress_analytics').addClass("active");
|
181 |
+
} else if (clean_hash[1] == '2') { //Matomo Tab
|
182 |
+
$('#tab_seopress_matomo-tab').addClass("nav-tab-active");
|
183 |
+
$('#tab_seopress_matomo').addClass("active");
|
184 |
} else if (clean_hash[1] == '3') { //Page Speed Tab
|
185 |
$('#tab_seopress_ps-tab').addClass("nav-tab-active");
|
186 |
$('#tab_seopress_ps_tools').addClass("active");
|
205 |
if (clean_hash[1] == 1) {
|
206 |
sessionStorage.setItem("seopress_admin_tab", 'tab_seopress_analytics');
|
207 |
} else if (clean_hash[1] == 2) {
|
208 |
+
sessionStorage.setItem("seopress_admin_tab", 'tab_seopress_matomo');
|
209 |
} else if (clean_hash[1] == 3) {
|
210 |
sessionStorage.setItem("seopress_admin_tab", 'tab_seopress_ps_tools');
|
211 |
} else {
|
215 |
$('#seopress-admin-tabs').find('.seopress-tab.active').removeClass("active");
|
216 |
$('#' + hash).addClass("active");
|
217 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
218 |
|
219 |
//Drag and drop for cards
|
220 |
$(".seopress-dashboard-columns .seopress-dashboard-column:last-child").sortable({
|
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(
|
1 |
+
jQuery(document).ready((function($){$.trim($("#seopress-notifications-center").html())||$("#seopress-notifications-center").remove();const notices=["notice-get-started","notice-usm","notice-wizard","notice-insights-wizard","notice-seo-consultant","notice-amp-analytics","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","notice-robots-txt","notice-robots-txt-valid"];notices.forEach((function(item){$("#"+item).on("click",(function(){$("#"+item).attr("data-notice","1"==$("#"+item).attr("data-notice")?"0":"1"),$.ajax({method:"POST",url:seopressAjaxHideNotices.seopress_hide_notices,data:{action:"seopress_hide_notices",notice:item,notice_value:$("#"+item).attr("data-notice"),_ajax_nonce:seopressAjaxHideNotices.seopress_nonce},success:function(data){$("#seopress-notice-save").css("display","block"),$("#seopress-notice-save .html").html("Notice successfully removed"),$("#"+item+"-alert").fadeOut(),$("#seopress-notice-save").delay(3500).fadeOut()}})}))}));const features=["titles","xml-sitemap","social","google-analytics","instant-indexing","advanced","local-business","woocommerce","edd","dublin-core","rich-snippets","breadcrumbs","inspect-url","robots","news","404","bot","rewrite","white-label"];features.forEach((function(item){$("#toggle-"+item).on("click",(function(){$("#toggle-"+item).attr("data-toggle","1"==$("#toggle-"+item).attr("data-toggle")?"0":"1"),$(this).siblings("#titles-state-default").toggleClass("feature-state-off"),$(this).siblings("#titles-state").toggleClass("feature-state-off"),$.ajax({method:"POST",url:seopressAjaxToggleFeatures.seopress_toggle_features,data:{action:"seopress_toggle_features",feature:"toggle-"+item,feature_value:$("#toggle-"+item).attr("data-toggle"),_ajax_nonce:seopressAjaxToggleFeatures.seopress_nonce},success:function(){window.history.pushState("","",window.location.href+"&settings-updated=true"),$("#seopress-notice-save").show(),$("#seopress-notice-save").delay(3500).fadeOut(),window.history.pushState("","",window.location.href)}})}))})),$("#seopress-activity-panel button").on("click",(function(){$(this).toggleClass("is-active"),$("#seopress-activity-panel-"+$(this).data("panel")).toggleClass("is-open")})),$("#seopress-content").on("click",(function(){$("#seopress-activity-panel").find(".is-open").toggleClass("is-open"),$("#seopress-activity-panel").find(".is-active").toggleClass("is-active")})),$(".seopress-item-toggle-options").on("click",(function(){$(this).next(".seopress-card-popover").toggleClass("is-open")})),$("#seopress-news-items").on("click",(function(){$.ajax({method:"POST",url:seopressAjaxNews.seopress_news,data:{action:"seopress_news",news_max_items:$("#news_max_items").val(),_ajax_nonce:seopressAjaxNews.seopress_nonce},success:function(data){$("#seopress-news-panel .seopress-card-content").load(" #seopress-news-panel .seopress-card-content"),$("#seopress-news-panel .seopress-card-popover").toggleClass("is-open")}})})),$("#seopress_news").on("click",(function(){$("#seopress-news-panel").toggleClass("is-active"),$("#seopress_news").attr("data-toggle","1"==$("#seopress_news").attr("data-toggle")?"0":"1"),$.ajax({method:"POST",url:seopressAjaxDisplay.seopress_display,data:{action:"seopress_display",news_center:$("#seopress_news").attr("data-toggle"),_ajax_nonce:seopressAjaxDisplay.seopress_nonce}})})),$("#seopress_tools").on("click",(function(){$("#notice-insights-alert").toggleClass("is-active"),$("#seopress_tools").attr("data-toggle","1"==$("#seopress_tools").attr("data-toggle")?"0":"1"),$.ajax({method:"POST",url:seopressAjaxDisplay.seopress_display,data:{action:"seopress_display",tools_center:$("#seopress_tools").attr("data-toggle"),_ajax_nonce:seopressAjaxDisplay.seopress_nonce}})})),$("#notifications_center").on("click",(function(){$("#seopress-notifications-center").toggleClass("is-active"),$("#notifications_center").attr("data-toggle","1"==$("#notifications_center").attr("data-toggle")?"0":"1"),$.ajax({method:"POST",url:seopressAjaxDisplay.seopress_display,data:{action:"seopress_display",notifications_center:$("#notifications_center").attr("data-toggle"),_ajax_nonce:seopressAjaxDisplay.seopress_nonce}})}))})),jQuery(document).ready((function($){var get_hash,clean_hash=window.location.hash.split("$");if("undefined"!=typeof sessionStorage){var seopress_admin_tab_session_storage=sessionStorage.getItem("seopress_admin_tab");"1"==clean_hash[1]?($("#tab_seopress_analytics-tab").addClass("nav-tab-active"),$("#tab_seopress_analytics").addClass("active")):"2"==clean_hash[1]?($("#tab_seopress_matomo-tab").addClass("nav-tab-active"),$("#tab_seopress_matomo").addClass("active")):"3"==clean_hash[1]?($("#tab_seopress_ps-tab").addClass("nav-tab-active"),$("#tab_seopress_ps_tools").addClass("active")):seopress_admin_tab_session_storage?($("#seopress-admin-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),$("#seopress-admin-tabs").find(".seopress-tab.active").removeClass("active"),$("#"+seopress_admin_tab_session_storage.split("#tab=")+"-tab").addClass("nav-tab-active"),$("#"+seopress_admin_tab_session_storage.split("#tab=")).addClass("active")):($("#seopress-admin-tabs a.nav-tab").first().addClass("nav-tab-active"),$("#seopress-admin-tabs .wrap-seopress-tab-content > div").first().addClass("active"))}$("#seopress-admin-tabs").find("a.nav-tab").click((function(e){e.preventDefault();var hash=$(this).attr("href").split("#tab=")[1];$("#seopress-admin-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),$("#"+hash+"-tab").addClass("nav-tab-active"),1==clean_hash[1]?sessionStorage.setItem("seopress_admin_tab","tab_seopress_analytics"):2==clean_hash[1]?sessionStorage.setItem("seopress_admin_tab","tab_seopress_matomo"):3==clean_hash[1]?sessionStorage.setItem("seopress_admin_tab","tab_seopress_ps_tools"):sessionStorage.setItem("seopress_admin_tab",hash),$("#seopress-admin-tabs").find(".seopress-tab.active").removeClass("active"),$("#"+hash).addClass("active")})),$(".seopress-dashboard-columns .seopress-dashboard-column:last-child").sortable({items:".seopress-card",placeholder:"sp-dashboard-card-highlight",cancel:".seopress-intro, .seopress-card-popover",handle:".seopress-card-title",opacity:.9,forcePlaceholderSize:!0,update:function(e){const item=jQuery(e.target);var postData=item.sortable("toArray",{attribute:"id"});$.ajax({method:"POST",url:seopressAjaxDndFeatures.seopress_dnd_features,data:{action:"seopress_dnd_features",order:postData,_ajax_nonce:seopressAjaxDndFeatures.seopress_nonce}})}})}));
|
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(
|
1 |
+
jQuery(document).ready((function($){var mediaUploader;$("#seopress_social_fb_img_meta").on("paste",(function(){$("#seopress_social_fb_img_attachment_id").val(""),$("#seopress_social_fb_img_width").val(""),$("#seopress_social_fb_img_height").val("")})),$("#seopress_social_twitter_img_meta").on("paste",(function(){$("#seopress_social_twitter_img_attachment_id").val(""),$("#seopress_social_twitter_img_width").val(""),$("#seopress_social_twitter_img_height").val("")})),$(".button.seopress_social_facebook_img_cpt").click((function(e){e.preventDefault();var url_field=$(this).parent().find("input[type=text]");(mediaUploader=wp.media.frames.file_frame=wp.media({multiple:!1})).on("select",(function(){attachment=mediaUploader.state().get("selection").first().toJSON(),$(url_field).val(attachment.url)})),mediaUploader.open()}));const array=["#seopress_social_knowledge_img","#seopress_social_twitter_img","#seopress_social_fb_img",".seopress_social_fb_img",".seopress_social_twitter_img","#knowledge_img"];array.forEach((function(item){var mediaUploader;$(item+"_upload").click((function(e){e.preventDefault(),mediaUploader?mediaUploader.open():((mediaUploader=wp.media.frames.file_frame=wp.media({multiple:!1})).on("select",(function(){attachment=mediaUploader.state().get("selection").first().toJSON(),$(item+"_meta").val(attachment.url),"#seopress_social_fb_img"!=item&&".seopress_social_fb_img"!=item||"undefined"==typeof sp_social_img||sp_social_img("fb"),"#seopress_social_twitter_img"!=item&&".seopress_social_twitter_img"!=item||"undefined"==typeof sp_social_img||sp_social_img("twitter"),0!=$(item+"_attachment_id").length&&($(item+"_attachment_id").val(attachment.id),$(item+"_width").val(attachment.width),$(item+"_height").val(attachment.height))})),mediaUploader.open())}))})),$(".seopress-btn-upload-media").click((function(e){var mediaUploader;if(e.preventDefault(),mediaUploader)mediaUploader.open();else{mediaUploader=wp.media.frames.file_frame=wp.media({multiple:!1});var _self=$(this);mediaUploader.on("select",(function(){attachment=mediaUploader.state().get("selection").first().toJSON(),$(_self.data("input-value")).val(attachment.url)})),mediaUploader.open()}}))}));
|
@@ -1 +1 @@
|
|
1 |
-
document.addEventListener("DOMContentLoaded",function(){function
|
1 |
+
document.addEventListener("DOMContentLoaded",(function(){const $=jQuery;function sp_get_field_length(e){return e.val().length>0?meta=e.val()+" ":meta=e.val(),meta}$("#seopress-tabs .hidden").removeClass("hidden"),$("#seopress-tabs").tabs();var debounce=function(func,wait,immediate){var timeout;return function(){var context=this,args=arguments,later=function(){timeout=null,immediate||func.apply(context,args)},callNow=immediate&&!timeout;clearTimeout(timeout),timeout=setTimeout(later,wait),callNow&&func.apply(context,args)}};$("#seopress_titles_title_meta").on("change paste keyup",debounce((function(e){const template=$(this).val(),termId=$("#seopress-tabs").data("term-id"),homeId=$("#seopress-tabs").data("home-id");$.ajax({method:"GET",url:seopressAjaxRealPreview.ajax_url,data:{action:"get_preview_meta_title",template:template,post_id:$("#seopress-tabs").attr("data_id"),term_id:0===termId.length?void 0:termId,home_id:0===homeId.length?void 0:homeId,nonce:seopressAjaxRealPreview.get_preview_meta_title},success:function(response){const{data:data}=response;data.length>0?($(".snippet-title").hide(),$(".snippet-title-default").hide(),$(".snippet-title-custom").text(data),$(".snippet-title-custom").show(),$("#seopress_titles_title_counters").length>0&&$("#seopress_titles_title_counters").text(data.length),$("#seopress_titles_title_pixel").length>0&&$("#seopress_titles_title_pixel").text(pixelTitle(data))):($(".snippet-title").hide(),$(".snippet-title-custom").hide(),$(".snippet-title-default").show())}})}),300)),$("#seopress-tag-single-title").click((function(){$("#seopress_titles_title_meta").val(sp_get_field_length($("#seopress_titles_title_meta"))+$("#seopress-tag-single-title").attr("data-tag")),$("#seopress_titles_title_meta").trigger("paste")})),$("#seopress-tag-single-site-title").click((function(){$("#seopress_titles_title_meta").val(sp_get_field_length($("#seopress_titles_title_meta"))+$("#seopress-tag-single-site-title").attr("data-tag")),$("#seopress_titles_title_meta").trigger("paste")})),$("#seopress-tag-single-excerpt").click((function(){$("#seopress_titles_desc_meta").val(sp_get_field_length($("#seopress_titles_desc_meta"))+$("#seopress-tag-single-excerpt").attr("data-tag")),$("#seopress_titles_title_meta").trigger("paste")})),$("#seopress-tag-single-sep").click((function(){$("#seopress_titles_title_meta").val(sp_get_field_length($("#seopress_titles_title_meta"))+$("#seopress-tag-single-sep").attr("data-tag")),$("#seopress_titles_title_meta").trigger("paste")}));let alreadyBind=!1;$(".seopress-tag-dropdown").each((function(item){const _self=$(this);function handleClickLi(current){_self.hasClass("tag-title")&&($("#seopress_titles_title_meta").val(sp_get_field_length($("#seopress_titles_title_meta"))+$(current).attr("data-value")),$("#seopress_titles_title_meta").trigger("paste")),_self.hasClass("tag-description")&&($("#seopress_titles_desc_meta").val(sp_get_field_length($("#seopress_titles_desc_meta"))+$(current).attr("data-value")),$("#seopress_titles_desc_meta").trigger("paste"))}$(this).on("click",(function(){function closeItem(e){$(e.target).hasClass("dashicons")||$(e.target).hasClass("seopress-tag-single-all")||(alreadyBind=!1,$(document).off("click",closeItem),$(".sp-wrap-tag-variables-list").removeClass("open"))}$(this).next(".sp-wrap-tag-variables-list").toggleClass("open"),$(this).next(".sp-wrap-tag-variables-list").find("li").on("click",(function(e){handleClickLi(this),e.stopImmediatePropagation()})).on("keyup",(function(e){13===e.keyCode&&(handleClickLi(this),e.stopImmediatePropagation())})),alreadyBind||(alreadyBind=!0,$(document).on("click",closeItem))}))}))}));
|
@@ -107,6 +107,7 @@ jQuery(document).ready(function ($) {
|
|
107 |
"platinum-seo",
|
108 |
"smart-crawl",
|
109 |
"seopressor",
|
|
|
110 |
"metadata",
|
111 |
];
|
112 |
seo_plugins.forEach(function (item) {
|
@@ -220,6 +221,15 @@ jQuery(document).ready(function ($) {
|
|
220 |
seopressAjaxMigrate.seopress_seopressor_migrate
|
221 |
.seopress_nonce;
|
222 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
223 |
case "seopress-metadata-migrate":
|
224 |
url =
|
225 |
seopressAjaxMigrate.seopress_metadata_csv
|
107 |
"platinum-seo",
|
108 |
"smart-crawl",
|
109 |
"seopressor",
|
110 |
+
"slim-seo",
|
111 |
"metadata",
|
112 |
];
|
113 |
seo_plugins.forEach(function (item) {
|
221 |
seopressAjaxMigrate.seopress_seopressor_migrate
|
222 |
.seopress_nonce;
|
223 |
break;
|
224 |
+
case "seopress-slim-seo-migrate":
|
225 |
+
url =
|
226 |
+
seopressAjaxMigrate.seopress_slim_seo_migrate
|
227 |
+
.seopress_slim_seo_migration;
|
228 |
+
action = "seopress_slim_seo_migration";
|
229 |
+
_ajax_nonce =
|
230 |
+
seopressAjaxMigrate.seopress_slim_seo_migrate
|
231 |
+
.seopress_nonce;
|
232 |
+
break;
|
233 |
case "seopress-metadata-migrate":
|
234 |
url =
|
235 |
seopressAjaxMigrate.seopress_metadata_csv
|
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(
|
1 |
+
jQuery(document).ready((function($){$("#seopress-video-regenerate").click((function(){url=seopressAjaxVdeoRegenerate.seopress_video_regenerate,action="seopress_video_xml_sitemap_regenerate",_ajax_nonce=seopressAjaxVdeoRegenerate.seopress_nonce,self.process_offset2(0,self,url,action,_ajax_nonce)})),process_offset2=function(offset,self,url,action,_ajax_nonce){i18n=seopressAjaxMigrate.i18n.video,$.ajax({method:"POST",url:url,data:{action:action,offset:offset,_ajax_nonce:_ajax_nonce},success:function(data){"done"==data.data.offset?($("#seopress-video-regenerate").removeAttr("disabled"),$(".spinner").css("visibility","hidden"),$("#tab_seopress_tool_video .log").css("display","block"),$("#tab_seopress_tool_video .log").html("<div class='seopress-notice is-success'><p>"+i18n+"</p></div>"),""!=data.data.url&&$(location).attr("href",data.data.url)):(self.process_offset2(parseInt(data.data.offset),self,url,action,_ajax_nonce),data.data.total&&(progress=(data.data.count/data.data.total*100).toFixed(2),$("#tab_seopress_tool_video .log").css("display","block"),$("#tab_seopress_tool_video .log").html("<div class='seopress-notice'><p>"+progress+"%</p></div>")))}})},$("#seopress-video-regenerate").on("click",(function(){$(this).attr("disabled","disabled"),$("#tab_seopress_tool_video .spinner").css("visibility","visible"),$("#tab_seopress_tool_video .spinner").css("float","none"),$("#tab_seopress_tool_video .log").html("")})),$("#select-wizard-redirects, #select-wizard-import").change((function(e){var select;e.preventDefault(),"none"==$(this).val()?$("#select-wizard-redirects option, #select-wizard-import option").each((function(){var ids_to_hide=$(this).val();$("#"+ids_to_hide).hide()})):($("#select-wizard-redirects option:selected, #select-wizard-import option:selected").each((function(){var ids_to_show=$(this).val();$("#"+ids_to_show).show()})),$("#select-wizard-redirects option:not(:selected), #select-wizard-import option:not(:selected)").each((function(){var ids_to_hide=$(this).val();$("#"+ids_to_hide).hide()})))})).trigger("change");const seo_plugins=["yoast","aio","seo-framework","rk","squirrly","seo-ultimate","wp-meta-seo","premium-seo-pack","wpseo","platinum-seo","smart-crawl","seopressor","slim-seo","metadata"];seo_plugins.forEach((function(item){$("#seopress-"+item+"-migrate").on("click",(function(e){switch(e.preventDefault(),id=item,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-slim-seo-migrate":url=seopressAjaxMigrate.seopress_slim_seo_migrate.seopress_slim_seo_migration,action="seopress_slim_seo_migration",_ajax_nonce=seopressAjaxMigrate.seopress_slim_seo_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(offset,self,url,action,_ajax_nonce,id,post_export,term_export){i18n=seopressAjaxMigrate.i18n.migration,"metadata"==id&&(i18n=seopressAjaxMigrate.i18n.export),$.ajax({method:"POST",url:url,data:{action:action,offset:offset,post_export:post_export,term_export:term_export,_ajax_nonce:_ajax_nonce},success:function(data){"done"==data.data.offset?($("#seopress-"+id+"-migrate").removeAttr("disabled"),$(".spinner").css("visibility","hidden"),$("#"+id+"-migration-tool .log").css("display","block"),$("#"+id+"-migration-tool .log").html("<div class='seopress-notice is-success'><p>"+i18n+"</p></div>"),""!=data.data.url&&$(location).attr("href",data.data.url)):(self.process_offset(parseInt(data.data.offset),self,url,action,_ajax_nonce,id,data.data.post_export,data.data.term_export),data.data.total&&(progress=(data.data.count/data.data.total*100).toFixed(2),$("#"+id+"-migration-tool .log").css("display","block"),$("#"+id+"-migration-tool .log").html("<div class='seopress-notice'><p>"+progress+"%</p></div>")))}})},$("#seopress-"+item+"-migrate").on("click",(function(){$(this).attr("disabled","disabled"),$("#"+item+"-migration-tool .spinner").css("visibility","visible"),$("#"+item+"-migration-tool .spinner").css("float","none"),$("#"+item+"-migration-tool .log").html("")}))}))}));
|
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(
|
1 |
+
jQuery(document).ready((function($){var get_hash,clean_hash=window.location.hash.split("$");if("undefined"!=typeof sessionStorage){var seopress_tab_session_storage=sessionStorage.getItem("seopress_robots_tab");"1"==clean_hash[1]?($("#tab_seopress_robots-tab").addClass("nav-tab-active"),$("#tab_seopress_robots").addClass("active")):"2"==clean_hash[1]?($("#tab_seopress_htaccess-tab").addClass("nav-tab-active"),$("#tab_seopress_htaccess").addClass("active")):"3"==clean_hash[1]?($("#tab_seopress_white_label-tab").addClass("nav-tab-active"),$("#tab_seopress_white_label").addClass("active")):seopress_tab_session_storage?($("#seopress-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),$("#seopress-tabs").find(".seopress-tab.active").removeClass("active"),$("#"+seopress_tab_session_storage.split("#tab=")+"-tab").addClass("nav-tab-active"),$("#"+seopress_tab_session_storage.split("#tab=")).addClass("active")):($("#tab_seopress_robots-tab").addClass("nav-tab-active"),$("#tab_seopress_robots").addClass("active"))}$("#seopress-tabs").find("a.nav-tab").click((function(e){e.preventDefault();var hash=$(this).attr("href").split("#tab=")[1];$("#seopress-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),$("#"+hash+"-tab").addClass("nav-tab-active"),1==clean_hash[1]?sessionStorage.setItem("seopress_robots_tab","tab_seopress_robots"):2==clean_hash[1]?sessionStorage.setItem("seopress_robots_tab","tab_seopress_htaccess"):3==clean_hash[1]?sessionStorage.setItem("seopress_white_label","tab_seopress_white_label"):sessionStorage.setItem("seopress_robots_tab",hash),$("#seopress-tabs").find(".seopress-tab.active").removeClass("active"),$("#"+hash).addClass("active")})),$("#seopress-tag-robots-1, #seopress-tag-robots-2, #seopress-tag-robots-3, #seopress-tag-robots-4, #seopress-tag-robots-5, #seopress-tag-robots-6, #seopress-tag-robots-7").click((function(){$(".seopress_robots_file").val($(".seopress_robots_file").val()+"\n"+$(this).attr("data-tag"))})),$("#seopress-flush-permalinks2").on("click",(function(){$.ajax({method:"GET",url:seopressAjaxResetPermalinks.seopress_ajax_permalinks,data:{action:"seopress_flush_permalinks",_ajax_nonce:seopressAjaxResetPermalinks.seopress_nonce},success:function(data){window.location.reload(!0)}})})),$("#seopress-flush-permalinks2").on("click",(function(){$(this).attr("disabled","disabled"),$(".spinner").css("visibility","visible"),$(".spinner").css("float","none")}))}));
|
@@ -47,7 +47,7 @@
|
|
47 |
$(':input[name="seopress_nofollow"]', $edit_row).attr('checked', 'checked');
|
48 |
}
|
49 |
|
50 |
-
if ($seopress_redirections_enable && $seopress_redirections_enable == '<span class="dashicons dashicons-yes"></span>') {
|
51 |
$(':input[name="seopress_redirections_enabled"]', $edit_row).attr('checked', 'checked');
|
52 |
}
|
53 |
if ($seopress_redirections_regex_enable && $seopress_redirections_regex_enable == '<span class="dashicons dashicons-yes"></span>') {
|
47 |
$(':input[name="seopress_nofollow"]', $edit_row).attr('checked', 'checked');
|
48 |
}
|
49 |
|
50 |
+
if ($seopress_redirections_enable && $seopress_redirections_enable == '<span class="dashicons dashicons-yes-alt"></span>') {
|
51 |
$(':input[name="seopress_redirections_enabled"]', $edit_row).attr('checked', 'checked');
|
52 |
}
|
53 |
if ($seopress_redirections_regex_enable && $seopress_redirections_regex_enable == '<span class="dashicons dashicons-yes"></span>') {
|
@@ -1 +1 @@
|
|
1 |
-
|
1 |
+
!function($){var $wp_inline_edit=inlineEditPost.edit;inlineEditPost.edit=function(id){$wp_inline_edit.apply(this,arguments);var $post_id=0;if("object"==typeof id&&($post_id=parseInt(this.getId(id))),$post_id>0){var $edit_row=$("#edit-"+$post_id),$post_row=$("#post-"+$post_id),$seopress_title=$(".column-seopress_title .hidden",$post_row).text(),$seopress_desc=$(".column-seopress_desc .hidden",$post_row).text(),$seopress_tkw=$(".column-seopress_tkw",$post_row).text(),$seopress_canonical=$(".column-seopress_canonical",$post_row).text(),$seopress_noindex=$(".column-seopress_noindex",$post_row).html(),$seopress_nofollow=$(".column-seopress_nofollow",$post_row).html(),$seopress_redirections_enable=$(".column-seopress_404_redirect_enable",$post_row).html(),$seopress_redirections_regex_enable=$(".column-seopress_404_redirect_regex_enable",$post_row).html(),$seopress_redirections_type=$(".column-seopress_404_redirect_type",$post_row).text(),$seopress_redirections_value=$(".column-seopress_404_redirect_value",$post_row).text();$(':input[name="seopress_title"]',$edit_row).val($seopress_title),$(':input[name="seopress_desc"]',$edit_row).val($seopress_desc),$(':input[name="seopress_tkw"]',$edit_row).val($seopress_tkw),$(':input[name="seopress_canonical"]',$edit_row).val($seopress_canonical),$seopress_noindex&&$seopress_noindex.includes('<span class="dashicons dashicons-hidden"></span>')&&$(':input[name="seopress_noindex"]',$edit_row).attr("checked","checked"),$seopress_nofollow&&$seopress_nofollow.includes('<span class="dashicons dashicons-yes"></span>')&&$(':input[name="seopress_nofollow"]',$edit_row).attr("checked","checked"),$seopress_redirections_enable&&'<span class="dashicons dashicons-yes-alt"></span>'==$seopress_redirections_enable&&$(':input[name="seopress_redirections_enabled"]',$edit_row).attr("checked","checked"),$seopress_redirections_regex_enable&&'<span class="dashicons dashicons-yes"></span>'==$seopress_redirections_regex_enable&&$(':input[name="seopress_redirections_enabled_regex"]',$edit_row).attr("checked","checked"),$seopress_redirections_type&&"404"!=$seopress_redirections_type&&$('select[name="seopress_redirections_type"] option[value="'+$seopress_redirections_type+'"]',$edit_row).attr("selected","selected"),$(':input[name="seopress_redirections_value"]',$edit_row).val($seopress_redirections_value)}}}(jQuery);
|
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(
|
1 |
+
jQuery(document).ready((function($){$("#seopress-flush-permalinks,#seopress-flush-permalinks2").on("click",(function(){$.ajax({method:"GET",url:seopressAjaxResetPermalinks.seopress_ajax_permalinks,data:{action:"seopress_flush_permalinks",_ajax_nonce:seopressAjaxResetPermalinks.seopress_nonce},success:function(data){window.location.reload(!0)}})})),$("#seopress-flush-permalinks,#seopress-flush-permalinks2").on("click",(function(){$(this).attr("disabled","disabled"),$(".spinner").css("visibility","visible"),$(".spinner").css("float","none")}))}));
|
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(
|
1 |
+
jQuery(document).ready((function($){function seopress_call_media_uploader(){var mediaUploader,thumb;$(".seopress_video_thumbnail_upload").click((function(e){e.preventDefault(),$btn=$(this),mediaUploader?mediaUploader.open():(thumb=$(this).prev(),(mediaUploader=wp.media.frames.file_frame=wp.media({multiple:!1})).on("select",(function(){var attachment=mediaUploader.state().get("selection").first().toJSON();$btn.prev().val(attachment.url)})),mediaUploader.open())}))}seopress_call_media_uploader();var template=$("#wrap-videos .video:last").clone(),stop=!1;function seopress_call_video_accordion(){$("#wrap-videos .video").accordion({animate:!1,collapsible:!0,active:!1,heightStyle:"panel"})}$("#wrap-videos .video h3").click((function(event){stop&&(event.stopImmediatePropagation(),event.preventDefault(),stop=!1)})),seopress_call_video_accordion();var sectionsCount=$("#wrap-videos").attr("data-count");$("#add-video").click((function(){sectionsCount++;var section=template.clone().find(":input").each((function(){var input_id=this.id,input_name=this.name,newId=this.id.replace(/^(\w+)\[.*?\]/,"$1["+sectionsCount+"]");$(this).attr("name",input_name.replace(/^(\w+)\[.*?\]/,"$1["+sectionsCount+"]")),$(this).hasClass("seopress_video_thumbnail_upload")||$(this).attr("value",""),$(this).is(":checkbox")?($(this).parent().attr("for",input_id.replace(/^(\w+)\[.*?\]/,"$1["+sectionsCount+"]")),$(this).parent().attr("id",input_name.replace(/^(\w+)\[.*?\]/,"$1["+sectionsCount+"]"))):$(this).hasClass("seopress_video_thumbnail_upload")||($(this).prev().attr("for",input_id.replace(/^(\w+)\[.*?\]/,"$1["+sectionsCount+"]")),$(this).prev().attr("id",input_name.replace(/^(\w+)\[.*?\]/,"$1["+sectionsCount+"]"))),this.id=newId})).end().appendTo("#wrap-videos");return seopress_call_video_accordion(),$("#wrap-videos .video").accordion("destroy"),seopress_call_video_accordion(),$("[id^=__wp-uploader-id-]").each((function(){$(this).remove()})),seopress_call_media_uploader(),!1})),$("#wrap-videos").on("click",".remove-video",(function(){return $(this).fadeOut(300,(function(){return $(this).parent().parent().parent().remove(),!1})),!1}))}));
|
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(
|
1 |
+
jQuery(document).ready((function($){const features=[["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"],["seopress_instant_indexing_general","seopress_instant_indexing_general"],["seopress_insights_general","seopress_insights_general"]];function sp_get_field_length(e){return e.val().length>0?meta=e.val()+" ":meta=e.val(),meta}features.forEach((function(item){var hash=$(location).attr("hash").split("#tab=")[1];if(void 0!==hash)$("#"+hash+"-tab").addClass("nav-tab-active"),$("#"+hash).addClass("active");else{if("undefined"!=typeof sessionStorage&&"null"!=typeof sessionStorage){var seopress_tab_session_storage=sessionStorage.getItem("seopress_save_tab");seopress_tab_session_storage&&$("#"+seopress_tab_session_storage+"-tab").length?($("#seopress-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),$("#seopress-tabs").find(".seopress-tab.active").removeClass("active"),$("#"+seopress_tab_session_storage+"-tab").addClass("nav-tab-active"),$("#"+seopress_tab_session_storage).addClass("active")):($("#tab_"+item[1]+"-tab").addClass("nav-tab-active"),$("#tab_"+item[1]).addClass("active"))}$("#seopress-tabs").find("a.nav-tab").click((function(e){e.preventDefault();var hash=$(this).attr("href").split("#tab=")[1];$("#seopress-tabs").find(".nav-tab.nav-tab-active").removeClass("nav-tab-active"),$("#"+hash+"-tab").addClass("nav-tab-active"),sessionStorage.setItem("seopress_save_tab",hash),$("#seopress-tabs").find(".seopress-tab.active").removeClass("active"),$("#"+hash).addClass("active")}))}}));let alreadyBind=!1;if($("#seopress-tag-site-title").click((function(){$("#seopress_titles_home_site_title").val(sp_get_field_length($("#seopress_titles_home_site_title"))+$("#seopress-tag-site-title").attr("data-tag"))})),$("#seopress-tag-site-desc").click((function(){$("#seopress_titles_home_site_title").val(sp_get_field_length($("#seopress_titles_home_site_title"))+$("#seopress-tag-site-desc").attr("data-tag"))})),$("#seopress-tag-site-sep").click((function(){$("#seopress_titles_home_site_title").val(sp_get_field_length($("#seopress_titles_home_site_title"))+$("#seopress-tag-site-sep").attr("data-tag"))})),$("#seopress-tag-meta-desc").click((function(){$("#seopress_titles_home_site_desc").val(sp_get_field_length($("#seopress_titles_home_site_desc"))+$("#seopress-tag-meta-desc").attr("data-tag"))})),$("#seopress-tag-post-author").click((function(){$("#seopress_titles_archive_post_author").val(sp_get_field_length($("#seopress_titles_archive_post_author"))+$("#seopress-tag-post-author").attr("data-tag"))})),$("#seopress-tag-sep-author").click((function(){$("#seopress_titles_archive_post_author").val(sp_get_field_length($("#seopress_titles_archive_post_author"))+$("#seopress-tag-sep-author").attr("data-tag"))})),$("#seopress-tag-site-title-author").click((function(){$("#seopress_titles_archive_post_author").val(sp_get_field_length($("#seopress_titles_archive_post_author"))+$("#seopress-tag-site-title-author").attr("data-tag"))})),$("#seopress-tag-archive-date").click((function(){$("#seopress_titles_archives_date_title").val(sp_get_field_length($("#seopress_titles_archives_date_title"))+$("#seopress-tag-archive-date").attr("data-tag"))})),$("#seopress-tag-sep-date").click((function(){$("#seopress_titles_archives_date_title").val(sp_get_field_length($("#seopress_titles_archives_date_title"))+$("#seopress-tag-sep-date").attr("data-tag"))})),$("#seopress-tag-site-title-date").click((function(){$("#seopress_titles_archives_date_title").val(sp_get_field_length($("#seopress_titles_archives_date_title"))+$("#seopress-tag-site-title-date").attr("data-tag"))})),$("#seopress-tag-search-keywords").click((function(){$("#seopress_titles_archives_search_title").val(sp_get_field_length($("#seopress_titles_archives_search_title"))+$("#seopress-tag-search-keywords").attr("data-tag"))})),$("#seopress-tag-sep-search").click((function(){$("#seopress_titles_archives_search_title").val(sp_get_field_length($("#seopress_titles_archives_search_title"))+$("#seopress-tag-sep-search").attr("data-tag"))})),$("#seopress-tag-site-title-search").click((function(){$("#seopress_titles_archives_search_title").val(sp_get_field_length($("#seopress_titles_archives_search_title"))+$("#seopress-tag-site-title-search").attr("data-tag"))})),$("#seopress-tag-site-title-404").click((function(){$("#seopress_titles_archives_404_title").val(sp_get_field_length($("#seopress_titles_archives_404_title"))+$("#seopress-tag-site-title-404").attr("data-tag"))})),$("#seopress-tag-sep-404").click((function(){$("#seopress_titles_archives_404_title").val(sp_get_field_length($("#seopress_titles_archives_404_title"))+$("#seopress-tag-sep-404").attr("data-tag"))})),$("#seopress-tag-post-title-bd-groups").click((function(){$("#seopress_titles_bp_groups_title").val(sp_get_field_length($("#seopress_titles_bp_groups_title"))+$("#seopress-tag-post-title-bd-groups").attr("data-tag"))})),$("#seopress-tag-sep-bd-groups").click((function(){$("#seopress_titles_bp_groups_title").val(sp_get_field_length($("#seopress_titles_bp_groups_title"))+$("#seopress-tag-sep-bd-groups").attr("data-tag"))})),$("#seopress-tag-site-title-bd-groups").click((function(){$("#seopress_titles_bp_groups_title").val(sp_get_field_length($("#seopress_titles_bp_groups_title"))+$("#seopress-tag-site-title-bd-groups").attr("data-tag"))})),$(".seopress-tag-dropdown").each((function(item){const input_title=$(this).parent(".wrap-tags").prev("input"),input_desc=$(this).parent(".wrap-tags").prev("textarea"),_self=$(this);function handleClickLi(current){_self.hasClass("tag-title")&&(input_title.val(sp_get_field_length(input_title)+$(current).attr("data-value")),input_title.trigger("paste")),_self.hasClass("tag-description")&&(input_desc.val(sp_get_field_length(input_desc)+$(current).attr("data-value")),input_desc.trigger("paste"))}$(this).on("click",(function(){function closeItem(e){$(e.target).hasClass("dashicons")||$(e.target).hasClass("seopress-tag-single-all")||(alreadyBind=!1,$(document).off("click",closeItem),$(".sp-wrap-tag-variables-list").removeClass("open"))}$(this).next(".sp-wrap-tag-variables-list").toggleClass("open"),$(this).next(".sp-wrap-tag-variables-list").find("li").on("click",(function(e){handleClickLi(this),e.stopImmediatePropagation()})).on("keyup",(function(e){13===e.keyCode&&(handleClickLi(this),e.stopImmediatePropagation())})),alreadyBind||(alreadyBind=!0,$(document).on("click",closeItem))}))})),$("#seopress_instant_indexing_manual_batch").length){newLines=$("#seopress_instant_indexing_manual_batch").val().split("\n").length,$("#seopress_instant_indexing_url_count").text(newLines);var lines=50,linesUsed=$("#seopress_instant_indexing_url_count");if(newLines){var progress=Math.round(newLines/50*100);progress>=100&&(progress=100),$("#seopress_instant_indexing_url_progress").attr("aria-valuenow",progress),$("#seopress_instant_indexing_url_progress").text(progress+"%"),$("#seopress_instant_indexing_url_progress").css("width",progress+"%")}$("#seopress_instant_indexing_manual_batch").on("keyup paste change click focus mouseout",(function(e){if(newLines=$(this).val().split("\n").length,linesUsed.text(newLines),newLines>50?linesUsed.css("color","red"):linesUsed.css("color",""),newLines)var progress=Math.round(newLines/50*100);progress>=100&&(progress=100),$("#seopress_instant_indexing_url_progress").attr("aria-valuenow",progress),$("#seopress_instant_indexing_url_progress").text(progress+"%"),$("#seopress_instant_indexing_url_progress").css("width",progress+"%")}))}$("#seopress_instant_indexing_google_action_include[URL_UPDATED]").is(":checked"),$(".seopress-instant-indexing-batch").on("click",(function(){$("#seopress-tabs .spinner").css("visibility","visible"),$("#seopress-tabs .spinner").css("float","none"),$.ajax({method:"POST",url:seopressAjaxInstantIndexingPost.seopress_instant_indexing_post,data:{action:"seopress_instant_indexing_post",urls_to_submit:$("#seopress_instant_indexing_manual_batch").val(),indexnow_api:$("#seopress_instant_indexing_bing_api_key").val(),google_api:$("#seopress_instant_indexing_google_api_key").val(),update_action:!!$("#seopress_instant_indexing_google_action_include_URL_UPDATED").is(":checked")&&"URL_UPDATED",delete_action:!!$("#seopress_instant_indexing_google_action_include_URL_DELETED").is(":checked")&&"URL_DELETED",google:!!$("#seopress_instant_indexing_engines_google").is(":checked"),bing:!!$("#seopress_instant_indexing_engines_bing").is(":checked"),automatic_submission:!!$("#seopress_instant_indexing_automate_submission").is(":checked"),_ajax_nonce:seopressAjaxInstantIndexingPost.seopress_nonce},success:function(data){window.location.reload(!0)}})})),$(".seopress-instant-indexing-refresh-api-key").on("click",(function(){$.ajax({method:"POST",url:seopressAjaxInstantIndexingApiKey.seopress_instant_indexing_generate_api_key,data:{action:"seopress_instant_indexing_generate_api_key",_ajax_nonce:seopressAjaxInstantIndexingApiKey.seopress_nonce},success:function(data){window.location.reload(!0)}})}))}));
|
@@ -11,9 +11,8 @@ $docs = seopress_get_docs_links();
|
|
11 |
} ?>
|
12 |
<div class="seopress-option">
|
13 |
<?php
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
?>
|
18 |
<div id="seopress-tabs" class="wrap">
|
19 |
<?php
|
@@ -37,115 +36,19 @@ $docs = seopress_get_docs_links();
|
|
37 |
echo '<a id="' . $tab_key . '-tab" class="nav-tab" href="?page=seopress-import-export#tab=' . $tab_key . '">' . $tab_caption . '</a>';
|
38 |
}
|
39 |
echo '</div>'; ?>
|
40 |
-
<?php if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) { ?>
|
41 |
-
<div class="seopress-tab <?php if ('tab_seopress_tool_data' == $current_tab) {
|
42 |
-
echo 'active';
|
43 |
-
} ?>" id="tab_seopress_tool_data">
|
44 |
-
<div class="postbox section-tool">
|
45 |
-
<div class="sp-section-header">
|
46 |
-
<h2>
|
47 |
-
<?php _e('Data', 'wp-seopress'); ?>
|
48 |
-
</h2>
|
49 |
-
</div>
|
50 |
-
<div class="inside">
|
51 |
-
<h3>
|
52 |
-
<?php _e('Import data from a CSV', 'wp-seopress'); ?>
|
53 |
-
</h3>
|
54 |
-
<p>
|
55 |
-
<?php _e('Upload a CSV file to quickly import post (post, page, single post type) and term metadata.', 'wp-seopress'); ?>
|
56 |
-
<?php echo seopress_tooltip_link($docs['tools']['csv_import'], __('Learn how to import SEO metadata from a CSV file', 'wp-seopress')); ?>
|
57 |
-
</p>
|
58 |
-
<ul>
|
59 |
-
<li>
|
60 |
-
<?php _e('Meta title', 'wp-seopress'); ?>
|
61 |
-
</li>
|
62 |
-
<li>
|
63 |
-
<?php _e('Meta description', 'wp-seopress'); ?>
|
64 |
-
</li>
|
65 |
-
<li>
|
66 |
-
<?php _e('Meta robots (noindex, nofollow...)', 'wp-seopress'); ?>
|
67 |
-
</li>
|
68 |
-
<li>
|
69 |
-
<?php _e('Facebook Open Graph tags (title, description, image)', 'wp-seopress'); ?>
|
70 |
-
</li>
|
71 |
-
<li>
|
72 |
-
<?php _e('Twitter cards tags (title, description, image)', 'wp-seopress'); ?>
|
73 |
-
</li>
|
74 |
-
<li>
|
75 |
-
<?php _e('Redirection (enable, login status, type, URL)', 'wp-seopress'); ?>
|
76 |
-
</li>
|
77 |
-
<li>
|
78 |
-
<?php _e('Primary category', 'wp-seopress'); ?>
|
79 |
-
</li>
|
80 |
-
<li>
|
81 |
-
<?php _e('Canonical URL', 'wp-seopress'); ?>
|
82 |
-
</li>
|
83 |
-
<li>
|
84 |
-
<?php _e('Target keywords', 'wp-seopress'); ?>
|
85 |
-
</li>
|
86 |
-
</ul>
|
87 |
-
<p>
|
88 |
-
<a class="btn btnSecondary"
|
89 |
-
href="<?php echo admin_url('admin.php?page=seopress_csv_importer'); ?>">
|
90 |
-
<?php _e('Run the importer', 'wp-seopress'); ?>
|
91 |
-
</a>
|
92 |
-
</p>
|
93 |
-
</div><!-- .inside -->
|
94 |
-
</div><!-- .postbox -->
|
95 |
-
<div id="metadata-migration-tool" class="postbox section-tool">
|
96 |
-
<div class="inside">
|
97 |
-
<h3>
|
98 |
-
<?php _e('Export metadata to a CSV', 'wp-seopress'); ?>
|
99 |
-
</h3>
|
100 |
-
<p>
|
101 |
-
<?php _e('Export your post (post, page, single post type) and term metadata for this site as a .csv file.', 'wp-seopress'); ?>
|
102 |
-
<?php echo seopress_tooltip_link($docs['tools']['csv_export'], __('Learn how to export SEO metadata to a CSV file', 'wp-seopress')); ?>
|
103 |
-
</p>
|
104 |
-
<ul>
|
105 |
-
<li>
|
106 |
-
<?php _e('Meta title', 'wp-seopress'); ?>
|
107 |
-
</li>
|
108 |
-
<li>
|
109 |
-
<?php _e('Meta description', 'wp-seopress'); ?>
|
110 |
-
</li>
|
111 |
-
<li>
|
112 |
-
<?php _e('Meta robots (noindex, nofollow...)', 'wp-seopress'); ?>
|
113 |
-
</li>
|
114 |
-
<li>
|
115 |
-
<?php _e('Facebook Open Graph tags (title, description, image)', 'wp-seopress'); ?>
|
116 |
-
</li>
|
117 |
-
<li>
|
118 |
-
<?php _e('Twitter cards tags (title, description, image)', 'wp-seopress'); ?>
|
119 |
-
</li>
|
120 |
-
<li>
|
121 |
-
<?php _e('Redirection (enable, login status, type, URL)', 'wp-seopress'); ?>
|
122 |
-
</li>
|
123 |
-
<li>
|
124 |
-
<?php _e('Primary category', 'wp-seopress'); ?>
|
125 |
-
</li>
|
126 |
-
<li>
|
127 |
-
<?php _e('Canonical URL', 'wp-seopress'); ?>
|
128 |
-
</li>
|
129 |
-
<li>
|
130 |
-
<?php _e('Target keywords', 'wp-seopress'); ?>
|
131 |
-
</li>
|
132 |
-
</ul>
|
133 |
-
<form method="post">
|
134 |
-
<input type="hidden" name="seopress_action" value="export_csv_metadata" />
|
135 |
-
<?php wp_nonce_field('seopress_export_csv_metadata_nonce', 'seopress_export_csv_metadata_nonce'); ?>
|
136 |
-
|
137 |
-
<button id="seopress-metadata-migrate" type="button" class="btn btnSecondary">
|
138 |
-
<?php _e('Export', 'wp-seopress'); ?>
|
139 |
-
</button>
|
140 |
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
|
|
|
|
|
|
148 |
<?php } ?>
|
|
|
149 |
<div class="seopress-tab <?php if ('tab_seopress_tool_settings' == $current_tab) {
|
150 |
echo 'active';
|
151 |
} ?>" id="tab_seopress_tool_settings">
|
@@ -225,6 +128,7 @@ $docs = seopress_get_docs_links();
|
|
225 |
'platinum-seo' => 'Platinum SEO Pack',
|
226 |
'smart-crawl' => 'SmartCrawl',
|
227 |
'seopressor' => 'SEOPressor',
|
|
|
228 |
];
|
229 |
|
230 |
echo '<p>
|
11 |
} ?>
|
12 |
<div class="seopress-option">
|
13 |
<?php
|
14 |
+
echo $this->seopress_feature_title(null);
|
15 |
+
$current_tab = '';
|
|
|
16 |
?>
|
17 |
<div id="seopress-tabs" class="wrap">
|
18 |
<?php
|
36 |
echo '<a id="' . $tab_key . '-tab" class="nav-tab" href="?page=seopress-import-export#tab=' . $tab_key . '">' . $tab_caption . '</a>';
|
37 |
}
|
38 |
echo '</div>'; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
+
<?php if ( is_plugin_active('wp-seopress-pro/seopress-pro.php') && version_compare(SEOPRESS_PRO_VERSION, '6.1', '>=')) { ?>
|
41 |
+
<div class="seopress-tab <?php if ('tab_seopress_tool_data' == $current_tab) { echo 'active'; } ?>" id="tab_seopress_tool_data">
|
42 |
+
<?php include_once SEOPRESS_PRO_PLUGIN_DIR_PATH . '/inc/admin/import/tools.php'; ?>
|
43 |
+
</div>
|
44 |
+
<?php } elseif (is_plugin_active('wp-seopress-pro/seopress-pro.php')) { ?>
|
45 |
+
<div class="seopress-tab <?php if ('tab_seopress_tool_data' == $current_tab) { echo 'active'; } ?>" id="tab_seopress_tool_data">
|
46 |
+
<div class="seopress-notice">
|
47 |
+
<p><?php _e('Looking for the CSV import / export tool? Please <strong>update SEOPress PRO</strong> to version 6.1.','wp-seopress'); ?></p>
|
48 |
+
</div>
|
49 |
+
</div>
|
50 |
<?php } ?>
|
51 |
+
|
52 |
<div class="seopress-tab <?php if ('tab_seopress_tool_settings' == $current_tab) {
|
53 |
echo 'active';
|
54 |
} ?>" id="tab_seopress_tool_settings">
|
128 |
'platinum-seo' => 'Platinum SEO Pack',
|
129 |
'smart-crawl' => 'SmartCrawl',
|
130 |
'seopressor' => 'SEOPressor',
|
131 |
+
'slim-seo' => 'Slim SEO'
|
132 |
];
|
133 |
|
134 |
echo '<p>
|
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks :)');
|
4 |
+
|
5 |
+
///////////////////////////////////////////////////////////////////////////////////////////////////
|
6 |
+
//Slim SEO migration
|
7 |
+
///////////////////////////////////////////////////////////////////////////////////////////////////
|
8 |
+
function seopress_slim_seo_migration() {
|
9 |
+
check_ajax_referer('seopress_slim_seo_migrate_nonce', $_POST['_ajax_nonce'], true);
|
10 |
+
|
11 |
+
if (current_user_can(seopress_capability('manage_options', 'migration')) && is_admin()) {
|
12 |
+
if (isset($_POST['offset']) && isset($_POST['offset'])) {
|
13 |
+
$offset = absint($_POST['offset']);
|
14 |
+
}
|
15 |
+
|
16 |
+
global $wpdb;
|
17 |
+
$total_count_posts = (int) $wpdb->get_var("SELECT count(*) FROM {$wpdb->posts}");
|
18 |
+
$total_count_terms = (int) $wpdb->get_var("SELECT count(*) FROM {$wpdb->terms}");
|
19 |
+
|
20 |
+
$increment = 200;
|
21 |
+
global $post;
|
22 |
+
|
23 |
+
if ($offset > $total_count_posts) {
|
24 |
+
wp_reset_query();
|
25 |
+
$count_items = $total_count_posts;
|
26 |
+
|
27 |
+
$args = [
|
28 |
+
//'number' => $increment,
|
29 |
+
'hide_empty' => false,
|
30 |
+
//'offset' => $offset,
|
31 |
+
'fields' => 'ids',
|
32 |
+
];
|
33 |
+
$slim_seo_query_terms = get_terms($args);
|
34 |
+
|
35 |
+
if ($slim_seo_query_terms) {
|
36 |
+
foreach ($slim_seo_query_terms as $term_id) {
|
37 |
+
if ('' != get_term_meta($term_id, 'slim_seo', true)) {
|
38 |
+
$term_settings = get_term_meta($term_id, 'slim_seo', true);
|
39 |
+
|
40 |
+
if ( ! empty($term_settings['title'])) { //Import title tag
|
41 |
+
update_term_meta($term_id, '_seopress_titles_title', $term_settings['title']);
|
42 |
+
}
|
43 |
+
if ( ! empty($term_settings['description'])) { //Import meta desc
|
44 |
+
update_term_meta($term_id, '_seopress_titles_desc', $term_settings['description']);
|
45 |
+
}
|
46 |
+
if ( ! empty($term_settings['noindex'])) { //Import Robots NoIndex
|
47 |
+
update_term_meta($term_id, '_seopress_robots_index', 'yes');
|
48 |
+
}
|
49 |
+
if ( ! empty($term_settings['facebook_image'])) { //Import FB image
|
50 |
+
update_term_meta($term_id, '_seopress_social_fb_img', $term_settings['facebook_image']);
|
51 |
+
}
|
52 |
+
if ( ! empty($term_settings['twitter_image'])) { //Import Tw image
|
53 |
+
update_term_meta($term_id, '_seopress_social_twitter_img', $term_settings['twitter_image']);
|
54 |
+
}
|
55 |
+
}
|
56 |
+
}
|
57 |
+
}
|
58 |
+
$offset = 'done';
|
59 |
+
wp_reset_query();
|
60 |
+
} else {
|
61 |
+
$args = [
|
62 |
+
'posts_per_page' => $increment,
|
63 |
+
'post_type' => 'any',
|
64 |
+
'post_status' => 'any',
|
65 |
+
'offset' => $offset,
|
66 |
+
];
|
67 |
+
|
68 |
+
$slim_seo_query = get_posts($args);
|
69 |
+
|
70 |
+
if ($slim_seo_query) {
|
71 |
+
foreach ($slim_seo_query as $post) {
|
72 |
+
if ('' != get_post_meta($post->ID, 'slim_seo', true)) {
|
73 |
+
$post_settings = get_post_meta($post->ID, 'slim_seo', true);
|
74 |
+
|
75 |
+
if ( ! empty($post_settings['title'])) { //Import title tag
|
76 |
+
update_post_meta($post->ID, '_seopress_titles_title', $post_settings['title']);
|
77 |
+
}
|
78 |
+
if ( ! empty($post_settings['description'])) { //Import meta desc
|
79 |
+
update_post_meta($post->ID, '_seopress_titles_desc', $post_settings['description']);
|
80 |
+
}
|
81 |
+
if ( ! empty($post_settings['noindex'])) { //Import Robots NoIndex
|
82 |
+
update_post_meta($post->ID, '_seopress_robots_index', 'yes');
|
83 |
+
}
|
84 |
+
if ( ! empty($post_settings['facebook_image'])) { //Import FB image
|
85 |
+
update_post_meta($post->ID, '_seopress_social_fb_img', $post_settings['facebook_image']);
|
86 |
+
}
|
87 |
+
if ( ! empty($post_settings['twitter_image'])) { //Import Tw image
|
88 |
+
update_post_meta($post->ID, '_seopress_social_twitter_img', $post_settings['twitter_image']);
|
89 |
+
}
|
90 |
+
}
|
91 |
+
}
|
92 |
+
}
|
93 |
+
$offset += $increment;
|
94 |
+
|
95 |
+
if ($offset >= $total_count_posts) {
|
96 |
+
$count_items = $total_count_posts;
|
97 |
+
} else {
|
98 |
+
$count_items = $offset;
|
99 |
+
}
|
100 |
+
}
|
101 |
+
$data = [];
|
102 |
+
|
103 |
+
$data['count'] = $count_items;
|
104 |
+
$data['total'] = $total_count_posts + $total_count_terms;
|
105 |
+
|
106 |
+
$data['offset'] = $offset;
|
107 |
+
wp_send_json_success($data);
|
108 |
+
exit();
|
109 |
+
}
|
110 |
+
}
|
111 |
+
add_action('wp_ajax_seopress_slim_seo_migration', 'seopress_slim_seo_migration');
|
@@ -148,7 +148,7 @@ function seopress_do_real_preview()
|
|
148 |
add_filter('run_wptexturize', '__return_false');
|
149 |
|
150 |
//Get post content (used for Words counter)
|
151 |
-
$seopress_get_the_content =
|
152 |
$seopress_get_the_content = apply_filters('seopress_dom_analysis_get_post_content', $seopress_get_the_content);
|
153 |
|
154 |
//Cornerstone compatibility
|
@@ -207,14 +207,8 @@ function seopress_do_real_preview()
|
|
207 |
|
208 |
$seopress_analysis_target_kw = apply_filters( 'seopress_content_analysis_target_keywords', $seopress_analysis_target_kw, $seopress_get_the_id );
|
209 |
|
210 |
-
//Manage keywords with special characters
|
211 |
-
foreach ($seopress_analysis_target_kw as $key => $kw) {
|
212 |
-
$kw = str_replace('-', ' ', $kw); //remove dashes
|
213 |
-
$seopress_analysis_target_kw[] = htmlspecialchars_decode($kw, ENT_QUOTES);
|
214 |
-
}
|
215 |
|
216 |
-
|
217 |
-
$seopress_analysis_target_kw = array_unique($seopress_analysis_target_kw);
|
218 |
}
|
219 |
|
220 |
$xpath = new DOMXPath($dom);
|
@@ -814,6 +808,7 @@ add_action('wp_ajax_seopress_video_xml_sitemap_regenerate', 'seopress_video_xml_
|
|
814 |
|
815 |
require_once __DIR__ . '/ajax-migrate/smart-crawl.php';
|
816 |
require_once __DIR__ . '/ajax-migrate/seopressor.php';
|
|
|
817 |
require_once __DIR__ . '/ajax-migrate/platinum.php';
|
818 |
require_once __DIR__ . '/ajax-migrate/wpseo.php';
|
819 |
require_once __DIR__ . '/ajax-migrate/premium-seo-pack.php';
|
148 |
add_filter('run_wptexturize', '__return_false');
|
149 |
|
150 |
//Get post content (used for Words counter)
|
151 |
+
$seopress_get_the_content = get_post_field('post_content', $seopress_get_the_id);
|
152 |
$seopress_get_the_content = apply_filters('seopress_dom_analysis_get_post_content', $seopress_get_the_content);
|
153 |
|
154 |
//Cornerstone compatibility
|
207 |
|
208 |
$seopress_analysis_target_kw = apply_filters( 'seopress_content_analysis_target_keywords', $seopress_analysis_target_kw, $seopress_get_the_id );
|
209 |
|
|
|
|
|
|
|
|
|
|
|
210 |
|
211 |
+
$data['target_kws_count'] = seopress_get_service('CountTargetKeywordsUse')->getCountByKeywords($seopress_analysis_target_kw, $seopress_get_the_id);
|
|
|
212 |
}
|
213 |
|
214 |
$xpath = new DOMXPath($dom);
|
808 |
|
809 |
require_once __DIR__ . '/ajax-migrate/smart-crawl.php';
|
810 |
require_once __DIR__ . '/ajax-migrate/seopressor.php';
|
811 |
+
require_once __DIR__ . '/ajax-migrate/slim-seo.php';
|
812 |
require_once __DIR__ . '/ajax-migrate/platinum.php';
|
813 |
require_once __DIR__ . '/ajax-migrate/wpseo.php';
|
814 |
require_once __DIR__ . '/ajax-migrate/premium-seo-pack.php';
|
@@ -8,21 +8,6 @@
|
|
8 |
if (defined('SEOPRESS_WL_ADMIN_HEADER') && SEOPRESS_WL_ADMIN_HEADER === false) {
|
9 |
//do nothing
|
10 |
} else {
|
11 |
-
$sp_versions = get_option('seopress_versions');
|
12 |
-
if (isset($sp_versions['pro']) && version_compare($sp_versions['pro'], '5.7', '<')) {
|
13 |
-
function seopress_google_analytics_dashboard_widget_option() {
|
14 |
-
$seopress_google_analytics_dashboard_widget_option = get_option('seopress_google_analytics_option_name');
|
15 |
-
if ( ! empty($seopress_google_analytics_dashboard_widget_option)) {
|
16 |
-
foreach ($seopress_google_analytics_dashboard_widget_option as $key => $seopress_google_analytics_dashboard_widget_value) {
|
17 |
-
$options[$key] = $seopress_google_analytics_dashboard_widget_value;
|
18 |
-
}
|
19 |
-
if (isset($seopress_google_analytics_dashboard_widget_option['seopress_google_analytics_dashboard_widget'])) {
|
20 |
-
return $seopress_google_analytics_dashboard_widget_option['seopress_google_analytics_dashboard_widget'];
|
21 |
-
}
|
22 |
-
}
|
23 |
-
}
|
24 |
-
}
|
25 |
-
|
26 |
function seopress_get_hidden_notices_insights_option()
|
27 |
{
|
28 |
$seopress_get_hidden_notices_insights_option = get_option('seopress_notices');
|
@@ -66,13 +51,24 @@
|
|
66 |
<?php
|
67 |
$dashboard_settings_tabs = [
|
68 |
'tab_seopress_analytics' => __('Google Analytics', 'wp-seopress'),
|
|
|
69 |
'tab_seopress_ps' => __('PageSpeed', 'wp-seopress'),
|
70 |
-
'tab_seopress_seo_tools' => __('SEO Tools', 'wp-seopress'),
|
71 |
];
|
72 |
|
73 |
-
|
|
|
74 |
unset($dashboard_settings_tabs['tab_seopress_analytics']);
|
75 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
?>
|
77 |
|
78 |
<div class="nav-tab-wrapper">
|
@@ -102,63 +98,23 @@
|
|
102 |
|
103 |
<div class="wrap-seopress-tab-content">
|
104 |
<?php if (is_plugin_active('wp-seopress-pro/seopress-pro.php') && seopress_get_toggle_option('google-analytics')) { ?>
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
if (! empty($stats['sessions'])) {
|
112 |
-
$html[__('Sessions', 'wp-seopress')] = $stats['sessions'];
|
113 |
-
}
|
114 |
-
if (! empty($stats['users'])) {
|
115 |
-
$html[__('Users', 'wp-seopress')] = $stats['users'];
|
116 |
-
}
|
117 |
-
if (! empty($stats['pageviews'])) {
|
118 |
-
$html[__('Page Views', 'wp-seopress')] = $stats['pageviews'];
|
119 |
-
}
|
120 |
-
if (! empty($stats['pageviewsPerSession'])) {
|
121 |
-
$html[__('Page view / session', 'wp-seopress')] = $stats['pageviewsPerSession'];
|
122 |
-
}
|
123 |
-
if (! empty($stats['avgSessionDuration'])) {
|
124 |
-
$html[__('Average session duration', 'wp-seopress')] = $stats['avgSessionDuration'];
|
125 |
-
}
|
126 |
-
if (! empty($stats['bounceRate'])) {
|
127 |
-
$html[__('Bounce rate', 'wp-seopress')] = $stats['bounceRate'];
|
128 |
-
}
|
129 |
-
if (! empty($stats['percentNewSessions'])) {
|
130 |
-
$html[__('New sessions', 'wp-seopress')] = $stats['percentNewSessions'];
|
131 |
-
} ?>
|
132 |
-
|
133 |
-
<div class="seopress-summary-items">
|
134 |
-
<?php if (! empty($html)) { ?>
|
135 |
-
<?php foreach ($html as $key => $value) { ?>
|
136 |
-
<div class="seopress-summary-item">
|
137 |
-
<div class="seopress-summary-item-label">
|
138 |
-
<?php echo $key; ?>
|
139 |
-
</div>
|
140 |
-
<div class="seopress-summary-item-data">
|
141 |
-
<?php echo $value; ?>
|
142 |
-
</div>
|
143 |
-
</div>
|
144 |
-
<?php } ?>
|
145 |
-
<?php } else { ?>
|
146 |
-
<p class="inside"><?php _e('No stats found', 'wp-seopress'); ?></p>
|
147 |
-
<?php } ?>
|
148 |
</div>
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
</div>
|
159 |
</div>
|
160 |
-
<?php } ?>
|
161 |
-
</div>
|
162 |
<?php } ?>
|
163 |
|
164 |
<div id="tab_seopress_ps" class="seopress-tab seopress-page-speed inside<?php if ('tab_seopress_ps' == $current_tab) {
|
@@ -208,86 +164,6 @@
|
|
208 |
</a>
|
209 |
</p>
|
210 |
</div>
|
211 |
-
|
212 |
-
<?php if (is_plugin_active('wp-seopress-pro/seopress-pro.php') ) { ?>
|
213 |
-
<div id="tab_seopress_seo_tools" class="seopress-tab seopress-useful-tools inside <?php if ('tab_seopress_seo_tools' == $current_tab) {
|
214 |
-
echo 'active';
|
215 |
-
} ?>">
|
216 |
-
|
217 |
-
<!-- Reverse -->
|
218 |
-
<div class="widget widget-reverse">
|
219 |
-
<h3 class="widget-title"><?php _e('Check websites setup on your server', 'wp-seopress'); ?>
|
220 |
-
</h3>
|
221 |
-
|
222 |
-
<p>
|
223 |
-
<?php
|
224 |
-
if ('' != get_transient('seopress_results_reverse')) {
|
225 |
-
$seopress_results_reverse = (array) json_decode(get_transient('seopress_results_reverse'));
|
226 |
-
|
227 |
-
//Init
|
228 |
-
$seopress_results_reverse_remote_ip_address = __('Not found', 'wp-seopress');
|
229 |
-
if (isset($seopress_results_reverse['remoteIpAddress'])) {
|
230 |
-
$seopress_results_reverse_remote_ip_address = $seopress_results_reverse['remoteIpAddress'];
|
231 |
-
}
|
232 |
-
|
233 |
-
$seopress_results_reverse_last_scrape = __('No scrape.', 'wp-seopress');
|
234 |
-
if (isset($seopress_results_reverse['lastScrape'])) {
|
235 |
-
$seopress_results_reverse_last_scrape = $seopress_results_reverse['lastScrape'];
|
236 |
-
}
|
237 |
-
|
238 |
-
$seopress_results_reverse_domain_count = __('No domain found.', 'wp-seopress');
|
239 |
-
if (isset($seopress_results_reverse['domainCount'])) {
|
240 |
-
$seopress_results_reverse_domain_count = $seopress_results_reverse['domainCount'];
|
241 |
-
}
|
242 |
-
|
243 |
-
$seopress_results_reverse_domain_array = '';
|
244 |
-
if (isset($seopress_results_reverse['domainArray'])) {
|
245 |
-
$seopress_results_reverse_domain_array = $seopress_results_reverse['domainArray'];
|
246 |
-
} ?>
|
247 |
-
<p class="remote-ip">
|
248 |
-
<strong>
|
249 |
-
<?php _e('Server IP Address: ', 'wp-seopress'); ?>
|
250 |
-
</strong>
|
251 |
-
<?php echo $seopress_results_reverse_remote_ip_address; ?>
|
252 |
-
</p>
|
253 |
-
|
254 |
-
<p class="last-scrape">
|
255 |
-
<strong>
|
256 |
-
<?php _e('Last scrape: ', 'wp-seopress'); ?>
|
257 |
-
</strong>
|
258 |
-
<?php echo $seopress_results_reverse_last_scrape; ?>
|
259 |
-
</p>
|
260 |
-
|
261 |
-
<p class="domain-count">
|
262 |
-
<strong>
|
263 |
-
<?php _e('Number of websites on your server: ', 'wp-seopress'); ?>
|
264 |
-
</strong>
|
265 |
-
<?php echo $seopress_results_reverse_domain_count; ?>
|
266 |
-
</p>
|
267 |
-
<?php if ('' != $seopress_results_reverse_domain_array) { ?>
|
268 |
-
<ul>
|
269 |
-
<?php foreach ($seopress_results_reverse_domain_array as $key => $value) { ?>
|
270 |
-
<li>
|
271 |
-
<span class="dashicons dashicons-minus"></span>
|
272 |
-
<a href="//' . preg_replace('#^https?://#', '', $value[0]) . '" target="_blank">
|
273 |
-
<?php echo $value[0]; ?>
|
274 |
-
</a>
|
275 |
-
<span class="dashicons dashicons-external"></span>
|
276 |
-
</li>
|
277 |
-
<?php } ?>
|
278 |
-
</ul>
|
279 |
-
<?php }
|
280 |
-
}
|
281 |
-
?>
|
282 |
-
|
283 |
-
<button id="seopress-reverse-submit" type="button" class="btn btnSecondary" name="submit">
|
284 |
-
<?php _e('Get list', 'wp-seopress'); ?>
|
285 |
-
</button>
|
286 |
-
|
287 |
-
<span id="spinner-reverse" class="spinner"></span>
|
288 |
-
</div>
|
289 |
-
</div>
|
290 |
-
<?php } ?>
|
291 |
</div>
|
292 |
</div>
|
293 |
</div>
|
8 |
if (defined('SEOPRESS_WL_ADMIN_HEADER') && SEOPRESS_WL_ADMIN_HEADER === false) {
|
9 |
//do nothing
|
10 |
} else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
function seopress_get_hidden_notices_insights_option()
|
12 |
{
|
13 |
$seopress_get_hidden_notices_insights_option = get_option('seopress_notices');
|
51 |
<?php
|
52 |
$dashboard_settings_tabs = [
|
53 |
'tab_seopress_analytics' => __('Google Analytics', 'wp-seopress'),
|
54 |
+
'tab_seopress_matomo' => __('Matomo Analytics', 'wp-seopress'),
|
55 |
'tab_seopress_ps' => __('PageSpeed', 'wp-seopress'),
|
|
|
56 |
];
|
57 |
|
58 |
+
//GA
|
59 |
+
if (seopress_get_toggle_option('google-analytics') !=='1' || (function_exists('seopress_google_analytics_dashboard_widget_option') && seopress_google_analytics_dashboard_widget_option() === '1')) {
|
60 |
unset($dashboard_settings_tabs['tab_seopress_analytics']);
|
61 |
}
|
62 |
+
|
63 |
+
//Matomo
|
64 |
+
if (seopress_get_toggle_option('google-analytics') !=='1' || (function_exists('seopress_google_analytics_matomo_dashboard_widget_option') && '1' === seopress_google_analytics_matomo_dashboard_widget_option())) {
|
65 |
+
unset($dashboard_settings_tabs['tab_seopress_matomo']);
|
66 |
+
}
|
67 |
+
|
68 |
+
$matomoID = seopress_get_service('GoogleAnalyticsOption')->getMatomoId() ? seopress_get_service('GoogleAnalyticsOption')->getMatomoId() : null;
|
69 |
+
if (empty($matomoID)) {
|
70 |
+
unset($dashboard_settings_tabs['tab_seopress_matomo']);
|
71 |
+
}
|
72 |
?>
|
73 |
|
74 |
<div class="nav-tab-wrapper">
|
98 |
|
99 |
<div class="wrap-seopress-tab-content">
|
100 |
<?php if (is_plugin_active('wp-seopress-pro/seopress-pro.php') && seopress_get_toggle_option('google-analytics')) { ?>
|
101 |
+
<div id="tab_seopress_analytics" class="seopress-tab seopress-analytics <?php if ('tab_seopress_analytics' == $current_tab) { echo 'active'; } ?>">
|
102 |
+
<?php if (function_exists('seopress_google_analytics_dashboard_widget_option') && '1' !== seopress_google_analytics_dashboard_widget_option()) {
|
103 |
+
if (function_exists('seopress_ga_dashboard_widget_display')) {
|
104 |
+
seopress_ga_dashboard_widget_display();
|
105 |
+
}
|
106 |
+
} ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
</div>
|
108 |
+
<?php } ?>
|
109 |
+
|
110 |
+
<?php if (is_plugin_active('wp-seopress-pro/seopress-pro.php') && seopress_get_toggle_option('google-analytics')) { ?>
|
111 |
+
<div id="tab_seopress_matomo" class="seopress-tab seopress-analytics <?php if ('tab_seopress_matomo' == $current_tab) { echo 'active'; } ?>">
|
112 |
+
<?php if (function_exists('seopress_google_analytics_matomo_dashboard_widget_option') && '1' !== seopress_google_analytics_matomo_dashboard_widget_option() && !empty($matomoID)) {
|
113 |
+
if (function_exists('seopress_matomo_dashboard_widget_display')) {
|
114 |
+
seopress_matomo_dashboard_widget_display();
|
115 |
+
}
|
116 |
+
} ?>
|
|
|
117 |
</div>
|
|
|
|
|
118 |
<?php } ?>
|
119 |
|
120 |
<div id="tab_seopress_ps" class="seopress-tab seopress-page-speed inside<?php if ('tab_seopress_ps' == $current_tab) {
|
164 |
</a>
|
165 |
</p>
|
166 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
</div>
|
168 |
</div>
|
169 |
</div>
|
@@ -297,6 +297,7 @@
|
|
297 |
'platinum-seo-pack/platinum-seo-pack.php' => 'Platinum SEO Pack',
|
298 |
'smartcrawl-seo/wpmu-dev-seo.php' => 'SmartCrawl',
|
299 |
'seo-pressor/seo-pressor.php' => 'SEOPressor',
|
|
|
300 |
|