SEOPress - Version 3.3.10

Version Description

  • NEW Content analysis for all page builders / themes
  • NEW Add Turkish language
  • INFO Improve CSS
  • FIX Security
Download this release

Release Info

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

Code changes from version 3.3.9 to 3.3.10

assets/css/seopress.css CHANGED
@@ -89,6 +89,7 @@
89
 
90
  #seopress_content_analysis .wrap-analysis-img ul {
91
  display: flex;
 
92
  }
93
 
94
  #seopress_content_analysis .wrap-analysis-img ul li {
@@ -129,13 +130,15 @@
129
  margin: 0;
130
  border-radius: 0;
131
  padding: 0;
132
- background: #edeff0;
133
  border: none;
134
  }
135
 
136
  #seopress_content_analysis .ui-tabs .ui-tabs-nav {
137
  width: calc(100% + 24px);
138
  margin: 0 0 0 -12px;
 
 
139
  }
140
 
141
  #seopress_content_analysis .ui-tabs .ui-tabs-nav {
@@ -286,6 +289,10 @@
286
  word-break: break-all;
287
  }
288
 
 
 
 
 
289
  #seopress_cpt .google-snippet-preview .snippet-title,#seopress_cpt .google-snippet-preview .snippet-title-custom,#seopress_cpt .google-snippet-preview .snippet-title-default {
290
  color: #1a0dab;
291
  font-size: 18px;
89
 
90
  #seopress_content_analysis .wrap-analysis-img ul {
91
  display: flex;
92
+ flex-wrap: wrap;
93
  }
94
 
95
  #seopress_content_analysis .wrap-analysis-img ul li {
130
  margin: 0;
131
  border-radius: 0;
132
  padding: 0;
133
+ background: #f3f4f5;
134
  border: none;
135
  }
136
 
137
  #seopress_content_analysis .ui-tabs .ui-tabs-nav {
138
  width: calc(100% + 24px);
139
  margin: 0 0 0 -12px;
140
+ position: sticky;
141
+ top: 0;
142
  }
143
 
144
  #seopress_content_analysis .ui-tabs .ui-tabs-nav {
289
  word-break: break-all;
290
  }
291
 
292
+ #seopress_cpt .google-snippet-preview > p {
293
+ word-break: normal;
294
+ }
295
+
296
  #seopress_cpt .google-snippet-preview .snippet-title,#seopress_cpt .google-snippet-preview .snippet-title-custom,#seopress_cpt .google-snippet-preview .snippet-title-default {
297
  color: #1a0dab;
298
  font-size: 18px;
assets/css/seopress.min.css CHANGED
@@ -1 +1 @@
1
- #adminmenu div.wp-menu-image.dashicons-admin-seopress::before,#seopress-header #seopress-admin h1::before{content:"\e800";font-family:seopress!important;font-weight:700;font-size:12px;line-height:20px}#seopress-header #seopress-admin h1::before,.seopress-page-list .seopress-feature h3,.seopress-styles .seopress-option h1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}@font-face{font-family:seopress;src:url(../fonts/seopress.eot?81521271);src:url(../fonts/seopress.eot?81521271#iefix) format('embedded-opentype'),url(../fonts/seopress.woff?81521271) format('woff2'),url(../fonts/seopress.woff?81521271) format('woff'),url(../fonts/seopress.ttf?81521271) format('truetype'),url(../fonts/seopress.svg?81521271#seopress) format('svg');font-weight:400;font-style:normal}[class*=" icon-seopress"],[class^=icon-seopress-]{font-family:seopress!important;font-size:14px!important;line-height:24px!important}.icon-seopress-seopress:before{content:"\e800"}#seopress_content_analysis .wrap-seopress-analysis{display:inline-block;width:100%}#seopress_content_analysis .col-left{width:calc(50% - 30px);float:left;margin-right:30px}#seopress_content_analysis .col-right{float:right;width:50%}#seopress_content_analysis #seopress_suggestions{display:inline-block;width:100%;margin:0;height:auto;padding:20px 0}#seopress_content_analysis #seopress_suggestions li{list-style:square;margin:5px;display:inline-block;background:#F1F1F1;padding:5px}#seopress_launch_analysis{float:left}#seopress_analysis_results_state{background:rgba(74,184,102,.75);color:#fff;padding:5px 25px 5px 20px;border-radius:100px;font-style:italic;position:relative;width:auto;display:inline-block;margin:0 0 0 20px;clear:both}#seopress_content_analysis h3{border-bottom:1px solid #ddd;padding-bottom:10px}#seopress_content_analysis .wrap-analysis-img ul{display:flex}#seopress_content_analysis .wrap-analysis-img ul li{padding:0;text-align:left;cursor:default}#seopress_content_analysis .wrap-analysis-img h4{border-bottom:1px solid #ddd;padding-bottom:10px}#seopress_content_analysis .wrap-analysis-img ul li img{max-width:150px;max-height:150px;object-fit:cover;cursor:default}#seopress_cpt .notice{padding:10px 14px}#seopress-analysis-tabs .dashicons,#seopress_cpt .dashicons{vertical-align:middle}#seopress_cpt .inside{margin:0;padding:0}#seopress_content_analysis .ui-tabs .ui-tabs-nav,#seopress_cpt .ui-tabs .ui-tabs-nav{display:inline-block;min-height:26px;position:relative;width:100%;z-index:10;margin:0;border-radius:0;padding:0;background:#edeff0;border:none}#seopress_content_analysis .ui-tabs .ui-tabs-nav{width:calc(100% + 24px);margin:15px 0 0 -12px}#seopress_content_analysis .ui-helper-clearfix:after,#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_content_analysis .ui-tabs .ui-tabs-panel,#seopress_cpt .ui-tabs .ui-tabs-panel{background:#FFF;border-radius:0;display:inline-block;padding:1em 1.4em;width:100%;box-sizing:border-box}#seopress_content_analysis .ui-tabs .ui-tabs-panel .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_content_analysis .ui-tabs .ui-tabs-nav li,#seopress_content_analysis .ui-tabs-anchor,#seopress_cpt .ui-tabs .ui-tabs-nav li,#seopress_cpt .ui-tabs-anchor{cursor:pointer!important}#seopress_content_analysis .ui-tabs .ui-tabs-nav li.ui-tabs-active,#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-active{position:relative;z-index:60;cursor:pointer;border-radius:0;border-bottom:3px solid #0085ba}#seopress_content_analysis label,#seopress_cpt #tabs-1 label,#seopress_cpt #tabs-2 label[for=seopress_robots_breadcrumbs_meta],#seopress_cpt #tabs-2 label[for=seopress_robots_canonical_meta],#seopress_cpt #tabs-2 label[for=seopress_robots_primary_cat_meta],#seopress_cpt #tabs-3 label,#seopress_cpt #tabs-4 label,#seopress_cpt #tabs-5 label,#seopress_cpt #tabs-6 label,#seopress_cpt .subsection-title,#seopress_pro_cpt label{display:block;margin:20px 0 5px;font-weight:700}#seopress_cpt .wp-color-result{margin:0}#seopress_content_analysis input[type=text],#seopress_cpt #tabs-1 input,#seopress_cpt #tabs-2 input[type=text],#seopress_cpt #tabs-3 input[type=text],#seopress_cpt #tabs-3 textarea,#seopress_cpt #tabs-4 input[type=text],#seopress_cpt #tabs-5 input[type=text],#seopress_cpt #tabs-6 input[type=text],#seopress_cpt #tabs-6 textarea{width:100%}#seopress_cpt #tabs-6 input[type=number]{width:30%;min-width:200px}#seopress_cpt #tabs-6 #wrap-videos .video:first-child .remove-video{display:none}#seopress_cpt select{width:300px}#seopress_cpt #tabs-4 select{width:60px;display:inline}#seopress_cpt #tabs-4 #seopress_redirections_value_meta{width:calc(100% - 68px);float:right}#seopress_cpt #tabs-6{padding:0}#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-content,#seopress_cpt #tabs-6>p{padding:0 1.4em}#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-content{padding:0 1.4em 1em}#seopress_cpt #tabs-6 #wrap-videos .video{border-top:1px solid #eee}#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-title{border-left:none;border-right:none;font-size:1em;padding:1em 1.4em}#seopress_cpt #tabs-6 #wrap-videos .video:last-child .accordion-section-content,#seopress_cpt #tabs-6 #wrap-videos .video:last-child .accordion-section-title{border-bottom:1px solid #eee}#seopress_cpt #tabs-6 #wrap-videos .video .inside{padding:0}#seopress_cpt #tabs-4 #seopress_redirections_enabled,#seopress_cpt #tabs-5 #seopress_news_disabled,#seopress_cpt #tabs-5 #seopress_news_standout,#seopress_cpt #tabs-6 #seopress_video_disabled,#seopress_cpt #tabs-6 .family-friendly label,#seopress_cpt #tabs-6 .internal_video label{font-weight:400}#seopress_cpt #tabs-6 #wrap-videos .video:nth-child(odd){background:#fdfdfd}#seopress_content_analysis .advise,#seopress_cpt .advise,#seopress_pro_cpt .advise,.seopress-option .advise{margin:5px;display:block;color:red;font-style:italic}#seopress_cpt #tabs-6 #wrap-videos .video .advise{color:#555}#seopress_content_analysis .mandatory,#seopress_cpt .mandatory{color:#c00}#seopress_cpt .box-left{float:left;width:49%;margin-right:1%}#seopress_cpt .box-right{float:left;width:49%;margin-left:1%}#seopress_cpt .google-snippet-preview{font-family:arial,sans-serif;word-break:break-all}#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 .snippet-permalink{color:#006621;font-size:14px;font-style:normal;font-weight:400;line-height:16px}#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:13px;font-weight:400;line-height:18.2px;display:inline}#seopress_cpt .google-snippet-preview .snippet-date{color:grey;display:inline}#seopress_cpt .wrap-seopress-counters,#seopress_pro_cpt .wrap-seopress-counters{text-align:right;background:#eee;padding:2px 5px;box-shadow:0 1px 1px rgba(0,0,0,.2);font-size:12px}#seopress_cpt #seopress_titles_desc_counters,#seopress_cpt #seopress_titles_title_counters,#seopress_pro_cpt #seopress_rich_snippets_articles_counters,#seopress_pro_cpt #seopress_rich_snippets_courses_counters{display:inline;margin-right:5px}#seopress_cpt #seopress_titles_desc_counters_val,#seopress_cpt #seopress_titles_title_counters_val,#seopress_pro_cpt #seopress_rich_snippets_articles_counters_val,#seopress_pro_cpt #seopress_rich_snippets_courses_counters_val{display:inline;font-weight:700}#term-seopress #seopress_cpt{width:95%}.fixed .column-seopress_w3c,.fixed .column-seopress_words{width:5%}.fixed .column-seopress_nofollow,.fixed .column-seopress_noindex{width:10%}#seopress_content_analysis .ui-tabs,#seopress_cpt .ui-tabs{position:relative;padding:0;border:none;font-family:inherit;font-size:inherit;display:inline-block;width:100%}#seopress_content_analysis .ui-tabs .ui-tabs-nav li,#seopress_cpt .ui-tabs .ui-tabs-nav li{list-style:none;display:inline-block;position:relative;top:2px;padding:0 5px;white-space:nowrap;border:none;background:0 0}#seopress_content_analysis .ui-tabs .ui-tabs-nav li a,#seopress_cpt .ui-tabs .ui-tabs-nav li a{display:inline-block;padding:5px 10px}#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav li a,#seopress_cpt .ui-tabs-vertical .ui-tabs-nav li a{display:block}#seopress_content_analysis .ui-tabs .ui-tabs-nav li.ui-tabs-active,#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-2px;padding-bottom:1px}#seopress_content_analysis .ui-tabs .ui-tabs-nav li.ui-state-disabled a,#seopress_content_analysis .ui-tabs .ui-tabs-nav li.ui-tabs-active a,#seopress_content_analysis .ui-tabs .ui-tabs-nav li.ui-tabs-loading a,#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-state-disabled a,#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-active a,#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-loading a{color:#191e23;font-weight:700}#seopress_content_analysis .ui-tabs .ui-tabs-nav li a,#seopress_content_analysis .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a,#seopress_cpt .ui-tabs .ui-tabs-nav li a,#seopress_cpt .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a{cursor:pointer;color:#191e23;text-decoration:none;height:40px;line-height:40px}#seopress_cpt .ui-tabs-vertical{width:55em}#seopress_cpt .ui-tabs-vertical .ui-tabs-nav{padding:.2em .1em .2em .2em;float:left;width:12em}#seopress_cpt .ui-tabs-vertical .ui-tabs-nav li{clear:left;width:100%;border-bottom-width:1px!important;border-right-width:0!important;margin:0 -1px .2em 0}#seopress_cpt .ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active{padding-bottom:0;padding-right:.1em;border-right-width:1px}#seopress_cpt .ui-tabs-vertical .ui-tabs-panel{padding:1em;float:right;width:40em}#seopress_content_analysis .ui-tabs .ui-tabs-nav li a .dashicons,#seopress_cpt .ui-tabs .ui-tabs-nav li a .dashicons{margin-right:2px}#tab-panel-seopress_titles_help_tab li span{font-weight:700;margin-right:10px}#seopress_content_analysis .ui-tabs .dashicons-no-alt,#seopress_content_analysis .ui-tabs .dashicons-yes,#seopress_pro_cpt .dashicons-no-alt,#seopress_pro_cpt .dashicons-yes{color:#fff;background:#12BD10;border-radius:50px;margin-right:10px}#seopress_content_analysis .ui-tabs .dashicons-no-alt,#seopress_pro_cpt .dashicons-no-alt{background:#e25950}body.seopress-styles{background:#f8fafd}#seopress-content a{color:#3297d3}#seopress-content a:hover{color:#106598}#seopress-admin-tabs.ui-tabs{position:relative;padding:.2em;border:none;font-family:inherit;font-size:inherit}#seopress-admin-tabs.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:-1px .2em 0 0;padding:0;white-space:nowrap;border:none;background:0 0}#seopress-admin-tabs.ui-tabs .ui-tabs-nav li a{float:left;padding:.38em 1em .75rem;outline:0;border-bottom:2px solid #fff}#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px}#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-state-disabled a,#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-active a,#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-loading a{cursor:text;border-bottom:2px solid #23282D;color:#23282D}#seopress-admin-tabs.ui-tabs .ui-tabs-nav li a,#seopress-admin-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a{cursor:pointer;color:#0073aa;text-decoration:none}#seopress-admin-tabs.ui-tabs-vertical{width:55em}#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav{padding:.2em .1em .2em .2em;float:left;width:12em}#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav li{clear:left;width:100%;border-bottom-width:1px!important;border-right-width:0!important;margin:0 -1px .2em 0}#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active{padding-bottom:0;padding-right:.1em;border-right-width:1px}#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-panel{padding:1em;float:right;width:40em}.seopress-styles .seopress-option{margin:10px auto 0;max-width:90%;padding:1rem;background:#fff;box-shadow:0 15px 35px rgba(50,50,93,.1),0 5px 15px rgba(0,0,0,.1);border-radius:4px}.seopress-styles .seopress-option h1{font-size:16px;font-weight:700;color:#3297d3;text-transform:uppercase;position:sticky;top:32px;background:#fff;z-index:100;padding:10px 0}.seopress-styles .seopress-option h1 .dashicons,.seopress-styles .seopress-option h2 .dashicons{margin:0 10px;font-size:40px;width:40px;height:40px;vertical-align:middle}.seopress-styles .seopress-option .link-archive{font-size:14px}.seopress-styles .seopress-option .link-archive .dashicons{font-size:18px;width:20px;height:20px;margin:inherit}.seopress-styles .seopress-option h1>.dashicons{font-size:30px;width:30px;height:30px;background:#c4f0ff;border-radius:50%;padding:10px;box-shadow:0 4px 6px rgba(50,50,93,.1),0 1px 3px rgba(0,0,0,.1);margin-left:20px}.seopress-styles .seopress-option .metabox-holder h2 .dashicons{font-size:16px}.seopress-option h1 .feature-state .dashicons{font-size:16px;width:16px;height:16px;vertical-align:middle;margin:0 10px 0 0}.seopress-styles .wrap{margin:0;position:relative}.seopress-styles .seopress-option .submit{background:#fff;text-align:center;border-top:1px solid #F1F1F1;padding-top:20px;padding-bottom:20px;margin:0}.seopress-styles .seopress-option #seopress-aio-migrate,.seopress-styles .seopress-option #seopress-seo-framework-migrate,.seopress-styles .seopress-option #seopress-yoast-migrate,.seopress-styles .seopress-option #submit{color:#fff;text-decoration:none;border:none;border-radius:4px;padding-right:20px;padding-left:20px;line-height:34px;text-transform:uppercase;min-height:34px;transition:all .3s linear;text-shadow:none;box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.1);margin-right:15px;background:RGB(106,124,148);position:relative;height:auto;z-index: 10}.seopress-styles .seopress-option #seopress-aio-migrate:hover,.seopress-styles .seopress-option #seopress-seo-framework-migrate:hover,.seopress-styles .seopress-option #seopress-yoast-migrate:hover,.seopress-styles .seopress-option #submit:hover{text-decoration:none;color:#FFF;background:#232323}.seopress-styles #wpcontent{padding-left:0;background:#F8FAFD}.seopress-styles pre{color:#42b72a;background:#f5f6f7;font-family:Menlo,Monaco,Andale Mono,Courier New,monospace;padding:7px;display:inline-block}.seopress-styles #seopress-navbar{padding:10px .5rem;height:56px;margin:0 auto;width:53rem;box-sizing:border-box;position:relative}#seopress-header{margin:0 auto;position:relative;width:100%}#seopress-header #seopress-admin h1{line-height:40px;margin:0;display:inline-block;height:40px;width:40px;background-size:100%;background-repeat:no-repeat}#seopress-header #seopress-admin h1::before{font-size:14px;line-height:40px;position:absolute;border-radius:6px;font-weight:400;color:#fff;width:40px;height:40px;text-align:center;background:#3a4afb;background:-moz-linear-gradient(45deg,rgba(58,74,251,1) 0,rgba(71,190,165,1) 100%);background:-webkit-linear-gradient(45deg,rgba(58,74,251,1) 0,rgba(71,190,165,1) 100%);background:linear-gradient(45deg,rgba(58,74,251,1) 0,rgba(71,190,165,1) 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#3a4afb', endColorstr='#47bea5', GradientType=1 )}#seopress-header #seopress-admin h1:hover{cursor:pointer}#seopress-header #seopress-admin h1>a{text-decoration:none;color:inherit}#seopress-header #seopress-admin .seopress-quick-access{background:#fff;box-shadow:0 50px 100px rgba(50,50,93,.1),0 15px 35px rgba(50,50,93,.2),0 5px 15px rgba(0,0,0,.1);border-radius:4px;overflow:hidden;position:relative;font-size:17px;line-height:40px;white-space:nowrap;transform:rotate3d(1,1,0,-15deg);transform-origin:100% 0;opacity:0;will-change:transform,opacity;transition-property:transform,opacity;transition-duration:.25s;z-index:300;padding:0;display:block;width:53rem;top:0;visibility:hidden;cursor:auto}#seopress-header #seopress-admin h1:hover .seopress-quick-access{transform:none;opacity:1;pointer-events:auto;visibility:visible}#seopress-header #seopress-admin .seopress-quick-access>ul{padding:20px;margin:0;float:left;width:100%;box-sizing:border-box}#seopress-header #seopress-admin h1 .seopress-quick-access li{text-decoration:none;display:inline-block;width:50%;margin:0;float:left;padding:10px 0}#seopress-header #seopress-admin h1 .seopress-quick-access li .dashicons{vertical-align:middle;background:#B7E1F3;border-radius:50%;padding:5px;margin-right:15px}#seopress-header #seopress-admin h1 .seopress-quick-access li a{text-decoration:none;font-size:15px;line-height:30px;text-transform:uppercase;display:block;width:100%;transition:all .3s linear;color:#3297d3}#seopress-header #seopress-admin h1 .seopress-quick-access li a:hover{color:#647a88}#seopress-header #seopress-admin h1 .seopress-info-version{position:relative;left:50px;top:0;font-size:14px;width:100px;display:block}#seopress-header #seopress-admin .wpc-info-version{font-size:14px;left:310px;position:absolute;text-indent:0;top:85px}#seopress-header #seopress-notice{float:right;line-height:40px}#seopress-header #seopress-notice p{font-size:16px}#seopress-header #seopress-notice .dashicons{color:#444;text-decoration:none;line-height:40px}#seopress-header #seopress-notice div.small{font-size:13px;display:inline}#seopress-footer-credits{font-style:italic}#seopress-footer-credits .wporg-ratings{display:inline}#seopress-footer-credits .wporg-ratings a{text-decoration:none}.seopress-option .seopress-settings{float:left;max-width:750px;width:100%}.seopress-option #seopress-edd-license-btn,.seopress-option #seopress-refresh{float:left}.wp-admin-ui_page_seopress-import-export .postbox{margin-right:20px}.seopress-option #side-sortables .accordion-section-content{padding:0}.seopress-option .seopress-settings label{margin:0 0 0 10px}.wrap-seopress-tab-content{position:relative;display:block;width:100%;height:100%;max-width:53rem;margin:20px auto 0}#seopress-admin-tabs .seopress-tab{padding:1.5rem;visibility:hidden;overflow:hidden;opacity:0;transition:all .2s ease;transform:translateX(-15px);position:absolute;top:0}#seopress-admin-tabs .seopress-tab.active{visibility:visible;overflow:inherit;opacity:1;transform:translateX(0);display:inherit;position:relative}#seopress-tabs .seopress-tab{padding:1.5rem;display:none}#seopress-tabs .seopress-tab.active{display:block}.seopress-option input[type=password],.seopress-option input[type=text],.seopress-option textarea{min-width:485px}#seopress_htaccess_file{width:100%}.seopress-option textarea{min-height:100px}.seopress-option #side-sortables .highlight{border:1px dashed #ccc;display:block;width:382px;height:40px;background:0 0}.seopress-option #side-sortables .accordion-section{margin-bottom:9px;width:382px}.seopress-option #side-sortables .accordion-section h3{cursor:move;border:1px solid #E5E5E5;background:#FAFAFA}.seopress-option #side-sortables .accordion-section .inside{padding:10px 10px 24px;border-width:0 1px 1px;border-style:solid;box-shadow:0 1px 1px rgba(0,0,0,.04);border-color:#e5e5e5;display:inline-block;width:calc(100% - 22px);height:100%}.seopress-option #side-sortables .accordion-section .inside ul{padding-left:10px;margin-bottom:0;padding-top:2px;padding-bottom:2px}.seopress-option #side-sortables .accordion-section .inside ul li{border-left:2px solid #ccc;padding-left:10px;margin-bottom:10px}.seopress-option #side-sortables .accordion-section .inside ul li:first-child{border-bottom:1px dotted #E5E5E5;border-left:0;padding-bottom:10px;font-weight:700;margin-left:-15px;margin-bottom:10px}.seopress-notice #message{margin:5px 10px 2px 0}#seopress-notice a{position:relative;text-decoration:none}#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:0}.seopress-option .dashicons,.seopress-page-list .dashicons{vertical-align:middle;margin-right:5px}#seopress-admin-tabs .ui-tabs-nav,#seopress-notifications-center,.seopress-page-list .seopress-feature,.seopress-useful-tools{background:linear-gradient(172deg,#f5f7fa,#f5f7fa 200px,#fff 0,#fff);margin:0 auto 20px;box-shadow:0 15px 35px rgba(50,50,93,.1),0 5px 15px rgba(0,0,0,.2);max-width:50rem;padding:1.5rem;width:100%;border-radius:4px}#seopress-notifications-center,.seopress-useful-tools{background:linear-gradient(172deg,#f5f7fa,#f5f7fa 400px,#fff 0,#fff)}.seopress-page-list .seopress-feature{padding:0 1.5rem;position:relative;overflow:hidden;transition-duration:.15s}.seopress-page-list .seopress-feature p{color:#6b7c93;font-size:14px;margin-bottom:30px}#seopress-notifications-center{margin-top:0}#seopress-admin-tabs .ui-tabs-nav{display:flex;padding-top:1rem;padding-bottom:0}.seopress-page-list .seopress-feature .img-tool{height:100px;width:100px;background:#c4f0ff;position:absolute;border-radius:50%;box-shadow:0 4px 6px rgba(50,50,93,.1),0 1px 3px rgba(0,0,0,.1);top:calc(50% - 50px);left:20px}.seopress-page-list .seopress-feature .img-tool .dashicons{color:#217AB7;font-size:60px;text-align:left;vertical-align:middle;width:100%;height:100%;position:absolute;top:calc(50% - 30px);left:calc(50% - 30px);margin:0}.seopress-page-list .seopress-feature .inner{margin:0;display:block;padding:2rem 0 2rem 120px}.seopress-page-list .seopress-feature h3{margin:0;font-size:16px;font-weight:700;color:#3297d3;text-transform:uppercase}.seopress-page-list .seopress-feature h3 .dashicons{font-size:16px;margin-left:5px;vertical-align:middle}#seopress-content .seopress-page-list .seopress-feature a,#seopress-notifications-center .seopress-alert .button-primary,.seopress-option .seopress-feature a,.seopress-useful-tools .widget .button-primary{color:#fff;text-decoration:none;border:none;border-radius:4px;padding-right:20px;padding-left:20px;line-height:34px;text-transform:uppercase;min-height:34px;transition:all .3s linear;text-shadow:none;box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.1);margin-right:15px;background:#6A7C94;position:relative;height:auto}#seopress-content .seopress-page-list .seopress-feature a.button-secondary{padding-left:30px}#seopress-content .seopress-page-list .seopress-feature a.button-secondary::before,#seopress-notifications-center .seopress-alert .button-primary::after{content:"\f111";font-family:Dashicons;position:absolute;left:10px;top:1px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:16px}#seopress-content .seopress-page-list .seopress-feature a.view-redirects,#seopress-notifications-center .seopress-alert .button-primary,.seopress-option .button{background:#fff;border:none;color:#6b7c93;font-weight:500;transition:all .3s linear;text-shadow:none;text-transform:uppercase;padding-right:20px;padding-left:20px;line-height:34px;min-height:34px;margin-bottom:10px;border-radius:4px;box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.1);vertical-align:baseline}.seopress-option .button .dashicons{font-size:16px}#seopress-content .seopress-page-list .seopress-feature a.view-redirects{padding-left:35px}#seopress-notifications-center .seopress-alert .button-primary::after{content:"\f344";left:inherit;right:10px}#seopress-content .seopress-page-list .seopress-feature a.view-redirects::before{content:"\f177"}#seopress-content .seopress-page-list .seopress-feature a:hover,#seopress-notifications-center .seopress-alert .button-primary:hover,.seopress-option .button:hover,.seopress-option .seopress-feature a:hover,.seopress-useful-tools .widget .button-primary:hover{text-decoration:none;color:#FFF;background:#232323}#seopress-content .seopress-page-list .seopress-feature .seopress-doc:focus,#seopress-content .seopress-page-list .seopress-feature a:focus,#seopress-content .seopress-page-list .seopress-feature a:focus.button-secondary,#seopress-content a:focus,#seopress-notifications-center .seopress-alert .button-primary:focus,.seopress-option #seopress-tabs .seopress-doc:focus,.seopress-option .seopress-feature a:focus,.seopress-styles .seopress-option #seopress-aio-migrate:focus,.seopress-styles .seopress-option #seopress-yoast-migrate:focus,.seopress-styles .seopress-option #submit:focus,.seopress-useful-tools .widget .button-primary:focus{box-shadow:0 1px 0 #0073aa,0 0 2px 1px #33b3db;background:#008ec2;border-color:#006799;color:#fff}#seopress-admin-tabs .nav-tab-wrapper a.nav-tab-active:focus{color:inherit}#seopress-notifications-center .seopress-alert .button-primary{float:right;margin:5px 0;padding-right:30px}#seopress-notifications-center h2,.seopress-useful-tools h2{margin:5px 0 15px 5px;display:inline-block;width:100%}#seopress-notifications-center .dashicons,.seopress-useful-tools .dashicons{margin-right:10px}#seopress-notifications-center .seopress-alert{padding:0;display:inline-block;margin:0 10px 10px 5px;border-bottom:1px solid #e6ebf1;width:calc(100% - 30px);position:relative;transition:all 150ms ease}#seopress-notifications-center .seopress-alert:hover{cursor:default}#seopress-notifications-center .seopress-alert p{display:inline-block}#seopress-notifications-center .seopress-alert .impact{padding:4px 5px;color:#fff;text-transform:uppercase;font-weight:700;font-size:10px;border-radius:4px}#seopress-notifications-center .seopress-alert .impact.low{background:#FFDE24;color:#6b6543}#seopress-notifications-center .seopress-alert .impact.medium{background:#e39f48}#seopress-notifications-center .seopress-alert .impact.high{background:#e25950}#seopress-notifications-center .seopress-alert .impact.high.info{background:#0085ba}#seopress-notifications-center .seopress-alert .dashicons{color:#FFC82C}#seopress-notifications-center .dashicons.remove-notice{position:absolute;right:-55px;color:#6b7c93;font-size:30px;height:30px;width:30px;top:2px;padding:5px;transition:all .3s linear}#seopress-notifications-center .dashicons.remove-notice:hover{background:#e25950;color:#fff;cursor:pointer;border-radius:4px}#seopress-content .seopress-page-list .seopress-feature .seopress-doc,.seopress-option #seopress-tabs .seopress-doc{background:0 0;padding:0;width:inherit;height:inherit;text-decoration:none;color:inherit;box-shadow:none;position:absolute;right:0}#seopress-content .seopress-page-list .seopress-feature .seopress-doc:hover,.seopress-option #seopress-tabs .seopress-doc:hover{color:#747474;background:0 0}.seopress-option .seopress-table{background:#FFF;border:1px solid #ccc}.seopress-option .seopress-table th{padding:15px 10px;vertical-align:middle}.wp-admin-ui_page_seopress-roles .seopress-option .seopress-table th{min-width:200px}.seopress-option .seopress-table .seopress-settings-section{background:#f1f1f1}.seopress-option .seopress-table .seopress-table-head .seopress-feature{border-bottom:1px solid #ccc;font-weight:700;background:#f1f1f1}#seopress-content .feature-state,.seopress-option .feature-state{font-style:italic;font-size:12px;display:inline-block;background:rgba(0,140,135,.1);padding:5px 12px;border-radius:25px;color:#444;font-weight:400;text-transform:none;-moz-osx-font-smoothing:initial;-webkit-font-smoothing:initial}#seopress_cpt .tag-title,.seopress-button,.seopress-option .tag-title{cursor:pointer;font-weight:500;border-radius:4px;transition:all .3s linear}#seopress-content .feature-state-on,#seopress-content .feature-state.feature-state-on,.seopress-option .feature-state-on,.seopress-option .feature-state.feature-state-on{display:inline}#seopress-content .feature-state-off,.seopress-option .feature-state-off{display:none}.seopress-option .postbox .inside li{list-style:square inside;padding-left:5px}#tab_seopress_page_speed .inside li{list-style:none;padding-left:0;word-break:break-word}.seopress-option .log{margin:0;text-transform:uppercase;display:inline-block;vertical-align:middle;padding:5px;color:rgba(19,191,17,1);font-style:italic}.seopress-option input[type=text].seopress-admin-menu-input{min-width:inherit;width:100%}.seopress_page_seopress-import-export .postbox{width:calc(100% - 20px)}#seopress_cpt .wrap-tags,.seopress-option .wrap-tags{position:relative;display:inline-block;width:100%;margin-bottom:10px}#seopress_cpt .tag-title,.seopress-option .tag-title{padding:4px 8px;position:relative;top:5px;left:0;font-size:11px;float:left;margin-right:5px;user-select:none;margin-bottom:5px;background:#fff;color:#6b7c93;box-shadow:0 0 0 .5px rgba(50,50,93,.17),0 2px 5px 0 rgba(50,50,93,.12),0 3px 9px 0 rgba(50,50,93,.08),0 1px 1.5px 0 rgba(0,0,0,.08),0 1px 2px 0 rgba(0,0,0,.08)}#seopress_cpt .tag-title:active,#seopress_cpt .tag-title:focus,#seopress_cpt .tag-title:hover,.seopress-option .tag-title:active,.seopress-option .tag-title:focus,.seopress-option .tag-title:hover{background:#232323;color:#fff;user-select:none}#seopress_cpt .tag-title .dashicons,.seopress-option .tag-title .dashicons{padding:0;height:16px;width:16px;font-size:16px;margin-right:5px;vertical-align:middle}.seopress-button{text-transform:uppercase;background:#fff;border-color:#c8d7e1;border-style:solid;border-width:1px 1px 2px;color:#2e4453;display:inline-block;margin:0;outline:0;overflow:hidden;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.seopress-button:hover{border-color:#a8bece;color:#00a0d2}.seopress-button .dashicons{vertical-align:middle}#seopress-content #tab_seopress_seo_tools.seopress-useful-tools .widget{border-right:1px solid #e6ebf1;margin:0;padding:0 20px;width:calc(50% - 2px);box-sizing:border-box;display:inline-block;vertical-align:top}#seopress-content #tab_seopress_seo_tools.seopress-useful-tools .widget:first-child{width:100%;display:block;clear:both;border-right:none;border-bottom:1px solid #e6ebf1;padding-bottom:20px;margin-bottom:20px}#seopress-content #tab_seopress_seo_tools.seopress-useful-tools .widget:last-child{border-right:none}#seopress-content .seopress-useful-tools .widget-reverse ul{background:#fff}#seopress-content .seopress-useful-tools .widget-reverse li{padding:10px;margin:0;border-bottom:1px solid #e6ebf1}#seopress-content .seopress-useful-tools .widget-reverse li:hover{background:#F5F7FA}#seopress-content .seopress-useful-tools .widget-title{text-transform:uppercase;margin:0 0 10px;font-size:13px;padding:10px 0;color:#24b47e}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank{margin:0 0 10px;width:100%;box-sizing:border-box;display:block}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_reach{font-size:30px;font-weight:700;display:inline-block;width:100%;padding:0 0 20px;text-align:right}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_reach .highlight{display:inline-block;font-size:16px;background:inherit;width:100%;margin-bottom:10px}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_country,#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_country_rank,#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_delta{font-size:14px;display:inline-block;vertical-align:top;text-align:left;margin:0 20px 0 0}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_delta{width:100%;text-align:right;font-size:18px;font-style:italic}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_country,#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_country_rank{text-align:left}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_country .highlight,#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_country_rank .highlight{background:0 0;font-weight:700}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_country{margin-right:0}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_country_rank{margin-left:5px}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .minus .dashicons,#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .plus .dashicons{font-style:italic}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .plus{color:green}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .minus{color:red}#seopress-content .seopress-reverse label,#seopress-content .seopress-useful-tools .widget-whois ul li span{font-weight:700}#seopress-content #seopress-reverse-url{width:100%;margin:10px 0}#seopress-content .widget-reverse p{margin:0}.post-type-seopress_backlinks .wp-list-table .column-seopress_backlinks_url{width:35%}.post-type-seopress_backlinks .wp-list-table .column-seopress_backlinks_anchor_text{width:20%}.seopress-styles #screen-meta{margin:0;position:relative;background-color:#fff;border-bottom:0 solid #f2f2f2;border-top:none;-webkit-box-shadow:0 0 0 1px rgba(136,152,170,.1),0 15px 35px 0 rgba(49,49,93,.1),0 5px 15px 0 rgba(0,0,0,.08);box-shadow:0 0 0 1px rgba(136,152,170,.1),0 15px 35px 0 rgba(49,49,93,.1),0 5px 15px 0 rgba(0,0,0,.08);top:0}.seopress-styles #contextual-help-link-wrap,.seopress-styles #screen-options-link-wrap{float:right;height:28px;margin:0 0 0 6px;border:1px solid #f2f2f2;border-top:none;background:#fff;-webkit-box-shadow:0 0 0 1px rgba(136,152,170,.1),0 15px 35px 0 rgba(49,49,93,.1),0 5px 15px 0 rgba(0,0,0,.08);box-shadow:0 0 0 1px rgba(136,152,170,.1),0 15px 35px 0 rgba(49,49,93,.1),0 5px 15px 0 rgba(0,0,0,.08)}.seopress-styles #screen-meta-links .show-settings{box-shadow:none}.seopress-styles #screen-meta-links .screen-meta-toggle{position:relative;top:0;z-index:2000}.seopress-styles #contextual-help-back{background:#f8fafd}.seopress-styles .contextual-help-tabs .active{border-left:2px solid #3297d3;background:#f8fafd}#seopress-content input.toggle,.seopress-option input.toggle{max-height:0;max-width:0;opacity:0}#seopress-content 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:30px;width:50px;border-radius:15px}.wrap-toggle-checkboxes input.toggle+label{float:left;margin-right:10px}#seopress-content input.toggle+label:before,.seopress-option input.toggle+label:before{content:"";position:absolute;display:block;height:30px;width:30px;top:0;left:0;border-radius:15px;background:rgba(19,191,17,0);-moz-transition:.25s ease-in-out;-webkit-transition:.25s ease-in-out;transition:.25s ease-in-out}#seopress-content input.toggle+label:after,.seopress-option input.toggle+label:after{content:"";position:absolute;display:block;height:30px;width:30px;top:0;left:0;border-radius:15px;background:#fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2),0 2px 4px rgba(0,0,0,.2);-moz-transition:.25s ease-in-out;-webkit-transition:.25s ease-in-out;transition:.25s ease-in-out}#seopress-content input.toggle[data-toggle="1"]+label:before,.seopress-option input.toggle[data-toggle="1"]+label:before{width:50px;background:rgba(19,191,17,1)}#seopress-content 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 rgba(19,191,17,1),0 2px 4px rgba(0,0,0,.2)}#seopress-content .seopress-page-list{position:relative}#seopress-notice-save{position:fixed;color:#fff;padding:15px 40px;font-size:14px;text-align:center;border-radius:50px;background:rgba(74,184,102,.75);top:50px;right:20px;z-index:500}.seopress_page_seopress-pro-page #wpcontent{background:#F4F7FA}.seopress-option .wrap div.nav-tab-wrapper{border-bottom:1px solid RGB(238,238,238);margin:0 0 0 -16px;padding:0 10px;line-height:inherit;background:#fff;position:sticky;top:102px;width:calc(100% + 12px);z-index:95;font-weight:400}#seopress-admin-tabs.wrap div.nav-tab-wrapper{margin:20px auto 0;max-width:53rem;width:100%;border-bottom:0;padding:0;line-height:inherit;position:sticky;background:#f8fafd;z-index:100;top:31px;font-weight:400}#seopress-admin-tabs #tab_seopress_notifications.seopress-tab{background:0 0;padding:0}#seopress-admin-tabs .nav-tab,.seopress-option .nav-tab{border:0 solid #ccc;background:0 0;opacity:.5;padding:8px;transition:opacity .3s linear;color:#191e23;margin:0;float:none;display:inline-block}#seopress-admin-tabs .nav-tab-active,#seopress-admin-tabs .nav-tab-active:hover,.seopress-option .about-wrap h2 .nav-tab-active,.seopress-option .nav-tab-active,.seopress-option .nav-tab-active:hover{background-color:#fff}#seopress-admin-tabs .nav-tab-active,#seopress-admin-tabs .nav-tab-active:focus,#seopress-admin-tabs .nav-tab-active:focus:active,#seopress-admin-tabs .nav-tab-active:hover,#seopress-admin-tabs .nav-tab:focus,.nav-tab-active:focus,.seopress-option .nav-tab-active,.seopress-option .nav-tab-active:focus:active,.seopress-option .nav-tab-active:hover,.seopress-option .nav-tab:focus{background:0 0;opacity:1;outline:0;font-weight:600;position:relative}.seopress-option .nav-tab-active::after{border-bottom:2px solid #0085ba;content:'';position:absolute;width:100%;bottom:0;left:0;display:block}#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}#section-export-redirects,#section-import-redirects{margin-top:-120px;padding-top:120px}.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}
1
+ #adminmenu div.wp-menu-image.dashicons-admin-seopress::before,#seopress-header #seopress-admin h1::before{content:"\e800";font-family:seopress!important;font-weight:700;font-size:12px;line-height:20px}#seopress-header #seopress-admin h1::before,.seopress-page-list .seopress-feature h3,.seopress-styles .seopress-option h1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}@font-face{font-family:seopress;src:url(../fonts/seopress.eot?81521271);src:url(../fonts/seopress.eot?81521271#iefix) format('embedded-opentype'),url(../fonts/seopress.woff?81521271) format('woff2'),url(../fonts/seopress.woff?81521271) format('woff'),url(../fonts/seopress.ttf?81521271) format('truetype'),url(../fonts/seopress.svg?81521271#seopress) format('svg');font-weight:400;font-style:normal}[class*=" icon-seopress"],[class^=icon-seopress-]{font-family:seopress!important;font-size:14px!important;line-height:24px!important}.icon-seopress-seopress:before{content:"\e800"}#seopress_content_analysis .wrap-seopress-analysis{display:inline-block;width:100%}#seopress_content_analysis .col-left{width:calc(50% - 30px);float:left;margin-right:30px}#seopress_content_analysis .col-right{float:right;width:50%}#seopress_content_analysis #seopress_suggestions{display:inline-block;width:100%;margin:0;height:auto;padding:20px 0}#seopress_content_analysis #seopress_suggestions li{list-style:square;margin:5px;display:inline-block;background:#F1F1F1;padding:5px}#seopress_launch_analysis{float:left}#seopress_analysis_results_state{background:rgba(74,184,102,.75);color:#fff;padding:5px 25px 5px 20px;border-radius:100px;font-style:italic;position:relative;width:auto;display:inline-block;margin:0 0 0 20px;clear:both}#seopress_content_analysis h3{border-bottom:1px solid #ddd;padding-bottom:10px}#seopress_content_analysis .wrap-analysis-img ul{display:flex;flex-wrap:wrap}#seopress_content_analysis .wrap-analysis-img ul li{padding:0;text-align:left;cursor:default}#seopress_content_analysis .wrap-analysis-img h4{border-bottom:1px solid #ddd;padding-bottom:10px}#seopress_content_analysis .wrap-analysis-img ul li img{max-width:150px;max-height:150px;object-fit:cover;cursor:default}#seopress_cpt .notice{padding:10px 14px}#seopress-analysis-tabs .dashicons,#seopress_cpt .dashicons{vertical-align:middle}#seopress_cpt .inside{margin:0;padding:0}#seopress_content_analysis .ui-tabs .ui-tabs-nav,#seopress_cpt .ui-tabs .ui-tabs-nav{display:inline-block;min-height:26px;position:relative;width:100%;z-index:10;margin:0;border-radius:0;padding:0;background:#f3f4f5;border:none}#seopress_content_analysis .ui-tabs .ui-tabs-nav{width:calc(100% + 24px);margin:15px 0 0 -12px;position:sticky;top:0}#seopress_content_analysis .ui-helper-clearfix:after,#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_content_analysis .ui-tabs .ui-tabs-panel,#seopress_cpt .ui-tabs .ui-tabs-panel{background:#FFF;border-radius:0;display:inline-block;padding:1em 1.4em;width:100%;box-sizing:border-box}#seopress_content_analysis .ui-tabs .ui-tabs-panel .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_content_analysis .ui-tabs .ui-tabs-nav li,#seopress_content_analysis .ui-tabs-anchor,#seopress_cpt .ui-tabs .ui-tabs-nav li,#seopress_cpt .ui-tabs-anchor{cursor:pointer!important}#seopress_content_analysis .ui-tabs .ui-tabs-nav li.ui-tabs-active,#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-active{position:relative;z-index:60;cursor:pointer;border-radius:0;border-bottom:3px solid #0085ba}#seopress_content_analysis label,#seopress_cpt #tabs-1 label,#seopress_cpt #tabs-2 label[for=seopress_robots_breadcrumbs_meta],#seopress_cpt #tabs-2 label[for=seopress_robots_canonical_meta],#seopress_cpt #tabs-2 label[for=seopress_robots_primary_cat_meta],#seopress_cpt #tabs-3 label,#seopress_cpt #tabs-4 label,#seopress_cpt #tabs-5 label,#seopress_cpt #tabs-6 label,#seopress_cpt .subsection-title,#seopress_pro_cpt label{display:block;margin:20px 0 5px;font-weight:700}#seopress_cpt .wp-color-result{margin:0}#seopress_content_analysis input[type=text],#seopress_cpt #tabs-1 input,#seopress_cpt #tabs-2 input[type=text],#seopress_cpt #tabs-3 input[type=text],#seopress_cpt #tabs-3 textarea,#seopress_cpt #tabs-4 input[type=text],#seopress_cpt #tabs-5 input[type=text],#seopress_cpt #tabs-6 input[type=text],#seopress_cpt #tabs-6 textarea{width:100%}#seopress_cpt #tabs-6 input[type=number]{width:30%;min-width:200px}#seopress_cpt #tabs-6 #wrap-videos .video:first-child .remove-video{display:none}#seopress_cpt select{width:300px}#seopress_cpt #tabs-4 select{width:60px;display:inline}#seopress_cpt #tabs-4 #seopress_redirections_value_meta{width:calc(100% - 68px);float:right}#seopress_cpt #tabs-6{padding:0}#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-content,#seopress_cpt #tabs-6>p{padding:0 1.4em}#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-content{padding:0 1.4em 1em}#seopress_cpt #tabs-6 #wrap-videos .video{border-top:1px solid #eee}#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-title{border-left:none;border-right:none;font-size:1em;padding:1em 1.4em}#seopress_cpt #tabs-6 #wrap-videos .video:last-child .accordion-section-content,#seopress_cpt #tabs-6 #wrap-videos .video:last-child .accordion-section-title{border-bottom:1px solid #eee}#seopress_cpt #tabs-6 #wrap-videos .video .inside{padding:0}#seopress_cpt #tabs-4 #seopress_redirections_enabled,#seopress_cpt #tabs-5 #seopress_news_disabled,#seopress_cpt #tabs-5 #seopress_news_standout,#seopress_cpt #tabs-6 #seopress_video_disabled,#seopress_cpt #tabs-6 .family-friendly label,#seopress_cpt #tabs-6 .internal_video label{font-weight:400}#seopress_cpt #tabs-6 #wrap-videos .video:nth-child(odd){background:#fdfdfd}#seopress_content_analysis .advise,#seopress_cpt .advise,#seopress_pro_cpt .advise,.seopress-option .advise{margin:5px;display:block;color:red;font-style:italic}#seopress_cpt #tabs-6 #wrap-videos .video .advise{color:#555}#seopress_content_analysis .mandatory,#seopress_cpt .mandatory{color:#c00}#seopress_cpt .box-left{float:left;width:49%;margin-right:1%}#seopress_cpt .box-right{float:left;width:49%;margin-left:1%}#seopress_cpt .google-snippet-preview{font-family:arial,sans-serif;word-break:break-all}#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 .snippet-permalink{color:#006621;font-size:14px;font-style:normal;font-weight:400;line-height:16px}#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:13px;font-weight:400;line-height:18.2px;display:inline}#seopress_cpt .google-snippet-preview .snippet-date{color:grey;display:inline}#seopress_cpt .wrap-seopress-counters,#seopress_pro_cpt .wrap-seopress-counters{text-align:right;background:#eee;padding:2px 5px;box-shadow:0 1px 1px rgba(0,0,0,.2);font-size:12px}#seopress_cpt #seopress_titles_desc_counters,#seopress_cpt #seopress_titles_title_counters,#seopress_pro_cpt #seopress_rich_snippets_articles_counters,#seopress_pro_cpt #seopress_rich_snippets_courses_counters{display:inline;margin-right:5px}#seopress_cpt #seopress_titles_desc_counters_val,#seopress_cpt #seopress_titles_title_counters_val,#seopress_pro_cpt #seopress_rich_snippets_articles_counters_val,#seopress_pro_cpt #seopress_rich_snippets_courses_counters_val{display:inline;font-weight:700}#term-seopress #seopress_cpt{width:95%}.fixed .column-seopress_w3c,.fixed .column-seopress_words{width:5%}.fixed .column-seopress_nofollow,.fixed .column-seopress_noindex{width:10%}#seopress_content_analysis .ui-tabs,#seopress_cpt .ui-tabs{position:relative;padding:0;border:none;font-family:inherit;font-size:inherit;display:inline-block;width:100%}#seopress_content_analysis .ui-tabs .ui-tabs-nav li,#seopress_cpt .ui-tabs .ui-tabs-nav li{list-style:none;display:inline-block;position:relative;top:2px;padding:0 5px;white-space:nowrap;border:none;background:0 0}#seopress_content_analysis .ui-tabs .ui-tabs-nav li a,#seopress_cpt .ui-tabs .ui-tabs-nav li a{display:inline-block;padding:5px 10px}#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav li a,#seopress_cpt .ui-tabs-vertical .ui-tabs-nav li a{display:block}#seopress_content_analysis .ui-tabs .ui-tabs-nav li.ui-tabs-active,#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-2px;padding-bottom:1px}#seopress_content_analysis .ui-tabs .ui-tabs-nav li.ui-state-disabled a,#seopress_content_analysis .ui-tabs .ui-tabs-nav li.ui-tabs-active a,#seopress_content_analysis .ui-tabs .ui-tabs-nav li.ui-tabs-loading a,#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-state-disabled a,#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-active a,#seopress_cpt .ui-tabs .ui-tabs-nav li.ui-tabs-loading a{color:#191e23;font-weight:700}#seopress_content_analysis .ui-tabs .ui-tabs-nav li a,#seopress_content_analysis .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a,#seopress_cpt .ui-tabs .ui-tabs-nav li a,#seopress_cpt .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a{cursor:pointer;color:#191e23;text-decoration:none;height:40px;line-height:40px}#seopress_cpt .ui-tabs-vertical{width:55em}#seopress_cpt .ui-tabs-vertical .ui-tabs-nav{padding:.2em .1em .2em .2em;float:left;width:12em}#seopress_cpt .ui-tabs-vertical .ui-tabs-nav li{clear:left;width:100%;border-bottom-width:1px!important;border-right-width:0!important;margin:0 -1px .2em 0}#seopress_cpt .ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active{padding-bottom:0;padding-right:.1em;border-right-width:1px}#seopress_cpt .ui-tabs-vertical .ui-tabs-panel{padding:1em;float:right;width:40em}#seopress_content_analysis .ui-tabs .ui-tabs-nav li a .dashicons,#seopress_cpt .ui-tabs .ui-tabs-nav li a .dashicons{margin-right:2px}#tab-panel-seopress_titles_help_tab li span{font-weight:700;margin-right:10px}#seopress_content_analysis .ui-tabs .dashicons-no-alt,#seopress_content_analysis .ui-tabs .dashicons-yes,#seopress_pro_cpt .dashicons-no-alt,#seopress_pro_cpt .dashicons-yes{color:#fff;background:#12BD10;border-radius:50px;margin-right:10px}#seopress_content_analysis .ui-tabs .dashicons-no-alt,#seopress_pro_cpt .dashicons-no-alt{background:#e25950}body.seopress-styles{background:#f8fafd}#seopress-content a{color:#3297d3}#seopress-content a:hover{color:#106598}#seopress-admin-tabs.ui-tabs{position:relative;padding:.2em;border:none;font-family:inherit;font-size:inherit}#seopress-admin-tabs.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:-1px .2em 0 0;padding:0;white-space:nowrap;border:none;background:0 0}#seopress-admin-tabs.ui-tabs .ui-tabs-nav li a{float:left;padding:.38em 1em .75rem;outline:0;border-bottom:2px solid #fff}#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px}#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-state-disabled a,#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-active a,#seopress-admin-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-loading a{cursor:text;border-bottom:2px solid #23282D;color:#23282D}#seopress-admin-tabs.ui-tabs .ui-tabs-nav li a,#seopress-admin-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a{cursor:pointer;color:#0073aa;text-decoration:none}#seopress-admin-tabs.ui-tabs-vertical{width:55em}#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav{padding:.2em .1em .2em .2em;float:left;width:12em}#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav li{clear:left;width:100%;border-bottom-width:1px!important;border-right-width:0!important;margin:0 -1px .2em 0}#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active{padding-bottom:0;padding-right:.1em;border-right-width:1px}#seopress-admin-tabs.ui-tabs-vertical .ui-tabs-panel{padding:1em;float:right;width:40em}.seopress-styles .seopress-option{margin:10px auto 0;max-width:90%;padding:1rem;background:#fff;box-shadow:0 15px 35px rgba(50,50,93,.1),0 5px 15px rgba(0,0,0,.1);border-radius:4px}.seopress-styles .seopress-option h1{font-size:16px;font-weight:700;color:#3297d3;text-transform:uppercase;position:sticky;top:32px;background:#fff;z-index:100;padding:10px 0}.seopress-styles .seopress-option h1 .dashicons,.seopress-styles .seopress-option h2 .dashicons{margin:0 10px;font-size:40px;width:40px;height:40px;vertical-align:middle}.seopress-styles .seopress-option .link-archive{font-size:14px}.seopress-styles .seopress-option .link-archive .dashicons{font-size:18px;width:20px;height:20px;margin:inherit}.seopress-styles .seopress-option h1>.dashicons{font-size:30px;width:30px;height:30px;background:#c4f0ff;border-radius:50%;padding:10px;box-shadow:0 4px 6px rgba(50,50,93,.1),0 1px 3px rgba(0,0,0,.1);margin-left:20px}.seopress-styles .seopress-option .metabox-holder h2 .dashicons{font-size:16px}.seopress-option h1 .feature-state .dashicons{font-size:16px;width:16px;height:16px;vertical-align:middle;margin:0 10px 0 0}.seopress-styles .wrap{margin:0;position:relative}.seopress-styles .seopress-option .submit{background:#fff;text-align:center;border-top:1px solid #F1F1F1;padding-top:20px;padding-bottom:20px;margin:0}.seopress-styles .seopress-option #seopress-aio-migrate,.seopress-styles .seopress-option #seopress-seo-framework-migrate,.seopress-styles .seopress-option #seopress-yoast-migrate,.seopress-styles .seopress-option #submit{color:#fff;text-decoration:none;border:none;border-radius:4px;padding-right:20px;padding-left:20px;line-height:34px;text-transform:uppercase;min-height:34px;transition:all .3s linear;text-shadow:none;box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.1);margin-right:15px;background:RGB(106,124,148);position:relative;height:auto;z-index:10}.seopress-styles .seopress-option #seopress-aio-migrate:hover,.seopress-styles .seopress-option #seopress-seo-framework-migrate:hover,.seopress-styles .seopress-option #seopress-yoast-migrate:hover,.seopress-styles .seopress-option #submit:hover{text-decoration:none;color:#FFF;background:#232323}.seopress-styles #wpcontent{padding-left:0;background:#F8FAFD}.seopress-styles pre{color:#42b72a;background:#f5f6f7;font-family:Menlo,Monaco,Andale Mono,Courier New,monospace;padding:7px;display:inline-block}.seopress-styles #seopress-navbar{padding:10px .5rem;height:56px;margin:0 auto;width:53rem;box-sizing:border-box;position:relative}#seopress-header{margin:0 auto;position:relative;width:100%}#seopress-header #seopress-admin h1{line-height:40px;margin:0;display:inline-block;height:40px;width:40px;background-size:100%;background-repeat:no-repeat}#seopress-header #seopress-admin h1::before{font-size:14px;line-height:40px;position:absolute;border-radius:6px;font-weight:400;color:#fff;width:40px;height:40px;text-align:center;background:#3a4afb;background:-moz-linear-gradient(45deg,rgba(58,74,251,1) 0,rgba(71,190,165,1) 100%);background:-webkit-linear-gradient(45deg,rgba(58,74,251,1) 0,rgba(71,190,165,1) 100%);background:linear-gradient(45deg,rgba(58,74,251,1) 0,rgba(71,190,165,1) 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#3a4afb', endColorstr='#47bea5', GradientType=1 )}#seopress-header #seopress-admin h1:hover{cursor:pointer}#seopress-header #seopress-admin h1>a{text-decoration:none;color:inherit}#seopress-header #seopress-admin .seopress-quick-access{background:#fff;box-shadow:0 50px 100px rgba(50,50,93,.1),0 15px 35px rgba(50,50,93,.2),0 5px 15px rgba(0,0,0,.1);border-radius:4px;overflow:hidden;position:relative;font-size:17px;line-height:40px;white-space:nowrap;transform:rotate3d(1,1,0,-15deg);transform-origin:100% 0;opacity:0;will-change:transform,opacity;transition-property:transform,opacity;transition-duration:.25s;z-index:300;padding:0;display:block;width:53rem;top:0;visibility:hidden;cursor:auto}#seopress-header #seopress-admin h1:hover .seopress-quick-access{transform:none;opacity:1;pointer-events:auto;visibility:visible}#seopress-header #seopress-admin .seopress-quick-access>ul{padding:20px;margin:0;float:left;width:100%;box-sizing:border-box}#seopress-header #seopress-admin h1 .seopress-quick-access li{text-decoration:none;display:inline-block;width:50%;margin:0;float:left;padding:10px 0}#seopress-header #seopress-admin h1 .seopress-quick-access li .dashicons{vertical-align:middle;background:#B7E1F3;border-radius:50%;padding:5px;margin-right:15px}#seopress-header #seopress-admin h1 .seopress-quick-access li a{text-decoration:none;font-size:15px;line-height:30px;text-transform:uppercase;display:block;width:100%;transition:all .3s linear;color:#3297d3}#seopress-header #seopress-admin h1 .seopress-quick-access li a:hover{color:#647a88}#seopress-header #seopress-admin h1 .seopress-info-version{position:relative;left:50px;top:0;font-size:14px;width:100px;display:block}#seopress-header #seopress-admin .wpc-info-version{font-size:14px;left:310px;position:absolute;text-indent:0;top:85px}#seopress-header #seopress-notice{float:right;line-height:40px}#seopress-header #seopress-notice p{font-size:16px}#seopress-header #seopress-notice .dashicons{color:#444;text-decoration:none;line-height:40px}#seopress-header #seopress-notice div.small{font-size:13px;display:inline}#seopress-footer-credits{font-style:italic}#seopress-footer-credits .wporg-ratings{display:inline}#seopress-footer-credits .wporg-ratings a{text-decoration:none}.seopress-option .seopress-settings{float:left;max-width:750px;width:100%}.seopress-option #seopress-edd-license-btn,.seopress-option #seopress-refresh{float:left}.wp-admin-ui_page_seopress-import-export .postbox{margin-right:20px}.seopress-option #side-sortables .accordion-section-content{padding:0}.seopress-option .seopress-settings label{margin:0 0 0 10px}.wrap-seopress-tab-content{position:relative;display:block;width:100%;height:100%;max-width:53rem;margin:20px auto 0}#seopress-admin-tabs .seopress-tab{padding:1.5rem;visibility:hidden;overflow:hidden;opacity:0;transition:all .2s ease;transform:translateX(-15px);position:absolute;top:0}#seopress-admin-tabs .seopress-tab.active{visibility:visible;overflow:inherit;opacity:1;transform:translateX(0);display:inherit;position:relative}#seopress-tabs .seopress-tab{padding:1.5rem;display:none}#seopress-tabs .seopress-tab.active{display:block}.seopress-option input[type=password],.seopress-option input[type=text],.seopress-option textarea{min-width:485px}#seopress_htaccess_file{width:100%}.seopress-option textarea{min-height:100px}.seopress-option #side-sortables .highlight{border:1px dashed #ccc;display:block;width:382px;height:40px;background:0 0}.seopress-option #side-sortables .accordion-section{margin-bottom:9px;width:382px}.seopress-option #side-sortables .accordion-section h3{cursor:move;border:1px solid #E5E5E5;background:#FAFAFA}.seopress-option #side-sortables .accordion-section .inside{padding:10px 10px 24px;border-width:0 1px 1px;border-style:solid;box-shadow:0 1px 1px rgba(0,0,0,.04);border-color:#e5e5e5;display:inline-block;width:calc(100% - 22px);height:100%}.seopress-option #side-sortables .accordion-section .inside ul{padding-left:10px;margin-bottom:0;padding-top:2px;padding-bottom:2px}.seopress-option #side-sortables .accordion-section .inside ul li{border-left:2px solid #ccc;padding-left:10px;margin-bottom:10px}.seopress-option #side-sortables .accordion-section .inside ul li:first-child{border-bottom:1px dotted #E5E5E5;border-left:0;padding-bottom:10px;font-weight:700;margin-left:-15px;margin-bottom:10px}.seopress-notice #message{margin:5px 10px 2px 0}#seopress-notice a{position:relative;text-decoration:none}#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:0}.seopress-option .dashicons,.seopress-page-list .dashicons{vertical-align:middle;margin-right:5px}#seopress-admin-tabs .ui-tabs-nav,#seopress-notifications-center,.seopress-page-list .seopress-feature,.seopress-useful-tools{background:linear-gradient(172deg,#f5f7fa,#f5f7fa 200px,#fff 0,#fff);margin:0 auto 20px;box-shadow:0 15px 35px rgba(50,50,93,.1),0 5px 15px rgba(0,0,0,.2);max-width:50rem;padding:1.5rem;width:100%;border-radius:4px}#seopress-notifications-center,.seopress-useful-tools{background:linear-gradient(172deg,#f5f7fa,#f5f7fa 400px,#fff 0,#fff)}.seopress-page-list .seopress-feature{padding:0 1.5rem;position:relative;overflow:hidden;transition-duration:.15s}.seopress-page-list .seopress-feature p{color:#6b7c93;font-size:14px;margin-bottom:30px}#seopress-notifications-center{margin-top:0}#seopress-admin-tabs .ui-tabs-nav{display:flex;padding-top:1rem;padding-bottom:0}.seopress-page-list .seopress-feature .img-tool{height:100px;width:100px;background:#c4f0ff;position:absolute;border-radius:50%;box-shadow:0 4px 6px rgba(50,50,93,.1),0 1px 3px rgba(0,0,0,.1);top:calc(50% - 50px);left:20px}.seopress-page-list .seopress-feature .img-tool .dashicons{color:#217AB7;font-size:60px;text-align:left;vertical-align:middle;width:100%;height:100%;position:absolute;top:calc(50% - 30px);left:calc(50% - 30px);margin:0}.seopress-page-list .seopress-feature .inner{margin:0;display:block;padding:2rem 0 2rem 120px}.seopress-page-list .seopress-feature h3{margin:0;font-size:16px;font-weight:700;color:#3297d3;text-transform:uppercase}.seopress-page-list .seopress-feature h3 .dashicons{font-size:16px;margin-left:5px;vertical-align:middle}#seopress-content .seopress-page-list .seopress-feature a,#seopress-notifications-center .seopress-alert .button-primary,.seopress-option .seopress-feature a,.seopress-useful-tools .widget .button-primary{color:#fff;text-decoration:none;border:none;border-radius:4px;padding-right:20px;padding-left:20px;line-height:34px;text-transform:uppercase;min-height:34px;transition:all .3s linear;text-shadow:none;box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.1);margin-right:15px;background:#6A7C94;position:relative;height:auto}#seopress-content .seopress-page-list .seopress-feature a.button-secondary{padding-left:30px}#seopress-content .seopress-page-list .seopress-feature a.button-secondary::before,#seopress-notifications-center .seopress-alert .button-primary::after{content:"\f111";font-family:Dashicons;position:absolute;left:10px;top:1px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:16px}#seopress-content .seopress-page-list .seopress-feature a.view-redirects,#seopress-notifications-center .seopress-alert .button-primary,.seopress-option .button{background:#fff;border:none;color:#6b7c93;font-weight:500;transition:all .3s linear;text-shadow:none;text-transform:uppercase;padding-right:20px;padding-left:20px;line-height:34px;min-height:34px;margin-bottom:10px;border-radius:4px;box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.1);vertical-align:baseline}.seopress-option .button .dashicons{font-size:16px}#seopress-content .seopress-page-list .seopress-feature a.view-redirects{padding-left:35px}#seopress-notifications-center .seopress-alert .button-primary::after{content:"\f344";left:inherit;right:10px}#seopress-content .seopress-page-list .seopress-feature a.view-redirects::before{content:"\f177"}#seopress-content .seopress-page-list .seopress-feature a:hover,#seopress-notifications-center .seopress-alert .button-primary:hover,.seopress-option .button:hover,.seopress-option .seopress-feature a:hover,.seopress-useful-tools .widget .button-primary:hover{text-decoration:none;color:#FFF;background:#232323}#seopress-content .seopress-page-list .seopress-feature .seopress-doc:focus,#seopress-content .seopress-page-list .seopress-feature a:focus,#seopress-content .seopress-page-list .seopress-feature a:focus.button-secondary,#seopress-content a:focus,#seopress-notifications-center .seopress-alert .button-primary:focus,.seopress-option #seopress-tabs .seopress-doc:focus,.seopress-option .seopress-feature a:focus,.seopress-styles .seopress-option #seopress-aio-migrate:focus,.seopress-styles .seopress-option #seopress-yoast-migrate:focus,.seopress-styles .seopress-option #submit:focus,.seopress-useful-tools .widget .button-primary:focus{box-shadow:0 1px 0 #0073aa,0 0 2px 1px #33b3db;background:#008ec2;border-color:#006799;color:#fff}#seopress-admin-tabs .nav-tab-wrapper a.nav-tab-active:focus{color:inherit}#seopress-notifications-center .seopress-alert .button-primary{float:right;margin:5px 0;padding-right:30px}#seopress-notifications-center h2,.seopress-useful-tools h2{margin:5px 0 15px 5px;display:inline-block;width:100%}#seopress-notifications-center .dashicons,.seopress-useful-tools .dashicons{margin-right:10px}#seopress-notifications-center .seopress-alert{padding:0;display:inline-block;margin:0 10px 10px 5px;border-bottom:1px solid #e6ebf1;width:calc(100% - 30px);position:relative;transition:all 150ms ease}#seopress-notifications-center .seopress-alert:hover{cursor:default}#seopress-notifications-center .seopress-alert p{display:inline-block}#seopress-notifications-center .seopress-alert .impact{padding:4px 5px;color:#fff;text-transform:uppercase;font-weight:700;font-size:10px;border-radius:4px}#seopress-notifications-center .seopress-alert .impact.low{background:#FFDE24;color:#6b6543}#seopress-notifications-center .seopress-alert .impact.medium{background:#e39f48}#seopress-notifications-center .seopress-alert .impact.high{background:#e25950}#seopress-notifications-center .seopress-alert .impact.high.info{background:#0085ba}#seopress-notifications-center .seopress-alert .dashicons{color:#FFC82C}#seopress-notifications-center .dashicons.remove-notice{position:absolute;right:-55px;color:#6b7c93;font-size:30px;height:30px;width:30px;top:2px;padding:5px;transition:all .3s linear}#seopress-notifications-center .dashicons.remove-notice:hover{background:#e25950;color:#fff;cursor:pointer;border-radius:4px}#seopress-content .seopress-page-list .seopress-feature .seopress-doc,.seopress-option #seopress-tabs .seopress-doc{background:0 0;padding:0;width:inherit;height:inherit;text-decoration:none;color:inherit;box-shadow:none;position:absolute;right:0}#seopress-content .seopress-page-list .seopress-feature .seopress-doc:hover,.seopress-option #seopress-tabs .seopress-doc:hover{color:#747474;background:0 0}.seopress-option .seopress-table{background:#FFF;border:1px solid #ccc}.seopress-option .seopress-table th{padding:15px 10px;vertical-align:middle}.wp-admin-ui_page_seopress-roles .seopress-option .seopress-table th{min-width:200px}.seopress-option .seopress-table .seopress-settings-section{background:#f1f1f1}.seopress-option .seopress-table .seopress-table-head .seopress-feature{border-bottom:1px solid #ccc;font-weight:700;background:#f1f1f1}#seopress-content .feature-state,.seopress-option .feature-state{font-style:italic;font-size:12px;display:inline-block;background:rgba(0,140,135,.1);padding:5px 12px;border-radius:25px;color:#444;font-weight:400;text-transform:none;-moz-osx-font-smoothing:initial;-webkit-font-smoothing:initial}#seopress_cpt .tag-title,.seopress-button,.seopress-option .tag-title{cursor:pointer;font-weight:500;border-radius:4px;transition:all .3s linear}#seopress-content .feature-state-on,#seopress-content .feature-state.feature-state-on,.seopress-option .feature-state-on,.seopress-option .feature-state.feature-state-on{display:inline}#seopress-content .feature-state-off,.seopress-option .feature-state-off{display:none}.seopress-option .postbox .inside li{list-style:square inside;padding-left:5px}#tab_seopress_page_speed .inside li{list-style:none;padding-left:0;word-break:break-word}.seopress-option .log{margin:0;text-transform:uppercase;display:inline-block;vertical-align:middle;padding:5px;color:rgba(19,191,17,1);font-style:italic}.seopress-option input[type=text].seopress-admin-menu-input{min-width:inherit;width:100%}.seopress_page_seopress-import-export .postbox{width:calc(100% - 20px)}#seopress_cpt .wrap-tags,.seopress-option .wrap-tags{position:relative;display:inline-block;width:100%;margin-bottom:10px}#seopress_cpt .tag-title,.seopress-option .tag-title{padding:4px 8px;position:relative;top:5px;left:0;font-size:11px;float:left;margin-right:5px;user-select:none;margin-bottom:5px;background:#fff;color:#6b7c93;box-shadow:0 0 0 .5px rgba(50,50,93,.17),0 2px 5px 0 rgba(50,50,93,.12),0 3px 9px 0 rgba(50,50,93,.08),0 1px 1.5px 0 rgba(0,0,0,.08),0 1px 2px 0 rgba(0,0,0,.08)}#seopress_cpt .tag-title:active,#seopress_cpt .tag-title:focus,#seopress_cpt .tag-title:hover,.seopress-option .tag-title:active,.seopress-option .tag-title:focus,.seopress-option .tag-title:hover{background:#232323;color:#fff;user-select:none}#seopress_cpt .tag-title .dashicons,.seopress-option .tag-title .dashicons{padding:0;height:16px;width:16px;font-size:16px;margin-right:5px;vertical-align:middle}.seopress-button{text-transform:uppercase;background:#fff;border-color:#c8d7e1;border-style:solid;border-width:1px 1px 2px;color:#2e4453;display:inline-block;margin:0;outline:0;overflow:hidden;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.seopress-button:hover{border-color:#a8bece;color:#00a0d2}.seopress-button .dashicons{vertical-align:middle}#seopress-content #tab_seopress_seo_tools.seopress-useful-tools .widget{border-right:1px solid #e6ebf1;margin:0;padding:0 20px;width:calc(50% - 2px);box-sizing:border-box;display:inline-block;vertical-align:top}#seopress-content #tab_seopress_seo_tools.seopress-useful-tools .widget:first-child{width:100%;display:block;clear:both;border-right:none;border-bottom:1px solid #e6ebf1;padding-bottom:20px;margin-bottom:20px}#seopress-content #tab_seopress_seo_tools.seopress-useful-tools .widget:last-child{border-right:none}#seopress-content .seopress-useful-tools .widget-reverse ul{background:#fff}#seopress-content .seopress-useful-tools .widget-reverse li{padding:10px;margin:0;border-bottom:1px solid #e6ebf1}#seopress-content .seopress-useful-tools .widget-reverse li:hover{background:#F5F7FA}#seopress-content .seopress-useful-tools .widget-title{text-transform:uppercase;margin:0 0 10px;font-size:13px;padding:10px 0;color:#24b47e}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank{margin:0 0 10px;width:100%;box-sizing:border-box;display:block}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_reach{font-size:30px;font-weight:700;display:inline-block;width:100%;padding:0 0 20px;text-align:right}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_reach .highlight{display:inline-block;font-size:16px;background:inherit;width:100%;margin-bottom:10px}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_country,#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_country_rank,#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_delta{font-size:14px;display:inline-block;vertical-align:top;text-align:left;margin:0 20px 0 0}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_delta{width:100%;text-align:right;font-size:18px;font-style:italic}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_country,#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_country_rank{text-align:left}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_country .highlight,#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_country_rank .highlight{background:0 0;font-weight:700}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_country{margin-right:0}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .seopress_alexa_rank_country_rank{margin-left:5px}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .minus .dashicons,#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .plus .dashicons{font-style:italic}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .plus{color:green}#seopress-content .seopress-useful-tools .widget-alexa .wrap-alexa-rank .minus{color:red}#seopress-content .seopress-reverse label,#seopress-content .seopress-useful-tools .widget-whois ul li span{font-weight:700}#seopress-content #seopress-reverse-url{width:100%;margin:10px 0}#seopress-content .widget-reverse p{margin:0}.post-type-seopress_backlinks .wp-list-table .column-seopress_backlinks_url{width:35%}.post-type-seopress_backlinks .wp-list-table .column-seopress_backlinks_anchor_text{width:20%}.seopress-styles #screen-meta{margin:0;position:relative;background-color:#fff;border-bottom:0 solid #f2f2f2;border-top:none;-webkit-box-shadow:0 0 0 1px rgba(136,152,170,.1),0 15px 35px 0 rgba(49,49,93,.1),0 5px 15px 0 rgba(0,0,0,.08);box-shadow:0 0 0 1px rgba(136,152,170,.1),0 15px 35px 0 rgba(49,49,93,.1),0 5px 15px 0 rgba(0,0,0,.08);top:0}.seopress-styles #contextual-help-link-wrap,.seopress-styles #screen-options-link-wrap{float:right;height:28px;margin:0 0 0 6px;border:1px solid #f2f2f2;border-top:none;background:#fff;-webkit-box-shadow:0 0 0 1px rgba(136,152,170,.1),0 15px 35px 0 rgba(49,49,93,.1),0 5px 15px 0 rgba(0,0,0,.08);box-shadow:0 0 0 1px rgba(136,152,170,.1),0 15px 35px 0 rgba(49,49,93,.1),0 5px 15px 0 rgba(0,0,0,.08)}.seopress-styles #screen-meta-links .show-settings{box-shadow:none}.seopress-styles #screen-meta-links .screen-meta-toggle{position:relative;top:0;z-index:2000}.seopress-styles #contextual-help-back{background:#f8fafd}.seopress-styles .contextual-help-tabs .active{border-left:2px solid #3297d3;background:#f8fafd}#seopress-content input.toggle,.seopress-option input.toggle{max-height:0;max-width:0;opacity:0}#seopress-content 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:30px;width:50px;border-radius:15px}.wrap-toggle-checkboxes input.toggle+label{float:left;margin-right:10px}#seopress-content input.toggle+label:before,.seopress-option input.toggle+label:before{content:"";position:absolute;display:block;height:30px;width:30px;top:0;left:0;border-radius:15px;background:rgba(19,191,17,0);-moz-transition:.25s ease-in-out;-webkit-transition:.25s ease-in-out;transition:.25s ease-in-out}#seopress-content input.toggle+label:after,.seopress-option input.toggle+label:after{content:"";position:absolute;display:block;height:30px;width:30px;top:0;left:0;border-radius:15px;background:#fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2),0 2px 4px rgba(0,0,0,.2);-moz-transition:.25s ease-in-out;-webkit-transition:.25s ease-in-out;transition:.25s ease-in-out}#seopress-content input.toggle[data-toggle="1"]+label:before,.seopress-option input.toggle[data-toggle="1"]+label:before{width:50px;background:rgba(19,191,17,1)}#seopress-content 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 rgba(19,191,17,1),0 2px 4px rgba(0,0,0,.2)}#seopress-content .seopress-page-list{position:relative}#seopress-notice-save{position:fixed;color:#fff;padding:15px 40px;font-size:14px;text-align:center;border-radius:50px;background:rgba(74,184,102,.75);top:50px;right:20px;z-index:500}.seopress_page_seopress-pro-page #wpcontent{background:#F4F7FA}.seopress-option .wrap div.nav-tab-wrapper{border-bottom:1px solid RGB(238,238,238);margin:0 0 0 -16px;padding:0 10px;line-height:inherit;background:#fff;position:sticky;top:102px;width:calc(100% + 12px);z-index:95;font-weight:400}#seopress-admin-tabs.wrap div.nav-tab-wrapper{margin:20px auto 0;max-width:53rem;width:100%;border-bottom:0;padding:0;line-height:inherit;position:sticky;background:#f8fafd;z-index:100;top:31px;font-weight:400}#seopress-admin-tabs #tab_seopress_notifications.seopress-tab{background:0 0;padding:0}#seopress-admin-tabs .nav-tab,.seopress-option .nav-tab{border:0 solid #ccc;background:0 0;opacity:.5;padding:8px;transition:opacity .3s linear;color:#191e23;margin:0;float:none;display:inline-block}#seopress-admin-tabs .nav-tab-active,#seopress-admin-tabs .nav-tab-active:hover,.seopress-option .about-wrap h2 .nav-tab-active,.seopress-option .nav-tab-active,.seopress-option .nav-tab-active:hover{background-color:#fff}#seopress-admin-tabs .nav-tab-active,#seopress-admin-tabs .nav-tab-active:focus,#seopress-admin-tabs .nav-tab-active:focus:active,#seopress-admin-tabs .nav-tab-active:hover,#seopress-admin-tabs .nav-tab:focus,.nav-tab-active:focus,.seopress-option .nav-tab-active,.seopress-option .nav-tab-active:focus:active,.seopress-option .nav-tab-active:hover,.seopress-option .nav-tab:focus{background:0 0;opacity:1;outline:0;font-weight:600;position:relative}.seopress-option .nav-tab-active::after{border-bottom:2px solid #0085ba;content:'';position:absolute;width:100%;bottom:0;left:0;display:block}#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}#section-export-redirects,#section-import-redirects{margin-top:-120px;padding-top:120px}.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}
assets/js/seopress-block-analysis.js DELETED
@@ -1,36 +0,0 @@
1
- jQuery(document).ready(function(){
2
-
3
- const { subscribe, select } = wp.data;
4
- let hasSaved = false;
5
-
6
- subscribe( () => {
7
-
8
- const editor = select( 'core/editor' );
9
- const isSaved = editor && editor.didPostSaveRequestSucceed();
10
-
11
- if ( ! hasSaved && isSaved ) {
12
- jQuery.ajax({
13
- method : 'POST',
14
- url : seopressContentAnalysis.seopress_content_analysis,
15
- data : {
16
- action: 'seopress_do_content_analysis',
17
- post_id: jQuery('#seopress_launch_analysis').attr('data_id'),
18
- post_type: jQuery('#seopress_launch_analysis').attr('data_post_type'),
19
- seopress_analysis_target_kw: jQuery('#seopress_analysis_target_kw_meta').val(),
20
- _ajax_nonce: seopressContentAnalysis.seopress_nonce,
21
- },
22
- success : function( data ) {
23
- jQuery( '#seopress_analysis_results_state' ).fadeIn().css('display', 'inline-block');
24
- jQuery( '#seopress_analysis_results_state' ).delay(3500).fadeOut();
25
- jQuery( '#seopress-analysis-tabs-1' ).load(' #seopress-analysis-tabs-1');
26
- jQuery( '#seopress-analysis-tabs-2' ).load(' #seopress-analysis-tabs-2');
27
- jQuery( '#seopress-analysis-tabs-3' ).load(' #seopress-analysis-tabs-3');
28
- jQuery( '#seopress-analysis-tabs-4' ).load(' #seopress-analysis-tabs-4');
29
- },
30
- });
31
- }
32
-
33
- hasSaved = !! isSaved;
34
-
35
- });
36
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/seopress-block-editor.js CHANGED
@@ -18,14 +18,14 @@ let hasSaved = false;
18
  post_id: jQuery('#seopress-tabs').attr('data_id'),
19
  tax_name: jQuery('#seopress-tabs').attr('data_tax'),
20
  origin: jQuery('#seopress-tabs').attr('data_origin'),
 
 
21
  _ajax_nonce: seopressAjaxRealPreview.seopress_nonce,
22
  },
23
  success : function( data ) {
24
- jQuery( '#seopress_cpt .google-snippet-preview .snippet-title-custom' ).html(data.data.title);
25
  jQuery( '#seopress_cpt .google-snippet-preview .snippet-title' ).html(data.data.title);
26
  jQuery( '#seopress_cpt .google-snippet-preview .snippet-title-default' ).html(data.data.title);
27
  jQuery( '#seopress_titles_title_meta' ).attr("placeholder", data.data.title);
28
- jQuery( '#seopress_cpt .google-snippet-preview .snippet-description-custom' ).html(data.data.meta_desc);
29
  jQuery( '#seopress_cpt .google-snippet-preview .snippet-description' ).html(data.data.meta_desc);
30
  jQuery( '#seopress_cpt .google-snippet-preview .snippet-description-default' ).html(data.data.meta_desc);
31
  jQuery( '#seopress_titles_desc_meta' ).attr("placeholder", data.data.meta_desc);
@@ -35,6 +35,12 @@ let hasSaved = false;
35
  jQuery( '#seopress_cpt #seopress_social_twitter_title_meta' ).attr("placeholder", data.data.tw_title);
36
  jQuery( '#seopress_cpt #seopress_social_twitter_desc_meta' ).attr("placeholder", data.data.tw_desc);
37
  jQuery( '#seopress_cpt #seopress_social_twitter_img_meta' ).attr("placeholder", data.data.tw_img);
 
 
 
 
 
 
38
  },
39
  });
40
  }
18
  post_id: jQuery('#seopress-tabs').attr('data_id'),
19
  tax_name: jQuery('#seopress-tabs').attr('data_tax'),
20
  origin: jQuery('#seopress-tabs').attr('data_origin'),
21
+ post_type: jQuery('#seopress_launch_analysis').attr('data_post_type'),
22
+ seopress_analysis_target_kw: jQuery('#seopress_analysis_target_kw_meta').val(),
23
  _ajax_nonce: seopressAjaxRealPreview.seopress_nonce,
24
  },
25
  success : function( data ) {
 
26
  jQuery( '#seopress_cpt .google-snippet-preview .snippet-title' ).html(data.data.title);
27
  jQuery( '#seopress_cpt .google-snippet-preview .snippet-title-default' ).html(data.data.title);
28
  jQuery( '#seopress_titles_title_meta' ).attr("placeholder", data.data.title);
 
29
  jQuery( '#seopress_cpt .google-snippet-preview .snippet-description' ).html(data.data.meta_desc);
30
  jQuery( '#seopress_cpt .google-snippet-preview .snippet-description-default' ).html(data.data.meta_desc);
31
  jQuery( '#seopress_titles_desc_meta' ).attr("placeholder", data.data.meta_desc);
35
  jQuery( '#seopress_cpt #seopress_social_twitter_title_meta' ).attr("placeholder", data.data.tw_title);
36
  jQuery( '#seopress_cpt #seopress_social_twitter_desc_meta' ).attr("placeholder", data.data.tw_desc);
37
  jQuery( '#seopress_cpt #seopress_social_twitter_img_meta' ).attr("placeholder", data.data.tw_img);
38
+ jQuery( '#seopress_analysis_results_state' ).fadeIn().css('display', 'inline-block');
39
+ jQuery( '#seopress_analysis_results_state' ).delay(3500).fadeOut();
40
+ jQuery( '#seopress-analysis-tabs-1' ).load(' #seopress-analysis-tabs-1');
41
+ jQuery( '#seopress-analysis-tabs-2' ).load(' #seopress-analysis-tabs-2');
42
+ jQuery( '#seopress-analysis-tabs-3' ).load(' #seopress-analysis-tabs-3');
43
+ jQuery( '#seopress-analysis-tabs-4' ).load(' #seopress-analysis-tabs-4');
44
  },
45
  });
46
  }
assets/js/seopress-content-analysis.js DELETED
@@ -1,27 +0,0 @@
1
- jQuery(document).ready(function(){
2
- //Tabs
3
- jQuery("#seopress-analysis-tabs .hidden").removeClass('hidden');
4
- jQuery("#seopress-analysis-tabs").tabs();
5
- //Content Analysis
6
- jQuery('#seopress_launch_analysis').on('click', function() {
7
- jQuery.ajax({
8
- method : 'POST',
9
- url : seopressContentAnalysis.seopress_content_analysis,
10
- data : {
11
- action: 'seopress_do_content_analysis',
12
- post_id: jQuery('#seopress_launch_analysis').attr('data_id'),
13
- post_type: jQuery('#seopress_launch_analysis').attr('data_post_type'),
14
- seopress_analysis_target_kw: jQuery('#seopress_analysis_target_kw_meta').val(),
15
- _ajax_nonce: seopressContentAnalysis.seopress_nonce,
16
- },
17
- success : function( data ) {
18
- jQuery( '#seopress_analysis_results_state' ).fadeIn().css('display', 'inline-block');
19
- jQuery( '#seopress_analysis_results_state' ).delay(3500).fadeOut();
20
- jQuery( '#seopress-analysis-tabs-1' ).load(' #seopress-analysis-tabs-1');
21
- jQuery( '#seopress-analysis-tabs-2' ).load(' #seopress-analysis-tabs-2');
22
- jQuery( '#seopress-analysis-tabs-3' ).load(' #seopress-analysis-tabs-3');
23
- jQuery( '#seopress-analysis-tabs-4' ).load(' #seopress-analysis-tabs-4');
24
- },
25
- });
26
- });
27
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/seopress-counters.js CHANGED
@@ -89,33 +89,53 @@ function sp_meta_desc_counters(){
89
  });
90
  };
91
 
92
- //Retrieve title / meta-desc from source code
93
  jQuery(document).ready(function(){
94
- jQuery.ajax({
95
- method : 'GET',
96
- url : seopressAjaxRealPreview.seopress_real_preview,
97
- data: {
98
- action: 'seopress_do_real_preview',
99
- post_id: jQuery('#seopress-tabs').attr('data_id'),
100
- tax_name: jQuery('#seopress-tabs').attr('data_tax'),
101
- origin: jQuery('#seopress-tabs').attr('data_origin'),
102
- _ajax_nonce: seopressAjaxRealPreview.seopress_nonce,
103
- },
104
- success : function( data ) {
105
- jQuery( '#seopress_cpt .google-snippet-preview .snippet-title' ).html(data.data.title);
106
- jQuery( '#seopress_cpt .google-snippet-preview .snippet-title-default' ).html(data.data.title);
107
- jQuery( '#seopress_titles_title_meta' ).attr("placeholder", data.data.title);
108
- jQuery( '#seopress_cpt .google-snippet-preview .snippet-description' ).html(data.data.meta_desc);
109
- jQuery( '#seopress_cpt .google-snippet-preview .snippet-description-default' ).html(data.data.meta_desc);
110
- jQuery( '#seopress_titles_desc_meta' ).attr("placeholder", data.data.meta_desc);
111
- jQuery( '#seopress_cpt #seopress_social_fb_title_meta' ).attr("placeholder", data.data.og_title);
112
- jQuery( '#seopress_cpt #seopress_social_fb_desc_meta' ).attr("placeholder", data.data.og_desc);
113
- jQuery( '#seopress_cpt #seopress_social_fb_img_meta' ).attr("placeholder", data.data.og_img);
114
- jQuery( '#seopress_cpt #seopress_social_twitter_title_meta' ).attr("placeholder", data.data.tw_title);
115
- jQuery( '#seopress_cpt #seopress_social_twitter_desc_meta' ).attr("placeholder", data.data.tw_desc);
116
- jQuery( '#seopress_cpt #seopress_social_twitter_img_meta' ).attr("placeholder", data.data.tw_img);
117
- sp_titles_counters();
118
- sp_meta_desc_counters();
119
- },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
120
  });
121
  });
89
  });
90
  };
91
 
92
+ //Real Preview / Content Analysis
93
  jQuery(document).ready(function(){
94
+ //Tabs
95
+ jQuery("#seopress-analysis-tabs .hidden").removeClass('hidden');
96
+ jQuery("#seopress-analysis-tabs").tabs();
97
+ //Real Preview
98
+ function seopress_real_preview() {
99
+ jQuery.ajax({
100
+ method : 'GET',
101
+ url : seopressAjaxRealPreview.seopress_real_preview,
102
+ data: {
103
+ action: 'seopress_do_real_preview',
104
+ post_id: jQuery('#seopress-tabs').attr('data_id'),
105
+ tax_name: jQuery('#seopress-tabs').attr('data_tax'),
106
+ origin: jQuery('#seopress-tabs').attr('data_origin'),
107
+ post_type: jQuery('#seopress_launch_analysis').attr('data_post_type'),
108
+ seopress_analysis_target_kw: jQuery('#seopress_analysis_target_kw_meta').val(),
109
+ _ajax_nonce: seopressAjaxRealPreview.seopress_nonce,
110
+ },
111
+ success : function( data ) {
112
+ jQuery( '#seopress_cpt .google-snippet-preview .snippet-title' ).html(data.data.title);
113
+ jQuery( '#seopress_cpt .google-snippet-preview .snippet-title-default' ).html(data.data.title);
114
+ jQuery( '#seopress_titles_title_meta' ).attr("placeholder", data.data.title);
115
+ jQuery( '#seopress_cpt .google-snippet-preview .snippet-description' ).html(data.data.meta_desc);
116
+ jQuery( '#seopress_cpt .google-snippet-preview .snippet-description-default' ).html(data.data.meta_desc);
117
+ jQuery( '#seopress_titles_desc_meta' ).attr("placeholder", data.data.meta_desc);
118
+ jQuery( '#seopress_cpt #seopress_social_fb_title_meta' ).attr("placeholder", data.data.og_title);
119
+ jQuery( '#seopress_cpt #seopress_social_fb_desc_meta' ).attr("placeholder", data.data.og_desc);
120
+ jQuery( '#seopress_cpt #seopress_social_fb_img_meta' ).attr("placeholder", data.data.og_img);
121
+ jQuery( '#seopress_cpt #seopress_social_twitter_title_meta' ).attr("placeholder", data.data.tw_title);
122
+ jQuery( '#seopress_cpt #seopress_social_twitter_desc_meta' ).attr("placeholder", data.data.tw_desc);
123
+ jQuery( '#seopress_cpt #seopress_social_twitter_img_meta' ).attr("placeholder", data.data.tw_img);
124
+ jQuery( '#seopress_analysis_results_state' ).fadeIn().css('display', 'inline-block');
125
+ jQuery( '#seopress_analysis_results_state' ).delay(3500).fadeOut();
126
+ jQuery( '#seopress-analysis-tabs-1' ).load(' #seopress-analysis-tabs-1');
127
+ jQuery( '#seopress-analysis-tabs-2' ).load(' #seopress-analysis-tabs-2');
128
+ jQuery( '#seopress-analysis-tabs-3' ).load(' #seopress-analysis-tabs-3');
129
+ jQuery( '#seopress-analysis-tabs-4' ).load(' #seopress-analysis-tabs-4');
130
+ jQuery(' #seopress_titles_title_counters_val' ).remove();
131
+ jQuery(' #seopress_titles_desc_counters_val' ).remove();
132
+ sp_titles_counters();
133
+ sp_meta_desc_counters();
134
+ },
135
+ });
136
+ };
137
+ seopress_real_preview();
138
+ jQuery('#seopress_launch_analysis').on('click', function() {
139
+ seopress_real_preview();
140
  });
141
  });
inc/admin/admin-metaboxes-content-analysis-form.php CHANGED
@@ -91,34 +91,38 @@ if ( is_plugin_active( 'wp-seopress-pro/seopress-pro.php' ) ) {
91
  echo '</ul>';
92
  }
93
 
94
- //Post Title
95
- echo '<h3>'.__('Post title','wp-seopress').'</h3>';
96
- if (get_post_field('post_title', $post->ID) !='') {
97
- if (!empty($seopress_analysis_data['0']['post_title']['matches'])) {
98
- echo '<p><span class="dashicons dashicons-yes"></span>'.__('Target keywords were found in the Post Title.','wp-seopress').'</p>';
99
- echo '<ul>';
100
- $target_kws_post_title = $seopress_analysis_data['0']['post_title']['matches'];
101
- foreach ($target_kws_post_title as $key => $value) {
102
- foreach ($value as $_key => $_value) {
103
- $kw_count = count($_value);
104
- }
105
- $kw_name = $key;
106
- echo '<li><span class="dashicons dashicons-minus"></span>'.sprintf(esc_html__('%s was found %d times.','wp-seopress'), $kw_name, $kw_count).'</li>';
107
- }
108
- echo '</ul>';
109
- } else {
110
- echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('None of your target keywords were found in the Post Title.','wp-seopress').'</p>';
111
- }
112
- } else {
113
- echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('No post title set for this post!','wp-seopress').'</p>';
114
- }
115
-
116
  //H1
117
  if (!empty($seopress_analysis_data['0']['h1']['matches'])) {
118
  echo '<h3>'.__('H1 (Heading 1)','wp-seopress').'</h3>';
 
 
 
 
 
 
 
119
  $count = count($seopress_analysis_data['0']['h1']['matches']);
120
- echo '<p><span class="dashicons dashicons-no-alt"></span>'.sprintf(esc_html__('We found %d Heading 1 (H1) in your content.','wp-seopress'), $count).'</p>';
121
- echo '<p>'.__('You should not use a H1 heading in your post content because your post title is already an H1. The rule is simple: only one H1 for each web page.','wp-seopress').'</p>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
122
  }
123
 
124
  //H2
@@ -160,10 +164,10 @@ if ( is_plugin_active( 'wp-seopress-pro/seopress-pro.php' ) ) {
160
  //Meta Title
161
  echo '<h3>'.__('Meta title','wp-seopress').'</h3>';
162
  if ($seopress_titles_title !='') {
163
- if (!empty($seopress_analysis_data['0']['title']['matches'])) {
164
  echo '<p><span class="dashicons dashicons-yes"></span>'.__('Target keywords were found in the Meta Title.','wp-seopress').'</p>';
165
  echo '<ul>';
166
- $target_kws_title = $seopress_analysis_data['0']['title']['matches'];
167
  foreach ($target_kws_title as $key => $value) {
168
  foreach ($value as $_key => $_value) {
169
  $kw_count = count($_value);
@@ -189,10 +193,10 @@ if ( is_plugin_active( 'wp-seopress-pro/seopress-pro.php' ) ) {
189
  echo '<h3>'.__('Meta description','wp-seopress').'</h3>';
190
 
191
  if ($seopress_titles_desc !='') {
192
- if (!empty($seopress_analysis_data['0']['desc']['matches'])) {
193
  echo '<p><span class="dashicons dashicons-yes"></span>'.__('Target keywords were found in the Meta description.','wp-seopress').'</p>';
194
  echo '<ul>';
195
- $target_kws_desc = $seopress_analysis_data['0']['desc']['matches'];
196
  foreach ($target_kws_desc as $key => $value) {
197
  foreach ($value as $_key => $_value) {
198
  $kw_count = count($_value);
@@ -219,75 +223,66 @@ if ( is_plugin_active( 'wp-seopress-pro/seopress-pro.php' ) ) {
219
  <div id="seopress-analysis-tabs-2">
220
  <h3>'.__('Robots','wp-seopress').'</h3>';
221
 
222
- //Robots
223
- if ($seopress_robots_index =='yes' || $seopress_robots_index =='1') {
224
- echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('noindex is on! Search engines can\'t index this page.','wp-seopress').'</p>';
225
- } else {
226
- echo '<p><span class="dashicons dashicons-yes"></span>'.__('noindex is off. Search engines will index this page.','wp-seopress').'</p>';
227
- }
228
 
229
- if ($seopress_robots_follow =='yes' || $seopress_robots_follow =='1') {
230
- echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('nofollow is on! Search engines can\'t follow your links on this page.','wp-seopress').'</p>';
231
- } else {
232
- echo '<p><span class="dashicons dashicons-yes"></span>'.__('nofollow is off. Search engines will follow links on this page.','wp-seopress').'</p>';
233
- }
234
 
235
- if ($seopress_robots_imageindex =='yes' || $seopress_robots_imageindex =='1') {
236
- echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('noimageindex is on! Google will not index your images on this page (but if someone makes a direct link to one of your image in this page, it will be indexed).','wp-seopress').'</p>';
237
- } else {
238
- echo '<p><span class="dashicons dashicons-yes"></span>'.__('noimageindex is off. Google will index the images on this page.','wp-seopress').'</p>';
239
- }
240
 
241
- if ($seopress_robots_archive =='yes' || $seopress_robots_archive =='1') {
242
- echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('noarchive is on! Search engines will not cache your page.','wp-seopress').'</p>';
243
- } else {
244
- echo '<p><span class="dashicons dashicons-yes"></span>'.__('noarchive is off. Search engines will probably cache your page.','wp-seopress').'</p>';
245
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
246
 
247
- if ($seopress_robots_snippet =='yes' || $seopress_robots_snippet =='1') {
248
- echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('nosnippet is on! Search engines will not display a snippet of this page in search results.','wp-seopress').'</p>';
 
 
 
249
  } else {
250
- echo '<p><span class="dashicons dashicons-yes"></span>'.__('nosnippet is off. Search engines will display a snippet of this page in search results.','wp-seopress').'</p>';
251
  }
252
  echo '</div>
253
  <div id="seopress-analysis-tabs-3">
254
  <div class="wrap-analysis-img">';
255
  if (!empty($seopress_analysis_data['0']['img'])) {
256
  $images = isset($seopress_analysis_data['0']['img']['images']) ? $seopress_analysis_data['0']['img']['images'] : NULL;
257
- $post_thumbnail = isset($seopress_analysis_data['0']['img']['post_thumbnail']) ? $seopress_analysis_data['0']['img']['post_thumbnail'] : NULL;
258
 
259
- $product_imgs = isset($seopress_analysis_data['0']['img']['product_img']) ? $seopress_analysis_data['0']['img']['product_img'] : NULL;
260
-
261
- if ((isset($images) && !empty($images)) || (isset($post_thumbnail) && !empty($post_thumbnail))) {
262
  echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('No alternative text found for these images. Alt tags are important for both SEO and accessibility.','wp-seopress').'</p>';
263
 
264
  //Standard images & galleries
265
  if (isset($images) && !empty($images)) {
266
- echo '<h4>'.__('Post Content','wp-seopress').'</h4>';
267
  echo '<ul class="attachments">';
268
  foreach($images as $img) {
269
  echo '<li class="attachment"><img src="'.$img.'"/></li>';
270
  }
271
  echo '</ul>';
272
  }
273
-
274
- //Post Thumbnail
275
- if (isset($post_thumbnail) && !empty($post_thumbnail)) {
276
- echo '<h4>'.__('Post Thumbnail','wp-seopress').'</h4>';
277
- echo '<ul class="attachments">';
278
- echo '<li class="attachment">'.$post_thumbnail.'</li>';
279
- echo '</ul>';
280
- }
281
-
282
- //WooCommerce galleries
283
- if (isset($product_imgs) && !empty($product_imgs)) {
284
- echo '<h4>'.__('Product gallery','wp-seopress').'</h4>';
285
- echo '<ul class="attachments">';
286
- foreach ($product_imgs as $product_img) {
287
- echo '<li class="attachment"><img src="'.$product_img.'"/></li>';
288
- }
289
- echo '</ul>';
290
- }
291
  } else {
292
  echo '<p><span class="dashicons dashicons-yes"></span>'.__('All alternative tags are filled in. Good work!','wp-seopress').'</p>';
293
  }
@@ -301,15 +296,17 @@ if ( is_plugin_active( 'wp-seopress-pro/seopress-pro.php' ) ) {
301
  echo '<h3>'.__('NoFollow Links','wp-seopress').'</h3>';
302
 
303
  if (!empty($seopress_analysis_data['0']['nofollow_links'])) {
304
-
305
  $count = count($seopress_analysis_data['0']['nofollow_links']);
306
 
307
  echo '<p>'.sprintf( esc_html__( 'We found %d links with nofollow attribute in your page. Do not overuse nofollow attribute in links. Below, the list:', 'wp-seopress' ), $count ).'</p>';
308
  echo '<ul>';
309
- foreach ($seopress_analysis_data['0']['nofollow_links'] as $link) {
310
- echo '<li><span class="dashicons dashicons-minus"></span>'.$link.'</li>';
 
 
311
  }
312
  echo '</ul>';
 
313
  } else {
314
  echo '<p><span class="dashicons dashicons-yes"></span>'.__('This page doesn\'t have any nofollow links.','wp-seopress').'</p>';
315
  }
91
  echo '</ul>';
92
  }
93
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  //H1
95
  if (!empty($seopress_analysis_data['0']['h1']['matches'])) {
96
  echo '<h3>'.__('H1 (Heading 1)','wp-seopress').'</h3>';
97
+
98
+ if (!empty($seopress_analysis_data['0']['h1']['nomatches'])) {
99
+ $h1nomatches = count($seopress_analysis_data['0']['h1']['nomatches']);
100
+ } else {
101
+ $h1nomatches = 0;
102
+ }
103
+
104
  $count = count($seopress_analysis_data['0']['h1']['matches']);
105
+ $count = $count + $h1nomatches;
106
+
107
+ $target_kws_h1 = $seopress_analysis_data['0']['h1']['matches'];
108
+
109
+ echo '<p><span class="dashicons dashicons-yes"></span>'.__('Target keywords were found in Heading 1 (H1).','wp-seopress').'</p>';
110
+
111
+ echo '<ul>';
112
+
113
+ foreach ($target_kws_h1 as $key => $value) {
114
+ foreach ($value as $_key => $_value) {
115
+ $kw_count = count($value);
116
+ }
117
+ $kw_name = $key;
118
+ echo '<li><span class="dashicons dashicons-minus"></span>'.sprintf(esc_html__('%s was found %d times.','wp-seopress'), $kw_name, $kw_count).'</li>';
119
+ }
120
+
121
+ echo '</ul>';
122
+ if ($count > 1) {
123
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.sprintf(esc_html__('We found %d Heading 1 (H1) in your content.','wp-seopress'), $count).'</p>';
124
+ echo '<p>'.__('You should not use more than one H1 heading in your post content. The rule is simple: only one H1 for each web page. Better for SEO and accessibility.','wp-seopress').'</p>';
125
+ }
126
  }
127
 
128
  //H2
164
  //Meta Title
165
  echo '<h3>'.__('Meta title','wp-seopress').'</h3>';
166
  if ($seopress_titles_title !='') {
167
+ if (!empty($seopress_analysis_data['0']['meta_title']['matches'])) {
168
  echo '<p><span class="dashicons dashicons-yes"></span>'.__('Target keywords were found in the Meta Title.','wp-seopress').'</p>';
169
  echo '<ul>';
170
+ $target_kws_title = $seopress_analysis_data['0']['meta_title']['matches'];
171
  foreach ($target_kws_title as $key => $value) {
172
  foreach ($value as $_key => $_value) {
173
  $kw_count = count($_value);
193
  echo '<h3>'.__('Meta description','wp-seopress').'</h3>';
194
 
195
  if ($seopress_titles_desc !='') {
196
+ if (!empty($seopress_analysis_data['0']['meta_description']['matches'])) {
197
  echo '<p><span class="dashicons dashicons-yes"></span>'.__('Target keywords were found in the Meta description.','wp-seopress').'</p>';
198
  echo '<ul>';
199
+ $target_kws_desc = $seopress_analysis_data['0']['meta_description']['matches'];
200
  foreach ($target_kws_desc as $key => $value) {
201
  foreach ($value as $_key => $_value) {
202
  $kw_count = count($_value);
223
  <div id="seopress-analysis-tabs-2">
224
  <h3>'.__('Robots','wp-seopress').'</h3>';
225
 
226
+ //Robots
227
+ if (!empty($seopress_analysis_data['0']['meta_robots'])) {
 
 
 
 
228
 
229
+ $meta_robots = $seopress_analysis_data['0']['meta_robots']['0'];
230
+
231
+ if (count($seopress_analysis_data['0']['meta_robots']) > 1) {
232
+ $count_meta_robots = count($seopress_analysis_data['0']['meta_robots']);
 
233
 
234
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.sprintf(esc_html__('We found %s meta robots in your page. There is probably something wrong with your theme!','wp-seopress'), $count_meta_robots).'</p>';
235
+ }
 
 
 
236
 
237
+ if (preg_match('/noindex/', json_encode($meta_robots))) {
238
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('noindex is on! Search engines can\'t index this page.','wp-seopress').'</p>';
239
+ } else {
240
+ echo '<p><span class="dashicons dashicons-yes"></span>'.__('noindex is off. Search engines will index this page.','wp-seopress').'</p>';
241
+ }
242
+
243
+ if (preg_match('/nofollow/', json_encode($meta_robots))) {
244
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('nofollow is on! Search engines can\'t follow your links on this page.','wp-seopress').'</p>';
245
+ } else {
246
+ echo '<p><span class="dashicons dashicons-yes"></span>'.__('nofollow is off. Search engines will follow links on this page.','wp-seopress').'</p>';
247
+ }
248
+
249
+ if (preg_match('/noimageindex/', json_encode($meta_robots))) {
250
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('noimageindex is on! Google will not index your images on this page (but if someone makes a direct link to one of your image in this page, it will be indexed).','wp-seopress').'</p>';
251
+ } else {
252
+ echo '<p><span class="dashicons dashicons-yes"></span>'.__('noimageindex is off. Google will index the images on this page.','wp-seopress').'</p>';
253
+ }
254
+
255
+ if (preg_match('/noarchive/', json_encode($meta_robots))) {
256
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('noarchive is on! Search engines will not cache your page.','wp-seopress').'</p>';
257
+ } else {
258
+ echo '<p><span class="dashicons dashicons-yes"></span>'.__('noarchive is off. Search engines will probably cache your page.','wp-seopress').'</p>';
259
+ }
260
 
261
+ if (preg_match('/nosnippet/', json_encode($meta_robots))) {
262
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('nosnippet is on! Search engines will not display a snippet of this page in search results.','wp-seopress').'</p>';
263
+ } else {
264
+ echo '<p><span class="dashicons dashicons-yes"></span>'.__('nosnippet is off. Search engines will display a snippet of this page in search results.','wp-seopress').'</p>';
265
+ }
266
  } else {
267
+ echo '<p><span class="dashicons dashicons-yes"></span>'.__('We found no meta robots on this page. It means, your page is index,follow. Search engines will index it, and follow links. ','wp-seopress').'</p>';
268
  }
269
  echo '</div>
270
  <div id="seopress-analysis-tabs-3">
271
  <div class="wrap-analysis-img">';
272
  if (!empty($seopress_analysis_data['0']['img'])) {
273
  $images = isset($seopress_analysis_data['0']['img']['images']) ? $seopress_analysis_data['0']['img']['images'] : NULL;
 
274
 
275
+ if (isset($images) && !empty($images)) {
 
 
276
  echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('No alternative text found for these images. Alt tags are important for both SEO and accessibility.','wp-seopress').'</p>';
277
 
278
  //Standard images & galleries
279
  if (isset($images) && !empty($images)) {
 
280
  echo '<ul class="attachments">';
281
  foreach($images as $img) {
282
  echo '<li class="attachment"><img src="'.$img.'"/></li>';
283
  }
284
  echo '</ul>';
285
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
286
  } else {
287
  echo '<p><span class="dashicons dashicons-yes"></span>'.__('All alternative tags are filled in. Good work!','wp-seopress').'</p>';
288
  }
296
  echo '<h3>'.__('NoFollow Links','wp-seopress').'</h3>';
297
 
298
  if (!empty($seopress_analysis_data['0']['nofollow_links'])) {
 
299
  $count = count($seopress_analysis_data['0']['nofollow_links']);
300
 
301
  echo '<p>'.sprintf( esc_html__( 'We found %d links with nofollow attribute in your page. Do not overuse nofollow attribute in links. Below, the list:', 'wp-seopress' ), $count ).'</p>';
302
  echo '<ul>';
303
+ foreach ($seopress_analysis_data['0']['nofollow_links'] as $links) {
304
+ foreach ($links as $link) {
305
+ echo '<li><span class="dashicons dashicons-minus"></span>'.$link.'</li>';
306
+ }
307
  }
308
  echo '</ul>';
309
+
310
  } else {
311
  echo '<p><span class="dashicons dashicons-yes"></span>'.__('This page doesn\'t have any nofollow links.','wp-seopress').'</p>';
312
  }
inc/admin/admin-metaboxes-form.php CHANGED
@@ -127,10 +127,10 @@ echo '<div id="seopress-tabs" data_id="'.$current_id.'" data_origin="'.$origin.'
127
  global $tag;
128
  if (get_the_title()) {
129
  echo '<div class="snippet-title-default" style="display:none">'.get_the_title().' - '.get_bloginfo('name').'</div>
130
- <div class="snippet-permalink">'.urldecode(get_permalink()).'</div>';
131
  } elseif ($tag) {
132
  echo '<div class="snippet-title-default" style="display:none">'.$tag->name.' - '.get_bloginfo('name').'</div>';
133
- echo '<div class="snippet-permalink">'.urldecode(get_term_link($tag)).'</div>';
134
  }
135
 
136
  if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) {
@@ -184,7 +184,7 @@ echo '<div class="snippet-description">...</div>
184
  </p>
185
  <p>
186
  <label for="seopress_robots_canonical_meta">'. __( 'Canonical URL', 'wp-seopress' ) .'</label>
187
- <input id="seopress_robots_canonical_meta" type="text" name="seopress_robots_canonical" placeholder="'.esc_html__('Default value: ','wp-seopress').urldecode(get_permalink()).'" aria-label="'.__('Canonical URL','wp-seopress').'" value="'.$seopress_robots_canonical.'" />
188
  </p>';
189
  if ($typenow =='post' && ($pagenow == 'post.php' || $pagenow == 'post-new.php')) {
190
  echo '<p>
127
  global $tag;
128
  if (get_the_title()) {
129
  echo '<div class="snippet-title-default" style="display:none">'.get_the_title().' - '.get_bloginfo('name').'</div>
130
+ <div class="snippet-permalink">'.htmlspecialchars(urldecode(get_permalink())).'</div>';
131
  } elseif ($tag) {
132
  echo '<div class="snippet-title-default" style="display:none">'.$tag->name.' - '.get_bloginfo('name').'</div>';
133
+ echo '<div class="snippet-permalink">'.htmlspecialchars(urldecode(get_term_link($tag))).'</div>';
134
  }
135
 
136
  if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) {
184
  </p>
185
  <p>
186
  <label for="seopress_robots_canonical_meta">'. __( 'Canonical URL', 'wp-seopress' ) .'</label>
187
+ <input id="seopress_robots_canonical_meta" type="text" name="seopress_robots_canonical" placeholder="'.esc_html__('Default value: ','wp-seopress').htmlspecialchars(urldecode(get_permalink())).'" aria-label="'.__('Canonical URL','wp-seopress').'" value="'.$seopress_robots_canonical.'" />
188
  </p>';
189
  if ($typenow =='post' && ($pagenow == 'post.php' || $pagenow == 'post-new.php')) {
190
  echo '<p>
inc/admin/admin-metaboxes.php CHANGED
@@ -178,9 +178,10 @@ function seopress_display_seo_metaboxe() {
178
  if ("seopress_404" != $typenow) {
179
  wp_enqueue_script('jquery-ui-accordion');
180
 
181
- wp_enqueue_script( 'seopress-cpt-counters-js', plugins_url( 'assets/js/seopress-counters.js', dirname(dirname( __FILE__ ))), array( 'jquery' ), SEOPRESS_VERSION );
 
182
 
183
- //If Gutenberg ON
184
  if (function_exists('get_current_screen')) {
185
  $get_current_screen = get_current_screen();
186
  if (isset($get_current_screen->is_block_editor)) {
@@ -189,6 +190,7 @@ function seopress_display_seo_metaboxe() {
189
  }
190
  }
191
  }
 
192
  wp_enqueue_script( 'seopress-cpt-video-sitemap-js', plugins_url( 'assets/js/seopress-sitemap-video.js', dirname(dirname( __FILE__ ))), array( 'jquery', 'jquery-ui-accordion' ), SEOPRESS_VERSION );
193
 
194
  $seopress_real_preview = array(
@@ -398,22 +400,13 @@ function seopress_display_ca_metaboxe() {
398
  }
399
 
400
  function seopress_content_analysis($post) {
401
- //Loads JS/CSS
402
-
403
- wp_enqueue_script( 'seopress-content-analysis-ajax', plugins_url( 'assets/js/seopress-content-analysis.js', dirname( dirname( __FILE__ ) ) ), array( 'jquery', 'jquery-ui-tabs' ), SEOPRESS_VERSION, true );
404
-
405
- //If Gutenberg ON
406
- $get_current_screen = get_current_screen();
407
- if ($get_current_screen->is_block_editor == 1) {
408
- wp_enqueue_script( 'seopress-block-analysis-ajax', plugins_url( 'assets/js/seopress-block-analysis.js', dirname( dirname( __FILE__ ) ) ), array( 'jquery', 'jquery-ui-tabs' ), SEOPRESS_VERSION, true );
409
- }
410
-
411
- $seopress_content_analysis = array(
412
- 'seopress_nonce' => wp_create_nonce('seopress_content_analysis_nonce'),
413
- 'seopress_content_analysis' => admin_url( 'admin-ajax.php'),
414
  );
415
- wp_localize_script( 'seopress-content-analysis-ajax', 'seopressContentAnalysis', $seopress_content_analysis );
416
-
417
  $seopress_analysis_target_kw = get_post_meta($post->ID,'_seopress_analysis_target_kw',true);
418
  $seopress_analysis_data = get_post_meta($post->ID,'_seopress_analysis_data');
419
  $seopress_titles_title = get_post_meta($post->ID,'_seopress_titles_title',true);
178
  if ("seopress_404" != $typenow) {
179
  wp_enqueue_script('jquery-ui-accordion');
180
 
181
+ //Register Google Snippet Preview / Content Analysis JS
182
+ wp_enqueue_script( 'seopress-cpt-counters-js', plugins_url( 'assets/js/seopress-counters.js', dirname(dirname( __FILE__ ))), array( 'jquery', 'jquery-ui-tabs', 'jquery-ui-accordion' ), SEOPRESS_VERSION );
183
 
184
+ //If Gutenberg ON
185
  if (function_exists('get_current_screen')) {
186
  $get_current_screen = get_current_screen();
187
  if (isset($get_current_screen->is_block_editor)) {
190
  }
191
  }
192
  }
193
+
194
  wp_enqueue_script( 'seopress-cpt-video-sitemap-js', plugins_url( 'assets/js/seopress-sitemap-video.js', dirname(dirname( __FILE__ ))), array( 'jquery', 'jquery-ui-accordion' ), SEOPRESS_VERSION );
195
 
196
  $seopress_real_preview = array(
400
  }
401
 
402
  function seopress_content_analysis($post) {
403
+ wp_enqueue_script( 'seopress-cpt-counters-js', plugins_url( 'assets/js/seopress-counters.js', dirname(dirname( __FILE__ ))), array( 'jquery', 'jquery-ui-tabs', 'jquery-ui-accordion' ), SEOPRESS_VERSION );
404
+ $seopress_real_preview = array(
405
+ 'seopress_nonce' => wp_create_nonce('seopress_real_preview_nonce'),
406
+ 'seopress_real_preview' => admin_url('admin-ajax.php'),
 
 
 
 
 
 
 
 
 
407
  );
408
+ wp_localize_script( 'seopress-cpt-counters-js', 'seopressAjaxRealPreview', $seopress_real_preview );
409
+
410
  $seopress_analysis_target_kw = get_post_meta($post->ID,'_seopress_analysis_target_kw',true);
411
  $seopress_analysis_data = get_post_meta($post->ID,'_seopress_analysis_data');
412
  $seopress_titles_title = get_post_meta($post->ID,'_seopress_titles_title',true);
inc/admin/admin-term-metaboxes.php CHANGED
@@ -160,7 +160,8 @@ function seopress_display_seo_term_metaboxe() {
160
  wp_enqueue_script( 'seopress-cpt-tabs-js', plugins_url( 'assets/js/seopress-tabs2.js', dirname(dirname(__FILE__ ))), array( 'jquery-ui-tabs' ), SEOPRESS_VERSION);
161
 
162
  if ("seopress_404" != $typenow) {
163
- wp_enqueue_script( 'seopress-cpt-counters-js', plugins_url( 'assets/js/seopress-counters.js', dirname(dirname( __FILE__ ))), array( 'jquery' ), SEOPRESS_VERSION );
 
164
 
165
  $seopress_real_preview = array(
166
  'seopress_nonce' => wp_create_nonce('seopress_real_preview_nonce'),
160
  wp_enqueue_script( 'seopress-cpt-tabs-js', plugins_url( 'assets/js/seopress-tabs2.js', dirname(dirname(__FILE__ ))), array( 'jquery-ui-tabs' ), SEOPRESS_VERSION);
161
 
162
  if ("seopress_404" != $typenow) {
163
+ //Register Google Snippet Preview / Content Analysis JS
164
+ wp_enqueue_script( 'seopress-cpt-counters-js', plugins_url( 'assets/js/seopress-counters.js', dirname(dirname( __FILE__ ))), array( 'jquery', 'jquery-ui-tabs', 'jquery-ui-accordion' ), SEOPRESS_VERSION );
165
 
166
  $seopress_real_preview = array(
167
  'seopress_nonce' => wp_create_nonce('seopress_real_preview_nonce'),
inc/admin/ajax.php CHANGED
@@ -2,7 +2,7 @@
2
  defined( 'ABSPATH' ) or die( 'Please don&rsquo;t call the plugin directly. Thanks :)' );
3
 
4
  ///////////////////////////////////////////////////////////////////////////////////////////////////
5
- //Get real preview
6
  ///////////////////////////////////////////////////////////////////////////////////////////////////
7
  function seopress_do_real_preview() {
8
  check_ajax_referer( 'seopress_real_preview_nonce', $_GET['_ajax_nonce'], true );
@@ -23,6 +23,11 @@ function seopress_do_real_preview() {
23
  $seopress_get_the_id = $_GET['post_id'];
24
  }
25
 
 
 
 
 
 
26
  //Origin
27
  if ( isset( $_GET['origin'] ) ) {
28
  $seopress_origin = $_GET['origin'];
@@ -33,11 +38,21 @@ function seopress_do_real_preview() {
33
  $seopress_tax_name = $_GET['tax_name'];
34
  }
35
 
 
 
 
 
36
  //Init
37
  $title = '';
38
  $meta_desc = '';
39
  $data = array();
40
 
 
 
 
 
 
 
41
  //DOM
42
  $dom = new DOMDocument();
43
  $internalErrors = libxml_use_internal_errors(true);
@@ -46,13 +61,9 @@ function seopress_do_real_preview() {
46
  //Get source code
47
  $args = array(
48
  'blocking' => true,
49
- 'timeout' => 15,
50
  );
51
 
52
- if (!empty($cookies)) {
53
- $args['cookies'] = $cookies;
54
- }
55
-
56
  $args = apply_filters('seopress_real_preview_remote', $args);
57
 
58
  if ($seopress_origin =='post') { //Default: post type
@@ -67,21 +78,40 @@ function seopress_do_real_preview() {
67
  $response = wp_remote_retrieve_body($response);
68
 
69
  if($dom->loadHTML('<?xml encoding="utf-8" ?>' .$response)) {
 
 
 
 
 
70
  //Title
71
  $list = $dom->getElementsByTagName("title");
72
  if ($list->length > 0) {
73
  $title = $list->item(0)->textContent;
74
  $data['title'] = esc_attr(stripslashes_deep(wp_filter_nohtml_kses($title)));
 
 
 
 
 
75
  }
76
 
77
  //Meta desc
78
- $xpath = new DOMXPath($dom);
79
  $meta_description = $xpath->query('//meta[@name="description"]/@content');
80
 
81
  foreach ($meta_description as $key=>$mdesc) {
82
  $data['meta_desc'] = esc_attr(stripslashes_deep(wp_filter_nohtml_kses(wp_strip_all_tags($mdesc->nodeValue))));
83
  }
84
 
 
 
 
 
 
 
 
 
 
 
85
  //OG:title
86
  $og_title = $xpath->query('//meta[@property="og:title"]/@content');
87
 
@@ -123,185 +153,98 @@ function seopress_do_real_preview() {
123
  foreach ($tw_img as $key=>$mtwimg) {
124
  $data['tw_img'] = esc_attr(stripslashes_deep(wp_filter_nohtml_kses($mtwimg->nodeValue)));
125
  }
126
- }
127
- }
128
-
129
- libxml_use_internal_errors($internalErrors);
130
 
131
- //Return
132
- wp_send_json_success($data);
133
- }
134
- }
135
- add_action('wp_ajax_seopress_do_real_preview', 'seopress_do_real_preview');
136
-
137
- ///////////////////////////////////////////////////////////////////////////////////////////////////
138
- //Content analysis
139
- ///////////////////////////////////////////////////////////////////////////////////////////////////
140
- function seopress_do_content_analysis() {
141
- check_ajax_referer( 'seopress_content_analysis_nonce', $_POST['_ajax_nonce'], true );
142
-
143
- //Init variables
144
- $seopress_analysis_data = array();
145
-
146
- //Get post id
147
- if ( isset( $_POST['post_id'] ) ) {
148
- $seopress_get_the_id = $_POST['post_id'];
149
- }
150
-
151
- //Get post type
152
- if ( isset( $_POST['post_type'] ) ) {
153
- $seopress_get_post_type = $_POST['post_type'];
154
- }
155
-
156
- //Save Target KWs
157
- if(isset($_POST['seopress_analysis_target_kw']) && !empty($_POST['seopress_analysis_target_kw'])) {
158
- delete_post_meta($seopress_get_the_id, '_seopress_analysis_target_kw');
159
- update_post_meta($seopress_get_the_id, '_seopress_analysis_target_kw', esc_html($_POST['seopress_analysis_target_kw']));
160
- }
161
-
162
- //Get post content
163
- $seopress_get_the_content = apply_filters('the_content', get_post_field('post_content', $seopress_get_the_id));
164
- $seopress_get_the_content = apply_filters('seopress_content_analysis_content', $seopress_get_the_content, $seopress_get_the_id);
165
-
166
- //Get Target Keywords
167
- $seopress_analysis_target_kw = explode(',', get_post_meta($seopress_get_the_id,'_seopress_analysis_target_kw',true));
168
-
169
- //Get Post Title
170
- $seopress_get_the_title = get_post_field('post_title', $seopress_get_the_id);
171
- if ($seopress_get_the_title !='') {
172
- foreach ($seopress_analysis_target_kw as $kw) {
173
- if (preg_match_all('#\b('.$kw.')\b#iu', $seopress_get_the_title, $m)) {
174
- $seopress_analysis_data['post_title']['matches'][$kw][] = $m[0];
175
- }
176
- }
177
- }
178
-
179
- //Get Meta Title
180
- $seopress_titles_title = get_post_meta($seopress_get_the_id, '_seopress_titles_title', true);
181
- if ($seopress_titles_title !='') {
182
- foreach ($seopress_analysis_target_kw as $kw) {
183
- if (preg_match_all('#\b('.$kw.')\b#iu', $seopress_titles_title, $m)) {
184
- $seopress_analysis_data['title']['matches'][$kw][] = $m[0];
185
- }
186
- }
187
- }
188
-
189
- //Get Meta Description
190
- $seopress_titles_desc = get_post_meta($seopress_get_the_id, '_seopress_titles_desc', true);
191
- if ($seopress_titles_desc !='') {
192
- foreach ($seopress_analysis_target_kw as $kw) {
193
- if (preg_match_all('#\b('.$kw.')\b#iu', $seopress_titles_desc, $m)) {
194
- $seopress_analysis_data['desc']['matches'][$kw][] = $m[0];
195
- }
196
- }
197
- }
198
-
199
- //DomDocument
200
- $dom = new domDocument;
201
- $internalErrors = libxml_use_internal_errors(true);
202
- if ($seopress_get_the_content !='') {
203
- $dom->loadHTML($seopress_get_the_content);
204
- $dom->preserveWhiteSpace = false;
205
- $domxpath = new DOMXPath($dom);
206
-
207
- //Words counter
208
- //$seopress_analysis_data['words_counter'] = str_word_count(strip_tags(wp_filter_nohtml_kses($seopress_get_the_content)));
209
- $seopress_analysis_data['words_counter'] = preg_match_all("/\p{L}[\p{L}\p{Mn}\p{Pd}'\x{2019}]*/u", strip_tags(wp_filter_nohtml_kses($seopress_get_the_content)), $matches);
210
 
211
- $words_counter_unique = count(array_unique($matches[0]));
212
- $seopress_analysis_data['words_counter_unique'] = $words_counter_unique;
213
-
214
- //h1
215
- $h1 = $domxpath->query("//h1");
216
- if (!empty($h1)) {
217
- foreach ($h1 as $heading1) {
218
- foreach ($seopress_analysis_target_kw as $kw) {
219
- if (preg_match_all('#\b('.$kw.')\b#iu', utf8_decode($heading1->nodeValue), $m)) {
220
- $seopress_analysis_data['h1']['matches'][$kw][] = $m[0];
221
  }
222
  }
223
- }
224
- }
225
 
226
- //h2
227
- $h2 = $domxpath->query("//h2");
228
- if (!empty($h2)) {
229
- foreach ($h2 as $heading2) {
230
- foreach ($seopress_analysis_target_kw as $kw) {
231
- if (preg_match_all('#\b('.$kw.')\b#iu', utf8_decode($heading2->nodeValue), $m)) {
232
- $seopress_analysis_data['h2']['matches'][$kw][] = $m[0];
 
 
233
  }
234
  }
235
- }
236
- }
237
 
238
- //h3
239
- $h3 = $domxpath->query("//h3");
240
- if (!empty($h3)) {
241
- foreach ($h3 as $heading3) {
242
- foreach ($seopress_analysis_target_kw as $kw) {
243
- if (preg_match_all('#\b('.$kw.')\b#iu', utf8_decode($heading3->nodeValue), $m)) {
244
- $seopress_analysis_data['h3']['matches'][$kw][] = $m[0];
 
 
 
 
245
  }
 
246
  }
247
- }
248
- }
249
 
250
- //Images
251
- /*Standard images*/
252
- $imgs = $domxpath->query("//img");
253
-
254
- if (!empty($imgs) && $imgs !=NULL) {
255
- //init
256
- $data_img = array();
257
- foreach ($imgs as $img) {
258
- if ($img->getAttribute('alt') =='') {
259
- $data_img[] .= $img->getAttribute('src');
260
  }
261
- }
262
- $seopress_analysis_data['img']['images'] = $data_img;
263
- }
264
 
265
- /*WooCommerce*/
266
- if ( 'product' == $seopress_get_post_type ) {
267
- $product_id = $seopress_get_the_id;
268
- $product = new WC_product($product_id);
269
- $product_img_ids = $product->get_gallery_image_ids();
270
- if (!empty($product_img_ids)) {
271
- foreach ($product_img_ids as $product_img_id) {
272
- $alt = get_post_meta($product_img_id, '_wp_attachment_image_alt', true);
273
- if ($alt =='') {
274
- $seopress_analysis_data['img']['product_img'][] .= wp_get_attachment_thumb_url($product_img_id);
275
  }
276
  }
277
- }
278
- }
279
 
280
- /*Post Thumbnail*/
281
- if (has_post_thumbnail($seopress_get_the_id)) {
282
- $thumbnail_id = get_post_thumbnail_id($seopress_get_the_id);
283
- $alt = get_post_meta($thumbnail_id, '_wp_attachment_image_alt', true);
284
- if ($alt =='') {
285
- $seopress_analysis_data['img']['post_thumbnail'] = get_the_post_thumbnail($seopress_get_the_id);
 
286
  }
287
  }
 
 
288
 
289
- //nofollow links
290
- $nofollow_links = $domxpath->query("//a[@rel='nofollow']"); //AMELIORER CHECK SI PLUSIEURS ATTR
291
- foreach ($nofollow_links as $key=>$link) {
292
- $seopress_analysis_data['nofollow_links'][$key] .= $link->nodeValue;
293
  }
294
- }
295
-
296
- libxml_use_internal_errors($internalErrors);
297
 
298
- //Send data
299
- if(isset($seopress_analysis_data)){
300
- update_post_meta($seopress_get_the_id, '_seopress_analysis_data', $seopress_analysis_data);
301
  }
302
- wp_send_json_success();
303
  }
304
- add_action('wp_ajax_seopress_do_content_analysis', 'seopress_do_content_analysis');
305
 
306
  ///////////////////////////////////////////////////////////////////////////////////////////////////
307
  //Flush permalinks
2
  defined( 'ABSPATH' ) or die( 'Please don&rsquo;t call the plugin directly. Thanks :)' );
3
 
4
  ///////////////////////////////////////////////////////////////////////////////////////////////////
5
+ //Get real preview + content analysis
6
  ///////////////////////////////////////////////////////////////////////////////////////////////////
7
  function seopress_do_real_preview() {
8
  check_ajax_referer( 'seopress_real_preview_nonce', $_GET['_ajax_nonce'], true );
23
  $seopress_get_the_id = $_GET['post_id'];
24
  }
25
 
26
+ //Get post type
27
+ if ( isset( $_GET['post_type'] ) ) {
28
+ $seopress_get_post_type = $_GET['post_type'];
29
+ }
30
+
31
  //Origin
32
  if ( isset( $_GET['origin'] ) ) {
33
  $seopress_origin = $_GET['origin'];
38
  $seopress_tax_name = $_GET['tax_name'];
39
  }
40
 
41
+ //Get post content (used for Words counter)
42
+ $seopress_get_the_content = apply_filters('the_content', get_post_field('post_content', $seopress_get_the_id));
43
+ $seopress_get_the_content = apply_filters('seopress_content_analysis_content', $seopress_get_the_content, $seopress_get_the_id);
44
+
45
  //Init
46
  $title = '';
47
  $meta_desc = '';
48
  $data = array();
49
 
50
+ //Save Target KWs
51
+ if(isset($_GET['seopress_analysis_target_kw']) && !empty($_GET['seopress_analysis_target_kw'])) {
52
+ delete_post_meta($seopress_get_the_id, '_seopress_analysis_target_kw');
53
+ update_post_meta($seopress_get_the_id, '_seopress_analysis_target_kw', esc_html($_GET['seopress_analysis_target_kw']));
54
+ }
55
+
56
  //DOM
57
  $dom = new DOMDocument();
58
  $internalErrors = libxml_use_internal_errors(true);
61
  //Get source code
62
  $args = array(
63
  'blocking' => true,
64
+ 'timeout' => 30
65
  );
66
 
 
 
 
 
67
  $args = apply_filters('seopress_real_preview_remote', $args);
68
 
69
  if ($seopress_origin =='post') { //Default: post type
78
  $response = wp_remote_retrieve_body($response);
79
 
80
  if($dom->loadHTML('<?xml encoding="utf-8" ?>' .$response)) {
81
+ //Get Target Keywords
82
+ $seopress_analysis_target_kw = explode(',', get_post_meta($seopress_get_the_id,'_seopress_analysis_target_kw',true));
83
+
84
+ $xpath = new DOMXPath($dom);
85
+
86
  //Title
87
  $list = $dom->getElementsByTagName("title");
88
  if ($list->length > 0) {
89
  $title = $list->item(0)->textContent;
90
  $data['title'] = esc_attr(stripslashes_deep(wp_filter_nohtml_kses($title)));
91
+ foreach ($seopress_analysis_target_kw as $kw) {
92
+ if (preg_match_all('#\b('.$kw.')\b#iu', $data['title'], $m)) {
93
+ $data['meta_title']['matches'][$kw][] = $m[0];
94
+ }
95
+ }
96
  }
97
 
98
  //Meta desc
 
99
  $meta_description = $xpath->query('//meta[@name="description"]/@content');
100
 
101
  foreach ($meta_description as $key=>$mdesc) {
102
  $data['meta_desc'] = esc_attr(stripslashes_deep(wp_filter_nohtml_kses(wp_strip_all_tags($mdesc->nodeValue))));
103
  }
104
 
105
+ if (!empty($meta_description)) {
106
+ foreach ($meta_description as $meta_desc) {
107
+ foreach ($seopress_analysis_target_kw as $kw) {
108
+ if (preg_match_all('#\b('.$kw.')\b#iu', utf8_decode($meta_desc->nodeValue), $m)) {
109
+ $data['meta_description']['matches'][$kw][] = $m[0];
110
+ }
111
+ }
112
+ }
113
+ }
114
+
115
  //OG:title
116
  $og_title = $xpath->query('//meta[@property="og:title"]/@content');
117
 
153
  foreach ($tw_img as $key=>$mtwimg) {
154
  $data['tw_img'] = esc_attr(stripslashes_deep(wp_filter_nohtml_kses($mtwimg->nodeValue)));
155
  }
 
 
 
 
156
 
157
+ //h1
158
+ $h1 = $xpath->query("//h1");
159
+ if (!empty($h1)) {
160
+ foreach ($h1 as $heading1) {
161
+ foreach ($seopress_analysis_target_kw as $kw) {
162
+ if (preg_match_all('#\b('.$kw.')\b#iu', utf8_decode($heading1->nodeValue), $m)) {
163
+ $data['h1']['matches'][$kw][] = $m[0];
164
+ } else {
165
+ $data['h1']['nomatches'][$kw][] = $m[0];
166
+ }
167
+ }
168
+ }
169
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
170
 
171
+ //h2
172
+ $h2 = $xpath->query("//h2");
173
+ if (!empty($h2)) {
174
+ foreach ($h2 as $heading2) {
175
+ foreach ($seopress_analysis_target_kw as $kw) {
176
+ if (preg_match_all('#\b('.$kw.')\b#iu', utf8_decode($heading2->nodeValue), $m)) {
177
+ $data['h2']['matches'][$kw][] = $m[0];
178
+ }
179
+ }
 
180
  }
181
  }
 
 
182
 
183
+ //h3
184
+ $h3 = $xpath->query("//h3");
185
+ if (!empty($h3)) {
186
+ foreach ($h3 as $heading3) {
187
+ foreach ($seopress_analysis_target_kw as $kw) {
188
+ if (preg_match_all('#\b('.$kw.')\b#iu', utf8_decode($heading3->nodeValue), $m)) {
189
+ $data['h3']['matches'][$kw][] = $m[0];
190
+ }
191
+ }
192
  }
193
  }
 
 
194
 
195
+ //Images
196
+ /*Standard images*/
197
+ $imgs = $xpath->query("//img");
198
+
199
+ if (!empty($imgs) && $imgs !=NULL) {
200
+ //init
201
+ $data_img = array();
202
+ foreach ($imgs as $img) {
203
+ if ($img->getAttribute('alt') =='') {
204
+ $data_img[] .= $img->getAttribute('src');
205
+ }
206
  }
207
+ $data['img']['images'] = $data_img;
208
  }
 
 
209
 
210
+ //Meta robots
211
+ $meta_robots = $xpath->query('//meta[@name="robots"]/@content');
212
+ if (!empty($meta_robots)) {
213
+ foreach ($meta_robots as $key=>$value) {
214
+ $data['meta_robots'][$key][] = $value->nodeValue;
215
+ }
 
 
 
 
216
  }
 
 
 
217
 
218
+ //nofollow links
219
+ $nofollow_links = $xpath->query("//a[contains(@rel, 'nofollow')]");
220
+ if (!empty($nofollow_links)) {
221
+ foreach ($nofollow_links as $key=>$link) {
222
+ $data['nofollow_links'][$key][] = $link->nodeValue;
 
 
 
 
 
223
  }
224
  }
 
 
225
 
226
+ //Words Counter
227
+ if ($seopress_get_the_content !='') {
228
+ $data['words_counter'] = preg_match_all("/\p{L}[\p{L}\p{Mn}\p{Pd}'\x{2019}]*/u", strip_tags(wp_filter_nohtml_kses($seopress_get_the_content)), $matches);
229
+
230
+ $words_counter_unique = count(array_unique($matches[0]));
231
+ $data['words_counter_unique'] = $words_counter_unique;
232
+ }
233
  }
234
  }
235
+
236
+ libxml_use_internal_errors($internalErrors);
237
 
238
+ //Send data
239
+ if(isset($data)){
240
+ update_post_meta($seopress_get_the_id, '_seopress_analysis_data', $data);
 
241
  }
 
 
 
242
 
243
+ //Return
244
+ wp_send_json_success($data);
 
245
  }
 
246
  }
247
+ add_action('wp_ajax_seopress_do_real_preview', 'seopress_do_real_preview');
248
 
249
  ///////////////////////////////////////////////////////////////////////////////////////////////////
250
  //Flush permalinks
inc/functions/options-social.php CHANGED
@@ -334,9 +334,9 @@ function seopress_social_facebook_og_url_hook() {
334
  }
335
 
336
  if (is_search()) {
337
- $seopress_social_og_url = '<meta property="og:url" content="'.urldecode(get_home_url().'/search/'.get_search_query()).'" />';
338
  } else {
339
- $seopress_social_og_url = '<meta property="og:url" content="'.urldecode(htmlspecialchars($current_url,ENT_COMPAT, 'UTF-8')).'" />';
340
  }
341
 
342
  //Hook on post OG URL - 'seopress_social_og_url'
@@ -665,7 +665,7 @@ function seopress_thumbnail_in_content() {
665
  } else {
666
  $url = get_home_url().$url;
667
  }
668
- return urldecode(esc_attr(wp_filter_nohtml_kses($url)));
669
  }
670
  }
671
  }
334
  }
335
 
336
  if (is_search()) {
337
+ $seopress_social_og_url = '<meta property="og:url" content="'.htmlspecialchars(urldecode(get_home_url().'/search/'.get_search_query())).'" />';
338
  } else {
339
+ $seopress_social_og_url = '<meta property="og:url" content="'.htmlspecialchars(urldecode($current_url),ENT_COMPAT, 'UTF-8').'" />';
340
  }
341
 
342
  //Hook on post OG URL - 'seopress_social_og_url'
665
  } else {
666
  $url = get_home_url().$url;
667
  }
668
+ return htmlspecialchars(urldecode(esc_attr(wp_filter_nohtml_kses($url))));
669
  }
670
  }
671
  }
inc/functions/options-titles-metas.php CHANGED
@@ -1542,7 +1542,7 @@ function seopress_titles_canonical_term_option() {
1542
  if (function_exists('seopress_titles_noindex_bypass') && seopress_titles_noindex_bypass() !='1' && seopress_titles_noindex_bypass() !='yes') {//Remove Canonical if noindex
1543
  if ( is_singular() && seopress_titles_canonical_post_option()) { //CUSTOM SINGLE CANONICAL
1544
  function seopress_titles_canonical_post_hook() {
1545
- $seopress_titles_canonical = '<link rel="canonical" href="'.urldecode(seopress_titles_canonical_post_option()).'" />';
1546
  //Hook on post canonical URL - 'seopress_titles_canonical'
1547
  if (has_filter('seopress_titles_canonical')) {
1548
  $seopress_titles_canonical = apply_filters('seopress_titles_canonical', $seopress_titles_canonical);
@@ -1552,7 +1552,7 @@ if (function_exists('seopress_titles_noindex_bypass') && seopress_titles_noindex
1552
  add_action( 'wp_head', 'seopress_titles_canonical_post_hook', 1 );
1553
  } elseif ((is_tax() || is_category() || is_tag()) && seopress_titles_canonical_term_option()) { //CUSTOM TERM CANONICAL
1554
  function seopress_titles_canonical_term_hook() {
1555
- $seopress_titles_canonical = '<link rel="canonical" href="'.urldecode(seopress_titles_canonical_term_option()).'" />';
1556
  //Hook on post canonical URL - 'seopress_titles_canonical'
1557
  if (has_filter('seopress_titles_canonical')) {
1558
  $seopress_titles_canonical = apply_filters('seopress_titles_canonical', $seopress_titles_canonical);
@@ -1569,13 +1569,13 @@ if (function_exists('seopress_titles_noindex_bypass') && seopress_titles_noindex
1569
  $current_url = trailingslashit(home_url(add_query_arg(array(), $wp->request)));
1570
  }
1571
  if (is_search()) {
1572
- $seopress_titles_canonical = '<link rel="canonical" href="'.urldecode(get_home_url().'/search/'.get_search_query()).'" />';
1573
  } elseif (is_paged()){
1574
- $seopress_titles_canonical = '<link rel="canonical" href="'.urldecode(get_pagenum_link('1')).'" />';
1575
  } elseif (is_singular()) {
1576
- $seopress_titles_canonical = '<link rel="canonical" href="'.urldecode(get_permalink()).'" />';
1577
  } else {
1578
- $seopress_titles_canonical = '<link rel="canonical" href="'.urldecode($current_url).'" />';
1579
  }
1580
  //Hook on post canonical URL - 'seopress_titles_canonical'
1581
  if (has_filter('seopress_titles_canonical')) {
1542
  if (function_exists('seopress_titles_noindex_bypass') && seopress_titles_noindex_bypass() !='1' && seopress_titles_noindex_bypass() !='yes') {//Remove Canonical if noindex
1543
  if ( is_singular() && seopress_titles_canonical_post_option()) { //CUSTOM SINGLE CANONICAL
1544
  function seopress_titles_canonical_post_hook() {
1545
+ $seopress_titles_canonical = '<link rel="canonical" href="'.htmlspecialchars(urldecode(seopress_titles_canonical_post_option())).'" />';
1546
  //Hook on post canonical URL - 'seopress_titles_canonical'
1547
  if (has_filter('seopress_titles_canonical')) {
1548
  $seopress_titles_canonical = apply_filters('seopress_titles_canonical', $seopress_titles_canonical);
1552
  add_action( 'wp_head', 'seopress_titles_canonical_post_hook', 1 );
1553
  } elseif ((is_tax() || is_category() || is_tag()) && seopress_titles_canonical_term_option()) { //CUSTOM TERM CANONICAL
1554
  function seopress_titles_canonical_term_hook() {
1555
+ $seopress_titles_canonical = '<link rel="canonical" href="'.htmlspecialchars(urldecode(seopress_titles_canonical_term_option())).'" />';
1556
  //Hook on post canonical URL - 'seopress_titles_canonical'
1557
  if (has_filter('seopress_titles_canonical')) {
1558
  $seopress_titles_canonical = apply_filters('seopress_titles_canonical', $seopress_titles_canonical);
1569
  $current_url = trailingslashit(home_url(add_query_arg(array(), $wp->request)));
1570
  }
1571
  if (is_search()) {
1572
+ $seopress_titles_canonical = '<link rel="canonical" href="'.htmlspecialchars(urldecode(get_home_url().'/search/'.get_search_query())).'" />';
1573
  } elseif (is_paged()){
1574
+ $seopress_titles_canonical = '<link rel="canonical" href="'.htmlspecialchars(urldecode(get_pagenum_link('1'))).'" />';
1575
  } elseif (is_singular()) {
1576
+ $seopress_titles_canonical = '<link rel="canonical" href="'.htmlspecialchars(urldecode(get_permalink())).'" />';
1577
  } else {
1578
+ $seopress_titles_canonical = '<link rel="canonical" href="'.htmlspecialchars(urldecode($current_url)).'" />';
1579
  }
1580
  //Hook on post canonical URL - 'seopress_titles_canonical'
1581
  if (has_filter('seopress_titles_canonical')) {
inc/functions/sitemap/template-xml-sitemaps-single-term.php CHANGED
@@ -28,7 +28,7 @@ function seopress_xml_sitemap_single_term() {
28
  $seopress_sitemaps .= '<url>';
29
  $seopress_sitemaps .= "\n";
30
  $seopress_sitemaps .= '<loc>';
31
- $seopress_sitemaps .= urldecode(esc_url(get_term_link($term)));
32
  $seopress_sitemaps .= '</loc>';
33
  $seopress_sitemaps .= "\n";
34
  $seopress_sitemaps .= '</url>';
28
  $seopress_sitemaps .= '<url>';
29
  $seopress_sitemaps .= "\n";
30
  $seopress_sitemaps .= '<loc>';
31
+ $seopress_sitemaps .= htmlspecialchars(urldecode(esc_url(get_term_link($term))));
32
  $seopress_sitemaps .= '</loc>';
33
  $seopress_sitemaps .= "\n";
34
  $seopress_sitemaps .= '</url>';
inc/functions/sitemap/template-xml-sitemaps-single.php CHANGED
@@ -49,7 +49,7 @@ function seopress_xml_sitemap_single() {
49
  $seopress_sitemaps .= '<url>';
50
  $seopress_sitemaps .= "\n";
51
  $seopress_sitemaps .= '<loc>';
52
- $seopress_sitemaps .= urldecode(get_post_type_archive_link($path));
53
  $seopress_sitemaps .= '</loc>';
54
  $seopress_sitemaps .= "\n";
55
  $seopress_sitemaps .= '</url>';
@@ -68,7 +68,7 @@ function seopress_xml_sitemap_single() {
68
  $seopress_sitemaps .= '<url>';
69
  $seopress_sitemaps .= "\n";
70
  $seopress_sitemaps .= '<loc>';
71
- $seopress_sitemaps .= urldecode(get_permalink($post));
72
  $seopress_sitemaps .= '</loc>';
73
  $seopress_sitemaps .= "\n";
74
  $seopress_sitemaps .= '<lastmod>';
@@ -131,7 +131,7 @@ function seopress_xml_sitemap_single() {
131
  $seopress_sitemaps .= '<image:image>';
132
  $seopress_sitemaps .= "\n";
133
  $seopress_sitemaps .= '<image:loc>';
134
- $seopress_sitemaps .= '<![CDATA['.urldecode(esc_attr(wp_filter_nohtml_kses($url))).']]>';
135
  $seopress_sitemaps .= '</image:loc>';
136
  $seopress_sitemaps .= "\n";
137
  $seopress_sitemaps .= '</image:image>';
@@ -152,7 +152,7 @@ function seopress_xml_sitemap_single() {
152
  $seopress_sitemaps .= '<image:image>';
153
  $seopress_sitemaps .= "\n";
154
  $seopress_sitemaps .= '<image:loc>';
155
- $seopress_sitemaps .= '<![CDATA['.urldecode(esc_attr(wp_filter_nohtml_kses($url))).']]>';
156
  $seopress_sitemaps .= '</image:loc>';
157
  $seopress_sitemaps .= "\n";
158
  $seopress_sitemaps .= '</image:image>';
49
  $seopress_sitemaps .= '<url>';
50
  $seopress_sitemaps .= "\n";
51
  $seopress_sitemaps .= '<loc>';
52
+ $seopress_sitemaps .= htmlspecialchars(urldecode(get_post_type_archive_link($path)));
53
  $seopress_sitemaps .= '</loc>';
54
  $seopress_sitemaps .= "\n";
55
  $seopress_sitemaps .= '</url>';
68
  $seopress_sitemaps .= '<url>';
69
  $seopress_sitemaps .= "\n";
70
  $seopress_sitemaps .= '<loc>';
71
+ $seopress_sitemaps .= htmlspecialchars(urldecode(get_permalink($post)));
72
  $seopress_sitemaps .= '</loc>';
73
  $seopress_sitemaps .= "\n";
74
  $seopress_sitemaps .= '<lastmod>';
131
  $seopress_sitemaps .= '<image:image>';
132
  $seopress_sitemaps .= "\n";
133
  $seopress_sitemaps .= '<image:loc>';
134
+ $seopress_sitemaps .= '<![CDATA['.htmlspecialchars(urldecode(esc_attr(wp_filter_nohtml_kses($url)))).']]>';
135
  $seopress_sitemaps .= '</image:loc>';
136
  $seopress_sitemaps .= "\n";
137
  $seopress_sitemaps .= '</image:image>';
152
  $seopress_sitemaps .= '<image:image>';
153
  $seopress_sitemaps .= "\n";
154
  $seopress_sitemaps .= '<image:loc>';
155
+ $seopress_sitemaps .= '<![CDATA['.htmlspecialchars(urldecode(esc_attr(wp_filter_nohtml_kses($url)))).']]>';
156
  $seopress_sitemaps .= '</image:loc>';
157
  $seopress_sitemaps .= "\n";
158
  $seopress_sitemaps .= '</image:image>';
languages/wp-seopress-de_DE-formal.mo ADDED
Binary file
languages/wp-seopress-de_DE-formal.po ADDED
</
@@ -0,0 +1,3881 @@