SEOPress - Version 3.7.1

Version Description

  • NEW JobPosting schema (PRO)
  • NEW 'seopress_metabox_seo_tabs' hook to filter tabs in SEO metabox
  • NEW 'seopress_schemas_auto_job_html' hook to filter JobPosting global schema
  • NEW 'seopress_schemas_job_html' hook to filter JobPosting manual schema
  • NEW 'seopress_sitemaps_max_posts_per_sitemap' hook to filter max posts per paginated sitemap
  • INFO GA: we now follow all external links, even if you have not defined an empty target attribute
  • INFO Performance optimization
  • INFO Improving security
  • INFO Improving the user experience
Download this release

Release Info

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

Code changes from version 3.7 to 3.7.1

assets/css/seopress.css CHANGED
@@ -1333,7 +1333,7 @@ body.seopress-styles {
1333
  -webkit-font-smoothing: initial;
1334
  }
1335
 
1336
- #seopress_cpt .tag-title,.seopress-button,.seopress-option .tag-title {
1337
  cursor: pointer;
1338
  font-weight: 500;
1339
  border-radius: 4px;
@@ -1378,14 +1378,14 @@ body.seopress-styles {
1378
  width: calc(100% - 20px);
1379
  }
1380
 
1381
- #seopress_cpt .wrap-tags,.seopress-option .wrap-tags {
1382
  position: relative;
1383
  display: inline-block;
1384
  width: 100%;
1385
  margin-bottom: 10px;
1386
  }
1387
 
1388
- #seopress_cpt .tag-title,.seopress-option .tag-title {
1389
  padding: 4px 8px;
1390
  position: relative;
1391
  top: 5px;
@@ -1400,13 +1400,15 @@ body.seopress-styles {
1400
  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);
1401
  }
1402
 
1403
- #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 {
 
 
1404
  background: #232323;
1405
  color: #fff;
1406
  user-select: none;
1407
  }
1408
 
1409
- #seopress_cpt .tag-title .dashicons,.seopress-option .tag-title .dashicons {
1410
  padding: 0;
1411
  height: 16px;
1412
  width: 16px;
1333
  -webkit-font-smoothing: initial;
1334
  }
1335
 
1336
+ #seopress_cpt .tag-title,.seopress-button,.seopress-option .tag-title,#seopress_pro_cpt .tag-title {
1337
  cursor: pointer;
1338
  font-weight: 500;
1339
  border-radius: 4px;
1378
  width: calc(100% - 20px);
1379
  }
1380
 
1381
+ #seopress_cpt .wrap-tags,.seopress-option .wrap-tags,#seopress_pro_cpt .wrap-tags {
1382
  position: relative;
1383
  display: inline-block;
1384
  width: 100%;
1385
  margin-bottom: 10px;
1386
  }
1387
 
1388
+ #seopress_cpt .tag-title,.seopress-option .tag-title,#seopress_pro_cpt .tag-title {
1389
  padding: 4px 8px;
1390
  position: relative;
1391
  top: 5px;
1400
  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);
1401
  }
1402
 
1403
+ #seopress_pro_cpt .tag-title:active,#seopress_pro_cpt .tag-title:focus,#seopress_pro_cpt .tag-title:hover,
1404
+ #seopress_cpt .tag-title:active,#seopress_cpt .tag-title:focus,#seopress_cpt .tag-title:hover,
1405
+ .seopress-option .tag-title:active,.seopress-option .tag-title:focus,.seopress-option .tag-title:hover {
1406
  background: #232323;
1407
  color: #fff;
1408
  user-select: none;
1409
  }
1410
 
1411
+ #seopress_cpt .tag-title .dashicons,.seopress-option .tag-title .dashicons, #seopress_pro_cpt .tag-title .dashicons {
1412
  padding: 0;
1413
  height: 16px;
1414
  width: 16px;
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"}.sp-tooltip{position:relative;margin-left:5px;display:inline-block;cursor:help}.sp-tooltip .dashicons{color:#666}.sp-tooltip .sp-tooltiptext{visibility:hidden;position:absolute;z-index:999999999;color:#fff;font-size:.8em;background:#333;text-align:center;width:240px;right:0;border-radius:3px;padding:.618em 1em;box-shadow:0 1px 3px rgba(0,0,0,.2);top:25px}.sp-tooltip:hover .sp-tooltiptext{visibility:visible}#seopress_content_analysis .wrap-seopress-analysis{display:inline-block;width:100%}#seopress_content_analysis .col-left{width:calc(50% - 30px);float:left;margin-right:30px}#seopress_content_analysis .col-right{float:right;width:50%}#seopress_content_analysis #seopress_suggestions{display:inline-block;width:100%;margin:0;height:auto;padding:20px 0}#seopress_content_analysis #seopress_suggestions li{list-style:none;margin:5px;display:inline-block}#seopress_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:0 0 0 -12px;position:-webkit-sticky;position:sticky;top:0}#seopress_content_analysis .ui-tabs .ui-tabs-nav{margin-top:15px}#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:90%;display:inline-block}#seopress_cpt #tabs-1 input{width:100%}#seopress_cpt #tabs-6 input[type=number]{width:30%;min-width:200px}#seopress_cpt #tabs-6 #wrap-videos .video:first-child .remove-video{display:none}#seopress_cpt select{width:300px}#seopress_cpt #tabs-4 select{width:250px;display:inline}#seopress_cpt #tabs-4 #seopress_redirections_value_meta{width:calc(100% - 258px);float:right}#seopress_cpt #tabs-6{padding:0}#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-content,#seopress_cpt #tabs-6>p{padding:0 1.4em}#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-content{padding:0 1.4em 1em}#seopress_cpt #tabs-6 #wrap-videos .video{border-top:1px solid #eee}#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-title{border-left:none;border-right:none;font-size:1em;padding:1em 1.4em}#seopress_cpt #tabs-6 #wrap-videos .video:last-child .accordion-section-content,#seopress_cpt #tabs-6 #wrap-videos .video:last-child .accordion-section-title{border-bottom:1px solid #eee}#seopress_cpt #tabs-6 #wrap-videos .video .inside{padding:0}#seopress_cpt #tabs-4 #seopress_redirections_enabled,#seopress_cpt #tabs-5 #seopress_news_disabled,#seopress_cpt #tabs-5 #seopress_news_standout,#seopress_cpt #tabs-6 #seopress_video_disabled,#seopress_cpt #tabs-6 .family-friendly label,#seopress_cpt #tabs-6 .internal_video label{font-weight:400}#seopress_cpt #tabs-6 #wrap-videos .video:nth-child(odd){background:#fdfdfd}#seopress_content_analysis .advise,#seopress_cpt .advise,#seopress_pro_cpt .advise,.seopress-option .advise{margin:5px;display:block;color:red;font-style:italic}#seopress_cpt #tabs-6 #wrap-videos .video .advise{color:#555}#seopress_content_analysis .mandatory,#seopress_cpt .mandatory{color:#c00}#seopress_cpt .box-left{float:left;width:49%;margin-right:1%}#seopress_cpt .box-right{float:left;width:49%;margin-left:1%}#seopress_cpt .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;display:flex;box-shadow:0 1px 1px rgba(0,0,0,.2);font-size:12px;justify-content:flex-end}#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;margin:0;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:-webkit-sticky;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%)}#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:inline-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:1.5rem 0px}.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-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:.9rem;text-transform:uppercase;text-align:center;border-radius:0;background:rgba(74,184,102,.9);bottom:0;right:0;z-index:500;width:100%;font-weight:700}.seopress_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:-webkit-sticky;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:-webkit-sticky;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 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}#tab_seopress_social_accounts .help-social{position:relative;right:0;width:30%}#tab_seopress_social_accounts .form-table{float:left;width:70%}
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"}.sp-tooltip{position:relative;margin-left:5px;display:inline-block;cursor:help}.sp-tooltip .dashicons{color:#666}.sp-tooltip .sp-tooltiptext{visibility:hidden;position:absolute;z-index:999999999;color:#fff;font-size:.8em;background:#333;text-align:center;width:240px;right:0;border-radius:3px;padding:.618em 1em;box-shadow:0 1px 3px rgba(0,0,0,.2);top:25px}.sp-tooltip:hover .sp-tooltiptext{visibility:visible}#seopress_content_analysis .wrap-seopress-analysis{display:inline-block;width:100%}#seopress_content_analysis .col-left{width:calc(50% - 30px);float:left;margin-right:30px}#seopress_content_analysis .col-right{float:right;width:50%}#seopress_content_analysis #seopress_suggestions{display:inline-block;width:100%;margin:0;height:auto;padding:20px 0}#seopress_content_analysis #seopress_suggestions li{list-style:none;margin:5px;display:inline-block}#seopress_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:0 0 0 -12px;position:-webkit-sticky;position:sticky;top:0}#seopress_content_analysis .ui-tabs .ui-tabs-nav{margin-top:15px}#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:90%;display:inline-block}#seopress_cpt #tabs-1 input{width:100%}#seopress_cpt #tabs-6 input[type=number]{width:30%;min-width:200px}#seopress_cpt #tabs-6 #wrap-videos .video:first-child .remove-video{display:none}#seopress_cpt select{width:300px}#seopress_cpt #tabs-4 select{width:250px;display:inline}#seopress_cpt #tabs-4 #seopress_redirections_value_meta{width:calc(100% - 258px);float:right}#seopress_cpt #tabs-6{padding:0}#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-content,#seopress_cpt #tabs-6>p{padding:0 1.4em}#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-content{padding:0 1.4em 1em}#seopress_cpt #tabs-6 #wrap-videos .video{border-top:1px solid #eee}#seopress_cpt #tabs-6 #wrap-videos .video .accordion-section-title{border-left:none;border-right:none;font-size:1em;padding:1em 1.4em}#seopress_cpt #tabs-6 #wrap-videos .video:last-child .accordion-section-content,#seopress_cpt #tabs-6 #wrap-videos .video:last-child .accordion-section-title{border-bottom:1px solid #eee}#seopress_cpt #tabs-6 #wrap-videos .video .inside{padding:0}#seopress_cpt #tabs-4 #seopress_redirections_enabled,#seopress_cpt #tabs-5 #seopress_news_disabled,#seopress_cpt #tabs-5 #seopress_news_standout,#seopress_cpt #tabs-6 #seopress_video_disabled,#seopress_cpt #tabs-6 .family-friendly label,#seopress_cpt #tabs-6 .internal_video label{font-weight:400}#seopress_cpt #tabs-6 #wrap-videos .video:nth-child(odd){background:#fdfdfd}#seopress_content_analysis .advise,#seopress_cpt .advise,#seopress_pro_cpt .advise,.seopress-option .advise{margin:5px;display:block;color:red;font-style:italic}#seopress_cpt #tabs-6 #wrap-videos .video .advise{color:#555}#seopress_content_analysis .mandatory,#seopress_cpt .mandatory{color:#c00}#seopress_cpt .box-left{float:left;width:49%;margin-right:1%}#seopress_cpt .box-right{float:left;width:49%;margin-left:1%}#seopress_cpt .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;display:flex;box-shadow:0 1px 1px rgba(0,0,0,.2);font-size:12px;justify-content:flex-end}#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;margin:0;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:-webkit-sticky;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%)}#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:inline-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:1.5rem 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_pro_cpt .tag-title,.seopress-button,.seopress-option .tag-title{cursor:pointer;font-weight:500;border-radius:4px;transition:all .3s linear}#seopress-content .feature-state-on,#seopress-content .feature-state.feature-state-on,.seopress-option .feature-state-on,.seopress-option .feature-state.feature-state-on{display:inline}#seopress-content .feature-state-off,.seopress-option .feature-state-off{display:none}.seopress-option .postbox .inside li{list-style:square inside;padding-left:5px}#tab_seopress_page_speed .inside li{list-style:none;padding-left:0;word-break:break-word}.seopress-option .log{margin:0;text-transform:uppercase;display:inline-block;vertical-align:middle;padding:5px;color:rgba(19,191,17,1);font-style:italic}.seopress-option input[type=text].seopress-admin-menu-input{min-width:inherit;width:100%}.seopress_page_seopress-import-export .postbox{width:calc(100% - 20px)}#seopress_cpt .wrap-tags,#seopress_pro_cpt .wrap-tags,.seopress-option .wrap-tags{position:relative;display:inline-block;width:100%;margin-bottom:10px}#seopress_cpt .tag-title,#seopress_pro_cpt .tag-title,.seopress-option .tag-title{padding:4px 8px;position:relative;top:5px;left:0;font-size:11px;float:left;margin-right:5px;user-select:none;margin-bottom:5px;background:#fff;color:#6b7c93;box-shadow:0 0 0 .5px rgba(50,50,93,.17),0 2px 5px 0 rgba(50,50,93,.12),0 3px 9px 0 rgba(50,50,93,.08),0 1px 1.5px 0 rgba(0,0,0,.08),0 1px 2px 0 rgba(0,0,0,.08)}#seopress_cpt .tag-title:active,#seopress_cpt .tag-title:focus,#seopress_cpt .tag-title:hover,#seopress_pro_cpt .tag-title:active,#seopress_pro_cpt .tag-title:focus,#seopress_pro_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_pro_cpt .tag-title .dashicons,.seopress-option .tag-title .dashicons{padding:0;height:16px;width:16px;font-size:16px;margin-right:5px;vertical-align:middle}.seopress-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-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:.9rem;text-transform:uppercase;text-align:center;border-radius:0;background:rgba(74,184,102,.9);bottom:0;right:0;z-index:500;width:100%;font-weight:700}.seopress_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:-webkit-sticky;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:-webkit-sticky;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 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}#tab_seopress_social_accounts .help-social{position:relative;right:0;width:30%}#tab_seopress_social_accounts .form-table{float:left;width:70%}
assets/js/seopress-cookies-ajax.js CHANGED
@@ -12,7 +12,6 @@ jQuery(document).ready(function($) {
12
  _ajax_nonce: seopressAjaxGAUserConsent.seopress_nonce,
13
  },
14
  success : function( data ) {
15
- console.log(data.data);
16
  $('.seopress-user-consent').remove();
17
  $('head').append(data.data.gtag_js);
18
  $('head').append(data.data.custom);
12
  _ajax_nonce: seopressAjaxGAUserConsent.seopress_nonce,
13
  },
14
  success : function( data ) {
 
15
  $('.seopress-user-consent').remove();
16
  $('head').append(data.data.gtag_js);
17
  $('head').append(data.data.custom);
assets/js/seopress-migrate.min.js ADDED
@@ -0,0 +1 @@
 
1
+ jQuery(document).ready(function(s){s("#seopress-yoast-migrate").on("click",function(s){s.preventDefault(),self.process_offset(0,self)}),process_offset=function(e,o){s.ajax({method:"POST",url:seopressAjaxMigrate.seopress_yoast_migrate.seopress_yoast_migration,data:{action:"seopress_yoast_migration",offset:e,_ajax_nonce:seopressAjaxMigrate.seopress_yoast_migrate.seopress_nonce},success:function(e){"done"==e.data.offset?(s("#seopress-yoast-migrate").removeAttr("disabled"),s(".spinner").css("visibility","hidden"),s("#yoast-migration-tool .log").html(seopressAjaxMigrate.i18n)):o.process_offset(parseInt(e.data.offset),o)}})},s("#seopress-yoast-migrate").on("click",function(){s(this).attr("disabled","disabled"),s("#yoast-migration-tool .spinner").css("visibility","visible"),s("#yoast-migration-tool .spinner").css("float","none"),s("#yoast-migration-tool .log").html("")}),s("#seopress-aio-migrate").on("click",function(s){s.preventDefault(),self.process_offset2(0,self)}),process_offset2=function(e,o){s.ajax({method:"POST",url:seopressAjaxMigrate.seopress_aio_migrate.seopress_aio_migration,data:{action:"seopress_aio_migration",offset2:e,_ajax_nonce:seopressAjaxMigrate.seopress_aio_migrate.seopress_nonce},success:function(e){"done"==e.data.offset2?(s("#seopress-aio-migrate").removeAttr("disabled"),s(".spinner").css("visibility","hidden"),s("#aio-migration-tool .log").html(seopressAjaxMigrate.i18n)):o.process_offset2(parseInt(e.data.offset2),o)}})},s("#seopress-aio-migrate").on("click",function(){s(this).attr("disabled","disabled"),s("#aio-migration-tool .spinner").css("visibility","visible"),s("#aio-migration-tool .spinner").css("float","none"),s("#aio-migration-tool .log").html("")}),s("#seopress-seo-framework-migrate").on("click",function(s){s.preventDefault(),self.process_offset3(0,self)}),process_offset3=function(e,o){s.ajax({method:"POST",url:seopressAjaxMigrate.seopress_seo_framework_migrate.seopress_seo_framework_migration,data:{action:"seopress_seo_framework_migration",offset3:e,_ajax_nonce:seopressAjaxMigrate.seopress_seo_framework_migrate.seopress_nonce},success:function(e){"done"==e.data.offset3?(s("#seopress-seo-framework-migrate").removeAttr("disabled"),s(".spinner").css("visibility","hidden"),s("#seo-framework-migration-tool .log").html(seopressAjaxMigrate.i18n)):o.process_offset3(parseInt(e.data.offset3),o)}})},s("#seopress-seo-framework-migrate").on("click",function(){s(this).attr("disabled","disabled"),s("#seo-framework-migration-tool .spinner").css("visibility","visible"),s("#seo-framework-migration-tool .spinner").css("float","none"),s("#seo-framework-migration-tool .log").html("")}),s("#seopress-rk-migrate").on("click",function(s){s.preventDefault(),self.process_offset4(0,self)}),process_offset4=function(e,o){s.ajax({method:"POST",url:seopressAjaxMigrate.seopress_rk_migrate.seopress_rk_migration,data:{action:"seopress_rk_migration",offset4:e,_ajax_nonce:seopressAjaxMigrate.seopress_rk_migrate.seopress_nonce},success:function(e){"done"==e.data.offset4?(s("#seopress-rk-migrate").removeAttr("disabled"),s(".spinner").css("visibility","hidden"),s("#rk-migration-tool .log").html(seopressAjaxMigrate.i18n)):o.process_offset4(parseInt(e.data.offset4),o)}})},s("#seopress-rk-migrate").on("click",function(){s(this).attr("disabled","disabled"),s("#rk-migration-tool .spinner").css("visibility","visible"),s("#rk-migration-tool .spinner").css("float","none"),s("#rk-migration-tool .log").html("")})});
inc/admin/admin-metaboxes-form.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
-
3
  defined( 'ABSPATH' ) or die( 'Please don&rsquo;t call the plugin directly. Thanks :)' );
4
 
5
  global $typenow;
6
  global $pagenow;
 
7
  $data_tax = '';
8
 
9
  if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) {
@@ -52,404 +52,427 @@ if ( $pagenow =='term.php' || $pagenow =='edit-tags.php') {
52
  }
53
 
54
  echo '<div id="seopress-tabs" data_id="'.$current_id.'" data_origin="'.$origin.'" data_tax="'.$data_tax.'">';
55
- echo'<ul>';
56
- if ("seopress_404" != $typenow) {
57
- echo '<li><a href="#tabs-1"><span class="dashicons dashicons-editor-table"></span>'. __( 'Titles settings', 'wp-seopress' ) .'</a></li>
58
- <li><a href="#tabs-2"><span class="dashicons dashicons-admin-generic"></span>'. __( 'Advanced', 'wp-seopress' ) .'</a></li>
59
- <li><a href="#tabs-3"><span class="dashicons dashicons-share"></span>'. __( 'Social', 'wp-seopress' ) .'</a></li>';
60
- }
61
- echo '<li><a href="#tabs-4"><span class="dashicons dashicons-admin-links"></span>'. __( 'Redirection', 'wp-seopress' ) .'</a></li>';
62
- if (is_plugin_active( 'wp-seopress-pro/seopress-pro.php' )) {
63
- if (function_exists('seopress_get_toggle_news_option') && seopress_get_toggle_news_option() =='1') {
64
- if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) {
65
- if ("seopress_404" != $typenow) {
66
- echo '<li><a href="#tabs-5"><span class="dashicons dashicons-admin-post"></span>'. __( 'Google News', 'wp-seopress' ) .'</a></li>';
67
- }
68
- }
69
- }
70
- if (function_exists('seopress_get_toggle_xml_sitemap_option') && seopress_get_toggle_xml_sitemap_option() =='1') {
71
- if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) {
72
- if ("seopress_404" != $typenow) {
73
- echo '<li><a href="#tabs-6"><span class="dashicons dashicons-format-video"></span>'. __( 'Video Sitemap', 'wp-seopress' ) .'</a></li>';
74
- }
75
  }
76
  }
77
  }
78
- echo '</ul>';
79
-
80
- if ("seopress_404" != $typenow) {
81
- echo '<div id="tabs-1">';
82
- if (is_plugin_active( 'woocommerce/woocommerce.php' )) {
83
- $shop_page_id = wc_get_page_id( 'shop' );
84
  if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) {
85
- if ( $post && absint( $shop_page_id ) === absint( $post->ID ) ) {
86
- echo '<p class="notice notice-info">'.__('This is your <strong>Shop page</strong>. Go to <strong>SEO > Titles & Metas > Archives > Products</strong> ','wp-seopress').' <a href="'.admin_url( 'admin.php?page=seopress-titles' ).'">'.__('to edit your title and meta description','wp-seopress').'</a></p>';
87
  }
88
  }
89
  }
90
- echo '<div class="box-left">
91
- <p style="margin-bottom:0">
92
- <label for="seopress_titles_title_meta">'. __( 'Title', 'wp-seopress' ) .'</label>
93
- <input id="seopress_titles_title_meta" type="text" name="seopress_titles_title" placeholder="'.esc_html__('Enter your title','wp-seopress').'" aria-label="'.__('Title','wp-seopress').'" value="'.$seopress_titles_title.'" />
94
- </p>
95
- <div class="wrap-seopress-counters">
96
- <div id="seopress_titles_title_pixel"></div>
97
- <strong>'.__(' / 568 pixels - ','wp-seopress').'</strong>
98
- <div id="seopress_titles_title_counters"></div>
99
- '.__(' (maximum recommended limit)','wp-seopress').'
100
- </div>
101
-
102
- <div class="wrap-tags">
103
- <span id="seopress-tag-single-title" data-tag="%%post_title%%" class="tag-title"><span class="dashicons dashicons-plus"></span>'.__('Post Title','wp-seopress').'</span>
104
 
105
- <span id="seopress-tag-single-site-title" data-tag="%%sitetitle%%" class="tag-title"><span class="dashicons dashicons-plus"></span>'.__('Site Title','wp-seopress').'</span>
106
 
107
- <span id="seopress-tag-single-sep" data-tag="%%sep%%" class="tag-title"><span class="dashicons dashicons-plus"></span>'.__('Separator','wp-seopress').'</span>
108
- </div>
 
 
 
 
 
109
 
110
- <p style="margin-bottom:0">
111
- <label for="seopress_titles_desc_meta">'. __( 'Meta description', 'wp-seopress' ) .'</label>
112
- <textarea id="seopress_titles_desc_meta" style="width:100%" rows="8" name="seopress_titles_desc" placeholder="'.esc_html__('Enter your meta description','wp-seopress').'" aria-label="'.__('Meta description','wp-seopress').'" value="'.$seopress_titles_desc.'">'.$seopress_titles_desc.'</textarea>
113
- </p>
114
- <div class="wrap-seopress-counters">
115
- <div id="seopress_titles_desc_pixel"></div>
116
- <strong>'.__(' / 940 pixels - ','wp-seopress').'</strong>
117
- <div id="seopress_titles_desc_counters"></div>
118
- '.__(' (maximum recommended limit)','wp-seopress').'
119
- </div>';
120
- if ( $pagenow =='term.php' || $pagenow =='edit-tags.php') {
121
- echo '<div class="wrap-tags">
122
- <span id="seopress-tag-single-excerpt" data-tag="%%_category_description%%" class="tag-title"><span class="dashicons dashicons-plus"></span>'.__('Category / term description','wp-seopress').'</span>
123
- </div>';
124
- } else {
125
- echo '<div class="wrap-tags">
126
- <span id="seopress-tag-single-excerpt" data-tag="%%post_excerpt%%" class="tag-title"><span class="dashicons dashicons-plus"></span>'.__('Post Excerpt','wp-seopress').'</span>
127
- </div>';
128
- }
129
- echo '</div>
130
- <div class="box-right">
131
- <div class="google-snippet-preview">
132
- <h3>'.__('Google Snippet Preview','wp-seopress').'</h3>
133
- <p>'.__('This is what your page will look like in Google search results. You have to publish your post to get the Google Snippet Preview.','wp-seopress').'</p>
134
- <div class="snippet-title"></div>
135
- <div class="snippet-title-custom" style="display:none"></div>';
136
- global $tag;
137
- if (get_the_title()) {
138
- echo '<div class="snippet-title-default" style="display:none">'.get_the_title().' - '.get_bloginfo('name').'</div>
139
- <div class="snippet-permalink">'.htmlspecialchars(urldecode(get_permalink())).'</div>';
140
- } elseif ($tag) {
141
- echo '<div class="snippet-title-default" style="display:none">'.$tag->name.' - '.get_bloginfo('name').'</div>';
142
- echo '<div class="snippet-permalink">'.htmlspecialchars(urldecode(get_term_link($tag))).'</div>';
143
- }
144
 
145
- if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) {
146
- echo seopress_display_date_snippet();
147
- }
148
- echo '<div class="snippet-description">...</div>
149
- <div class="snippet-description-custom" style="display:none"></div>
150
- <div class="snippet-description-default" style="display:none"></div>';
151
- echo '</div>
152
- </div>
153
- </div>
154
- <div id="tabs-2">
155
- <p>
156
- <label for="seopress_robots_index_meta">
157
- <input type="checkbox" name="seopress_robots_index" id="seopress_robots_index_meta" value="yes" '. checked( $seopress_robots_index, 'yes', false ) .' '.$disabled['robots_index'].'/>
158
- '. __( 'Do not display this page in search engine results / XML - HTML sitemaps <strong>(noindex)</strong>', 'wp-seopress' ) .'
159
- </label>
160
- </p>
161
- <p>
162
- <label for="seopress_robots_follow_meta">
163
- <input type="checkbox" name="seopress_robots_follow" id="seopress_robots_follow_meta" value="yes" '. checked( $seopress_robots_follow, 'yes', false ) .' '.$disabled['robots_follow'].'/>
164
- '. __( 'Do not follow links for this page <strong>(nofollow)</strong>', 'wp-seopress' ) .'
165
- </label>
166
- </p>
167
- <p>
168
- <label for="seopress_robots_odp_meta">
169
- <input type="checkbox" name="seopress_robots_odp" id="seopress_robots_odp_meta" value="yes" '. checked( $seopress_robots_odp, 'yes', false ) .' '.$disabled['robots_odp'].'/>
170
- '. __( 'Do not use Open Directory project metadata for titles or excerpts for this page <strong>(noodp)</strong>', 'wp-seopress' ) .'
171
- </label>
172
- </p>
173
- <p>
174
- <label for="seopress_robots_imageindex_meta">
175
- <input type="checkbox" name="seopress_robots_imageindex" id="seopress_robots_imageindex_meta" value="yes" '. checked( $seopress_robots_imageindex, 'yes', false ) .' '.$disabled['imageindex'].'/>
176
- '. __( 'Do not index images for this page <strong>(noimageindex)</strong>', 'wp-seopress' ) .'
177
- </label>
178
- </p>
179
- <p>
180
- <label for="seopress_robots_archive_meta">
181
- <input type="checkbox" name="seopress_robots_archive" id="seopress_robots_archive_meta" value="yes" '. checked( $seopress_robots_archive, 'yes', false ) .' '.$disabled['archive'].'/>
182
- '. __( 'Do not display a "Cached" link in the Google search results <strong>(noarchive)</strong>', 'wp-seopress' ) .'
183
- </label>
184
- </p>
185
- <p>
186
- <label for="seopress_robots_snippet_meta">
187
- <input type="checkbox" name="seopress_robots_snippet" id="seopress_robots_snippet_meta" value="yes" '. checked( $seopress_robots_snippet, 'yes', false ) .' '.$disabled['snippet'].'/>
188
- '. __( 'Do not display a description in search results for this page <strong>(nosnippet)</strong>', 'wp-seopress' ) .'
189
- </label>
190
- </p>
191
- <p class="description">
192
- '.__('You cannot uncheck a parameter? This is normal, and it\'s most likely defined in the global settings of the extension.','wp-seopress').'
193
- </p>
194
- <p>
195
- <label for="seopress_robots_canonical_meta">'. __( 'Canonical URL', 'wp-seopress' ) .'</label>
196
- <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.'" />
197
- <span class="sp-tooltip"><span class="dashicons dashicons-editor-help"></span>
198
- <span class="sp-tooltiptext">'.__('A canonical URL is the URL of the page that Google thinks is most representative from a set of duplicate pages on your site. For example, if you have URLs for the same page (for example: example.com?dress=1234 and example.com/dresses/1234), Google chooses one as canonical. Note that the pages do not need to be absolutely identical; minor changes in sorting or filtering of list pages do not make the page unique (for example, sorting by price or filtering by item color).
199
- The canonical can be in a different domain than a duplicate.','wp-seopress').'</span>
200
- </span>
201
- </p>';
202
 
203
- if ($typenow =='post' && ($pagenow == 'post.php' || $pagenow == 'post-new.php')) {
204
- echo '<p>
205
- <label for="seopress_robots_primary_cat_meta">'. __( 'Select a primary category', 'wp-seopress' ) .'</label>
206
- <span class="description">'.__('Set the category that gets used in the %category% permalink if you have multiple categories.','wp-seopress').'</p>
207
- <select name="seopress_robots_primary_cat">';
208
 
209
- $cats = get_categories();
210
- if (!empty($cats)) {
211
- echo '<option '. selected( 'none', $seopress_robots_primary_cat, false ).' value="none">'.__('None (will disable this feature)','wp-seopress').'</option>';
212
- foreach ($cats as $category) {
213
- echo '<option '.selected( $category->term_id, $seopress_robots_primary_cat, false ).' value="'.$category->term_id.'">'. $category->name .'</option>';
 
 
 
 
 
 
 
 
 
 
 
 
 
214
  }
215
- }
216
- echo '</select>
217
- </p>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
218
  }
219
- if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) {
220
- if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
221
- echo '<p>
222
- <label for="seopress_robots_breadcrumbs_meta">'. __( 'Custom breadcrumbs', 'wp-seopress' ) .'</label>
223
- <input id="seopress_robots_breadcrumbs_meta" type="text" name="seopress_robots_breadcrumbs" placeholder="'.esc_html__('Enter a custom value, useful if your title is too long','wp-seopress').'" aria-label="'.__('Custom breadcrumbs','wp-seopress').'" value="'.$seopress_robots_breadcrumbs.'" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
224
  </p>';
225
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
226
  }
227
- echo '</div>
228
- <div id="tabs-3">
229
- <span class="dashicons dashicons-facebook-alt"></span>
230
- <br><br>
231
- <span class="dashicons dashicons-external"></span><a href="https://developers.facebook.com/tools/debug/sharing/?q='.get_permalink(get_the_id()).'" target="_blank">'.__('Ask Facebook to update his cache','wp-seopress').'</a>
232
- <p>
233
- <label for="seopress_social_fb_title_meta">'. __( 'Facebook Title', 'wp-seopress' ) .'</label>
234
- <input id="seopress_social_fb_title_meta" type="text" name="seopress_social_fb_title" placeholder="'.esc_html__('Enter your Facebook title','wp-seopress').'" aria-label="'.__('Facebook Title','wp-seopress').'" value="'.$seopress_social_fb_title.'" />
235
- </p>
236
- <p>
237
- <label for="seopress_social_fb_desc_meta">'. __( 'Facebook description', 'wp-seopress' ) .'</label>
238
- <textarea id="seopress_social_fb_desc_meta" name="seopress_social_fb_desc" placeholder="'.esc_html__('Enter your Facebook description','wp-seopress').'" aria-label="'.__('Facebook description','wp-seopress').'" value="'.$seopress_social_fb_desc.'">'.$seopress_social_fb_desc.'</textarea>
239
- </p>
240
- <p>
241
- <label for="seopress_social_fb_img_meta">'. __( 'Facebook Thumbnail', 'wp-seopress' ) .'</label>
242
- <input id="seopress_social_fb_img_meta" type="text" name="seopress_social_fb_img" placeholder="'.esc_html__('Select your default thumbnail','wp-seopress').'" aria-label="'.__('Facebook Thumbnail','wp-seopress').'" value="'.$seopress_social_fb_img.'" />
243
- <span class="advise">'.__('Minimum size: 200x200px, ideal ratio 1.91:1, 8Mb max. (eg: 1640x856px or 3280x1712px for retina screens)', 'wp-seopress').'</span>
244
- <input id="seopress_social_fb_img_upload" class="button" type="button" value="'.__('Upload an Image','wp-seopress').'" />
245
- </p>
246
- <br/>
247
- <span class="dashicons dashicons-twitter"></span>
248
- <br><br>
249
- <span class="dashicons dashicons-external"></span><a href="https://cards-dev.twitter.com/validator" target="_blank">'.__('Preview your Twitter card using the official validator','wp-seopress').'</a>
250
- <p>
251
- <label for="seopress_social_twitter_title_meta">'. __( 'Twitter Title', 'wp-seopress' ) .'</label>
252
- <input id="seopress_social_twitter_title_meta" type="text" name="seopress_social_twitter_title" placeholder="'.esc_html__('Enter your Twitter title','wp-seopress').'" aria-label="'.__('Twitter Title','wp-seopress').'" value="'.$seopress_social_twitter_title.'" />
253
- </p>
254
- <p>
255
- <label for="seopress_social_twitter_desc_meta">'. __( 'Twitter description', 'wp-seopress' ) .'</label>
256
- <textarea id="seopress_social_twitter_desc_meta" name="seopress_social_twitter_desc" placeholder="'.esc_html__('Enter your Twitter description','wp-seopress').'" aria-label="'.__('Twitter description','wp-seopress').'" value="'.$seopress_social_twitter_desc.'">'.$seopress_social_twitter_desc.'</textarea>
257
- </p>
258
- <p>
259
- <label for="seopress_social_twitter_img_meta">'. __( 'Twitter Thumbnail', 'wp-seopress' ) .'</label>
260
- <input id="seopress_social_twitter_img_meta" type="text" name="seopress_social_twitter_img" placeholder="'.esc_html__('Select your default thumbnail','wp-seopress').'" value="'.$seopress_social_twitter_img.'" />
261
- <span class="advise">'. __('Minimum size: 144x144px (300x157px with large card enabled), ideal ratio 1:1 (2:1 with large card), 5Mb max.', 'wp-seopress') .'</span>
262
- <input id="seopress_social_twitter_img_upload" class="button" type="button" aria-label="'.__('Twitter Thumbnail','wp-seopress').'" value="'.__('Upload an Image','wp-seopress').'" />
263
- </p>
264
- </div>';
265
  }
266
 
267
- echo '<div id="tabs-4">
268
- <p>
269
- <label for="seopress_redirections_enabled_meta" id="seopress_redirections_enabled">
270
- <input type="checkbox" name="seopress_redirections_enabled" id="seopress_redirections_enabled_meta" value="yes" '. checked( $seopress_redirections_enabled, 'yes', false ) .' />
271
- '. __( 'Enable redirection?', 'wp-seopress' ) .'
272
- </label>
273
- </p>
274
- <p>
275
- <label for="seopress_redirections_value_meta">'. __( 'URL redirection', 'wp-seopress' ) .'</label>
276
- <select name="seopress_redirections_type">
277
- <option ' . selected( '301', $seopress_redirections_type, false ) . ' value="301">'. __( '301 Moved Permanently', 'wp-seopress' ) .'</option>
278
- <option ' . selected( '302', $seopress_redirections_type, false ) . ' value="302">'. __( '302 Found / Moved Temporarily', 'wp-seopress' ) .'</option>
279
- <option ' . selected( '307', $seopress_redirections_type, false ) . ' value="307">'. __( '307 Moved Temporarily', 'wp-seopress' ) .'</option>
280
- <option ' . selected( '410', $seopress_redirections_type, false ) . ' value="410">'. __( '410 Gone', 'wp-seopress' ) .'</option>
281
- <option ' . selected( '451', $seopress_redirections_type, false ) . ' value="451">'. __( '451 Unavailable For Legal Reasons', 'wp-seopress' ) .'</option>
282
- </select>
283
- <input id="seopress_redirections_value_meta" type="text" name="seopress_redirections_value" placeholder="'.esc_html__('Enter your new URL in absolute (eg: https://www.example.com/)','wp-seopress').'" aria-label="'.__('URL redirection','wp-seopress').'" value="'.$seopress_redirections_value.'" />
284
- <br><br>
285
- </p>';
286
- if ("seopress_404" == $typenow) {
287
- echo '<p>
288
- <label for="seopress_redirections_param_meta">'. __( 'Query parameters', 'wp-seopress' ) .'</label>
289
- <select name="seopress_redirections_param">
290
- <option ' . selected( 'exact_match', $seopress_redirections_param, false ) . ' value="exact_match">'. __( 'Exactly match all parameters', 'wp-seopress' ) .'</option>
291
- <option ' . selected( 'without_param', $seopress_redirections_param, false ) . ' value="without_param">'. __( 'Exclude all parameters', 'wp-seopress' ) .'</option>
292
- <option ' . selected( 'with_ignored_param', $seopress_redirections_param, false ) . ' value="with_ignored_param">'. __( 'Exclude all parameters and pass them to the redirection', 'wp-seopress' ) .'</option>
293
- </select></p>';
294
- }
295
- echo '<p>';
296
- if ($seopress_redirections_enabled =='yes') {
297
- $status_code = array('410','451');
298
- if ($seopress_redirections_value !='' || in_array($seopress_redirections_type, $status_code)) {
299
- if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) {
300
- if ( 'seopress_404' == $typenow ) {
301
- echo '<a href="'.get_home_url().'/'.get_the_title().'" id="seopress_redirections_value_default" class="button" target="_blank">'.__('Test your URL','wp-seopress').'</a>';
 
 
 
 
 
 
302
  } else {
303
  echo '<a href="'.get_permalink().'" id="seopress_redirections_value_default" class="button" target="_blank">'.__('Test your URL','wp-seopress').'</a>';
304
  }
305
- } elseif ( $pagenow == 'term.php' ) {
306
- echo '<a href="'.get_term_link($term).'" id="seopress_redirections_value_default" class="button" target="_blank">'.__('Test your URL','wp-seopress').'</a>';
307
- } else {
308
- echo '<a href="'.get_permalink().'" id="seopress_redirections_value_default" class="button" target="_blank">'.__('Test your URL','wp-seopress').'</a>';
309
  }
310
  }
311
- }
312
 
313
- if (function_exists('seopress_get_locale')) {
314
- if (seopress_get_locale() =='fr') {
315
- $seopress_docs_link['support']['redirection'] = 'https://www.seopress.org/fr/support/guides/activer-redirections-301-surveillance-404/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
316
- } else {
317
- $seopress_docs_link['support']['redirection'] = 'https://www.seopress.org/support/guides/redirections/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
318
  }
319
- }
320
- ?>
321
- <span class="dashicons dashicons-external"></span>
322
- <a href="<?php echo $seopress_docs_link['support']['redirection']; ?>" target="_blank" class="seopress-doc"><?php _e('Need help with your redirections? Read our guide.','wp-seopress'); ?></a>
323
- <?php echo
324
- '</p>
325
- </div>';
326
- if (is_plugin_active( 'wp-seopress-pro/seopress-pro.php' )) {
327
- if (function_exists('seopress_get_toggle_news_option') && seopress_get_toggle_news_option() =='1') {
328
- if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) {
329
- if ("seopress_404" != $typenow) {
330
- echo '<div id="tabs-5">
331
- <p>
332
- <label for="seopress_news_disabled_meta" id="seopress_news_disabled">
333
- <input type="checkbox" name="seopress_news_disabled" id="seopress_news_disabled_meta" value="yes" '. checked( $seopress_news_disabled, 'yes', false ) .' />
334
- '. __( 'Exclude this post from Google News Sitemap?', 'wp-seopress' ) .'
335
- </label>
336
- </p>
337
- </div>';
338
  }
339
  }
340
- }
341
- if (function_exists('seopress_get_toggle_xml_sitemap_option') && seopress_get_toggle_xml_sitemap_option() =='1') {
342
- if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) {
343
- if ("seopress_404" != $typenow) {
344
 
345
- //Init $seopress_video array if empty
346
- if (empty($seopress_video)) {
347
- $seopress_video = array('0' => array(''));
348
- }
349
 
350
- $count = $seopress_video[0];
351
- end($count);
352
- $total = key($count);
353
 
354
- echo '<div id="tabs-6">
355
- <p>
356
- <label for="seopress_video_disabled_meta" id="seopress_video_disabled">
357
- <input type="checkbox" name="seopress_video_disabled" id="seopress_video_disabled_meta" value="yes" '. checked( $seopress_video_disabled, 'yes', false ) .' />
358
- '. __( 'Exclude this post from Video Sitemap?', 'wp-seopress' ) .'
359
- </label>
360
- <span class="advise">'. __('If your post is set to noindex, it will be automatically excluded from the sitemap.', 'wp-seopress') .'</span>
361
- </p>
362
- <div id="wrap-videos" data-count="'.$total.'">';
363
- foreach ($seopress_video[0] as $key => $value) {
 
364
 
365
- $check_url = isset($seopress_video[0][$key]["url"]) ? $seopress_video[0][$key]["url"] : NULL;
366
- $check_internal_video = isset($seopress_video[0][$key]["internal_video"]) ? $seopress_video[0][$key]["internal_video"] : NULL;
367
- $check_title = isset($seopress_video[0][$key]["title"]) ? $seopress_video[0][$key]["title"] : NULL;
368
- $check_desc = isset($seopress_video[0][$key]["desc"]) ? $seopress_video[0][$key]["desc"] : NULL;
369
- $check_thumbnail = isset($seopress_video[0][$key]["thumbnail"]) ? $seopress_video[0][$key]["thumbnail"] : NULL;
370
- $check_duration = isset($seopress_video[0][$key]["duration"]) ? $seopress_video[0][$key]["duration"] : NULL;
371
- $check_rating = isset($seopress_video[0][$key]["rating"]) ? $seopress_video[0][$key]["rating"] : NULL;
372
- $check_view_count = isset($seopress_video[0][$key]["view_count"]) ? $seopress_video[0][$key]["view_count"] : NULL;
373
- $check_view_count = isset($seopress_video[0][$key]["view_count"]) ? $seopress_video[0][$key]["view_count"] : NULL;
374
- $check_tag = isset($seopress_video[0][$key]["tag"]) ? $seopress_video[0][$key]["tag"] : NULL;
375
- $check_cat = isset($seopress_video[0][$key]["cat"]) ? $seopress_video[0][$key]["cat"] : NULL;
376
- $check_family_friendly = isset($seopress_video[0][$key]["family_friendly"]) ? $seopress_video[0][$key]["family_friendly"] : NULL;
377
 
378
- echo '<div class="video">
379
- <h3 class="accordion-section-title" tabindex="0">'.__('Video ','wp-seopress').$check_title.'</h3>
380
- <div class="accordion-section-content">
381
- <div class="inside">
382
- <p>
383
- <label for="seopress_video['.$key.'][url_meta]">'. __( 'Video URL (required)', 'wp-seopress' ) .'</label>
384
- <input id="seopress_video['.$key.'][url_meta]" type="text" name="seopress_video['.$key.'][url]" placeholder="'.esc_html__('Enter your video URL','wp-seopress').'" aria-label="'.__('Video URL','wp-seopress').'" value="'.$check_url.'" />
385
- </p>
386
- <p class="internal_video">
387
- <label for="seopress_video['.$key.'][internal_video_meta]" id="seopress_video['.$key.'][internal_video]">
388
- <input type="checkbox" name="seopress_video['.$key.'][internal_video]" id="seopress_video['.$key.'][internal_video_meta]" value="yes" '. checked( $check_internal_video, 'yes', false ) .' />
389
- '. __( 'NOT an external video (eg: video hosting on YouTube, Vimeo, Wistia...)? Check this if your video is hosting on this server.', 'wp-seopress' ) .'
390
- </label>
391
- </p>
392
- <p>
393
- <label for="seopress_video['.$key.'][title_meta]">'. __( 'Video Title (required)', 'wp-seopress' ) .'</label>
394
- <input id="seopress_video['.$key.'][title_meta]" type="text" name="seopress_video['.$key.'][title]" placeholder="'.esc_html__('Enter your video title','wp-seopress').'" aria-label="'.__('Video title','wp-seopress').'" value="'.$check_title.'" />
395
- <span class="advise">'. __('Default: title tag, if not available, post title.', 'wp-seopress') .'</span>
396
- </p>
397
- <p>
398
- <label for="seopress_video['.$key.'][desc_meta]">'. __( 'Video Description (required)', 'wp-seopress' ) .'</label>
399
- <textarea id="seopress_video['.$key.'][desc_meta]" name="seopress_video['.$key.'][desc]" placeholder="'.esc_html__('Enter your video description','wp-seopress').'" aria-label="'.__('Video description','wp-seopress').'" value="'.$check_desc.'">'.$check_desc.'</textarea>
400
- <span class="advise">'. __('2048 characters max.; default: meta description. If not available, use the beginning of the post content.', 'wp-seopress') .'</span>
401
- </p>
402
- <p>
403
- <label for="seopress_video['.$key.'][thumbnail_meta]">'. __( 'Video Thumbnail (required)', 'wp-seopress' ) .'</label>
404
- <input id="seopress_video['.$key.'][thumbnail_meta]" class="seopress_video_thumbnail_meta" type="text" name="seopress_video['.$key.'][thumbnail]" placeholder="'.esc_html__('Select your video thumbnail','wp-seopress').'" value="'.$check_thumbnail.'" />
405
- <input class="button seopress_video_thumbnail_upload" type="button" aria-label="'.__('Video Thumbnail','wp-seopress').'" value="'.__('Upload an Image','wp-seopress').'" />
406
- <span class="advise">'. __('Minimum size: 160x90px (1920x1080 max), JPG, PNG or GIF formats. Default: your post featured image.', 'wp-seopress') .'</span>
407
- </p>
408
- <p>
409
- <label for="seopress_video['.$key.'][duration_meta]">'. __( 'Video Duration (recommended)', 'wp-seopress' ) .'</label>
410
- <input id="seopress_video['.$key.'][duration_meta]" type="number" step="1" min="0" max="28800" name="seopress_video['.$key.'][duration]" placeholder="'.esc_html__('Duration in seconds','wp-seopress').'" aria-label="'.__('Video duration','wp-seopress').'" value="'.$check_duration.'" />
411
- <span class="advise">'. __('The duration of the video in seconds. Value must be between 0 and 28800 (8 hours).', 'wp-seopress') .'</span>
412
- </p>
413
- <p>
414
- <label for="seopress_video['.$key.'][rating_meta]">'. __( 'Video Rating', 'wp-seopress' ) .'</label>
415
- <input id="seopress_video['.$key.'][rating_meta]" type="number" step="0.1" min="0" max="5" name="seopress_video['.$key.'][rating]" placeholder="'.esc_html__('Video rating','wp-seopress').'" aria-label="'.__('Video rating','wp-seopress').'" value="'.$check_rating.'" />
416
- <span class="advise">'. __('Allowed values are float numbers in the range 0.0 to 5.0.', 'wp-seopress') .'</span>
417
- </p>
418
- <p>
419
- <label for="seopress_video['.$key.'][view_count_meta]">'. __( 'View count', 'wp-seopress' ) .'</label>
420
- <input id="seopress_video['.$key.'][view_count_meta]" type="number" name="seopress_video['.$key.'][view_count]" placeholder="'.esc_html__('Number of views','wp-seopress').'" aria-label="'.__('View count','wp-seopress').'" value="'.$check_view_count.'" />
421
- </p>
422
- <p>
423
- <label for="seopress_video['.$key.'][tag_meta]">'. __( 'Video tags', 'wp-seopress' ) .'</label>
424
- <input id="seopress_video['.$key.'][tag_meta]" type="text" name="seopress_video['.$key.'][tag]" placeholder="'.esc_html__('Enter your video tags','wp-seopress').'" aria-label="'.__('Video tags','wp-seopress').'" value="'.$check_tag.'" />
425
- <span class="advise">'. __('32 tags max., separate tags with commas. Default: target keywords + post tags if available.', 'wp-seopress') .'</span>
426
- </p>
427
- <p>
428
- <label for="seopress_video['.$key.'][cat_meta]">'. __( 'Video categories', 'wp-seopress' ) .'</label>
429
- <input id="seopress_video['.$key.'][cat_meta]" type="text" name="seopress_video['.$key.'][cat]" placeholder="'.esc_html__('Enter your video categories','wp-seopress').'" aria-label="'.__('Video categories','wp-seopress').'" value="'.$check_cat.'" />
430
- <span class="advise">'. __('256 characters max., usually a video will belong to a single category, separate categories with commas. Default: first post category if available.', 'wp-seopress') .'</span>
431
- </p>
432
- <p class="family-friendly">
433
- <label for="seopress_video['.$key.'][family_friendly_meta]" id="seopress_video['.$key.'][family_friendly]">
434
- <input type="checkbox" name="seopress_video['.$key.'][family_friendly]" id="seopress_video['.$key.'][family_friendly_meta]" value="yes" '. checked( $check_family_friendly, 'yes', false ) .' />
435
- '. __( 'NOT family friendly?', 'wp-seopress' ) .'
436
- </label>
437
- <span class="advise">'. __('The video will be available only to users with SafeSearch turned off.', 'wp-seopress') .'</span>
438
- </p>
439
- <p><a href="#" class="remove-video button">'.__('Remove video','wp-seopress').'</a></p>
 
 
440
  </div>
441
- </div>
442
- </div>
443
- ';
 
 
444
  }
445
- echo '</div>
446
- <p><a href="#" id="add-video" class="add-video button button-primary">'.__('Add video','wp-seopress').'</a></p>
447
- </div>';
448
  }
449
  }
450
  }
451
- }
452
- echo '</div>';
453
 
454
  if ( $pagenow =='term.php' || $pagenow =='edit-tags.php') {
455
  echo '</div>';
@@ -457,3 +480,4 @@ if ( $pagenow =='term.php' || $pagenow =='edit-tags.php') {
457
  echo '</td>';
458
  echo '</tr>';
459
  }
 
1
  <?php
 
2
  defined( 'ABSPATH' ) or die( 'Please don&rsquo;t call the plugin directly. Thanks :)' );
3
 
4
  global $typenow;
5
  global $pagenow;
6
+
7
  $data_tax = '';
8
 
9
  if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) {
52
  }
53
 
54
  echo '<div id="seopress-tabs" data_id="'.$current_id.'" data_origin="'.$origin.'" data_tax="'.$data_tax.'">';
55
+
56
+ if ("seopress_404" != $typenow) {
57
+ $seo_tabs['title-tab'] = '<li><a href="#tabs-1"><span class="dashicons dashicons-editor-table"></span>'. __( 'Titles settings', 'wp-seopress' ) .'</a></li>';
58
+ $seo_tabs['advanced-tab'] = '<li><a href="#tabs-2"><span class="dashicons dashicons-admin-generic"></span>'. __( 'Advanced', 'wp-seopress' ) .'</a></li>';
59
+ $seo_tabs['social-tab'] = '<li><a href="#tabs-3"><span class="dashicons dashicons-share"></span>'. __( 'Social', 'wp-seopress' ) .'</a></li>';
60
+ }
61
+
62
+ $seo_tabs['redirect-tab'] = '<li><a href="#tabs-4"><span class="dashicons dashicons-admin-links"></span>'. __( 'Redirection', 'wp-seopress' ) .'</a></li>';
63
+
64
+ if (is_plugin_active( 'wp-seopress-pro/seopress-pro.php' )) {
65
+ if (function_exists('seopress_get_toggle_news_option') && seopress_get_toggle_news_option() =='1') {
66
+ if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) {
67
+ if ("seopress_404" != $typenow) {
68
+ $seo_tabs['news-tab'] = '<li><a href="#tabs-5"><span class="dashicons dashicons-admin-post"></span>'. __( 'Google News', 'wp-seopress' ) .'</a></li>';
 
 
 
 
 
 
69
  }
70
  }
71
  }
72
+ if (function_exists('seopress_get_toggle_xml_sitemap_option') && seopress_get_toggle_xml_sitemap_option() =='1') {
 
 
 
 
 
73
  if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) {
74
+ if ("seopress_404" != $typenow) {
75
+ $seo_tabs['video-tab'] = '<li><a href="#tabs-6"><span class="dashicons dashicons-format-video"></span>'. __( 'Video Sitemap', 'wp-seopress' ) .'</a></li>';
76
  }
77
  }
78
  }
79
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
80
 
81
+ $seo_tabs = apply_filters('seopress_metabox_seo_tabs', $seo_tabs);
82
 
83
+ if (!empty($seo_tabs)) {
84
+ echo'<ul>';
85
+ foreach($seo_tabs as $tab) {
86
+ echo $tab;
87
+ }
88
+ echo '</ul>';
89
+ }
90
 
91
+ if ("seopress_404" != $typenow) {
92
+ if (array_key_exists('title-tab', $seo_tabs)) {
93
+ echo '<div id="tabs-1">';
94
+ if (is_plugin_active( 'woocommerce/woocommerce.php' )) {
95
+ $shop_page_id = wc_get_page_id( 'shop' );
96
+ if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) {
97
+ if ( $post && absint( $shop_page_id ) === absint( $post->ID ) ) {
98
+ echo '<p class="notice notice-info">'.__('This is your <strong>Shop page</strong>. Go to <strong>SEO > Titles & Metas > Archives > Products</strong> ','wp-seopress').' <a href="'.admin_url( 'admin.php?page=seopress-titles' ).'">'.__('to edit your title and meta description','wp-seopress').'</a></p>';
99
+ }
100
+ }
101
+ }
102
+ echo '<div class="box-left">
103
+ <p style="margin-bottom:0">
104
+ <label for="seopress_titles_title_meta">'. __( 'Title', 'wp-seopress' ) .'</label>
105
+ <input id="seopress_titles_title_meta" type="text" name="seopress_titles_title" placeholder="'.esc_html__('Enter your title','wp-seopress').'" aria-label="'.__('Title','wp-seopress').'" value="'.$seopress_titles_title.'" />
106
+ </p>
107
+ <div class="wrap-seopress-counters">
108
+ <div id="seopress_titles_title_pixel"></div>
109
+ <strong>'.__(' / 568 pixels - ','wp-seopress').'</strong>
110
+ <div id="seopress_titles_title_counters"></div>
111
+ '.__(' (maximum recommended limit)','wp-seopress').'
112
+ </div>
113
+
114
+ <div class="wrap-tags">
115
+ <span id="seopress-tag-single-title" data-tag="%%post_title%%" class="tag-title"><span class="dashicons dashicons-plus"></span>'.__('Post Title','wp-seopress').'</span>
 
 
 
 
 
 
 
 
 
116
 
117
+ <span id="seopress-tag-single-site-title" data-tag="%%sitetitle%%" class="tag-title"><span class="dashicons dashicons-plus"></span>'.__('Site Title','wp-seopress').'</span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
 
119
+ <span id="seopress-tag-single-sep" data-tag="%%sep%%" class="tag-title"><span class="dashicons dashicons-plus"></span>'.__('Separator','wp-seopress').'</span>
120
+ </div>
 
 
 
121
 
122
+ <p style="margin-bottom:0">
123
+ <label for="seopress_titles_desc_meta">'. __( 'Meta description', 'wp-seopress' ) .'</label>
124
+ <textarea id="seopress_titles_desc_meta" style="width:100%" rows="8" name="seopress_titles_desc" placeholder="'.esc_html__('Enter your meta description','wp-seopress').'" aria-label="'.__('Meta description','wp-seopress').'" value="'.$seopress_titles_desc.'">'.$seopress_titles_desc.'</textarea>
125
+ </p>
126
+ <div class="wrap-seopress-counters">
127
+ <div id="seopress_titles_desc_pixel"></div>
128
+ <strong>'.__(' / 940 pixels - ','wp-seopress').'</strong>
129
+ <div id="seopress_titles_desc_counters"></div>
130
+ '.__(' (maximum recommended limit)','wp-seopress').'
131
+ </div>';
132
+ if ( $pagenow =='term.php' || $pagenow =='edit-tags.php') {
133
+ echo '<div class="wrap-tags">
134
+ <span id="seopress-tag-single-excerpt" data-tag="%%_category_description%%" class="tag-title"><span class="dashicons dashicons-plus"></span>'.__('Category / term description','wp-seopress').'</span>
135
+ </div>';
136
+ } else {
137
+ echo '<div class="wrap-tags">
138
+ <span id="seopress-tag-single-excerpt" data-tag="%%post_excerpt%%" class="tag-title"><span class="dashicons dashicons-plus"></span>'.__('Post Excerpt','wp-seopress').'</span>
139
+ </div>';
140
  }
141
+ echo '</div>
142
+ <div class="box-right">
143
+ <div class="google-snippet-preview">
144
+ <h3>'.__('Google Snippet Preview','wp-seopress').'</h3>
145
+ <p>'.__('This is what your page will look like in Google search results. You have to publish your post to get the Google Snippet Preview.','wp-seopress').'</p>
146
+ <div class="snippet-title"></div>
147
+ <div class="snippet-title-custom" style="display:none"></div>';
148
+ global $tag;
149
+ if (get_the_title()) {
150
+ echo '<div class="snippet-title-default" style="display:none">'.get_the_title().' - '.get_bloginfo('name').'</div>
151
+ <div class="snippet-permalink">'.htmlspecialchars(urldecode(get_permalink())).'</div>';
152
+ } elseif ($tag) {
153
+ echo '<div class="snippet-title-default" style="display:none">'.$tag->name.' - '.get_bloginfo('name').'</div>';
154
+ echo '<div class="snippet-permalink">'.htmlspecialchars(urldecode(get_term_link($tag))).'</div>';
155
+ }
156
+
157
+ if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) {
158
+ echo seopress_display_date_snippet();
159
+ }
160
+ echo '<div class="snippet-description">...</div>
161
+ <div class="snippet-description-custom" style="display:none"></div>
162
+ <div class="snippet-description-default" style="display:none"></div>';
163
+ echo '</div>
164
+ </div>
165
+ </div>';
166
  }
167
+ if (array_key_exists('advanced-tab', $seo_tabs)) {
168
+ echo '<div id="tabs-2">
169
+ <p>
170
+ <label for="seopress_robots_index_meta">
171
+ <input type="checkbox" name="seopress_robots_index" id="seopress_robots_index_meta" value="yes" '. checked( $seopress_robots_index, 'yes', false ) .' '.$disabled['robots_index'].'/>
172
+ '. __( 'Do not display this page in search engine results / XML - HTML sitemaps <strong>(noindex)</strong>', 'wp-seopress' ) .'
173
+ </label>
174
+ </p>
175
+ <p>
176
+ <label for="seopress_robots_follow_meta">
177
+ <input type="checkbox" name="seopress_robots_follow" id="seopress_robots_follow_meta" value="yes" '. checked( $seopress_robots_follow, 'yes', false ) .' '.$disabled['robots_follow'].'/>
178
+ '. __( 'Do not follow links for this page <strong>(nofollow)</strong>', 'wp-seopress' ) .'
179
+ </label>
180
+ </p>
181
+ <p>
182
+ <label for="seopress_robots_odp_meta">
183
+ <input type="checkbox" name="seopress_robots_odp" id="seopress_robots_odp_meta" value="yes" '. checked( $seopress_robots_odp, 'yes', false ) .' '.$disabled['robots_odp'].'/>
184
+ '. __( 'Do not use Open Directory project metadata for titles or excerpts for this page <strong>(noodp)</strong>', 'wp-seopress' ) .'
185
+ </label>
186
+ </p>
187
+ <p>
188
+ <label for="seopress_robots_imageindex_meta">
189
+ <input type="checkbox" name="seopress_robots_imageindex" id="seopress_robots_imageindex_meta" value="yes" '. checked( $seopress_robots_imageindex, 'yes', false ) .' '.$disabled['imageindex'].'/>
190
+ '. __( 'Do not index images for this page <strong>(noimageindex)</strong>', 'wp-seopress' ) .'
191
+ </label>
192
+ </p>
193
+ <p>
194
+ <label for="seopress_robots_archive_meta">
195
+ <input type="checkbox" name="seopress_robots_archive" id="seopress_robots_archive_meta" value="yes" '. checked( $seopress_robots_archive, 'yes', false ) .' '.$disabled['archive'].'/>
196
+ '. __( 'Do not display a "Cached" link in the Google search results <strong>(noarchive)</strong>', 'wp-seopress' ) .'
197
+ </label>
198
+ </p>
199
+ <p>
200
+ <label for="seopress_robots_snippet_meta">
201
+ <input type="checkbox" name="seopress_robots_snippet" id="seopress_robots_snippet_meta" value="yes" '. checked( $seopress_robots_snippet, 'yes', false ) .' '.$disabled['snippet'].'/>
202
+ '. __( 'Do not display a description in search results for this page <strong>(nosnippet)</strong>', 'wp-seopress' ) .'
203
+ </label>
204
+ </p>
205
+ <p class="description">
206
+ '.__('You cannot uncheck a parameter? This is normal, and it\'s most likely defined in the global settings of the extension.','wp-seopress').'
207
+ </p>
208
+ <p>
209
+ <label for="seopress_robots_canonical_meta">'. __( 'Canonical URL', 'wp-seopress' ) .'</label>
210
+ <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.'" />
211
+ <span class="sp-tooltip"><span class="dashicons dashicons-editor-help"></span>
212
+ <span class="sp-tooltiptext">'.__('A canonical URL is the URL of the page that Google thinks is most representative from a set of duplicate pages on your site. For example, if you have URLs for the same page (for example: example.com?dress=1234 and example.com/dresses/1234), Google chooses one as canonical. Note that the pages do not need to be absolutely identical; minor changes in sorting or filtering of list pages do not make the page unique (for example, sorting by price or filtering by item color).
213
+ The canonical can be in a different domain than a duplicate.','wp-seopress').'</span>
214
+ </span>
215
  </p>';
216
+
217
+ if ($typenow =='post' && ($pagenow == 'post.php' || $pagenow == 'post-new.php')) {
218
+ echo '<p>
219
+ <label for="seopress_robots_primary_cat_meta">'. __( 'Select a primary category', 'wp-seopress' ) .'</label>
220
+ <span class="description">'.__('Set the category that gets used in the %category% permalink if you have multiple categories.','wp-seopress').'</p>
221
+ <select name="seopress_robots_primary_cat">';
222
+
223
+ $cats = get_categories();
224
+ if (!empty($cats)) {
225
+ echo '<option '. selected( 'none', $seopress_robots_primary_cat, false ).' value="none">'.__('None (will disable this feature)','wp-seopress').'</option>';
226
+ foreach ($cats as $category) {
227
+ echo '<option '.selected( $category->term_id, $seopress_robots_primary_cat, false ).' value="'.$category->term_id.'">'. $category->name .'</option>';
228
+ }
229
+ }
230
+ echo '</select>
231
+ </p>';
232
+ }
233
+ if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) {
234
+ if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
235
+ echo '<p>
236
+ <label for="seopress_robots_breadcrumbs_meta">'. __( 'Custom breadcrumbs', 'wp-seopress' ) .'</label>
237
+ <input id="seopress_robots_breadcrumbs_meta" type="text" name="seopress_robots_breadcrumbs" placeholder="'.esc_html__('Enter a custom value, useful if your title is too long','wp-seopress').'" aria-label="'.__('Custom breadcrumbs','wp-seopress').'" value="'.$seopress_robots_breadcrumbs.'" />
238
+ </p>';
239
+ }
240
+ }
241
+ echo '</div>';
242
+ }
243
+ if (array_key_exists('social-tab', $seo_tabs)) {
244
+ echo '<div id="tabs-3">
245
+ <span class="dashicons dashicons-facebook-alt"></span>
246
+ <br><br>
247
+ <span class="dashicons dashicons-external"></span><a href="https://developers.facebook.com/tools/debug/sharing/?q='.get_permalink(get_the_id()).'" target="_blank">'.__('Ask Facebook to update his cache','wp-seopress').'</a>
248
+ <p>
249
+ <label for="seopress_social_fb_title_meta">'. __( 'Facebook Title', 'wp-seopress' ) .'</label>
250
+ <input id="seopress_social_fb_title_meta" type="text" name="seopress_social_fb_title" placeholder="'.esc_html__('Enter your Facebook title','wp-seopress').'" aria-label="'.__('Facebook Title','wp-seopress').'" value="'.$seopress_social_fb_title.'" />
251
+ </p>
252
+ <p>
253
+ <label for="seopress_social_fb_desc_meta">'. __( 'Facebook description', 'wp-seopress' ) .'</label>
254
+ <textarea id="seopress_social_fb_desc_meta" name="seopress_social_fb_desc" placeholder="'.esc_html__('Enter your Facebook description','wp-seopress').'" aria-label="'.__('Facebook description','wp-seopress').'" value="'.$seopress_social_fb_desc.'">'.$seopress_social_fb_desc.'</textarea>
255
+ </p>
256
+ <p>
257
+ <label for="seopress_social_fb_img_meta">'. __( 'Facebook Thumbnail', 'wp-seopress' ) .'</label>
258
+ <input id="seopress_social_fb_img_meta" type="text" name="seopress_social_fb_img" placeholder="'.esc_html__('Select your default thumbnail','wp-seopress').'" aria-label="'.__('Facebook Thumbnail','wp-seopress').'" value="'.$seopress_social_fb_img.'" />
259
+ <span class="advise">'.__('Minimum size: 200x200px, ideal ratio 1.91:1, 8Mb max. (eg: 1640x856px or 3280x1712px for retina screens)', 'wp-seopress').'</span>
260
+ <input id="seopress_social_fb_img_upload" class="button" type="button" value="'.__('Upload an Image','wp-seopress').'" />
261
+ </p>
262
+ <br/>
263
+ <span class="dashicons dashicons-twitter"></span>
264
+ <br><br>
265
+ <span class="dashicons dashicons-external"></span><a href="https://cards-dev.twitter.com/validator" target="_blank">'.__('Preview your Twitter card using the official validator','wp-seopress').'</a>
266
+ <p>
267
+ <label for="seopress_social_twitter_title_meta">'. __( 'Twitter Title', 'wp-seopress' ) .'</label>
268
+ <input id="seopress_social_twitter_title_meta" type="text" name="seopress_social_twitter_title" placeholder="'.esc_html__('Enter your Twitter title','wp-seopress').'" aria-label="'.__('Twitter Title','wp-seopress').'" value="'.$seopress_social_twitter_title.'" />
269
+ </p>
270
+ <p>
271
+ <label for="seopress_social_twitter_desc_meta">'. __( 'Twitter description', 'wp-seopress' ) .'</label>
272
+ <textarea id="seopress_social_twitter_desc_meta" name="seopress_social_twitter_desc" placeholder="'.esc_html__('Enter your Twitter description','wp-seopress').'" aria-label="'.__('Twitter description','wp-seopress').'" value="'.$seopress_social_twitter_desc.'">'.$seopress_social_twitter_desc.'</textarea>
273
+ </p>
274
+ <p>
275
+ <label for="seopress_social_twitter_img_meta">'. __( 'Twitter Thumbnail', 'wp-seopress' ) .'</label>
276
+ <input id="seopress_social_twitter_img_meta" type="text" name="seopress_social_twitter_img" placeholder="'.esc_html__('Select your default thumbnail','wp-seopress').'" value="'.$seopress_social_twitter_img.'" />
277
+ <span class="advise">'. __('Minimum size: 144x144px (300x157px with large card enabled), ideal ratio 1:1 (2:1 with large card), 5Mb max.', 'wp-seopress') .'</span>
278
+ <input id="seopress_social_twitter_img_upload" class="button" type="button" aria-label="'.__('Twitter Thumbnail','wp-seopress').'" value="'.__('Upload an Image','wp-seopress').'" />
279
+ </p>
280
+ </div>';
281
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
282
  }
283
 
284
+ if (array_key_exists('redirect-tab', $seo_tabs)) {
285
+ echo '<div id="tabs-4">
286
+ <p>
287
+ <label for="seopress_redirections_enabled_meta" id="seopress_redirections_enabled">
288
+ <input type="checkbox" name="seopress_redirections_enabled" id="seopress_redirections_enabled_meta" value="yes" '. checked( $seopress_redirections_enabled, 'yes', false ) .' />
289
+ '. __( 'Enable redirection?', 'wp-seopress' ) .'
290
+ </label>
291
+ </p>
292
+ <p>
293
+ <label for="seopress_redirections_value_meta">'. __( 'URL redirection', 'wp-seopress' ) .'</label>
294
+ <select name="seopress_redirections_type">
295
+ <option ' . selected( '301', $seopress_redirections_type, false ) . ' value="301">'. __( '301 Moved Permanently', 'wp-seopress' ) .'</option>
296
+ <option ' . selected( '302', $seopress_redirections_type, false ) . ' value="302">'. __( '302 Found / Moved Temporarily', 'wp-seopress' ) .'</option>
297
+ <option ' . selected( '307', $seopress_redirections_type, false ) . ' value="307">'. __( '307 Moved Temporarily', 'wp-seopress' ) .'</option>
298
+ <option ' . selected( '410', $seopress_redirections_type, false ) . ' value="410">'. __( '410 Gone', 'wp-seopress' ) .'</option>
299
+ <option ' . selected( '451', $seopress_redirections_type, false ) . ' value="451">'. __( '451 Unavailable For Legal Reasons', 'wp-seopress' ) .'</option>
300
+ </select>
301
+ <input id="seopress_redirections_value_meta" type="text" name="seopress_redirections_value" placeholder="'.esc_html__('Enter your new URL in absolute (eg: https://www.example.com/)','wp-seopress').'" aria-label="'.__('URL redirection','wp-seopress').'" value="'.$seopress_redirections_value.'" />
302
+ <br><br>
303
+ </p>';
304
+ if ("seopress_404" == $typenow) {
305
+ echo '<p>
306
+ <label for="seopress_redirections_param_meta">'. __( 'Query parameters', 'wp-seopress' ) .'</label>
307
+ <select name="seopress_redirections_param">
308
+ <option ' . selected( 'exact_match', $seopress_redirections_param, false ) . ' value="exact_match">'. __( 'Exactly match all parameters', 'wp-seopress' ) .'</option>
309
+ <option ' . selected( 'without_param', $seopress_redirections_param, false ) . ' value="without_param">'. __( 'Exclude all parameters', 'wp-seopress' ) .'</option>
310
+ <option ' . selected( 'with_ignored_param', $seopress_redirections_param, false ) . ' value="with_ignored_param">'. __( 'Exclude all parameters and pass them to the redirection', 'wp-seopress' ) .'</option>
311
+ </select></p>';
312
+ }
313
+ echo '<p>';
314
+ if ($seopress_redirections_enabled =='yes') {
315
+ $status_code = array('410','451');
316
+ if ($seopress_redirections_value !='' || in_array($seopress_redirections_type, $status_code)) {
317
+ if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) {
318
+ if ( 'seopress_404' == $typenow ) {
319
+ echo '<a href="'.get_home_url().'/'.get_the_title().'" id="seopress_redirections_value_default" class="button" target="_blank">'.__('Test your URL','wp-seopress').'</a>';
320
+ } else {
321
+ echo '<a href="'.get_permalink().'" id="seopress_redirections_value_default" class="button" target="_blank">'.__('Test your URL','wp-seopress').'</a>';
322
+ }
323
+ } elseif ( $pagenow == 'term.php' ) {
324
+ echo '<a href="'.get_term_link($term).'" id="seopress_redirections_value_default" class="button" target="_blank">'.__('Test your URL','wp-seopress').'</a>';
325
  } else {
326
  echo '<a href="'.get_permalink().'" id="seopress_redirections_value_default" class="button" target="_blank">'.__('Test your URL','wp-seopress').'</a>';
327
  }
 
 
 
 
328
  }
329
  }
 
330
 
331
+ if (function_exists('seopress_get_locale')) {
332
+ if (seopress_get_locale() =='fr') {
333
+ $seopress_docs_link['support']['redirection'] = 'https://www.seopress.org/fr/support/guides/activer-redirections-301-surveillance-404/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
334
+ } else {
335
+ $seopress_docs_link['support']['redirection'] = 'https://www.seopress.org/support/guides/redirections/?utm_source=plugin&utm_medium=wp-admin&utm_campaign=seopress';
336
+ }
337
+ }
338
+ ?>
339
+ <span class="dashicons dashicons-external"></span>
340
+ <a href="<?php echo $seopress_docs_link['support']['redirection']; ?>" target="_blank" class="seopress-doc"><?php _e('Need help with your redirections? Read our guide.','wp-seopress'); ?></a>
341
+ <?php echo
342
+ '</p>
343
+ </div>';
344
+ }
345
+ if (is_plugin_active( 'wp-seopress-pro/seopress-pro.php' )) {
346
+ if (function_exists('seopress_get_toggle_news_option') && seopress_get_toggle_news_option() =='1') {
347
+ if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) {
348
+ if ("seopress_404" != $typenow) {
349
+ if (array_key_exists('news-tab', $seo_tabs)) {
350
+ echo '<div id="tabs-5">
351
+ <p>
352
+ <label for="seopress_news_disabled_meta" id="seopress_news_disabled">
353
+ <input type="checkbox" name="seopress_news_disabled" id="seopress_news_disabled_meta" value="yes" '. checked( $seopress_news_disabled, 'yes', false ) .' />
354
+ '. __( 'Exclude this post from Google News Sitemap?', 'wp-seopress' ) .'
355
+ </label>
356
+ </p>
357
+ </div>';
358
+ }
359
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
360
  }
361
  }
362
+ if (function_exists('seopress_get_toggle_xml_sitemap_option') && seopress_get_toggle_xml_sitemap_option() =='1') {
363
+ if ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) {
364
+ if ("seopress_404" != $typenow) {
 
365
 
366
+ //Init $seopress_video array if empty
367
+ if (empty($seopress_video)) {
368
+ $seopress_video = array('0' => array(''));
369
+ }
370
 
371
+ $count = $seopress_video[0];
372
+ end($count);
373
+ $total = key($count);
374
 
375
+ if (array_key_exists('video-tab', $seo_tabs)) {
376
+ echo '<div id="tabs-6">
377
+ <p>
378
+ <label for="seopress_video_disabled_meta" id="seopress_video_disabled">
379
+ <input type="checkbox" name="seopress_video_disabled" id="seopress_video_disabled_meta" value="yes" '. checked( $seopress_video_disabled, 'yes', false ) .' />
380
+ '. __( 'Exclude this post from Video Sitemap?', 'wp-seopress' ) .'
381
+ </label>
382
+ <span class="advise">'. __('If your post is set to noindex, it will be automatically excluded from the sitemap.', 'wp-seopress') .'</span>
383
+ </p>
384
+ <div id="wrap-videos" data-count="'.$total.'">';
385
+ foreach ($seopress_video[0] as $key => $value) {
386
 
387
+ $check_url = isset($seopress_video[0][$key]["url"]) ? $seopress_video[0][$key]["url"] : NULL;
388
+ $check_internal_video = isset($seopress_video[0][$key]["internal_video"]) ? $seopress_video[0][$key]["internal_video"] : NULL;
389
+ $check_title = isset($seopress_video[0][$key]["title"]) ? $seopress_video[0][$key]["title"] : NULL;
390
+ $check_desc = isset($seopress_video[0][$key]["desc"]) ? $seopress_video[0][$key]["desc"] : NULL;
391
+ $check_thumbnail = isset($seopress_video[0][$key]["thumbnail"]) ? $seopress_video[0][$key]["thumbnail"] : NULL;
392
+ $check_duration = isset($seopress_video[0][$key]["duration"]) ? $seopress_video[0][$key]["duration"] : NULL;
393
+ $check_rating = isset($seopress_video[0][$key]["rating"]) ? $seopress_video[0][$key]["rating"] : NULL;
394
+ $check_view_count = isset($seopress_video[0][$key]["view_count"]) ? $seopress_video[0][$key]["view_count"] : NULL;
395
+ $check_view_count = isset($seopress_video[0][$key]["view_count"]) ? $seopress_video[0][$key]["view_count"] : NULL;
396
+ $check_tag = isset($seopress_video[0][$key]["tag"]) ? $seopress_video[0][$key]["tag"] : NULL;
397
+ $check_cat = isset($seopress_video[0][$key]["cat"]) ? $seopress_video[0][$key]["cat"] : NULL;
398
+ $check_family_friendly = isset($seopress_video[0][$key]["family_friendly"]) ? $seopress_video[0][$key]["family_friendly"] : NULL;
399
 
400
+ echo '<div class="video">
401
+ <h3 class="accordion-section-title" tabindex="0">'.__('Video ','wp-seopress').$check_title.'</h3>
402
+ <div class="accordion-section-content">
403
+ <div class="inside">
404
+ <p>
405
+ <label for="seopress_video['.$key.'][url_meta]">'. __( 'Video URL (required)', 'wp-seopress' ) .'</label>
406
+ <input id="seopress_video['.$key.'][url_meta]" type="text" name="seopress_video['.$key.'][url]" placeholder="'.esc_html__('Enter your video URL','wp-seopress').'" aria-label="'.__('Video URL','wp-seopress').'" value="'.$check_url.'" />
407
+ </p>
408
+ <p class="internal_video">
409
+ <label for="seopress_video['.$key.'][internal_video_meta]" id="seopress_video['.$key.'][internal_video]">
410
+ <input type="checkbox" name="seopress_video['.$key.'][internal_video]" id="seopress_video['.$key.'][internal_video_meta]" value="yes" '. checked( $check_internal_video, 'yes', false ) .' />
411
+ '. __( 'NOT an external video (eg: video hosting on YouTube, Vimeo, Wistia...)? Check this if your video is hosting on this server.', 'wp-seopress' ) .'
412
+ </label>
413
+ </p>
414
+ <p>
415
+ <label for="seopress_video['.$key.'][title_meta]">'. __( 'Video Title (required)', 'wp-seopress' ) .'</label>
416
+ <input id="seopress_video['.$key.'][title_meta]" type="text" name="seopress_video['.$key.'][title]" placeholder="'.esc_html__('Enter your video title','wp-seopress').'" aria-label="'.__('Video title','wp-seopress').'" value="'.$check_title.'" />
417
+ <span class="advise">'. __('Default: title tag, if not available, post title.', 'wp-seopress') .'</span>
418
+ </p>
419
+ <p>
420
+ <label for="seopress_video['.$key.'][desc_meta]">'. __( 'Video Description (required)', 'wp-seopress' ) .'</label>
421
+ <textarea id="seopress_video['.$key.'][desc_meta]" name="seopress_video['.$key.'][desc]" placeholder="'.esc_html__('Enter your video description','wp-seopress').'" aria-label="'.__('Video description','wp-seopress').'" value="'.$check_desc.'">'.$check_desc.'</textarea>
422
+ <span class="advise">'. __('2048 characters max.; default: meta description. If not available, use the beginning of the post content.', 'wp-seopress') .'</span>
423
+ </p>
424
+ <p>
425
+ <label for="seopress_video['.$key.'][thumbnail_meta]">'. __( 'Video Thumbnail (required)', 'wp-seopress' ) .'</label>
426
+ <input id="seopress_video['.$key.'][thumbnail_meta]" class="seopress_video_thumbnail_meta" type="text" name="seopress_video['.$key.'][thumbnail]" placeholder="'.esc_html__('Select your video thumbnail','wp-seopress').'" value="'.$check_thumbnail.'" />
427
+ <input class="button seopress_video_thumbnail_upload" type="button" aria-label="'.__('Video Thumbnail','wp-seopress').'" value="'.__('Upload an Image','wp-seopress').'" />
428
+ <span class="advise">'. __('Minimum size: 160x90px (1920x1080 max), JPG, PNG or GIF formats. Default: your post featured image.', 'wp-seopress') .'</span>
429
+ </p>
430
+ <p>
431
+ <label for="seopress_video['.$key.'][duration_meta]">'. __( 'Video Duration (recommended)', 'wp-seopress' ) .'</label>
432
+ <input id="seopress_video['.$key.'][duration_meta]" type="number" step="1" min="0" max="28800" name="seopress_video['.$key.'][duration]" placeholder="'.esc_html__('Duration in seconds','wp-seopress').'" aria-label="'.__('Video duration','wp-seopress').'" value="'.$check_duration.'" />
433
+ <span class="advise">'. __('The duration of the video in seconds. Value must be between 0 and 28800 (8 hours).', 'wp-seopress') .'</span>
434
+ </p>
435
+ <p>
436
+ <label for="seopress_video['.$key.'][rating_meta]">'. __( 'Video Rating', 'wp-seopress' ) .'</label>
437
+ <input id="seopress_video['.$key.'][rating_meta]" type="number" step="0.1" min="0" max="5" name="seopress_video['.$key.'][rating]" placeholder="'.esc_html__('Video rating','wp-seopress').'" aria-label="'.__('Video rating','wp-seopress').'" value="'.$check_rating.'" />
438
+ <span class="advise">'. __('Allowed values are float numbers in the range 0.0 to 5.0.', 'wp-seopress') .'</span>
439
+ </p>
440
+ <p>
441
+ <label for="seopress_video['.$key.'][view_count_meta]">'. __( 'View count', 'wp-seopress' ) .'</label>
442
+ <input id="seopress_video['.$key.'][view_count_meta]" type="number" name="seopress_video['.$key.'][view_count]" placeholder="'.esc_html__('Number of views','wp-seopress').'" aria-label="'.__('View count','wp-seopress').'" value="'.$check_view_count.'" />
443
+ </p>
444
+ <p>
445
+ <label for="seopress_video['.$key.'][tag_meta]">'. __( 'Video tags', 'wp-seopress' ) .'</label>
446
+ <input id="seopress_video['.$key.'][tag_meta]" type="text" name="seopress_video['.$key.'][tag]" placeholder="'.esc_html__('Enter your video tags','wp-seopress').'" aria-label="'.__('Video tags','wp-seopress').'" value="'.$check_tag.'" />
447
+ <span class="advise">'. __('32 tags max., separate tags with commas. Default: target keywords + post tags if available.', 'wp-seopress') .'</span>
448
+ </p>
449
+ <p>
450
+ <label for="seopress_video['.$key.'][cat_meta]">'. __( 'Video categories', 'wp-seopress' ) .'</label>
451
+ <input id="seopress_video['.$key.'][cat_meta]" type="text" name="seopress_video['.$key.'][cat]" placeholder="'.esc_html__('Enter your video categories','wp-seopress').'" aria-label="'.__('Video categories','wp-seopress').'" value="'.$check_cat.'" />
452
+ <span class="advise">'. __('256 characters max., usually a video will belong to a single category, separate categories with commas. Default: first post category if available.', 'wp-seopress') .'</span>
453
+ </p>
454
+ <p class="family-friendly">
455
+ <label for="seopress_video['.$key.'][family_friendly_meta]" id="seopress_video['.$key.'][family_friendly]">
456
+ <input type="checkbox" name="seopress_video['.$key.'][family_friendly]" id="seopress_video['.$key.'][family_friendly_meta]" value="yes" '. checked( $check_family_friendly, 'yes', false ) .' />
457
+ '. __( 'NOT family friendly?', 'wp-seopress' ) .'
458
+ </label>
459
+ <span class="advise">'. __('The video will be available only to users with SafeSearch turned off.', 'wp-seopress') .'</span>
460
+ </p>
461
+ <p><a href="#" class="remove-video button">'.__('Remove video','wp-seopress').'</a></p>
462
+ </div>
463
+ </div>
464
  </div>
465
+ ';
466
+ }
467
+ echo '</div>
468
+ <p><a href="#" id="add-video" class="add-video button button-primary">'.__('Add video','wp-seopress').'</a></p>
469
+ </div>';
470
  }
471
+ }
 
 
472
  }
473
  }
474
  }
475
+ echo '</div>';
 
476
 
477
  if ( $pagenow =='term.php' || $pagenow =='edit-tags.php') {
478
  echo '</div>';
480
  echo '</td>';
481
  echo '</tr>';
482
  }
483
+ echo '<input type="hidden" id="seo_tabs" name="seo_tabs" value="'.htmlspecialchars(json_encode(array_keys($seo_tabs))).'">';
inc/admin/admin-metaboxes.php CHANGED
@@ -279,7 +279,7 @@ function seopress_display_seo_metaboxe() {
279
  $seopress_video = get_post_meta($post->ID,'_seopress_video');
280
  }
281
 
282
- require_once ( dirname( __FILE__ ) . '/admin-metaboxes-form.php'); //Metaboxe HTML
283
  }
284
 
285
  add_action('save_post','seopress_save_metabox', 10, 2);
@@ -296,98 +296,113 @@ function seopress_display_seo_metaboxe() {
296
  return $post_id;
297
 
298
  if ( 'attachment' !== get_post_type($post_id)) {
299
- if(isset($_POST['seopress_titles_title'])){
300
- update_post_meta($post_id, '_seopress_titles_title', esc_html($_POST['seopress_titles_title']));
301
- }
302
- if(isset($_POST['seopress_titles_desc'])){
303
- update_post_meta($post_id, '_seopress_titles_desc', esc_html($_POST['seopress_titles_desc']));
304
- }
305
- if( isset( $_POST[ 'seopress_robots_index' ] ) ) {
306
- update_post_meta( $post_id, '_seopress_robots_index', 'yes' );
307
- } else {
308
- delete_post_meta( $post_id, '_seopress_robots_index', '' );
309
- }
310
- if( isset( $_POST[ 'seopress_robots_follow' ] ) ) {
311
- update_post_meta( $post_id, '_seopress_robots_follow', 'yes' );
312
- } else {
313
- delete_post_meta( $post_id, '_seopress_robots_follow', '' );
314
- }
315
- if( isset( $_POST[ 'seopress_robots_odp' ] ) ) {
316
- update_post_meta( $post_id, '_seopress_robots_odp', 'yes' );
317
- } else {
318
- delete_post_meta( $post_id, '_seopress_robots_odp', '' );
319
- }
320
- if( isset( $_POST[ 'seopress_robots_imageindex' ] ) ) {
321
- update_post_meta( $post_id, '_seopress_robots_imageindex', 'yes' );
322
- } else {
323
- delete_post_meta( $post_id, '_seopress_robots_imageindex', '' );
324
- }
325
- if( isset( $_POST[ 'seopress_robots_archive' ] ) ) {
326
- update_post_meta( $post_id, '_seopress_robots_archive', 'yes' );
327
- } else {
328
- delete_post_meta( $post_id, '_seopress_robots_archive', '' );
329
- }
330
- if( isset( $_POST[ 'seopress_robots_snippet' ] ) ) {
331
- update_post_meta( $post_id, '_seopress_robots_snippet', 'yes' );
332
- } else {
333
- delete_post_meta( $post_id, '_seopress_robots_snippet', '' );
334
- }
335
- if(isset($_POST['seopress_robots_canonical'])){
336
- update_post_meta($post_id, '_seopress_robots_canonical', esc_html($_POST['seopress_robots_canonical']));
337
- }
338
- if(isset($_POST['seopress_robots_primary_cat'])){
339
- update_post_meta($post_id, '_seopress_robots_primary_cat', esc_html($_POST['seopress_robots_primary_cat']));
340
- }
341
- if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
342
- if(isset($_POST['seopress_robots_breadcrumbs'])){
343
- update_post_meta($post_id, '_seopress_robots_breadcrumbs', esc_html($_POST['seopress_robots_breadcrumbs']));
344
  }
345
  }
346
- if(isset($_POST['seopress_social_fb_title'])){
347
- update_post_meta($post_id, '_seopress_social_fb_title', esc_html($_POST['seopress_social_fb_title']));
348
- }
349
- if(isset($_POST['seopress_social_fb_desc'])){
350
- update_post_meta($post_id, '_seopress_social_fb_desc', esc_html($_POST['seopress_social_fb_desc']));
351
- }
352
- if(isset($_POST['seopress_social_fb_img'])){
353
- update_post_meta($post_id, '_seopress_social_fb_img', esc_html($_POST['seopress_social_fb_img']));
354
- }
355
- if(isset($_POST['seopress_social_twitter_title'])){
356
- update_post_meta($post_id, '_seopress_social_twitter_title', esc_html($_POST['seopress_social_twitter_title']));
357
- }
358
- if(isset($_POST['seopress_social_twitter_desc'])){
359
- update_post_meta($post_id, '_seopress_social_twitter_desc', esc_html($_POST['seopress_social_twitter_desc']));
360
- }
361
- if(isset($_POST['seopress_social_twitter_img'])){
362
- update_post_meta($post_id, '_seopress_social_twitter_img', esc_html($_POST['seopress_social_twitter_img']));
363
- }
364
- if(isset($_POST['seopress_redirections_type'])){
365
- update_post_meta($post_id, '_seopress_redirections_type', $_POST['seopress_redirections_type']);
366
- }
367
- if(isset($_POST['seopress_redirections_value'])){
368
- update_post_meta($post_id, '_seopress_redirections_value', esc_html($_POST['seopress_redirections_value']));
369
- }
370
- if(isset($_POST['seopress_redirections_param'])){
371
- update_post_meta($post_id, '_seopress_redirections_param', esc_html($_POST['seopress_redirections_param']));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
372
  }
373
- if( isset( $_POST[ 'seopress_redirections_enabled' ] ) ) {
374
- update_post_meta( $post_id, '_seopress_redirections_enabled', 'yes' );
375
- } else {
376
- delete_post_meta( $post_id, '_seopress_redirections_enabled', '' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
377
  }
378
- if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
379
- if( isset( $_POST[ 'seopress_news_disabled' ] ) ) {
380
- update_post_meta( $post_id, '_seopress_news_disabled', 'yes' );
381
- } else {
382
- delete_post_meta( $post_id, '_seopress_news_disabled', '' );
 
 
 
 
383
  }
384
- if( isset( $_POST[ 'seopress_video_disabled' ] ) ) {
385
- update_post_meta( $post_id, '_seopress_video_disabled', 'yes' );
386
  } else {
387
- delete_post_meta( $post_id, '_seopress_video_disabled', '' );
388
  }
389
- if(isset($_POST['seopress_video'])){
390
- update_post_meta($post_id, '_seopress_video', $_POST['seopress_video']);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
391
  }
392
  }
393
  }
279
  $seopress_video = get_post_meta($post->ID,'_seopress_video');
280
  }
281
 
282
+ require_once ( dirname( __FILE__ ) . '/admin-metaboxes-form.php'); //Metaboxe HTML
283
  }
284
 
285
  add_action('save_post','seopress_save_metabox', 10, 2);
296
  return $post_id;
297
 
298
  if ( 'attachment' !== get_post_type($post_id)) {
299
+ $seo_tabs = array();
300
+ $seo_tabs = json_decode(stripslashes(htmlspecialchars_decode($_POST['seo_tabs'])));
301
+
302
+ if (in_array('title-tab', $seo_tabs)) {
303
+ if(isset($_POST['seopress_titles_title'])){
304
+ update_post_meta($post_id, '_seopress_titles_title', esc_html($_POST['seopress_titles_title']));
305
+ }
306
+ if(isset($_POST['seopress_titles_desc'])){
307
+ update_post_meta($post_id, '_seopress_titles_desc', esc_html($_POST['seopress_titles_desc']));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
308
  }
309
  }
310
+ if (in_array('advanced-tab', $seo_tabs)) {
311
+ if( isset( $_POST[ 'seopress_robots_index' ] ) ) {
312
+ update_post_meta( $post_id, '_seopress_robots_index', 'yes' );
313
+ } else {
314
+ delete_post_meta( $post_id, '_seopress_robots_index', '' );
315
+ }
316
+ if( isset( $_POST[ 'seopress_robots_follow' ] ) ) {
317
+ update_post_meta( $post_id, '_seopress_robots_follow', 'yes' );
318
+ } else {
319
+ delete_post_meta( $post_id, '_seopress_robots_follow', '' );
320
+ }
321
+ if( isset( $_POST[ 'seopress_robots_odp' ] ) ) {
322
+ update_post_meta( $post_id, '_seopress_robots_odp', 'yes' );
323
+ } else {
324
+ delete_post_meta( $post_id, '_seopress_robots_odp', '' );
325
+ }
326
+ if( isset( $_POST[ 'seopress_robots_imageindex' ] ) ) {
327
+ update_post_meta( $post_id, '_seopress_robots_imageindex', 'yes' );
328
+ } else {
329
+ delete_post_meta( $post_id, '_seopress_robots_imageindex', '' );
330
+ }
331
+ if( isset( $_POST[ 'seopress_robots_archive' ] ) ) {
332
+ update_post_meta( $post_id, '_seopress_robots_archive', 'yes' );
333
+ } else {
334
+ delete_post_meta( $post_id, '_seopress_robots_archive', '' );
335
+ }
336
+ if( isset( $_POST[ 'seopress_robots_snippet' ] ) ) {
337
+ update_post_meta( $post_id, '_seopress_robots_snippet', 'yes' );
338
+ } else {
339
+ delete_post_meta( $post_id, '_seopress_robots_snippet', '' );
340
+ }
341
+ if(isset($_POST['seopress_robots_canonical'])){
342
+ update_post_meta($post_id, '_seopress_robots_canonical', esc_html($_POST['seopress_robots_canonical']));
343
+ }
344
+ if(isset($_POST['seopress_robots_primary_cat'])){
345
+ update_post_meta($post_id, '_seopress_robots_primary_cat', esc_html($_POST['seopress_robots_primary_cat']));
346
+ }
347
+ if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
348
+ if(isset($_POST['seopress_robots_breadcrumbs'])){
349
+ update_post_meta($post_id, '_seopress_robots_breadcrumbs', esc_html($_POST['seopress_robots_breadcrumbs']));
350
+ }
351
+ }
352
  }
353
+ if (in_array('social-tab', $seo_tabs)) {
354
+ if(isset($_POST['seopress_social_fb_title'])){
355
+ update_post_meta($post_id, '_seopress_social_fb_title', esc_html($_POST['seopress_social_fb_title']));
356
+ }
357
+ if(isset($_POST['seopress_social_fb_desc'])){
358
+ update_post_meta($post_id, '_seopress_social_fb_desc', esc_html($_POST['seopress_social_fb_desc']));
359
+ }
360
+ if(isset($_POST['seopress_social_fb_img'])){
361
+ update_post_meta($post_id, '_seopress_social_fb_img', esc_html($_POST['seopress_social_fb_img']));
362
+ }
363
+ if(isset($_POST['seopress_social_twitter_title'])){
364
+ update_post_meta($post_id, '_seopress_social_twitter_title', esc_html($_POST['seopress_social_twitter_title']));
365
+ }
366
+ if(isset($_POST['seopress_social_twitter_desc'])){
367
+ update_post_meta($post_id, '_seopress_social_twitter_desc', esc_html($_POST['seopress_social_twitter_desc']));
368
+ }
369
+ if(isset($_POST['seopress_social_twitter_img'])){
370
+ update_post_meta($post_id, '_seopress_social_twitter_img', esc_html($_POST['seopress_social_twitter_img']));
371
+ }
372
  }
373
+ if (in_array('redirect-tab', $seo_tabs)) {
374
+ if(isset($_POST['seopress_redirections_type'])){
375
+ update_post_meta($post_id, '_seopress_redirections_type', $_POST['seopress_redirections_type']);
376
+ }
377
+ if(isset($_POST['seopress_redirections_value'])){
378
+ update_post_meta($post_id, '_seopress_redirections_value', esc_html($_POST['seopress_redirections_value']));
379
+ }
380
+ if(isset($_POST['seopress_redirections_param'])){
381
+ update_post_meta($post_id, '_seopress_redirections_param', esc_html($_POST['seopress_redirections_param']));
382
  }
383
+ if( isset( $_POST[ 'seopress_redirections_enabled' ] ) ) {
384
+ update_post_meta( $post_id, '_seopress_redirections_enabled', 'yes' );
385
  } else {
386
+ delete_post_meta( $post_id, '_seopress_redirections_enabled', '' );
387
  }
388
+ }
389
+ if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) {
390
+ if (in_array('news-tab', $seo_tabs)) {
391
+ if( isset( $_POST[ 'seopress_news_disabled' ] ) ) {
392
+ update_post_meta( $post_id, '_seopress_news_disabled', 'yes' );
393
+ } else {
394
+ delete_post_meta( $post_id, '_seopress_news_disabled', '' );
395
+ }
396
+ }
397
+ if (in_array('video-tab', $seo_tabs)) {
398
+ if( isset( $_POST[ 'seopress_video_disabled' ] ) ) {
399
+ update_post_meta( $post_id, '_seopress_video_disabled', 'yes' );
400
+ } else {
401
+ delete_post_meta( $post_id, '_seopress_video_disabled', '' );
402
+ }
403
+ if(isset($_POST['seopress_video'])){
404
+ update_post_meta($post_id, '_seopress_video', $_POST['seopress_video']);
405
+ }
406
  }
407
  }
408
  }
inc/admin/admin-term-metaboxes.php CHANGED
@@ -184,6 +184,8 @@ function seopress_display_seo_term_metaboxe() {
184
  }
185
 
186
  function seopress_tax($term) {
 
 
187
  global $typenow;
188
 
189
  //init
@@ -273,73 +275,95 @@ function seopress_display_seo_term_metaboxe() {
273
  }
274
 
275
  function seopress_tax_save_term( $term_id ) {
276
- if(isset($_POST['seopress_titles_title'])){
277
- update_term_meta($term_id, '_seopress_titles_title', esc_html($_POST['seopress_titles_title']));
278
- }
279
- if(isset($_POST['seopress_titles_desc'])){
280
- update_term_meta($term_id, '_seopress_titles_desc', esc_html($_POST['seopress_titles_desc']));
281
- }
282
- if( isset( $_POST[ 'seopress_robots_index' ] ) ) {
283
- update_term_meta( $term_id, '_seopress_robots_index', 'yes' );
284
- } else {
285
- delete_term_meta( $term_id, '_seopress_robots_index', '' );
286
- }
287
- if( isset( $_POST[ 'seopress_robots_follow' ] ) ) {
288
- update_term_meta( $term_id, '_seopress_robots_follow', 'yes' );
289
- } else {
290
- delete_term_meta( $term_id, '_seopress_robots_follow', '' );
291
- }
292
- if( isset( $_POST[ 'seopress_robots_odp' ] ) ) {
293
- update_term_meta( $term_id, '_seopress_robots_odp', 'yes' );
294
- } else {
295
- delete_term_meta( $term_id, '_seopress_robots_odp', '' );
296
- }
297
- if( isset( $_POST[ 'seopress_robots_imageindex' ] ) ) {
298
- update_term_meta( $term_id, '_seopress_robots_imageindex', 'yes' );
299
- } else {
300
- delete_term_meta( $term_id, '_seopress_robots_imageindex', '' );
301
- }
302
- if( isset( $_POST[ 'seopress_robots_archive' ] ) ) {
303
- update_term_meta( $term_id, '_seopress_robots_archive', 'yes' );
304
- } else {
305
- delete_term_meta( $term_id, '_seopress_robots_archive', '' );
306
- }
307
- if( isset( $_POST[ 'seopress_robots_snippet' ] ) ) {
308
- update_term_meta( $term_id, '_seopress_robots_snippet', 'yes' );
309
- } else {
310
- delete_term_meta( $term_id, '_seopress_robots_snippet', '' );
311
- }
312
- if(isset($_POST['seopress_robots_canonical'])){
313
- update_term_meta($term_id, '_seopress_robots_canonical', esc_html($_POST['seopress_robots_canonical']));
314
- }
315
- if(isset($_POST['seopress_social_fb_title'])){
316
- update_term_meta($term_id, '_seopress_social_fb_title', esc_html($_POST['seopress_social_fb_title']));
317
- }
318
- if(isset($_POST['seopress_social_fb_desc'])){
319
- update_term_meta($term_id, '_seopress_social_fb_desc', esc_html($_POST['seopress_social_fb_desc']));
320
- }
321
- if(isset($_POST['seopress_social_fb_img'])){
322
- update_term_meta($term_id, '_seopress_social_fb_img', esc_html($_POST['seopress_social_fb_img']));
323
- }
324
- if(isset($_POST['seopress_social_twitter_title'])){
325
- update_term_meta($term_id, '_seopress_social_twitter_title', esc_html($_POST['seopress_social_twitter_title']));
326
  }
327
- if(isset($_POST['seopress_social_twitter_desc'])){
328
- update_term_meta($term_id, '_seopress_social_twitter_desc', esc_html($_POST['seopress_social_twitter_desc']));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
329
  }
330
- if(isset($_POST['seopress_social_twitter_img'])){
331
- update_term_meta($term_id, '_seopress_social_twitter_img', esc_html($_POST['seopress_social_twitter_img']));
332
- }
333
- if(isset($_POST['seopress_redirections_type'])){
334
- update_term_meta($term_id, '_seopress_redirections_type', $_POST['seopress_redirections_type']);
335
- }
336
- if(isset($_POST['seopress_redirections_value'])){
337
- update_term_meta($term_id, '_seopress_redirections_value', esc_html($_POST['seopress_redirections_value']));
 
 
 
 
 
 
 
 
 
 
 
338
  }
339
- if( isset( $_POST[ 'seopress_redirections_enabled' ] ) ) {
340
- update_term_meta( $term_id, '_seopress_redirections_enabled', 'yes' );
341
- } else {
342
- delete_term_meta( $term_id, '_seopress_redirections_enabled', '' );
 
 
 
 
 
 
 
 
343
  }
344
  }
345
  }
184
  }
185
 
186
  function seopress_tax($term) {
187
+ wp_nonce_field( plugin_basename( __FILE__ ), 'seopress_cpt_nonce' );
188
+
189
  global $typenow;
190
 
191
  //init
275
  }
276
 
277
  function seopress_tax_save_term( $term_id ) {
278
+ //Nonce
279
+ if ( !isset( $_POST['seopress_cpt_nonce'] ) || !wp_verify_nonce( $_POST['seopress_cpt_nonce'], plugin_basename( __FILE__ ) ) )
280
+ return $term_id;
281
+
282
+ //Taxonomy object
283
+ $taxonomy = get_taxonomy(get_current_screen()->taxonomy);
284
+
285
+ //Check permission
286
+ if ( !current_user_can( $taxonomy->cap->edit_terms, $term_id ) )
287
+ return $term_id;
288
+
289
+ $seo_tabs = array();
290
+ $seo_tabs = json_decode(stripslashes(htmlspecialchars_decode($_POST['seo_tabs'])));
291
+
292
+ if (in_array('title-tab', $seo_tabs)) {
293
+ if(isset($_POST['seopress_titles_title'])){
294
+ update_term_meta($term_id, '_seopress_titles_title', esc_html($_POST['seopress_titles_title']));
295
+ }
296
+ if(isset($_POST['seopress_titles_desc'])){
297
+ update_term_meta($term_id, '_seopress_titles_desc', esc_html($_POST['seopress_titles_desc']));
298
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
299
  }
300
+ if (in_array('advanced-tab', $seo_tabs)) {
301
+ if( isset( $_POST[ 'seopress_robots_index' ] ) ) {
302
+ update_term_meta( $term_id, '_seopress_robots_index', 'yes' );
303
+ } else {
304
+ delete_term_meta( $term_id, '_seopress_robots_index', '' );
305
+ }
306
+ if( isset( $_POST[ 'seopress_robots_follow' ] ) ) {
307
+ update_term_meta( $term_id, '_seopress_robots_follow', 'yes' );
308
+ } else {
309
+ delete_term_meta( $term_id, '_seopress_robots_follow', '' );
310
+ }
311
+ if( isset( $_POST[ 'seopress_robots_odp' ] ) ) {
312
+ update_term_meta( $term_id, '_seopress_robots_odp', 'yes' );
313
+ } else {
314
+ delete_term_meta( $term_id, '_seopress_robots_odp', '' );
315
+ }
316
+ if( isset( $_POST[ 'seopress_robots_imageindex' ] ) ) {
317
+ update_term_meta( $term_id, '_seopress_robots_imageindex', 'yes' );
318
+ } else {
319
+ delete_term_meta( $term_id, '_seopress_robots_imageindex', '' );
320
+ }
321
+ if( isset( $_POST[ 'seopress_robots_archive' ] ) ) {
322
+ update_term_meta( $term_id, '_seopress_robots_archive', 'yes' );
323
+ } else {
324
+ delete_term_meta( $term_id, '_seopress_robots_archive', '' );
325
+ }
326
+ if( isset( $_POST[ 'seopress_robots_snippet' ] ) ) {
327
+ update_term_meta( $term_id, '_seopress_robots_snippet', 'yes' );
328
+ } else {
329
+ delete_term_meta( $term_id, '_seopress_robots_snippet', '' );
330
+ }
331
+ if(isset($_POST['seopress_robots_canonical'])){
332
+ update_term_meta($term_id, '_seopress_robots_canonical', esc_html($_POST['seopress_robots_canonical']));
333
+ }
334
  }
335
+ if (in_array('social-tab', $seo_tabs)) {
336
+ if(isset($_POST['seopress_social_fb_title'])){
337
+ update_term_meta($term_id, '_seopress_social_fb_title', esc_html($_POST['seopress_social_fb_title']));
338
+ }
339
+ if(isset($_POST['seopress_social_fb_desc'])){
340
+ update_term_meta($term_id, '_seopress_social_fb_desc', esc_html($_POST['seopress_social_fb_desc']));
341
+ }
342
+ if(isset($_POST['seopress_social_fb_img'])){
343
+ update_term_meta($term_id, '_seopress_social_fb_img', esc_html($_POST['seopress_social_fb_img']));
344
+ }
345
+ if(isset($_POST['seopress_social_twitter_title'])){
346
+ update_term_meta($term_id, '_seopress_social_twitter_title', esc_html($_POST['seopress_social_twitter_title']));
347
+ }
348
+ if(isset($_POST['seopress_social_twitter_desc'])){
349
+ update_term_meta($term_id, '_seopress_social_twitter_desc', esc_html($_POST['seopress_social_twitter_desc']));
350
+ }
351
+ if(isset($_POST['seopress_social_twitter_img'])){
352
+ update_term_meta($term_id, '_seopress_social_twitter_img', esc_html($_POST['seopress_social_twitter_img']));
353
+ }
354
  }
355
+ if (in_array('redirect-tab', $seo_tabs)) {
356
+ if(isset($_POST['seopress_redirections_type'])){
357
+ update_term_meta($term_id, '_seopress_redirections_type', $_POST['seopress_redirections_type']);
358
+ }
359
+ if(isset($_POST['seopress_redirections_value'])){
360
+ update_term_meta($term_id, '_seopress_redirections_value', esc_html($_POST['seopress_redirections_value']));
361
+ }
362
+ if( isset( $_POST[ 'seopress_redirections_enabled' ] ) ) {
363
+ update_term_meta( $term_id, '_seopress_redirections_enabled', 'yes' );
364
+ } else {
365
+ delete_term_meta( $term_id, '_seopress_redirections_enabled', '' );
366
+ }
367
  }
368
  }
369
  }
inc/admin/admin-wizard.php CHANGED
@@ -56,7 +56,7 @@ class SEOPRESS_Admin_Setup_Wizard {
56
  */
57
  public function enqueue_scripts() {
58
  wp_enqueue_style( 'seopress-setup', plugins_url( 'assets/css/seopress-setup.min.css', dirname(dirname(__FILE__))), array( 'dashicons', 'install' ), SEOPRESS_VERSION );
59
- wp_register_script( 'seopress-migrate-ajax', plugins_url( 'assets/js/seopress-migrate.js', dirname(dirname(__FILE__))), array( 'jquery' ), SEOPRESS_VERSION, true );
60
 
61
  $seopress_migrate = array(
62
  'seopress_aio_migrate' => array(
56
  */
57
  public function enqueue_scripts() {
58
  wp_enqueue_style( 'seopress-setup', plugins_url( 'assets/css/seopress-setup.min.css', dirname(dirname(__FILE__))), array( 'dashicons', 'install' ), SEOPRESS_VERSION );
59
+ wp_register_script( 'seopress-migrate-ajax', plugins_url( 'assets/js/seopress-migrate.min.js', dirname(dirname(__FILE__))), array( 'jquery' ), SEOPRESS_VERSION, true );
60
 
61
  $seopress_migrate = array(
62
  'seopress_aio_migrate' => array(
inc/admin/admin.php CHANGED
@@ -1785,7 +1785,7 @@ class seopress_options
1785
  </div>
1786
  <span class="inner">
1787
  <h3><?php _e('Structured Data Types','wp-seopress'); ?></h3>
1788
- <p><?php _e('Add data types to your content: articles, courses, recipes, videos, events and products','wp-seopress'); ?></p>
1789
  <a class="button-secondary" href="<?php echo admin_url( 'admin.php?page=seopress-pro-page#tab=tab_seopress_rich_snippets$9' ); ?>"><?php _e('Manage','wp-seopress'); ?></a>
1790
  <a class="button-secondary view-redirects" href="<?php echo admin_url( 'edit.php?post_type=seopress_schemas' ); ?>"><?php _e('See schemas','wp-seopress'); ?></a>
1791
  <?php
@@ -3023,7 +3023,7 @@ class seopress_options
3023
 
3024
  add_settings_field(
3025
  'seopress_google_analytics_link_tracking_enable', // ID
3026
- __("Enable external links tracking (all links with target _blank attribute)","wp-seopress"), // Title
3027
  array( $this, 'seopress_google_analytics_link_tracking_enable_callback' ), // Callback
3028
  'seopress-settings-admin-google-analytics-events', // Page
3029
  'seopress_setting_section_google_analytics_events' // Section
1785
  </div>
1786
  <span class="inner">
1787
  <h3><?php _e('Structured Data Types','wp-seopress'); ?></h3>
1788
+ <p><?php _e('Add data types to your content: articles, courses, recipes, videos, events, products and more.','wp-seopress'); ?></p>
1789
  <a class="button-secondary" href="<?php echo admin_url( 'admin.php?page=seopress-pro-page#tab=tab_seopress_rich_snippets$9' ); ?>"><?php _e('Manage','wp-seopress'); ?></a>
1790
  <a class="button-secondary view-redirects" href="<?php echo admin_url( 'edit.php?post_type=seopress_schemas' ); ?>"><?php _e('See schemas','wp-seopress'); ?></a>
1791
  <?php
3023
 
3024
  add_settings_field(
3025
  'seopress_google_analytics_link_tracking_enable', // ID
3026
+ __("Enable external links tracking","wp-seopress"), // Title
3027
  array( $this, 'seopress_google_analytics_link_tracking_enable_callback' ), // Callback
3028
  'seopress-settings-admin-google-analytics-events', // Page
3029
  'seopress_setting_section_google_analytics_events' // Section
inc/functions/options-google-analytics.php CHANGED
@@ -482,14 +482,16 @@ $seopress_google_analytics_html .= "gtag('js', new Date());\n";
482
  if (seopress_google_analytics_link_tracking_enable_option() !='') {
483
  $seopress_google_analytics_click_event['link_tracking'] =
484
  "window.addEventListener('load', function () {
485
- var links = document.querySelectorAll('a[target=\"_blank\"]');
486
- for (let i = 0; i < links.length; i++) {
487
- links[i].addEventListener('click', function(e) {
488
- gtag('event', 'click', {'event_category': 'external links','event_label' : this.href});
489
- });
490
- }
491
- });
492
- ";
 
 
493
  $seopress_google_analytics_click_event['link_tracking'] = apply_filters('seopress_gtag_link_tracking_ev', $seopress_google_analytics_click_event['link_tracking']);
494
  $seopress_google_analytics_html .= $seopress_google_analytics_click_event['link_tracking'];
495
  }
482
  if (seopress_google_analytics_link_tracking_enable_option() !='') {
483
  $seopress_google_analytics_click_event['link_tracking'] =
484
  "window.addEventListener('load', function () {
485
+ var links = document.querySelectorAll('a');
486
+ for (let i = 0; i < links.length; i++) {
487
+ links[i].addEventListener('click', function(e) {
488
+ var n = this.href.includes('".get_home_url()."');
489
+ if (n == false) {
490
+ gtag('event', 'click', {'event_category': 'external links','event_label' : this.href});
491
+ }
492
+ });
493
+ }
494
+ });";
495
  $seopress_google_analytics_click_event['link_tracking'] = apply_filters('seopress_gtag_link_tracking_ev', $seopress_google_analytics_click_event['link_tracking']);
496
  $seopress_google_analytics_html .= $seopress_google_analytics_click_event['link_tracking'];
497
  }
inc/functions/sitemap/template-xml-sitemaps-single.php CHANGED
@@ -52,9 +52,12 @@ function seopress_xml_sitemap_single() {
52
  $offset = preg_match_all('/\d+/', $offset, $matches);
53
  $offset = end($matches[0]);
54
 
 
 
 
55
 
56
  if (isset($offset) && absint($offset) && $offset !='' && $offset !=0) {
57
- $offset = (($offset-1)*1000);
58
  } else {
59
  $offset = 0;
60
  }
52
  $offset = preg_match_all('/\d+/', $offset, $matches);
53
  $offset = end($matches[0]);
54
 
55
+ //Max posts per paginated sitemap
56
+ $max = 1000;
57
+ $max = apply_filters('seopress_sitemaps_max_posts_per_sitemap', $max);
58
 
59
  if (isset($offset) && absint($offset) && $offset !='' && $offset !=0) {
60
+ $offset = (($offset-1)*$max);
61
  } else {
62
  $offset = 0;
63
  }
inc/functions/sitemap/template-xml-sitemaps.php CHANGED
@@ -43,12 +43,16 @@ function seopress_xml_sitemap_index() {
43
 
44
  $count_posts = wp_count_posts($cpt_key);
45
 
 
 
 
 
46
  if (isset($count_posts->publish)) {
47
  $published_posts = $count_posts->publish;
48
  }
49
 
50
- if ($published_posts >= 1000) {
51
- $max_loop = $published_posts / 1000;
52
  } else {
53
  $max_loop = 1;
54
  }
@@ -58,7 +62,7 @@ function seopress_xml_sitemap_index() {
58
  for ($i=0; $i < $max_loop ; $i++) {
59
 
60
  if (isset($offset) && absint($offset) && $offset !='' && $offset !=0) {
61
- $offset = ((($i)*1000));
62
  } else {
63
  $offset = 0;
64
  }
43
 
44
  $count_posts = wp_count_posts($cpt_key);
45
 
46
+ //Max posts per paginated sitemap
47
+ $max = 1000;
48
+ $max = apply_filters('seopress_sitemaps_max_posts_per_sitemap', $max);
49
+
50
  if (isset($count_posts->publish)) {
51
  $published_posts = $count_posts->publish;
52
  }
53
 
54
+ if ($published_posts >= $max) {
55
+ $max_loop = $published_posts / $max;
56
  } else {
57
  $max_loop = 1;
58
  }
62
  for ($i=0; $i < $max_loop ; $i++) {
63
 
64
  if (isset($offset) && absint($offset) && $offset !='' && $offset !=0) {
65
+ $offset = ((($i)*$max));
66
  } else {
67
  $offset = 0;
68
  }
languages/wp-seopress.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Project-Id-Version: SEOPress\n"
5
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-cloudy\n"
6
- "POT-Creation-Date: 2019-10-01 16:59+0200\n"
7
  "PO-Revision-Date: 2019-08-22 12:52+0200\n"
8
  "Last-Translator: \n"
9
  "Language-Team: Benjamin DENIS <contact@seopress.org>\n"
@@ -11,7 +11,7 @@ msgstr ""
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
- "X-Generator: Poedit 2.2.3\n"
15
  "X-Poedit-KeywordsList: __;_e;_x;esc_attr_e;esc_attr__;esc_html__;esc_html_e\n"
16
  "X-Poedit-Basepath: ..\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
@@ -22,7 +22,7 @@ msgstr ""
22
  msgid "SEOPress"
23
  msgstr ""
24
 
25
- #: inc/admin/admin-header.php:23 inc/admin/admin.php:1359
26
  #: inc/admin/adminbar.php:77
27
  msgid "PRO"
28
  msgstr ""
@@ -42,34 +42,34 @@ msgid "XML / HTML Sitemap"
42
  msgstr ""
43
 
44
  #: inc/admin/admin-header.php:47 inc/admin/admin.php:187
45
- #: inc/admin/admin.php:1535 inc/admin/adminbar.php:37
46
  msgid "Social Networks"
47
  msgstr ""
48
 
49
  #: inc/admin/admin-header.php:53 inc/admin/admin.php:188
50
- #: inc/admin/admin.php:1577 inc/admin/adminbar.php:43
51
  msgid "Google Analytics"
52
  msgstr ""
53
 
54
  #: inc/admin/admin-header.php:59 inc/admin/admin-metaboxes-form.php:58
55
  #: inc/admin/admin.php:189 inc/admin/admin.php:346 inc/admin/admin.php:620
56
- #: inc/admin/admin.php:1619 inc/admin/adminbar.php:49
57
  msgid "Advanced"
58
  msgstr ""
59
 
60
- #: inc/admin/admin-header.php:67 inc/admin/admin.php:1653
61
  msgid "WooCommerce"
62
  msgstr ""
63
 
64
- #: inc/admin/admin-header.php:73 inc/admin/admin.php:1685
65
  msgid "Easy Digital Downloads"
66
  msgstr ""
67
 
68
- #: inc/admin/admin-header.php:79 inc/admin/admin.php:1717
69
  msgid "Local Business"
70
  msgstr ""
71
 
72
- #: inc/admin/admin-header.php:85 inc/admin/admin.php:1749
73
  msgid "Dublin Core"
74
  msgstr ""
75
 
@@ -77,37 +77,37 @@ msgstr ""
77
  msgid "Structured Data Types (schema.org)"
78
  msgstr ""
79
 
80
- #: inc/admin/admin-header.php:97 inc/admin/admin.php:1814
81
  msgid "Breadcrumbs"
82
  msgstr ""
83
 
84
- #: inc/admin/admin-header.php:103 inc/admin/admin.php:1856
85
  msgid "Google Page Speed"
86
  msgstr ""
87
 
88
- #: inc/admin/admin-header.php:110 inc/admin/admin.php:1882
89
  msgid "robots.txt"
90
  msgstr ""
91
 
92
- #: inc/admin/admin-header.php:117 inc/admin/admin.php:1927
93
  msgid "Google News Sitemap"
94
  msgstr ""
95
 
96
  #: inc/admin/admin-header.php:123 inc/admin/admin.php:659
97
- #: inc/admin/admin.php:1974 inc/admin/adminbar.php:92
98
  msgid "Redirections"
99
  msgstr ""
100
 
101
- #: inc/admin/admin-header.php:129 inc/admin/admin.php:2017
102
  msgid "Broken links"
103
  msgstr ""
104
 
105
- #: inc/admin/admin-header.php:135 inc/admin/admin.php:2050
106
  #: inc/admin/adminbar.php:107
107
  msgid "Backlinks"
108
  msgstr ""
109
 
110
- #: inc/admin/admin-header.php:141 inc/admin/admin.php:2065
111
  msgid "URL Rewriting"
112
  msgstr ""
113
 
@@ -115,21 +115,21 @@ msgstr ""
115
  msgid "White Label"
116
  msgstr ""
117
 
118
- #: inc/admin/admin-header.php:154 inc/admin/admin.php:2101
119
  msgid ".htaccess"
120
  msgstr ""
121
 
122
- #: inc/admin/admin-header.php:161 inc/admin/admin.php:2117
123
  msgid "RSS"
124
  msgstr ""
125
 
126
- #: inc/admin/admin-header.php:167 inc/admin/admin.php:1333
127
- #: inc/admin/admin.php:2158 inc/admin/adminbar.php:71
128
  msgid "License"
129
  msgstr ""
130
 
131
  #: inc/admin/admin-header.php:174 inc/admin/admin.php:190
132
- #: inc/admin/admin.php:2133 inc/admin/adminbar.php:55
133
  msgid "Tools"
134
  msgstr ""
135
 
@@ -366,12 +366,12 @@ msgid "No custom title is set for this post."
366
  msgstr ""
367
 
368
  #: inc/admin/admin-metaboxes-content-analysis-form.php:226
369
- #: inc/admin/admin-metaboxes-form.php:111
370
- #: inc/admin/admin-metaboxes-form.php:112 inc/admin/admin-wizard.php:256
371
  #: inc/admin/admin-wizard.php:275 inc/admin/admin-wizard.php:292
372
- #: inc/admin/admin-wizard.php:311 inc/admin/admin.php:721
373
- #: inc/admin/admin.php:742 inc/admin/admin.php:761 inc/admin/admin.php:782
374
- #: inc/admin/admin.php:2255 inc/admin/admin.php:3714
375
  #: inc/functions/options-advanced-admin.php:764
376
  msgid "Meta description"
377
  msgstr ""
@@ -534,140 +534,142 @@ msgstr ""
534
  msgid "Social"
535
  msgstr ""
536
 
537
- #: inc/admin/admin-metaboxes-form.php:61
538
  msgid "Redirection"
539
  msgstr ""
540
 
541
- #: inc/admin/admin-metaboxes-form.php:66
542
  msgid "Google News"
543
  msgstr ""
544
 
545
- #: inc/admin/admin-metaboxes-form.php:73
546
  msgid "Video Sitemap"
547
  msgstr ""
548
 
549
- #: inc/admin/admin-metaboxes-form.php:86
550
  msgid ""
551
  "This is your <strong>Shop page</strong>. Go to <strong>SEO > Titles & Metas "
552
  "> Archives > Products</strong> "
553
  msgstr ""
554
 
555
- #: inc/admin/admin-metaboxes-form.php:86
556
  msgid "to edit your title and meta description"
557
  msgstr ""
558
 
559
- #: inc/admin/admin-metaboxes-form.php:92 inc/admin/admin-metaboxes-form.php:93
 
560
  msgid "Title"
561
  msgstr ""
562
 
563
- #: inc/admin/admin-metaboxes-form.php:93
564
  msgid "Enter your title"
565
  msgstr ""
566
 
567
- #: inc/admin/admin-metaboxes-form.php:97
568
  msgid " / 568 pixels - "
569
  msgstr ""
570
 
571
- #: inc/admin/admin-metaboxes-form.php:99 inc/admin/admin-metaboxes-form.php:118
 
572
  msgid " (maximum recommended limit)"
573
  msgstr ""
574
 
575
- #: inc/admin/admin-metaboxes-form.php:103 inc/admin/admin.php:3760
576
- #: inc/admin/admin.php:4748
577
  msgid "Post Title"
578
  msgstr ""
579
 
580
- #: inc/admin/admin-metaboxes-form.php:105 inc/admin/admin.php:198
581
- #: inc/admin/admin.php:3705 inc/admin/admin.php:3764 inc/admin/admin.php:3907
582
- #: inc/admin/admin.php:4030 inc/admin/admin.php:4108 inc/admin/admin.php:4179
583
- #: inc/admin/admin.php:4249 inc/admin/admin.php:4299
584
  msgid "Site Title"
585
  msgstr ""
586
 
587
- #: inc/admin/admin-metaboxes-form.php:107 inc/admin/admin-wizard.php:369
588
- #: inc/admin/admin.php:2239 inc/admin/admin.php:3692 inc/admin/admin.php:3706
589
- #: inc/admin/admin.php:3762 inc/admin/admin.php:3905 inc/admin/admin.php:4028
590
- #: inc/admin/admin.php:4107 inc/admin/admin.php:4178 inc/admin/admin.php:4248
591
- #: inc/admin/admin.php:4300
592
  msgid "Separator"
593
  msgstr ""
594
 
595
- #: inc/admin/admin-metaboxes-form.php:112
596
  msgid "Enter your meta description"
597
  msgstr ""
598
 
599
- #: inc/admin/admin-metaboxes-form.php:116
600
  msgid " / 940 pixels - "
601
  msgstr ""
602
 
603
- #: inc/admin/admin-metaboxes-form.php:122
604
  msgid "Category / term description"
605
  msgstr ""
606
 
607
- #: inc/admin/admin-metaboxes-form.php:126
608
  msgid "Post Excerpt"
609
  msgstr ""
610
 
611
- #: inc/admin/admin-metaboxes-form.php:132
612
  msgid "Google Snippet Preview"
613
  msgstr ""
614
 
615
- #: inc/admin/admin-metaboxes-form.php:133
616
  msgid ""
617
  "This is what your page will look like in Google search results. You have to "
618
  "publish your post to get the Google Snippet Preview."
619
  msgstr ""
620
 
621
- #: inc/admin/admin-metaboxes-form.php:158
622
  msgid ""
623
  "Do not display this page in search engine results / XML - HTML sitemaps "
624
  "<strong>(noindex)</strong>"
625
  msgstr ""
626
 
627
- #: inc/admin/admin-metaboxes-form.php:164
628
  msgid "Do not follow links for this page <strong>(nofollow)</strong>"
629
  msgstr ""
630
 
631
- #: inc/admin/admin-metaboxes-form.php:170
632
  msgid ""
633
  "Do not use Open Directory project metadata for titles or excerpts for this "
634
  "page <strong>(noodp)</strong>"
635
  msgstr ""
636
 
637
- #: inc/admin/admin-metaboxes-form.php:176
638
  msgid "Do not index images for this page <strong>(noimageindex)</strong>"
639
  msgstr ""
640
 
641
- #: inc/admin/admin-metaboxes-form.php:182
642
  msgid ""
643
  "Do not display a \"Cached\" link in the Google search results "
644
  "<strong>(noarchive)</strong>"
645
  msgstr ""
646
 
647
- #: inc/admin/admin-metaboxes-form.php:188
648
  msgid ""
649
  "Do not display a description in search results for this page "
650
  "<strong>(nosnippet)</strong>"
651
  msgstr ""
652
 
653
- #: inc/admin/admin-metaboxes-form.php:192
654
  msgid ""
655
  "You cannot uncheck a parameter? This is normal, and it's most likely defined "
656
  "in the global settings of the extension."
657
  msgstr ""
658
 
659
- #: inc/admin/admin-metaboxes-form.php:195
660
- #: inc/admin/admin-metaboxes-form.php:196 inc/admin/admin-wizard.php:260
661
  #: inc/admin/admin-wizard.php:296 inc/admin/admin-wizard.php:315
662
- #: inc/admin/admin.php:725 inc/admin/admin.php:765 inc/admin/admin.php:786
663
  msgid "Canonical URL"
664
  msgstr ""
665
 
666
- #: inc/admin/admin-metaboxes-form.php:196
667
  msgid "Default value: "
668
  msgstr ""
669
 
670
- #: inc/admin/admin-metaboxes-form.php:198
671
  msgid ""
672
  "A canonical URL is the URL of the page that Google thinks is most "
673
  "representative from a set of duplicate pages on your site. For example, if "
@@ -676,346 +678,347 @@ msgid ""
676
  "pages do not need to be absolutely identical; minor changes in sorting or "
677
  "filtering of list pages do not make the page unique (for example, sorting by "
678
  "price or filtering by item color).\n"
679
- " The canonical can be in a different domain than a duplicate."
 
680
  msgstr ""
681
 
682
- #: inc/admin/admin-metaboxes-form.php:205
683
  msgid "Select a primary category"
684
  msgstr ""
685
 
686
- #: inc/admin/admin-metaboxes-form.php:206
687
  msgid ""
688
  "Set the category that gets used in the %category% permalink if you have "
689
  "multiple categories."
690
  msgstr ""
691
 
692
- #: inc/admin/admin-metaboxes-form.php:211 inc/admin/admin-wizard.php:380
693
- #: inc/admin/admin.php:4791
694
  msgid "None (will disable this feature)"
695
  msgstr ""
696
 
697
- #: inc/admin/admin-metaboxes-form.php:222
698
- #: inc/admin/admin-metaboxes-form.php:223
699
  msgid "Custom breadcrumbs"
700
  msgstr ""
701
 
702
- #: inc/admin/admin-metaboxes-form.php:223
703
  msgid "Enter a custom value, useful if your title is too long"
704
  msgstr ""
705
 
706
- #: inc/admin/admin-metaboxes-form.php:231
707
  msgid "Ask Facebook to update his cache"
708
  msgstr ""
709
 
710
- #: inc/admin/admin-metaboxes-form.php:233
711