SEOPress - Version 3.7.8

Version Description

  • NEW Pixel counter for title and meta description now works with each language / alphabet! Faster, more reliable and universal!
  • NEW Facebook Preview!
  • NEW Cookie bar customization: change background, color, buttons... from SEO, Google Analytics, Cookie bar / GDPR tab
  • NEW Add new checks to content analysis for social networks (Open Graph / Twitter cards) to detect duplicated tags/conflicts
  • NEW %%post_thumbnail_url%% global dynamic variable to display post thumbnail URL (https://www.seopress.org/support/guides/manage-titles-meta-descriptions/)
  • NEW %%currentmonth_short%% global dynamic variable to display current month in 3 letters (https://www.seopress.org/support/guides/manage-titles-meta-descriptions/)
  • NEW 'seopress_titles_post_thumbnail_url' hook to filter post thumbnail URL (https://www.seopress.org/support/hooks/filter-seopress_titles_post_thumbnail_url-dynamic-variable/)
  • INFO Content analysis now displays duplicate H1 title values for faster identification
  • INFO Add Post title and Permalink to the metadata export file (PRO)
  • INFO wpForo compatibility with SEOPress
  • INFO Improve compatibility with Jetpack CDN (thanks to @jeherve)
  • INFO Improve UI in content analysis if transparent / white images
  • INFO Remove SEO admin bar for user roles without "manage_options" capability to improve UX
  • FIX Facebook OG:Image URL encoding if no featured thumbnail or custom og:image set (thanks to @bitofseo)
  • FIX Keywords in permalink was case sensitive
Download this release

Release Info

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

Code changes from version 3.7.7.1 to 3.7.8

assets/css/seopress.css CHANGED
@@ -136,7 +136,9 @@
136
  max-width: 150px;
137
  max-height: 150px;
138
  object-fit: cover;
 
139
  cursor: default;
 
140
  }
141
 
142
  #seopress_cpt .notice {
@@ -318,6 +320,35 @@
318
  width: 49%;
319
  margin-left: 1%;
320
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
321
 
322
  #seopress_cpt .google-snippet-preview {
323
  font-family: arial,sans-serif;
@@ -342,20 +373,89 @@
342
  font-weight: 400;
343
  line-height: 16px;
344
  }
345
-
346
  #seopress_cpt .google-snippet-preview .snippet-description,#seopress_cpt .google-snippet-preview .snippet-description-custom,#seopress_cpt .google-snippet-preview .snippet-description-default {
347
  color: #545454;
348
- font-size: 13px;
349
  font-weight: 400;
350
  line-height: 18.2px;
351
  display: inline;
352
  }
353
-
354
  #seopress_cpt .google-snippet-preview .snippet-date {
355
  color: grey;
356
  display: inline;
357
  }
358
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
359
  #seopress_cpt .wrap-seopress-counters, #seopress_pro_cpt .wrap-seopress-counters {
360
  text-align: right;
361
  background: #e9ecef;
@@ -365,7 +465,6 @@
365
  justify-content: flex-end;
366
  border-radius: 0 0 .25rem .25rem;
367
  }
368
-
369
  #seopress_cpt .sp-progress, #seopress_pro_cpt .sp-progress {
370
  display: -ms-flexbox;
371
  display: flex;
@@ -375,7 +474,6 @@
375
  background-color: #e9ecef;
376
  border-radius: .25rem .25rem 0 0;
377
  }
378
-
379
  #seopress_cpt .sp-progress-bar, #seopress_pro_cpt .sp-progress-bar {
380
  display: -ms-flexbox;
381
  display: flex;
@@ -389,7 +487,6 @@
389
  background-color: #0085ba;
390
  transition: width .6s ease;
391
  }
392
-
393
  #seopress_cpt #seopress_titles_desc_counters,
394
  #seopress_cpt #seopress_titles_title_counters,
395
  #seopress_pro_cpt #seopress_rich_snippets_articles_counters,
@@ -1193,6 +1290,31 @@ body.seopress-styles {
1193
  vertical-align: baseline;
1194
  }
1195
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1196
  .seopress-option .button .dashicons {
1197
  font-size: 16px;
1198
  }
@@ -1821,4 +1943,4 @@ body.seopress-styles {
1821
  #tab_seopress_social_accounts .form-table {
1822
  float: left;
1823
  width: 70%;
1824
- }
136
  max-width: 150px;
137
  max-height: 150px;
138
  object-fit: cover;
139
+ border: 1px solid #f3f4f5;
140
  cursor: default;
141
+ padding: 1px;
142
  }
143
 
144
  #seopress_cpt .notice {
320
  width: 49%;
321
  margin-left: 1%;
322
  }
323
+ #seopress_cpt #tabs-3 .box-left {
324
+ width: 44%;
325
+ }
326
+ #seopress_cpt #tabs-3 .box-right {
327
+ width: 54%;
328
+ }
329
+ @media only screen and (max-width: 1200px) {
330
+ #seopress_cpt .box-left,
331
+ #seopress_cpt .box-right {
332
+ float: none;
333
+ width: 100%;
334
+ margin: 0;
335
+ }
336
+ }
337
+ @media only screen and (max-width: 1500px) {
338
+ #seopress_cpt #tabs-3 .box-left,
339
+ #seopress_cpt #tabs-3 .box-right {
340
+ float: none;
341
+ width: 100%;
342
+ margin: 0;
343
+ }
344
+ }
345
+
346
+ #edittag #seopress_cpt #tabs-3 .box-left,
347
+ #edittag #seopress_cpt #tabs-3 .box-right {
348
+ float: none;
349
+ width: 100%;
350
+ margin: 0;
351
+ }
352
 
353
  #seopress_cpt .google-snippet-preview {
354
  font-family: arial,sans-serif;
373
  font-weight: 400;
374
  line-height: 16px;
375
  }
 
376
  #seopress_cpt .google-snippet-preview .snippet-description,#seopress_cpt .google-snippet-preview .snippet-description-custom,#seopress_cpt .google-snippet-preview .snippet-description-default {
377
  color: #545454;
378
+ font-size: 14px;
379
  font-weight: 400;
380
  line-height: 18.2px;
381
  display: inline;
382
  }
 
383
  #seopress_cpt .google-snippet-preview .snippet-date {
384
  color: grey;
385
  display: inline;
386
  }
387
+ #seopress_cpt .facebook-snippet-box {
388
+ color: #4b4f56;
389
+ font-size: 14px;
390
+ width: 524px;
391
+ }
392
+ #seopress_cpt .snippet-meta {
393
+ display:flex;
394
+ }
395
+ #seopress_cpt .snippet-fb-site-name,
396
+ #seopress_cpt .snippet-fb-url,
397
+ #seopress_cpt .fb-by {
398
+ color: #606770;
399
+ font-size: 12px;
400
+ white-space: nowrap;
401
+ line-height: 11px;
402
+ text-transform: uppercase;
403
+ }
404
+ #seopress_cpt .fb-sep {
405
+ padding-left: 5px;
406
+ padding-right: 5px;
407
+ color: #606770;
408
+ line-height: 11px;
409
+ font-size: 12px;
410
+ }
411
+ #seopress_cpt .facebook-snippet-box .facebook-snippet-text {
412
+ border: 1px solid #dadde1;
413
+ background-color: #f2f3f5;
414
+ padding: 10px 12px;
415
+ }
416
+ #seopress_cpt .facebook-snippet-box .title-desc {
417
+ max-height: 46px;
418
+ overflow: hidden;
419
+ }
420
+ #seopress_cpt .facebook-snippet-box .snippet-fb-title,
421
+ #seopress_cpt .facebook-snippet-box .snippet-fb-title-custom,
422
+ #seopress_cpt .facebook-snippet-box .snippet-fb-title-default {
423
+ font-size: 16px;
424
+ line-height: 20px;
425
+ margin: 3px 0 0;
426
+ padding-top: 2px;
427
+ color: #1d2129;
428
+ font-weight: 700;
429
+ overflow: hidden;
430
+ -webkit-box-orient: vertical;
431
+ display: -webkit-box;
432
+ text-overflow: ellipsis;
433
+ white-space: normal;
434
+ word-break: break-word;
435
+ max-height: 22px;
436
+ }
437
+ #seopress_cpt .facebook-snippet-box .snippet-fb-description,
438
+ #seopress_cpt .facebook-snippet-box .snippet-fb-description-custom,
439
+ #seopress_cpt .facebook-snippet-box .snippet-fb-description-default {
440
+ color: #606770;
441
+ font-size: 14px;
442
+ line-height: 20px;
443
+ word-break: break-word;
444
+ font-family: Helvetica, Arial, sans-serif;
445
+ max-height: 80px;
446
+ overflow: hidden;
447
+ -webkit-box-orient: vertical;
448
+ display: -webkit-box;
449
+ text-overflow: ellipsis;
450
+ white-space: normal;
451
+ width: 100%;
452
+ }
453
+ #seopress_cpt .facebook-snippet-box img {
454
+ display: block;
455
+ height: 274px;
456
+ width: 524px;
457
+ object-fit: cover;
458
+ }
459
  #seopress_cpt .wrap-seopress-counters, #seopress_pro_cpt .wrap-seopress-counters {
460
  text-align: right;
461
  background: #e9ecef;
465
  justify-content: flex-end;
466
  border-radius: 0 0 .25rem .25rem;
467
  }
 
468
  #seopress_cpt .sp-progress, #seopress_pro_cpt .sp-progress {
469
  display: -ms-flexbox;
470
  display: flex;
474
  background-color: #e9ecef;
475
  border-radius: .25rem .25rem 0 0;
476
  }
 
477
  #seopress_cpt .sp-progress-bar, #seopress_pro_cpt .sp-progress-bar {
478
  display: -ms-flexbox;
479
  display: flex;
487
  background-color: #0085ba;
488
  transition: width .6s ease;
489
  }
 
490
  #seopress_cpt #seopress_titles_desc_counters,
491
  #seopress_cpt #seopress_titles_title_counters,
492
  #seopress_pro_cpt #seopress_rich_snippets_articles_counters,
1290
  vertical-align: baseline;
1291
  }
1292
 
1293
+ .seopress-option .wp-picker-container button {
1294
+ box-shadow: none;
1295
+ border: 1px solid #0071a1;
1296
+ border-radius: 3px;
1297
+ background: rgb(243, 245, 246);
1298
+ text-transform: none;
1299
+ }
1300
+
1301
+ .seopress-option .wp-picker-container input[type=text].wp-color-picker {
1302
+ min-width: inherit;
1303
+ }
1304
+
1305
+ .seopress-option .wp-picker-container .wp-picker-clear {
1306
+ box-shadow: none;
1307
+ text-transform: none;
1308
+ border-radius: 0;
1309
+ background: none;
1310
+ }
1311
+
1312
+ .seopress-option .wp-picker-container .wp-picker-clear:hover {
1313
+ background:none;
1314
+ text-decoration: currentColor;
1315
+ color:inherit;
1316
+ }
1317
+
1318
  .seopress-option .button .dashicons {
1319
  font-size: 16px;
1320
  }
1943
  #tab_seopress_social_accounts .form-table {
1944
  float: left;
1945
  width: 70%;
1946
+ }
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:#e9ecef;padding:2px 5px;display:flex;font-size:12px;justify-content:flex-end;border-radius:0 0 .25rem .25rem}#seopress_cpt .sp-progress,#seopress_pro_cpt .sp-progress{display:-ms-flexbox;display:flex;height:1rem;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem .25rem 0 0}#seopress_cpt .sp-progress-bar,#seopress_pro_cpt .sp-progress-bar{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;color:#fff;text-align:center;white-space:nowrap;background-color:#0085ba;transition:width .6s ease}#seopress_cpt #seopress_titles_desc_counters,#seopress_cpt #seopress_titles_title_counters,#seopress_pro_cpt #seopress_rich_snippets_articles_counters,#seopress_pro_cpt #seopress_rich_snippets_courses_counters{display:inline;margin-right:5px}#seopress_cpt #seopress_titles_desc_counters_val,#seopress_cpt #seopress_titles_title_counters_val,#seopress_pro_cpt #seopress_rich_snippets_articles_counters_val,#seopress_pro_cpt #seopress_rich_snippets_courses_counters_val{display:inline;font-weight:700}#term-seopress #seopress_cpt{width:95%}.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-rk-migrate,.seopress-styles .seopress-option #seopress-seo-framework-migrate,.seopress-styles .seopress-option #seopress-squirrly-migrate,.seopress-styles .seopress-option #seopress-yoast-migrate,.seopress-styles .seopress-option #submit{color:#fff;text-decoration:none;border:none;border-radius:4px;padding-right:20px;padding-left:20px;line-height:34px;text-transform:uppercase;min-height:34px;transition:all .3s linear;text-shadow:none;box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.1);margin-right:15px;background:RGB(106,124,148);position:relative;height:auto;z-index:10}.seopress-styles .seopress-option #seopress-aio-migrate:hover,.seopress-styles .seopress-option #seopress-rk-migrate:hover,.seopress-styles .seopress-option #seopress-seo-framework-migrate:hover,.seopress-styles .seopress-option #seopress-squirrly-migrate:hover,.seopress-styles .seopress-option #seopress-yoast-migrate:hover,.seopress-styles .seopress-option #submit:hover{text-decoration:none;color:#fff;background:#232323}.seopress-styles #wpcontent{padding-left:0;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-option .seopress_wrap_single_cpt .feature-state,.seopress-option .seopress_wrap_tax .feature-state{padding:2px 12px;margin:0 0 .5rem .5rem}.seopress-option #tab_seopress_titles_single h2,.seopress-option #tab_seopress_titles_tax h2{margin:2em 0 1em 0;border-top:1px solid #eee;padding:1em 0 0 0}#seopress_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_wrap_single_cpt input.toggle,.seopress_wrap_tax input.toggle{margin:0;border:none;min-width: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_wrap_single_cpt input.toggle+label,.seopress_wrap_single_cpt input.toggle+label:before,.seopress_wrap_tax input.toggle+label,.seopress_wrap_tax input.toggle+label:before{width:40px;height:20px}.seopress_wrap_single_cpt input.toggle+label:after,.seopress_wrap_tax input.toggle+label:after{width:20px;height:20px}#seopress-content input.toggle[data-toggle="1"]+label:before,.seopress-option input.toggle[data-toggle="1"]+label:before{width:50px;background:rgba(19,191,17,1)}.seopress_wrap_single_cpt input.toggle[data-toggle="1"]+label:before,.seopress_wrap_tax input.toggle[data-toggle="1"]+label:before{width:40px;background:#3197d3}#seopress-content input.toggle[data-toggle="1"]+label:after,.seopress-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_wrap_single_cpt input.toggle[data-toggle="1"]+label:after,.seopress_wrap_tax input.toggle[data-toggle="1"]+label:after{box-shadow:inset 0 0 0 1px #3197d3,0 2px 4px rgba(0,0,0,.2)}#seopress-content .seopress-page-list{position:relative}#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;border:1px solid #f3f4f5;cursor:default;padding:1px}#seopress_cpt .notice{padding:10px 14px}#seopress-analysis-tabs .dashicons,#seopress_cpt .dashicons{vertical-align:middle}#seopress_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 #tabs-3 .box-left{width:44%}#seopress_cpt #tabs-3 .box-right{width:54%}@media only screen and (max-width:1200px){#seopress_cpt .box-left,#seopress_cpt .box-right{float:none;width:100%;margin:0}}@media only screen and (max-width:1500px){#seopress_cpt #tabs-3 .box-left,#seopress_cpt #tabs-3 .box-right{float:none;width:100%;margin:0}}#edittag #seopress_cpt #tabs-3 .box-left,#edittag #seopress_cpt #tabs-3 .box-right{float:none;width:100%;margin:0}#seopress_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:14px;font-weight:400;line-height:18.2px;display:inline}#seopress_cpt .google-snippet-preview .snippet-date{color:grey;display:inline}#seopress_cpt .facebook-snippet-box{color:#4b4f56;font-size:14px;width:524px}#seopress_cpt .snippet-meta{display:flex}#seopress_cpt .fb-by,#seopress_cpt .snippet-fb-site-name,#seopress_cpt .snippet-fb-url{color:#606770;font-size:12px;white-space:nowrap;line-height:11px;text-transform:uppercase}#seopress_cpt .fb-sep{padding-left:5px;padding-right:5px;color:#606770;line-height:11px;font-size:12px}#seopress_cpt .facebook-snippet-box .facebook-snippet-text{border:1px solid #dadde1;background-color:#f2f3f5;padding:10px 12px}#seopress_cpt .facebook-snippet-box .title-desc{max-height:46px;overflow:hidden}#seopress_cpt .facebook-snippet-box .snippet-fb-title,#seopress_cpt .facebook-snippet-box .snippet-fb-title-custom,#seopress_cpt .facebook-snippet-box .snippet-fb-title-default{font-size:16px;line-height:20px;margin:3px 0 0;padding-top:2px;color:#1d2129;font-weight:700;overflow:hidden;-webkit-box-orient:vertical;display:-webkit-box;text-overflow:ellipsis;white-space:normal;word-break:break-word;max-height:22px}#seopress_cpt .facebook-snippet-box .snippet-fb-description,#seopress_cpt .facebook-snippet-box .snippet-fb-description-custom,#seopress_cpt .facebook-snippet-box .snippet-fb-description-default{color:#606770;font-size:14px;line-height:20px;word-break:break-word;font-family:Helvetica,Arial,sans-serif;max-height:80px;overflow:hidden;-webkit-box-orient:vertical;display:-webkit-box;text-overflow:ellipsis;white-space:normal;width:100%}#seopress_cpt .facebook-snippet-box img{display:block;height:274px;width:524px;object-fit:cover}#seopress_cpt .wrap-seopress-counters,#seopress_pro_cpt .wrap-seopress-counters{text-align:right;background:#e9ecef;padding:2px 5px;display:flex;font-size:12px;justify-content:flex-end;border-radius:0 0 .25rem .25rem}#seopress_cpt .sp-progress,#seopress_pro_cpt .sp-progress{display:-ms-flexbox;display:flex;height:1rem;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem .25rem 0 0}#seopress_cpt .sp-progress-bar,#seopress_pro_cpt .sp-progress-bar{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;color:#fff;text-align:center;white-space:nowrap;background-color:#0085ba;transition:width .6s ease}#seopress_cpt #seopress_titles_desc_counters,#seopress_cpt #seopress_titles_title_counters,#seopress_pro_cpt #seopress_rich_snippets_articles_counters,#seopress_pro_cpt #seopress_rich_snippets_courses_counters{display:inline;margin-right:5px}#seopress_cpt #seopress_titles_desc_counters_val,#seopress_cpt #seopress_titles_title_counters_val,#seopress_pro_cpt #seopress_rich_snippets_articles_counters_val,#seopress_pro_cpt #seopress_rich_snippets_courses_counters_val{display:inline;font-weight:700}#term-seopress #seopress_cpt{width:95%}.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-rk-migrate,.seopress-styles .seopress-option #seopress-seo-framework-migrate,.seopress-styles .seopress-option #seopress-squirrly-migrate,.seopress-styles .seopress-option #seopress-yoast-migrate,.seopress-styles .seopress-option #submit{color:#fff;text-decoration:none;border:none;border-radius:4px;padding-right:20px;padding-left:20px;line-height:34px;text-transform:uppercase;min-height:34px;transition:all .3s linear;text-shadow:none;box-shadow:0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.1);margin-right:15px;background:RGB(106,124,148);position:relative;height:auto;z-index:10}.seopress-styles .seopress-option #seopress-aio-migrate:hover,.seopress-styles .seopress-option #seopress-rk-migrate:hover,.seopress-styles .seopress-option #seopress-seo-framework-migrate:hover,.seopress-styles .seopress-option #seopress-squirrly-migrate:hover,.seopress-styles .seopress-option #seopress-yoast-migrate:hover,.seopress-styles .seopress-option #submit:hover{text-decoration:none;color:#fff;background:#232323}.seopress-styles #wpcontent{padding-left:0;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 .wp-picker-container button{box-shadow:none;border:1px solid #0071a1;border-radius:3px;background:#f3f5f6;text-transform:none}.seopress-option .wp-picker-container input[type=text].wp-color-picker{min-width:inherit}.seopress-option .wp-picker-container .wp-picker-clear{box-shadow:none;text-transform:none;border-radius:0;background:0 0}.seopress-option .wp-picker-container .wp-picker-clear:hover{background:0 0;text-decoration:currentColor;color:inherit}.seopress-option .button .dashicons{font-size:16px}#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-option .seopress_wrap_single_cpt .feature-state,.seopress-option .seopress_wrap_tax .feature-state{padding:2px 12px;margin:0 0 .5rem .5rem}.seopress-option #tab_seopress_titles_single h2,.seopress-option #tab_seopress_titles_tax h2{margin:2em 0 1em 0;border-top:1px solid #eee;padding:1em 0 0 0}#seopress_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_wrap_single_cpt input.toggle,.seopress_wrap_tax input.toggle{margin:0;border:none;min-width: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_wrap_single_cpt input.toggle+label,.seopress_wrap_single_cpt input.toggle+label:before,.seopress_wrap_tax input.toggle+label,.seopress_wrap_tax input.toggle+label:before{width:40px;height:20px}.seopress_wrap_single_cpt input.toggle+label:after,.seopress_wrap_tax input.toggle+label:after{width:20px;height:20px}#seopress-content input.toggle[data-toggle="1"]+label:before,.seopress-option input.toggle[data-toggle="1"]+label:before{width:50px;background:rgba(19,191,17,1)}.seopress_wrap_single_cpt input.toggle[data-toggle="1"]+label:before,.seopress_wrap_tax input.toggle[data-toggle="1"]+label:before{width:40px;background:#3197d3}#seopress-content input.toggle[data-toggle="1"]+label:after,.seopress-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_wrap_single_cpt input.toggle[data-toggle="1"]+label:after,.seopress_wrap_tax input.toggle[data-toggle="1"]+label:after{box-shadow:inset 0 0 0 1px #3197d3,0 2px 4px rgba(0,0,0,.2)}#seopress-content .seopress-page-list{position:relative}#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-block-editor.js CHANGED
@@ -21,20 +21,53 @@ let hasSaved = false;
21
  seopress_analysis_target_kw: $('#seopress_analysis_target_kw_meta').val(),
22
  _ajax_nonce: seopressAjaxRealPreview.seopress_nonce,
23
  },
24
- success : function( data ) {
25
- $( '#seopress_cpt .google-snippet-preview .snippet-title' ).html(data.data.title);
26
- $( '#seopress_cpt .google-snippet-preview .snippet-title-default' ).html(data.data.title);
27
- $( '#seopress_titles_title_meta' ).attr("placeholder", data.data.title);
28
- $( '#seopress_cpt .google-snippet-preview .snippet-description' ).html(data.data.meta_desc);
29
- $( '#seopress_cpt .google-snippet-preview .snippet-description-default' ).html(data.data.meta_desc);
30
- $( '#seopress_titles_desc_meta' ).attr("placeholder", data.data.meta_desc);
31
- $( '#seopress_cpt #seopress_social_fb_title_meta' ).attr("placeholder", data.data.og_title);
32
- $( '#seopress_cpt #seopress_social_fb_desc_meta' ).attr("placeholder", data.data.og_desc);
33
- $( '#seopress_cpt #seopress_social_fb_img_meta' ).attr("placeholder", data.data.og_img);
34
- $( '#seopress_cpt #seopress_social_twitter_title_meta' ).attr("placeholder", data.data.tw_title);
35
- $( '#seopress_cpt #seopress_social_twitter_desc_meta' ).attr("placeholder", data.data.tw_desc);
36
- $( '#seopress_cpt #seopress_social_twitter_img_meta' ).attr("placeholder", data.data.tw_img);
37
- $( '#seopress_cpt #seopress_robots_canonical_meta').attr('placeholder', data.data.canonical),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  $( '#seopress_analysis_results_state' ).fadeIn().css('display', 'inline-block');
39
  $( '#seopress_analysis_results_state' ).delay(3500).fadeOut();
40
  $( '#seopress-analysis-tabs-1' ).load(' #seopress-analysis-tabs-1');
21
  seopress_analysis_target_kw: $('#seopress_analysis_target_kw_meta').val(),
22
  _ajax_nonce: seopressAjaxRealPreview.seopress_nonce,
23
  },
24
+ success : function( s ) {
25
+ var data_arr = {og_title : s.data.og_title.values,
26
+ og_desc : s.data.og_desc.values,
27
+ og_img : s.data.og_img.values,
28
+ og_url : s.data.og_url.host,
29
+ og_site_name : s.data.og_site_name.values,
30
+ tw_title : s.data.tw_title.values,
31
+ tw_desc : s.data.tw_desc.values,
32
+ tw_img : s.data.tw_img.values
33
+ };
34
+
35
+ for (var key in data_arr) {
36
+ if (data_arr[key].length) {
37
+ if (data_arr[key].length > 1) {
38
+ key = data_arr[key].slice(-1)[0];
39
+ } else {
40
+ key = data_arr[key][0];
41
+ }
42
+ }
43
+ }
44
+
45
+ $( '#seopress_cpt .google-snippet-preview .snippet-title' ).html(s.data.title);
46
+ $( '#seopress_cpt .google-snippet-preview .snippet-title-default' ).html(s.data.title);
47
+ $( '#seopress_titles_title_meta' ).attr("placeholder", s.data.title);
48
+ $( '#seopress_cpt .google-snippet-preview .snippet-description' ).html(s.data.meta_desc);
49
+ $( '#seopress_cpt .google-snippet-preview .snippet-description-default' ).html(s.data.meta_desc);
50
+ $( '#seopress_titles_desc_meta' ).attr("placeholder", s.data.meta_desc);
51
+
52
+ $( '#seopress_cpt #seopress_social_fb_title_meta' ).attr("placeholder", data_arr.og_title);
53
+ $( '#seopress_cpt .facebook-snippet-preview .snippet-fb-title').html(data_arr.og_title);
54
+ $( '#seopress_cpt .facebook-snippet-preview .snippet-fb-title-default').html(data_arr.og_title);
55
+
56
+ $( '#seopress_cpt #seopress_social_fb_desc_meta' ).attr("placeholder", data_arr.og_desc);
57
+ $( '#seopress_cpt .facebook-snippet-preview .snippet-fb-description').html(data_arr.og_desc);
58
+ $( '#seopress_cpt .facebook-snippet-preview .snippet-fb-description-default').html(data_arr.og_desc);
59
+
60
+ $( '#seopress_cpt #seopress_social_fb_img_meta' ).attr("placeholder", data_arr.og_img);
61
+ $( '#seopress_cpt .snippet-fb-img img' ).attr("src", data_arr.og_img);
62
+ $( '#seopress_cpt .snippet-fb-img-default img' ).attr("src", data_arr.og_img);
63
+
64
+ $("#seopress_cpt .facebook-snippet-preview .snippet-fb-url").html(data_arr.og_url),
65
+ $("#seopress_cpt .facebook-snippet-preview .snippet-fb-site-name").html(data_arr.og_site_name),
66
+
67
+ $( '#seopress_cpt #seopress_social_twitter_title_meta' ).attr("placeholder", data_arr.tw_title);
68
+ $( '#seopress_cpt #seopress_social_twitter_desc_meta' ).attr("placeholder", data_arr.tw_desc);
69
+ $( '#seopress_cpt #seopress_social_twitter_img_meta' ).attr("placeholder", data_arr.tw_img);
70
+ $( '#seopress_cpt #seopress_robots_canonical_meta').attr('placeholder', s.data.canonical),
71
  $( '#seopress_analysis_results_state' ).fadeIn().css('display', 'inline-block');
72
  $( '#seopress_analysis_results_state' ).delay(3500).fadeOut();
73
  $( '#seopress-analysis-tabs-1' ).load(' #seopress-analysis-tabs-1');
assets/js/seopress-counters.js CHANGED
@@ -73,16 +73,16 @@ function sp_meta_desc_counters() {
73
  jQuery("#seopress_titles_desc_counters").after('<div id="seopress_titles_desc_counters_val">/ 160</div>'),
74
 
75
  meta_desc_val.length > 0 ? (jQuery("#seopress_titles_desc_counters").text(meta_desc_val.length),
76
- jQuery("#seopress_titles_desc_pixel").text(pixelTitle(meta_desc_val))) : meta_desc_placeholder.length && (jQuery("#seopress_titles_desc_counters").text(meta_desc_placeholder.length),
77
- jQuery("#seopress_titles_desc_pixel").text(pixelTitle(meta_desc_placeholder))),
78
 
79
  meta_desc_val.length > 160 ? jQuery("#seopress_titles_desc_counters").css("color", "red") : meta_desc_placeholder.length > 160 && jQuery("#seopress_titles_desc_counters").css("color", "red"),
80
- pixelTitle(meta_desc_val) > 940 ? jQuery("#seopress_titles_desc_pixel").css("color", "red") : pixelTitle(meta_desc_placeholder) > 940 && jQuery("#seopress_titles_desc_pixel").css("color", "red");
81
 
82
  if (meta_desc_val.length) {
83
- var progress = Math.round(pixelTitle(meta_desc_val)/940*100);
84
  } else {
85
- var progress = Math.round(pixelTitle(meta_desc_placeholder)/940*100);
86
  }
87
 
88
  if (progress >= 100) {
@@ -101,16 +101,16 @@ function sp_meta_desc_counters() {
101
  jQuery('#seopress_titles_desc_pixel').css('color', 'inherit'),
102
 
103
  meta_desc_val.length > 160 && jQuery("#seopress_titles_desc_counters").css("color", "red"),
104
- pixelTitle(meta_desc_val) > 940 && jQuery("#seopress_titles_desc_pixel").css("color", "red");
105
 
106
  if (meta_desc_val.length == 0) {
107
  meta_desc_placeholder.length > 160 && jQuery("#seopress_titles_desc_counters").css("color", "red"),
108
- pixelTitle(meta_desc_placeholder) > 940 && jQuery("#seopress_titles_desc_pixel").css("color", "red")
109
  }
110
 
111
  meta_desc_val.length > 0 ? (jQuery("#seopress_titles_desc_counters").text(meta_desc_val.length),
112
- jQuery("#seopress_titles_desc_pixel").text(pixelTitle(meta_desc_val))) : meta_desc_placeholder.length && (jQuery("#seopress_titles_desc_counters").text(meta_desc_placeholder.length),
113
- jQuery("#seopress_titles_desc_pixel").text(pixelTitle(meta_desc_placeholder))), meta_desc_val.length > 0 ? (jQuery(".snippet-description-custom").text(e.target.value),
114
  jQuery(".snippet-description").css("display", "none"),
115
  jQuery(".snippet-description-custom").css("display", "inline"),
116
  jQuery(".snippet-description-default").css("display", "none")) : 0 == meta_desc_val.length && (jQuery(".snippet-description-default").css("display", "inline"),
@@ -118,9 +118,9 @@ function sp_meta_desc_counters() {
118
  jQuery(".snippet-description").css("display", "none"));
119
 
120
  if (meta_desc_val.length) {
121
- var progress = Math.round(pixelTitle(meta_desc_val)/940*100);
122
  } else {
123
- var progress = Math.round(pixelTitle(meta_desc_placeholder)/940*100);
124
  }
125
 
126
  if (progress >= 100) {
@@ -156,10 +156,63 @@ function sp_meta_desc_counters() {
156
  }
157
 
158
  function pixelTitle(e) {
159
- for (var s = [5, 6, 6, 18, 9, 9, 10, 10, 10, 10, 10, 10, 10, 12, 12, 12, 12, 10, 10, 10, 5, 5, 6, 10, 10, 16, 12, 3, 6, 6, 7, 11, 5, 6, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 5, 5, 11, 11, 11, 10, 18, 12, 12, 13, 13, 12, 11, 14, 13, 5, 9, 12, 10, 15, 13, 14, 12, 14, 13, 12, 11, 13, 12, 17, 12, 12, 11, 5, 5, 5, 8, 10, 6, 10, 10, 9, 10, 10, 10, 5, 10, 10, 4, 4, 9, 4, 15, 10, 10, 10, 10, 6, 9, 9, 5, 10, 9, 13, 9, 9, 9, 6, 5, 6, 11, 10, 0, 0, 4, 4, 10, 10], t = 0, l = 0; l < e.length; l++)
160
- t += s[" ·˙・“”«»äåàô€ÀÈÊÉéèê !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcçdefghijklmnopqrstuüvwxyz{|}~–\n\r‘’£…".indexOf(e.substring(l, l + 1))];
161
- return t
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
  }
 
163
  jQuery(document).ready(function(e) {
164
  function s() {
165
  e.ajax({
@@ -175,22 +228,52 @@ jQuery(document).ready(function(e) {
175
  _ajax_nonce: seopressAjaxRealPreview.seopress_nonce
176
  },
177
  success: function(s) {
178
- Object.keys(s.data).forEach(e => {
179
- let t = document.createElement("textarea");
180
- t.innerHTML = s.data[e], s.data[e] = t.textContent
181
- }),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
182
  e("#seopress_cpt .google-snippet-preview .snippet-title").html(s.data.title),
183
  e("#seopress_cpt .google-snippet-preview .snippet-title-default").html(s.data.title),
184
  e("#seopress_titles_title_meta").attr("placeholder", s.data.title),
185
  e("#seopress_cpt .google-snippet-preview .snippet-description").html(s.data.meta_desc),
186
  e("#seopress_cpt .google-snippet-preview .snippet-description-default").html(s.data.meta_desc),
187
  e("#seopress_titles_desc_meta").attr("placeholder", s.data.meta_desc),
188
- e("#seopress_cpt #seopress_social_fb_title_meta").attr("placeholder", s.data.og_title),
189
- e("#seopress_cpt #seopress_social_fb_desc_meta").attr("placeholder", s.data.og_desc),
190
- e("#seopress_cpt #seopress_social_fb_img_meta").attr("placeholder", s.data.og_img),
191
- e("#seopress_cpt #seopress_social_twitter_title_meta").attr("placeholder", s.data.tw_title),
192
- e("#seopress_cpt #seopress_social_twitter_desc_meta").attr("placeholder", s.data.tw_desc),
193
- e("#seopress_cpt #seopress_social_twitter_img_meta").attr("placeholder", s.data.tw_img),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
194
  e("#seopress_cpt #seopress_robots_canonical_meta").attr("placeholder", s.data.canonical),
195
  e("#seopress_analysis_results_state").fadeIn().css("display", "inline-block"),
196
  e("#seopress_analysis_results_state").delay(3500).fadeOut(),
@@ -201,7 +284,8 @@ jQuery(document).ready(function(e) {
201
  e(" #seopress_titles_title_counters_val").remove(),
202
  e(" #seopress_titles_desc_counters_val").remove(),
203
  sp_titles_counters(),
204
- sp_meta_desc_counters()
 
205
  }
206
  })
207
  }
73
  jQuery("#seopress_titles_desc_counters").after('<div id="seopress_titles_desc_counters_val">/ 160</div>'),
74
 
75
  meta_desc_val.length > 0 ? (jQuery("#seopress_titles_desc_counters").text(meta_desc_val.length),
76
+ jQuery("#seopress_titles_desc_pixel").text(pixelDesc(meta_desc_val))) : meta_desc_placeholder.length && (jQuery("#seopress_titles_desc_counters").text(meta_desc_placeholder.length),
77
+ jQuery("#seopress_titles_desc_pixel").text(pixelDesc(meta_desc_placeholder))),
78
 
79
  meta_desc_val.length > 160 ? jQuery("#seopress_titles_desc_counters").css("color", "red") : meta_desc_placeholder.length > 160 && jQuery("#seopress_titles_desc_counters").css("color", "red"),
80
+ pixelDesc(meta_desc_val) > 940 ? jQuery("#seopress_titles_desc_pixel").css("color", "red") : pixelDesc(meta_desc_placeholder) > 940 && jQuery("#seopress_titles_desc_pixel").css("color", "red");
81
 
82
  if (meta_desc_val.length) {
83
+ var progress = Math.round(pixelDesc(meta_desc_val)/940*100);
84
  } else {
85
+ var progress = Math.round(pixelDesc(meta_desc_placeholder)/940*100);
86
  }
87
 
88
  if (progress >= 100) {
101
  jQuery('#seopress_titles_desc_pixel').css('color', 'inherit'),
102
 
103
  meta_desc_val.length > 160 && jQuery("#seopress_titles_desc_counters").css("color", "red"),
104
+ pixelDesc(meta_desc_val) > 940 && jQuery("#seopress_titles_desc_pixel").css("color", "red");
105
 
106
  if (meta_desc_val.length == 0) {
107
  meta_desc_placeholder.length > 160 && jQuery("#seopress_titles_desc_counters").css("color", "red"),
108
+ pixelDesc(meta_desc_placeholder) > 940 && jQuery("#seopress_titles_desc_pixel").css("color", "red")
109
  }
110
 
111
  meta_desc_val.length > 0 ? (jQuery("#seopress_titles_desc_counters").text(meta_desc_val.length),
112
+ jQuery("#seopress_titles_desc_pixel").text(pixelDesc(meta_desc_val))) : meta_desc_placeholder.length && (jQuery("#seopress_titles_desc_counters").text(meta_desc_placeholder.length),
113
+ jQuery("#seopress_titles_desc_pixel").text(pixelDesc(meta_desc_placeholder))), meta_desc_val.length > 0 ? (jQuery(".snippet-description-custom").text(e.target.value),
114
  jQuery(".snippet-description").css("display", "none"),
115
  jQuery(".snippet-description-custom").css("display", "inline"),
116
  jQuery(".snippet-description-default").css("display", "none")) : 0 == meta_desc_val.length && (jQuery(".snippet-description-default").css("display", "inline"),
118
  jQuery(".snippet-description").css("display", "none"));
119
 
120
  if (meta_desc_val.length) {
121
+ var progress = Math.round(pixelDesc(meta_desc_val)/940*100);
122
  } else {
123
+ var progress = Math.round(pixelDesc(meta_desc_placeholder)/940*100);
124
  }
125
 
126
  if (progress >= 100) {
156
  }
157
 
158
  function pixelTitle(e) {
159
+ inputText = e;
160
+ font = "18px Arial";
161
+
162
+ canvas = document.createElement("canvas");
163
+ context = canvas.getContext("2d");
164
+ context.font = font;
165
+ width = context.measureText(inputText).width;
166
+ formattedWidth = Math.ceil(width);
167
+
168
+ return formattedWidth;
169
+ }
170
+
171
+ function pixelDesc(e) {
172
+ inputText = e;
173
+ font = "14px Arial";
174
+
175
+ canvas = document.createElement("canvas");
176
+ context = canvas.getContext("2d");
177
+ context.font = font;
178
+ width = context.measureText(inputText).width;
179
+ formattedWidth = Math.ceil(width);
180
+
181
+ return formattedWidth;
182
+ }
183
+
184
+ function sp_social() {
185
+ jQuery("#seopress_social_fb_title_meta, #seopress-tag-single-title, #seopress-tag-single-site-title, #seopress-tag-single-sep").on('keyup paste change click', function(e) {
186
+ var meta_fb_title_val = jQuery("#seopress_social_fb_title_meta").val();
187
+
188
+ meta_fb_title_val.length > 0 ? (jQuery(".snippet-fb-title-custom").text(e.target.value),
189
+ jQuery(".snippet-fb-title").css("display", "none"),
190
+ jQuery(".snippet-fb-title-custom").css("display", "block"),
191
+ jQuery(".snippet-fb-title-default").css("display", "none")) : 0 == meta_fb_title_val.length && (jQuery(".snippet-fb-title-default").css("display", "block"),
192
+ jQuery(".snippet-fb-title-custom").css("display", "none"), jQuery(".snippet-fb-title").css("display", "none"))
193
+ })
194
+
195
+ jQuery("#seopress_social_fb_desc_meta").on('keyup paste change click', function(e) {
196
+ var meta_fb_desc_val = jQuery("#seopress_social_fb_desc_meta").val();
197
+
198
+ meta_fb_desc_val.length > 0 ? (jQuery(".snippet-fb-description-custom").text(e.target.value),
199
+ jQuery(".snippet-fb-description").css("display", "none"),
200
+ jQuery(".snippet-fb-description-custom").css("display", "block"),
201
+ jQuery(".snippet-fb-description-default").css("display", "none")) : 0 == meta_fb_desc_val.length && (jQuery(".snippet-fb-description-default").css("display", "block"),
202
+ jQuery(".snippet-fb-description-custom").css("display", "none"), jQuery(".snippet-fb-description").css("display", "none"));
203
+ })
204
+
205
+ jQuery("#seopress_social_fb_img_meta").on('keyup paste change click', function(e) {
206
+ var meta_fb_img_val = jQuery("#seopress_social_fb_img_meta").val();
207
+
208
+ meta_fb_img_val.length > 0 ? (jQuery(".snippet-fb-img-custom img").attr("src",e.target.value),
209
+ jQuery(".snippet-fb-img").css("display", "none"),
210
+ jQuery(".snippet-fb-img-custom").css("display", "block"),
211
+ jQuery(".snippet-fb-img-default").css("display", "none")) : 0 == meta_fb_img_val.length && (jQuery(".snippet-fb-img-default").css("display", "block"),
212
+ jQuery(".snippet-fb-img-custom").css("display", "none"), jQuery(".snippet-fb-img").css("display", "none"));
213
+ })
214
  }
215
+
216
  jQuery(document).ready(function(e) {
217
  function s() {
218
  e.ajax({
228
  _ajax_nonce: seopressAjaxRealPreview.seopress_nonce
229
  },
230
  success: function(s) {
231
+ var data_arr = {og_title : s.data.og_title.values,
232
+ og_desc : s.data.og_desc.values,
233
+ og_img : s.data.og_img.values,
234
+ og_url : s.data.og_url.host,
235
+ og_site_name : s.data.og_site_name.values,
236
+ tw_title : s.data.tw_title.values,
237
+ tw_desc : s.data.tw_desc.values,
238
+ tw_img : s.data.tw_img.values
239
+ };
240
+
241
+ for (var key in data_arr) {
242
+ if (data_arr.length) {
243
+ if (data_arr[key].length > 1) {
244
+ key = data_arr[key].slice(-1)[0];
245
+ } else {
246
+ key = data_arr[key][0];
247
+ }
248
+ }
249
+ }
250
+
251
  e("#seopress_cpt .google-snippet-preview .snippet-title").html(s.data.title),
252
  e("#seopress_cpt .google-snippet-preview .snippet-title-default").html(s.data.title),
253
  e("#seopress_titles_title_meta").attr("placeholder", s.data.title),
254
  e("#seopress_cpt .google-snippet-preview .snippet-description").html(s.data.meta_desc),
255
  e("#seopress_cpt .google-snippet-preview .snippet-description-default").html(s.data.meta_desc),
256
  e("#seopress_titles_desc_meta").attr("placeholder", s.data.meta_desc),
257
+
258
+ e("#seopress_cpt #seopress_social_fb_title_meta").attr("placeholder", data_arr.og_title),
259
+ e("#seopress_cpt .facebook-snippet-preview .snippet-fb-title").html(data_arr.og_title),
260
+ e("#seopress_cpt .facebook-snippet-preview .snippet-fb-title-default").html(data_arr.og_title),
261
+
262
+ e("#seopress_cpt #seopress_social_fb_desc_meta").attr("placeholder", data_arr.og_desc),
263
+ e("#seopress_cpt .facebook-snippet-preview .snippet-fb-description").html(data_arr.og_desc),
264
+ e("#seopress_cpt .facebook-snippet-preview .snippet-fb-description-default").html(data_arr.og_desc),
265
+
266
+ e("#seopress_cpt #seopress_social_fb_img_meta").attr("placeholder", data_arr.og_img),
267
+ e("#seopress_cpt .facebook-snippet-preview .snippet-fb-img img").attr("src", data_arr.og_img),
268
+ e("#seopress_cpt .facebook-snippet-preview .snippet-fb-img-default img").attr("src", data_arr.og_img),
269
+
270
+ e("#seopress_cpt .facebook-snippet-preview .snippet-fb-url").html(data_arr.og_url),
271
+ e("#seopress_cpt .facebook-snippet-preview .snippet-fb-site-name").html(data_arr.og_site_name),
272
+
273
+ e("#seopress_cpt #seopress_social_twitter_title_meta").attr("placeholder", data_arr.tw_title),
274
+ e("#seopress_cpt #seopress_social_twitter_desc_meta").attr("placeholder", data_arr.tw_desc),
275
+ e("#seopress_cpt #seopress_social_twitter_img_meta").attr("placeholder", data_arr.tw_img),
276
+
277
  e("#seopress_cpt #seopress_robots_canonical_meta").attr("placeholder", s.data.canonical),
278
  e("#seopress_analysis_results_state").fadeIn().css("display", "inline-block"),
279
  e("#seopress_analysis_results_state").delay(3500).fadeOut(),
284
  e(" #seopress_titles_title_counters_val").remove(),
285
  e(" #seopress_titles_desc_counters_val").remove(),
286
  sp_titles_counters(),
287
+ sp_meta_desc_counters(),
288
+ sp_social()
289
  }
290
  })
291
  }
assets/js/seopress-counters.min.js CHANGED
@@ -1 +1 @@
1
- function sp_titles_counters(){var e=jQuery("#seopress_titles_title_meta").val(),s=jQuery("#seopress_titles_title_meta").attr("placeholder");if(jQuery("#seopress_titles_title_counters").after('<div id="seopress_titles_title_counters_val">/ 60</div>'),e.length>0?(jQuery("#seopress_titles_title_counters").text(e.length),jQuery("#seopress_titles_title_pixel").text(pixelTitle(e))):s.length&&(jQuery("#seopress_titles_title_counters").text(s.length),jQuery("#seopress_titles_title_pixel").text(pixelTitle(s))),e.length>60?jQuery("#seopress_titles_title_counters").css("color","red"):s.length>60&&jQuery("#seopress_titles_title_counters").css("color","red"),pixelTitle(e)>568?jQuery("#seopress_titles_title_pixel").css("color","red"):pixelTitle(s)>568&&jQuery("#seopress_titles_title_pixel").css("color","red"),e.length)var t=Math.round(pixelTitle(e)/568*100);else t=Math.round(pixelTitle(s)/568*100);t>=100&&(t=100),jQuery("#seopress_titles_title_counters_progress").attr("aria-valuenow",t),jQuery("#seopress_titles_title_counters_progress").text(t+"%"),jQuery("#seopress_titles_title_counters_progress").css("width",t+"%"),jQuery("#seopress_titles_title_meta, #seopress-tag-single-title, #seopress-tag-single-site-title, #seopress-tag-single-sep").on("keyup paste change click",function(e){var s=jQuery("#seopress_titles_title_meta").val(),t=jQuery("#seopress_titles_title_meta").attr("placeholder");if(jQuery("#seopress_titles_title_counters").css("color","inherit"),jQuery("#seopress_titles_title_pixel").css("color","inherit"),s.length>60&&jQuery("#seopress_titles_title_counters").css("color","red"),pixelTitle(s)>568&&jQuery("#seopress_titles_title_pixel").css("color","red"),0==s.length&&(t.length>60&&jQuery("#seopress_titles_title_counters").css("color","red"),pixelTitle(t)>568&&jQuery("#seopress_titles_title_pixel").css("color","red")),s.length>0?(jQuery("#seopress_titles_title_counters").text(s.length),jQuery("#seopress_titles_title_pixel").text(pixelTitle(s))):t.length&&(jQuery("#seopress_titles_title_counters").text(t.length),jQuery("#seopress_titles_title_pixel").text(pixelTitle(t))),s.length>0?(jQuery(".snippet-title-custom").text(e.target.value),jQuery(".snippet-title").css("display","none"),jQuery(".snippet-title-custom").css("display","block"),jQuery(".snippet-title-default").css("display","none")):0==s.length&&(jQuery(".snippet-title-default").css("display","block"),jQuery(".snippet-title-custom").css("display","none"),jQuery(".snippet-title").css("display","none")),s.length)var r=Math.round(pixelTitle(s)/568*100);else r=Math.round(pixelTitle(t)/568*100);r>=100&&(r=100),jQuery("#seopress_titles_title_counters_progress").attr("aria-valuenow",r),jQuery("#seopress_titles_title_counters_progress").text(r+"%"),jQuery("#seopress_titles_title_counters_progress").css("width",r+"%")})}function sp_meta_desc_counters(){var e=jQuery("#seopress_titles_desc_meta").val(),s=jQuery("#seopress_titles_desc_meta").attr("placeholder");if(jQuery("#seopress_titles_desc_counters").after('<div id="seopress_titles_desc_counters_val">/ 160</div>'),e.length>0?(jQuery("#seopress_titles_desc_counters").text(e.length),jQuery("#seopress_titles_desc_pixel").text(pixelTitle(e))):s.length&&(jQuery("#seopress_titles_desc_counters").text(s.length),jQuery("#seopress_titles_desc_pixel").text(pixelTitle(s))),e.length>160?jQuery("#seopress_titles_desc_counters").css("color","red"):s.length>160&&jQuery("#seopress_titles_desc_counters").css("color","red"),pixelTitle(e)>940?jQuery("#seopress_titles_desc_pixel").css("color","red"):pixelTitle(s)>940&&jQuery("#seopress_titles_desc_pixel").css("color","red"),e.length)var t=Math.round(pixelTitle(e)/940*100);else t=Math.round(pixelTitle(s)/940*100);t>=100&&(t=100),jQuery("#seopress_titles_desc_counters_progress").attr("aria-valuenow",t),jQuery("#seopress_titles_desc_counters_progress").text(t+"%"),jQuery("#seopress_titles_desc_counters_progress").css("width",t+"%"),jQuery("#seopress_titles_desc_meta, #seopress-tag-single-excerpt").on("keyup paste change click",function(e){var s=jQuery("#seopress_titles_desc_meta").val(),t=jQuery("#seopress_titles_desc_meta").attr("placeholder");if(jQuery("#seopress_titles_desc_counters").css("color","inherit"),jQuery("#seopress_titles_desc_pixel").css("color","inherit"),s.length>160&&jQuery("#seopress_titles_desc_counters").css("color","red"),pixelTitle(s)>940&&jQuery("#seopress_titles_desc_pixel").css("color","red"),0==s.length&&(t.length>160&&jQuery("#seopress_titles_desc_counters").css("color","red"),pixelTitle(t)>940&&jQuery("#seopress_titles_desc_pixel").css("color","red")),s.length>0?(jQuery("#seopress_titles_desc_counters").text(s.length),jQuery("#seopress_titles_desc_pixel").text(pixelTitle(s))):t.length&&(jQuery("#seopress_titles_desc_counters").text(t.length),jQuery("#seopress_titles_desc_pixel").text(pixelTitle(t))),s.length>0?(jQuery(".snippet-description-custom").text(e.target.value),jQuery(".snippet-description").css("display","none"),jQuery(".snippet-description-custom").css("display","inline"),jQuery(".snippet-description-default").css("display","none")):0==s.length&&(jQuery(".snippet-description-default").css("display","inline"),jQuery(".snippet-description-custom").css("display","none"),jQuery(".snippet-description").css("display","none")),s.length)var r=Math.round(pixelTitle(s)/940*100);else r=Math.round(pixelTitle(t)/940*100);r>=100&&(r=100),jQuery("#seopress_titles_desc_counters_progress").attr("aria-valuenow",r),jQuery("#seopress_titles_desc_counters_progress").text(r+"%"),jQuery("#seopress_titles_desc_counters_progress").css("width",r+"%")}),jQuery("#excerpt, .editor-post-excerpt textarea").keyup(function(e){var s=jQuery("#seopress_titles_desc_meta").val(),t=jQuery("#seopress_titles_desc_meta").attr("placeholder");if(0==s.length&&0==jQuery(".snippet-description-custom").val().length&&(jQuery(".snippet-description-custom").text(e.target.value),jQuery(".snippet-description").css("display","none"),jQuery(".snippet-description-custom").css("display","inline"),jQuery(".snippet-description-default").css("display","none")),s.length)var r=s.length;else r=t.length;r>=100&&(r=100),jQuery("#seopress_titles_desc_counters_progress").attr("aria-valuenow",r),jQuery("#seopress_titles_desc_counters_progress").text(r+"%"),jQuery("#seopress_titles_desc_counters_progress").css("width",r+"%")})}function pixelTitle(e){for(var s=[5,6,6,18,9,9,10,10,10,10,10,10,10,12,12,12,12,10,10,10,5,5,6,10,10,16,12,3,6,6,7,11,5,6,5,5,10,10,10,10,10,10,10,10,10,10,5,5,11,11,11,10,18,12,12,13,13,12,11,14,13,5,9,12,10,15,13,14,12,14,13,12,11,13,12,17,12,12,11,5,5,5,8,10,6,10,10,9,10,10,10,5,10,10,4,4,9,4,15,10,10,10,10,6,9,9,5,10,9,13,9,9,9,6,5,6,11,10,0,0,4,4,10,10],t=0,r=0;r<e.length;r++)t+=s[" ·˙・“”«»äåàô€ÀÈÊÉéèê !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcçdefghijklmnopqrstuüvwxyz{|}~–\n\r‘’£…".indexOf(e.substring(r,r+1))];return t}jQuery(document).ready(function(e){function s(){e.ajax({method:"GET",url:seopressAjaxRealPreview.seopress_real_preview,data:{action:"seopress_do_real_preview",post_id:e("#seopress-tabs").attr("data_id"),tax_name:e("#seopress-tabs").attr("data_tax"),origin:e("#seopress-tabs").attr("data_origin"),post_type:e("#seopress_launch_analysis").attr("data_post_type"),seopress_analysis_target_kw:e("#seopress_analysis_target_kw_meta").val(),_ajax_nonce:seopressAjaxRealPreview.seopress_nonce},success:function(s){Object.keys(s.data).forEach(e=>{let t=document.createElement("textarea");t.innerHTML=s.data[e],s.data[e]=t.textContent}),e("#seopress_cpt .google-snippet-preview .snippet-title").html(s.data.title),e("#seopress_cpt .google-snippet-preview .snippet-title-default").html(s.data.title),e("#seopress_titles_title_meta").attr("placeholder",s.data.title),e("#seopress_cpt .google-snippet-preview .snippet-description").html(s.data.meta_desc),e("#seopress_cpt .google-snippet-preview .snippet-description-default").html(s.data.meta_desc),e("#seopress_titles_desc_meta").attr("placeholder",s.data.meta_desc),e("#seopress_cpt #seopress_social_fb_title_meta").attr("placeholder",s.data.og_title),e("#seopress_cpt #seopress_social_fb_desc_meta").attr("placeholder",s.data.og_desc),e("#seopress_cpt #seopress_social_fb_img_meta").attr("placeholder",s.data.og_img),e("#seopress_cpt #seopress_social_twitter_title_meta").attr("placeholder",s.data.tw_title),e("#seopress_cpt #seopress_social_twitter_desc_meta").attr("placeholder",s.data.tw_desc),e("#seopress_cpt #seopress_social_twitter_img_meta").attr("placeholder",s.data.tw_img),e("#seopress_cpt #seopress_robots_canonical_meta").attr("placeholder",s.data.canonical),e("#seopress_analysis_results_state").fadeIn().css("display","inline-block"),e("#seopress_analysis_results_state").delay(3500).fadeOut(),e("#seopress-analysis-tabs-1").load(" #seopress-analysis-tabs-1"),e("#seopress-analysis-tabs-2").load(" #seopress-analysis-tabs-2"),e("#seopress-analysis-tabs-3").load(" #seopress-analysis-tabs-3"),e("#seopress-analysis-tabs-4").load(" #seopress-analysis-tabs-4"),e(" #seopress_titles_title_counters_val").remove(),e(" #seopress_titles_desc_counters_val").remove(),sp_titles_counters(),sp_meta_desc_counters()}})}e("#seopress-analysis-tabs .hidden").removeClass("hidden"),e("#seopress-analysis-tabs").tabs(),s(),e("#seopress_launch_analysis").on("click",function(){s()})});
1
+ function sp_titles_counters(){var e=jQuery("#seopress_titles_title_meta").val(),s=jQuery("#seopress_titles_title_meta").attr("placeholder");if(jQuery("#seopress_titles_title_counters").after('<div id="seopress_titles_title_counters_val">/ 60</div>'),e.length>0?(jQuery("#seopress_titles_title_counters").text(e.length),jQuery("#seopress_titles_title_pixel").text(pixelTitle(e))):s.length&&(jQuery("#seopress_titles_title_counters").text(s.length),jQuery("#seopress_titles_title_pixel").text(pixelTitle(s))),e.length>60?jQuery("#seopress_titles_title_counters").css("color","red"):s.length>60&&jQuery("#seopress_titles_title_counters").css("color","red"),pixelTitle(e)>568?jQuery("#seopress_titles_title_pixel").css("color","red"):pixelTitle(s)>568&&jQuery("#seopress_titles_title_pixel").css("color","red"),e.length)var t=Math.round(pixelTitle(e)/568*100);else t=Math.round(pixelTitle(s)/568*100);t>=100&&(t=100),jQuery("#seopress_titles_title_counters_progress").attr("aria-valuenow",t),jQuery("#seopress_titles_title_counters_progress").text(t+"%"),jQuery("#seopress_titles_title_counters_progress").css("width",t+"%"),jQuery("#seopress_titles_title_meta, #seopress-tag-single-title, #seopress-tag-single-site-title, #seopress-tag-single-sep").on("keyup paste change click",function(e){var s=jQuery("#seopress_titles_title_meta").val(),t=jQuery("#seopress_titles_title_meta").attr("placeholder");if(jQuery("#seopress_titles_title_counters").css("color","inherit"),jQuery("#seopress_titles_title_pixel").css("color","inherit"),s.length>60&&jQuery("#seopress_titles_title_counters").css("color","red"),pixelTitle(s)>568&&jQuery("#seopress_titles_title_pixel").css("color","red"),0==s.length&&(t.length>60&&jQuery("#seopress_titles_title_counters").css("color","red"),pixelTitle(t)>568&&jQuery("#seopress_titles_title_pixel").css("color","red")),s.length>0?(jQuery("#seopress_titles_title_counters").text(s.length),jQuery("#seopress_titles_title_pixel").text(pixelTitle(s))):t.length&&(jQuery("#seopress_titles_title_counters").text(t.length),jQuery("#seopress_titles_title_pixel").text(pixelTitle(t))),s.length>0?(jQuery(".snippet-title-custom").text(e.target.value),jQuery(".snippet-title").css("display","none"),jQuery(".snippet-title-custom").css("display","block"),jQuery(".snippet-title-default").css("display","none")):0==s.length&&(jQuery(".snippet-title-default").css("display","block"),jQuery(".snippet-title-custom").css("display","none"),jQuery(".snippet-title").css("display","none")),s.length)var i=Math.round(pixelTitle(s)/568*100);else i=Math.round(pixelTitle(t)/568*100);i>=100&&(i=100),jQuery("#seopress_titles_title_counters_progress").attr("aria-valuenow",i),jQuery("#seopress_titles_title_counters_progress").text(i+"%"),jQuery("#seopress_titles_title_counters_progress").css("width",i+"%")})}function sp_meta_desc_counters(){var e=jQuery("#seopress_titles_desc_meta").val(),s=jQuery("#seopress_titles_desc_meta").attr("placeholder");if(jQuery("#seopress_titles_desc_counters").after('<div id="seopress_titles_desc_counters_val">/ 160</div>'),e.length>0?(jQuery("#seopress_titles_desc_counters").text(e.length),jQuery("#seopress_titles_desc_pixel").text(pixelDesc(e))):s.length&&(jQuery("#seopress_titles_desc_counters").text(s.length),jQuery("#seopress_titles_desc_pixel").text(pixelDesc(s))),e.length>160?jQuery("#seopress_titles_desc_counters").css("color","red"):s.length>160&&jQuery("#seopress_titles_desc_counters").css("color","red"),pixelDesc(e)>940?jQuery("#seopress_titles_desc_pixel").css("color","red"):pixelDesc(s)>940&&jQuery("#seopress_titles_desc_pixel").css("color","red"),e.length)var t=Math.round(pixelDesc(e)/940*100);else t=Math.round(pixelDesc(s)/940*100);t>=100&&(t=100),jQuery("#seopress_titles_desc_counters_progress").attr("aria-valuenow",t),jQuery("#seopress_titles_desc_counters_progress").text(t+"%"),jQuery("#seopress_titles_desc_counters_progress").css("width",t+"%"),jQuery("#seopress_titles_desc_meta, #seopress-tag-single-excerpt").on("keyup paste change click",function(e){var s=jQuery("#seopress_titles_desc_meta").val(),t=jQuery("#seopress_titles_desc_meta").attr("placeholder");if(jQuery("#seopress_titles_desc_counters").css("color","inherit"),jQuery("#seopress_titles_desc_pixel").css("color","inherit"),s.length>160&&jQuery("#seopress_titles_desc_counters").css("color","red"),pixelDesc(s)>940&&jQuery("#seopress_titles_desc_pixel").css("color","red"),0==s.length&&(t.length>160&&jQuery("#seopress_titles_desc_counters").css("color","red"),pixelDesc(t)>940&&jQuery("#seopress_titles_desc_pixel").css("color","red")),s.length>0?(jQuery("#seopress_titles_desc_counters").text(s.length),jQuery("#seopress_titles_desc_pixel").text(pixelDesc(s))):t.length&&(jQuery("#seopress_titles_desc_counters").text(t.length),jQuery("#seopress_titles_desc_pixel").text(pixelDesc(t))),s.length>0?(jQuery(".snippet-description-custom").text(e.target.value),jQuery(".snippet-description").css("display","none"),jQuery(".snippet-description-custom").css("display","inline"),jQuery(".snippet-description-default").css("display","none")):0==s.length&&(jQuery(".snippet-description-default").css("display","inline"),jQuery(".snippet-description-custom").css("display","none"),jQuery(".snippet-description").css("display","none")),s.length)var i=Math.round(pixelDesc(s)/940*100);else i=Math.round(pixelDesc(t)/940*100);i>=100&&(i=100),jQuery("#seopress_titles_desc_counters_progress").attr("aria-valuenow",i),jQuery("#seopress_titles_desc_counters_progress").text(i+"%"),jQuery("#seopress_titles_desc_counters_progress").css("width",i+"%")}),jQuery("#excerpt, .editor-post-excerpt textarea").keyup(function(e){var s=jQuery("#seopress_titles_desc_meta").val(),t=jQuery("#seopress_titles_desc_meta").attr("placeholder");if(0==s.length&&0==jQuery(".snippet-description-custom").val().length&&(jQuery(".snippet-description-custom").text(e.target.value),jQuery(".snippet-description").css("display","none"),jQuery(".snippet-description-custom").css("display","inline"),jQuery(".snippet-description-default").css("display","none")),s.length)var i=s.length;else i=t.length;i>=100&&(i=100),jQuery("#seopress_titles_desc_counters_progress").attr("aria-valuenow",i),jQuery("#seopress_titles_desc_counters_progress").text(i+"%"),jQuery("#seopress_titles_desc_counters_progress").css("width",i+"%")})}function pixelTitle(e){return inputText=e,font="18px Arial",canvas=document.createElement("canvas"),context=canvas.getContext("2d"),context.font=font,width=context.measureText(inputText).width,formattedWidth=Math.ceil(width),formattedWidth}function pixelDesc(e){return inputText=e,font="14px Arial",canvas=document.createElement("canvas"),context=canvas.getContext("2d"),context.font=font,width=context.measureText(inputText).width,formattedWidth=Math.ceil(width),formattedWidth}function sp_social(){jQuery("#seopress_social_fb_title_meta, #seopress-tag-single-title, #seopress-tag-single-site-title, #seopress-tag-single-sep").on("keyup paste change click",function(e){var s=jQuery("#seopress_social_fb_title_meta").val();s.length>0?(jQuery(".snippet-fb-title-custom").text(e.target.value),jQuery(".snippet-fb-title").css("display","none"),jQuery(".snippet-fb-title-custom").css("display","block"),jQuery(".snippet-fb-title-default").css("display","none")):0==s.length&&(jQuery(".snippet-fb-title-default").css("display","block"),jQuery(".snippet-fb-title-custom").css("display","none"),jQuery(".snippet-fb-title").css("display","none"))}),jQuery("#seopress_social_fb_desc_meta").on("keyup paste change click",function(e){var s=jQuery("#seopress_social_fb_desc_meta").val();s.length>0?(jQuery(".snippet-fb-description-custom").text(e.target.value),jQuery(".snippet-fb-description").css("display","none"),jQuery(".snippet-fb-description-custom").css("display","block"),jQuery(".snippet-fb-description-default").css("display","none")):0==s.length&&(jQuery(".snippet-fb-description-default").css("display","block"),jQuery(".snippet-fb-description-custom").css("display","none"),jQuery(".snippet-fb-description").css("display","none"))}),jQuery("#seopress_social_fb_img_meta").on("keyup paste change click",function(e){var s=jQuery("#seopress_social_fb_img_meta").val();s.length>0?(jQuery(".snippet-fb-img-custom img").attr("src",e.target.value),jQuery(".snippet-fb-img").css("display","none"),jQuery(".snippet-fb-img-custom").css("display","block"),jQuery(".snippet-fb-img-default").css("display","none")):0==s.length&&(jQuery(".snippet-fb-img-default").css("display","block"),jQuery(".snippet-fb-img-custom").css("display","none"),jQuery(".snippet-fb-img").css("display","none"))})}jQuery(document).ready(function(e){function s(){e.ajax({method:"GET",url:seopressAjaxRealPreview.seopress_real_preview,data:{action:"seopress_do_real_preview",post_id:e("#seopress-tabs").attr("data_id"),tax_name:e("#seopress-tabs").attr("data_tax"),origin:e("#seopress-tabs").attr("data_origin"),post_type:e("#seopress_launch_analysis").attr("data_post_type"),seopress_analysis_target_kw:e("#seopress_analysis_target_kw_meta").val(),_ajax_nonce:seopressAjaxRealPreview.seopress_nonce},success:function(s){var t={og_title:s.data.og_title.values,og_desc:s.data.og_desc.values,og_img:s.data.og_img.values,og_url:s.data.og_url.host,og_site_name:s.data.og_site_name.values,tw_title:s.data.tw_title.values,tw_desc:s.data.tw_desc.values,tw_img:s.data.tw_img.values};for(var i in t)t.length&&(i=t[i].length>1?t[i].slice(-1)[0]:t[i][0]);e("#seopress_cpt .google-snippet-preview .snippet-title").html(s.data.title),e("#seopress_cpt .google-snippet-preview .snippet-title-default").html(s.data.title),e("#seopress_titles_title_meta").attr("placeholder",s.data.title),e("#seopress_cpt .google-snippet-preview .snippet-description").html(s.data.meta_desc),e("#seopress_cpt .google-snippet-preview .snippet-description-default").html(s.data.meta_desc),e("#seopress_titles_desc_meta").attr("placeholder",s.data.meta_desc),e("#seopress_cpt #seopress_social_fb_title_meta").attr("placeholder",t.og_title),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-title").html(t.og_title),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-title-default").html(t.og_title),e("#seopress_cpt #seopress_social_fb_desc_meta").attr("placeholder",t.og_desc),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-description").html(t.og_desc),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-description-default").html(t.og_desc),e("#seopress_cpt #seopress_social_fb_img_meta").attr("placeholder",t.og_img),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-img img").attr("src",t.og_img),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-img-default img").attr("src",t.og_img),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-url").html(t.og_url),e("#seopress_cpt .facebook-snippet-preview .snippet-fb-site-name").html(t.og_site_name),e("#seopress_cpt #seopress_social_twitter_title_meta").attr("placeholder",t.tw_title),e("#seopress_cpt #seopress_social_twitter_desc_meta").attr("placeholder",t.tw_desc),e("#seopress_cpt #seopress_social_twitter_img_meta").attr("placeholder",t.tw_img),e("#seopress_cpt #seopress_robots_canonical_meta").attr("placeholder",s.data.canonical),e("#seopress_analysis_results_state").fadeIn().css("display","inline-block"),e("#seopress_analysis_results_state").delay(3500).fadeOut(),e("#seopress-analysis-tabs-1").load(" #seopress-analysis-tabs-1"),e("#seopress-analysis-tabs-2").load(" #seopress-analysis-tabs-2"),e("#seopress-analysis-tabs-3").load(" #seopress-analysis-tabs-3"),e("#seopress-analysis-tabs-4").load(" #seopress-analysis-tabs-4"),e(" #seopress_titles_title_counters_val").remove(),e(" #seopress_titles_desc_counters_val").remove(),sp_titles_counters(),sp_meta_desc_counters(),sp_social()}})}e("#seopress-analysis-tabs .hidden").removeClass("hidden"),e("#seopress-analysis-tabs").tabs(),s(),e("#seopress_launch_analysis").on("click",function(){s()})});
assets/js/seopress-media-uploader.js CHANGED
@@ -20,7 +20,9 @@ jQuery(document).ready(function($){
20
  mediaUploader.on('select', function() {
21
  attachment = mediaUploader.state().get('selection').first().toJSON();
22
  $(item + '_meta').val(attachment.url);
 
23
  });
 
24
  // Open the uploader dialog
25
  mediaUploader.open();
26
  });
20
  mediaUploader.on('select', function() {
21
  attachment = mediaUploader.state().get('selection').first().toJSON();
22
  $(item + '_meta').val(attachment.url);
23
+ $( "#seopress_social_fb_img_meta" ).trigger( "keyup" );
24
  });
25
+
26
  // Open the uploader dialog
27
  mediaUploader.open();
28
  });
assets/js/seopress-tabs6.js CHANGED
@@ -24,5 +24,6 @@ jQuery(document).ready(function($) {
24
 
25
  $('#seopress-tabs').find('.seopress-tab.active').removeClass("active");
26
  $('#'+hash).addClass("active");
27
- });
 
28
  });
24
 
25
  $('#seopress-tabs').find('.seopress-tab.active').removeClass("active");
26
  $('#'+hash).addClass("active");
27
+ });
28
+ $('.seopress_admin_color_picker').wpColorPicker();
29
  });
inc/admin/admin-metaboxes-content-analysis-form.php CHANGED
@@ -156,6 +156,8 @@ if ( is_plugin_active( 'wp-seopress-pro/seopress-pro.php' ) ) {
156
 
157
  $target_kws_h1 = $seopress_analysis_data['0']['h1']['matches'];
158
 
 
 
159
  echo '<p><span class="dashicons dashicons-yes"></span>'.__('Target keywords were found in Heading 1 (H1).','wp-seopress').'</p>';
160
 
161
  echo '<ul>';
@@ -171,7 +173,15 @@ if ( is_plugin_active( 'wp-seopress-pro/seopress-pro.php' ) ) {
171
  echo '</ul>';
172
  if ($count > 1) {
173
  echo '<p><span class="dashicons dashicons-no-alt"></span>'.sprintf(esc_html__('We found %d Heading 1 (H1) in your content.','wp-seopress'), $count).'</p>';
174
- echo '<p>'.__('You should not use more than one H1 heading in your post content. The rule is simple: only one H1 for each web page. It is better for both SEO and accessibility.','wp-seopress').'</p>';
 
 
 
 
 
 
 
 
175
  }
176
  }
177
 
@@ -267,7 +277,215 @@ if ( is_plugin_active( 'wp-seopress-pro/seopress-pro.php' ) ) {
267
  } else {
268
  echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('No custom meta description is set for this post.','wp-seopress').'</p>';
269
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
270
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
271
  echo '</div>
272
 
273
  <div id="seopress-analysis-tabs-2">
156
 
157
  $target_kws_h1 = $seopress_analysis_data['0']['h1']['matches'];
158
 
159
+ $all_h1 = $seopress_analysis_data['0']['h1']['values'];
160
+
161
  echo '<p><span class="dashicons dashicons-yes"></span>'.__('Target keywords were found in Heading 1 (H1).','wp-seopress').'</p>';
162
 
163
  echo '<ul>';
173
  echo '</ul>';
174
  if ($count > 1) {
175
  echo '<p><span class="dashicons dashicons-no-alt"></span>'.sprintf(esc_html__('We found %d Heading 1 (H1) in your content.','wp-seopress'), $count).'</p>';
176
+ echo '<p>'.__('You should not use more than one H1 heading in your post content. The rule is simple: only one H1 for each web page. It is better for both SEO and accessibility. Below, the list:','wp-seopress').'</p>';
177
+ }
178
+
179
+ if (!empty($all_h1)) {
180
+ echo '<ul>';
181
+ foreach($all_h1 as $h1) {
182
+ echo '<li><span class="dashicons dashicons-minus"></span>'.$h1.'</li>';
183
+ }
184
+ echo '</ul>';
185
  }
186
  }
187
 
277
  } else {
278
  echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('No custom meta description is set for this post.','wp-seopress').'</p>';
279
  }
280
+
281
+ //og:title
282
+ echo '<h3>'.__('Open Graph Title','wp-seopress').'</h3>';
283
+
284
+ if (!empty($seopress_analysis_data['0']['og_title']['count'])) {
285
+ $count = $seopress_analysis_data['0']['og_title']['count'];
286
+
287
+ $all_og_title = $seopress_analysis_data['0']['og_title']['values'];
288
+
289
+ if ($count > 1) {
290
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.sprintf(esc_html__('We found %d og:title in your content.','wp-seopress'), $count).'</p>';
291
+ echo '<p>'.__('You should not use more than one og:title in your post content to avoid conflicts when sharing on social networks. Facebook will take the last og:title tag from your source code. Below, the list:','wp-seopress').'</p>';
292
+ } else {
293
+ echo '<p><span class="dashicons dashicons-yes"></span>'.__('We found an Open Graph Title tag in your source code.','wp-seopress').'</p>';
294
+ }
295
+
296
+ if (!empty($all_og_title)) {
297
+ echo '<ul>';
298
+ foreach($all_og_title as $og_title) {
299
+ echo '<li><span class="dashicons dashicons-minus"></span>'.$og_title.'</li>';
300
+ }
301
+ echo '</ul>';
302
+ }
303
+ } else {
304
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('Your Open Graph Title is missing!','wp-seopress').'</p>';
305
+ }
306
+
307
+ //og:description
308
+ echo '<h3>'.__('Open Graph Description','wp-seopress').'</h3>';
309
+
310
+ if (!empty($seopress_analysis_data['0']['og_desc']['count'])) {
311
+
312
+ $count = $seopress_analysis_data['0']['og_desc']['count'];
313
+
314
+ $all_og_desc = $seopress_analysis_data['0']['og_desc']['values'];
315
+
316
+ if ($count > 1) {
317
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.sprintf(esc_html__('We found %d og:description in your content.','wp-seopress'), $count).'</p>';
318
+ echo '<p>'.__('You should not use more than one og:description in your post content to avoid conflicts when sharing on social networks. Facebook will take the last og:description tag from your source code. Below, the list:','wp-seopress').'</p>';
319
+ } else {
320
+ echo '<p><span class="dashicons dashicons-yes"></span>'.__('We found an Open Graph Description tag in your source code.','wp-seopress').'</p>';
321
+ }
322
+
323
+ if (!empty($all_og_desc)) {
324
+ echo '<ul>';
325
+ foreach($all_og_desc as $og_desc) {
326
+ echo '<li><span class="dashicons dashicons-minus"></span>'.$og_desc.'</li>';
327
+ }
328
+ echo '</ul>';
329
+ }
330
+ } else {
331
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('Your Open Graph Description is missing!','wp-seopress').'</p>';
332
+ }
333
+
334
+ //og:image
335
+ echo '<h3>'.__('Open Graph Image','wp-seopress').'</h3>';
336
+
337
+ if (!empty($seopress_analysis_data['0']['og_img']['count'])) {
338
+
339
+ $count = $seopress_analysis_data['0']['og_img']['count'];
340
+
341
+ $all_og_img = $seopress_analysis_data['0']['og_img']['values'];
342
+
343
+ if ($count > 0) {
344
+ echo '<p><span class="dashicons dashicons-yes"></span>'.sprintf(esc_html__('We found %d og:image in your content.','wp-seopress'), $count).'</p>';
345
+ }
346
+
347
+ if (!empty($all_og_img)) {
348
+ echo '<ul>';
349
+ foreach($all_og_img as $og_img) {
350
+ echo '<li><span class="dashicons dashicons-minus"></span>'.$og_img.'</li>';
351
+ }
352
+ echo '</ul>';
353
+ }
354
+ } else {
355
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('Your Open Graph Image is missing!','wp-seopress').'</p>';
356
+ }
357
+
358
+ //og:url
359
+ echo '<h3>'.__('Open Graph URL','wp-seopress').'</h3>';
360
+
361
+ if (!empty($seopress_analysis_data['0']['og_url']['count'])) {
362
+
363
+ $count = $seopress_analysis_data['0']['og_url']['count'];
364
+
365
+ $all_og_url = $seopress_analysis_data['0']['og_url']['values'];
366
+
367
+ if ($count > 1) {
368
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.sprintf(esc_html__('We found %d og:url in your content.','wp-seopress'), $count).'</p>';
369
+ echo '<p>'.__('You should not use more than one og:url in your post content to avoid conflicts when sharing on social networks. Facebook will take the last og:url tag from your source code. Below, the list:','wp-seopress').'</p>';
370
+ } else {
371
+ echo '<p><span class="dashicons dashicons-yes"></span>'.__('We found an Open Graph URL tag in your source code.','wp-seopress').'</p>';
372
+ }
373
+
374
+ if (!empty($all_og_url)) {
375
+ echo '<ul>';
376
+ foreach($all_og_url as $og_url) {
377
+ echo '<li><span class="dashicons dashicons-minus"></span>'.$og_url.'</li>';
378
+ }
379
+ echo '</ul>';
380
+ }
381
+ } else {
382
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('Your Open Graph URL is missing!','wp-seopress').'</p>';
383
+ }
384
+
385
+ //og:site_name
386
+ echo '<h3>'.__('Open Graph Site Name','wp-seopress').'</h3>';
387
+
388
+ if (!empty($seopress_analysis_data['0']['og_site_name']['count'])) {
389
+
390
+ $count = $seopress_analysis_data['0']['og_site_name']['count'];
391
+
392
+ $all_og_site_name = $seopress_analysis_data['0']['og_site_name']['values'];
393
+
394
+ if ($count > 1) {
395
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.sprintf(esc_html__('We found %d og:site_name in your content.','wp-seopress'), $count).'</p>';
396
+ echo '<p>'.__('You should not use more than one og:site_name in your post content to avoid conflicts when sharing on social networks. Facebook will take the last og:site_name tag from your source code. Below, the list:','wp-seopress').'</p>';
397
+ } else {
398
+ echo '<p><span class="dashicons dashicons-yes"></span>'.__('We found an Open Graph Site Name tag in your source code.','wp-seopress').'</p>';
399
+ }
400
+
401
+ if (!empty($all_og_site_name)) {
402
+ echo '<ul>';
403
+ foreach($all_og_site_name as $og_site_name) {
404
+ echo '<li><span class="dashicons dashicons-minus"></span>'.$og_site_name.'</li>';
405
+ }
406
+ echo '</ul>';
407
+ }
408
+ } else {
409
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('Your Open Graph Site Name is missing!','wp-seopress').'</p>';
410
+ }
411
+
412
+ //twitter:title
413
+ echo '<h3>'.__('Twitter Title','wp-seopress').'</h3>';
414
+
415
+ if (!empty($seopress_analysis_data['0']['tw_title']['count'])) {
416
+
417
+ $count = $seopress_analysis_data['0']['tw_title']['count'];
418
+
419
+ $all_tw_title = $seopress_analysis_data['0']['tw_title']['values'];
420
+
421
+ if ($count > 1) {
422
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.sprintf(esc_html__('We found %d twitter:title in your content.','wp-seopress'), $count).'</p>';
423
+ echo '<p>'.__('You should not use more than one twitter:title in your post content to avoid conflicts when sharing on social networks. Twitter will take the last twitter:title tag from your source code. Below, the list:','wp-seopress').'</p>';
424
+ } else {
425
+ echo '<p><span class="dashicons dashicons-yes"></span>'.__('We found a Twitter Title Tag in your source code.','wp-seopress').'</p>';
426
+ }
427
+
428
+ if (!empty($all_tw_title)) {
429
+ echo '<ul>';
430
+ foreach($all_tw_title as $tw_title) {
431
+ echo '<li><span class="dashicons dashicons-minus"></span>'.$tw_title.'</li>';
432
+ }
433
+ echo '</ul>';
434
+ }
435
+ } else {
436
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('Your Twitter Title is missing!','wp-seopress').'</p>';
437
+ }
438
+
439
+ //twitter:description
440
+ echo '<h3>'.__('Twitter Description','wp-seopress').'</h3>';
441
+
442
+ if (!empty($seopress_analysis_data['0']['tw_desc']['count'])) {
443
+
444
+ $count = $seopress_analysis_data['0']['tw_desc']['count'];
445
+
446
+ $all_tw_desc = $seopress_analysis_data['0']['tw_desc']['values'];
447
+
448
+ if ($count > 1) {
449
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.sprintf(esc_html__('We found %d twitter:description in your content.','wp-seopress'), $count).'</p>';
450
+ echo '<p>'.__('You should not use more than one twitter:description in your post content to avoid conflicts when sharing on social networks. Twitter will take the last twitter:description tag from your source code. Below, the list:','wp-seopress').'</p>';
451
+ } else {
452
+ echo '<p><span class="dashicons dashicons-yes"></span>'.__('We found a Twitter Description tag in your source code.','wp-seopress').'</p>';
453
+ }
454
+
455
+ if (!empty($all_tw_desc)) {
456
+ echo '<ul>';
457
+ foreach($all_tw_desc as $tw_desc) {
458
+ echo '<li><span class="dashicons dashicons-minus"></span>'.$tw_desc.'</li>';
459
+ }
460
+ echo '</ul>';
461
+ }
462
+ } else {
463
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('Your Twitter Description is missing!','wp-seopress').'</p>';
464
+ }
465
+
466
+ //twitter:image
467
+ echo '<h3>'.__('Twitter Image','wp-seopress').'</h3>';
468
 
469
+ if (!empty($seopress_analysis_data['0']['tw_img']['count'])) {
470
+
471
+ $count = $seopress_analysis_data['0']['tw_img']['count'];
472
+
473
+ $all_tw_img = $seopress_analysis_data['0']['tw_img']['values'];
474
+
475
+ if ($count > 0) {
476
+ echo '<p><span class="dashicons dashicons-yes"></span>'.sprintf(esc_html__('We found %d twitter:image in your content.','wp-seopress'), $count).'</p>';
477
+ }
478
+
479
+ if (!empty($all_tw_img)) {
480
+ echo '<ul>';
481
+ foreach($all_tw_img as $tw_img) {
482
+ echo '<li><span class="dashicons dashicons-minus"></span>'.$tw_img.'</li>';
483
+ }
484
+ echo '</ul>';
485
+ }
486
+ } else {
487
+ echo '<p><span class="dashicons dashicons-no-alt"></span>'.__('Your Twitter Image is missing!','wp-seopress').'</p>';
488
+ }
489
  echo '</div>
490
 
491
  <div id="seopress-analysis-tabs-2">
inc/admin/admin-metaboxes-form.php CHANGED
@@ -254,41 +254,83 @@ echo '<div id="seopress-tabs" data_id="'.$current_id.'" data_origin="'.$origin.'
254
  }
255
  if (array_key_exists('social-tab', $seo_tabs)) {
256
  echo '<div id="tabs-3">
257
- <span class="dashicons dashicons-facebook-alt"></span>
258
- <br><br>
259
- <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>
260
- <p>
261
- <label for="seopress_social_fb_title_meta">'. __( 'Facebook Title', 'wp-seopress' ) .'</label>
262
- <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.'" />
263
- </p>
264
- <p>
265
- <label for="seopress_social_fb_desc_meta">'. __( 'Facebook description', 'wp-seopress' ) .'</label>
266
- <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>
267
- </p>
268
- <p>
269
- <label for="seopress_social_fb_img_meta">'. __( 'Facebook Thumbnail', 'wp-seopress' ) .'</label>
270
- <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.'" />
271
- <span class="advise">'.__('Minimum size: 200x200px, ideal ratio 1.91:1, 8Mb max. (eg: 1640x856px or 3280x1712px for retina screens)', 'wp-seopress').'</span>
272
- <input id="seopress_social_fb_img_upload" class="button" type="button" value="'.__('Upload an Image','wp-seopress').'" />
273
- </p>
274
- <br/>
275
- <span class="dashicons dashicons-twitter"></span>
276
- <br><br>
277
- <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>
278
- <p>
279
- <label for="seopress_social_twitter_title_meta">'. __( 'Twitter Title', 'wp-seopress' ) .'</label>
280
- <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.'" />
281
- </p>
282
- <p>
283
- <label for="seopress_social_twitter_desc_meta">'. __( 'Twitter description', 'wp-seopress' ) .'</label>
284
- <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>
285
- </p>
286
- <p>
287
- <label for="seopress_social_twitter_img_meta">'. __( 'Twitter Thumbnail', 'wp-seopress' ) .'</label>
288
- <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.'" />
289
- <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>
290
- <input id="seopress_social_twitter_img_upload" class="button" type="button" aria-label="'.__('Twitter Thumbnail','wp-seopress').'" value="'.__('Upload an Image','wp-seopress').'" />
291
- </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
292
  </div>';
293
  }
294
  }
254
  }
255
  if (array_key_exists('social-tab', $seo_tabs)) {
256
  echo '<div id="tabs-3">
257
+ <div class="box-left">
258
+ <span class="dashicons dashicons-facebook-alt"></span>
259
+ <br><br>
260
+ <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>
261
+ <p>
262
+ <label for="seopress_social_fb_title_meta">'. __( 'Facebook Title', 'wp-seopress' ) .'</label>
263
+ <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.'" />
264
+ </p>
265
+ <p>
266
+ <label for="seopress_social_fb_desc_meta">'. __( 'Facebook description', 'wp-seopress' ) .'</label>
267
+ <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>
268
+ </p>
269
+ <p>
270
+ <label for="seopress_social_fb_img_meta">'. __( 'Facebook Thumbnail', 'wp-seopress' ) .'</label>
271
+ <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.'" />
272
+ <span class="advise">'.__('Minimum size: 200x200px, ideal ratio 1.91:1, 8Mb max. (eg: 1640x856px or 3280x1712px for retina screens)', 'wp-seopress').'</span>
273
+ <input id="seopress_social_fb_img_upload" class="button" type="button" value="'.__('Upload an Image','wp-seopress').'" />
274
+ </p>
275
+ </div>
276
+ <div class="box-right">
277
+ <div class="facebook-snippet-preview">
278
+ <h3>'.__('Facebook Preview','wp-seopress').'</h3>';
279
+ if(seopress_get_toggle_social_option()=='1') {
280
+ echo '<p>'.__('This is what your post will look like in Facebook. You have to publish your post to get the Facebook Preview.','wp-seopress').'</p>';
281
+ } else {
282
+ echo '<p><span class="dashicons dashicons-warning"></span>'.__('The Social Networks feature is disabled. Still seing informations from the FB Preview? You probably have social tags added by your theme or a plugin.','wp-seopress').'</p>';
283
+ }
284
+ echo '<div class="facebook-snippet-box">
285
+ <div class="snippet-fb-img"><img src="" width="524" height="274" alt="" aria-label=""/></div>
286
+ <div class="snippet-fb-img-custom" style="display:none"><img src="" width="524" height="274" alt="" aria-label=""/></div>
287
+ <div class="snippet-fb-img-default" style="display:none"><img src="" width="524" height="274" alt="" aria-label=""/></div>
288
+
289
+ <div class="facebook-snippet-text">
290
+ <div class="snippet-meta">
291
+ <div class="snippet-fb-url"></div>
292
+ <div class="fb-sep">|</div>
293
+ <div class="fb-by">'.__('By ','wp-seopress').'</div>
294
+ <div class="snippet-fb-site-name"></div>
295
+ </div>
296
+ <div class="title-desc">
297
+ <div class="snippet-fb-title"></div>
298
+ <div class="snippet-fb-title-custom" style="display:none"></div>';
299
+ global $tag;
300
+ if (get_the_title()) {
301
+ echo '<div class="snippet-fb-title-default" style="display:none">'.get_the_title().' - '.get_bloginfo('name').'</div>';
302
+ } elseif ($tag) {
303
+ echo '<div class="snippet-fb-title-default" style="display:none">'.$tag->name.' - '.get_bloginfo('name').'</div>';
304
+ }
305
+ echo '<div class="snippet-fb-description">...</div>
306
+ <div class="snippet-fb-description-custom" style="display:none"></div>
307
+ <div class="snippet-fb-description-default" style="display:none"></div>';
308
+ echo '</div>
309
+ </div>
310
+ </div>
311
+ </div>
312
+ </div>
313
+ <div class="clear"></div>
314
+ <div class="box-left">
315
+ <br/>
316
+ <span class="dashicons dashicons-twitter"></span>
317
+ <br><br>
318
+ <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>
319
+ <p>
320
+ <label for="seopress_social_twitter_title_meta">'. __( 'Twitter Title', 'wp-seopress' ) .'</label>
321
+ <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.'" />
322
+ </p>
323
+ <p>
324
+ <label for="seopress_social_twitter_desc_meta">'. __( 'Twitter description', 'wp-seopress' ) .'</label>
325
+ <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>
326
+ </p>
327
+ <p>
328
+ <label for="seopress_social_twitter_img_meta">'. __( 'Twitter Thumbnail', 'wp-seopress' ) .'</label>
329
+ <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.'" />
330
+ <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>
331
+ <input id="seopress_social_twitter_img_upload" class="button" type="button" aria-label="'.__('Twitter Thumbnail','wp-seopress').'" value="'.__('Upload an Image','wp-seopress').'" />
332
+ </p>
333
+ </div>
334
  </div>';
335
  }
336
  }
inc/admin/admin.php CHANGED
@@ -546,6 +546,7 @@ class seopress_options
546
  'tab_seopress_google_analytics_events' => __( "Events", "wp-seopress" ),
547
  'tab_seopress_google_analytics_custom_dimensions' => __( "Custom Dimensions", "wp-seopress" ),
548
  'tab_seopress_google_analytics_dashboard' => __( "Stats in Dashboard", "wp-seopress" ),
 
549
  );
550
  } else {
551
  $plugin_settings_tabs = array(
@@ -553,6 +554,7 @@ class seopress_options
553
  'tab_seopress_google_analytics_features' => __( "Tracking", "wp-seopress" ),
554
  'tab_seopress_google_analytics_events' => __( "Events", "wp-seopress" ),
555
  'tab_seopress_google_analytics_custom_dimensions' => __( "Custom Dimensions", "wp-seopress" ),
 
556
  );
557
  }
558
 
@@ -568,6 +570,7 @@ class seopress_options
568
  <?php if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) { ?>
569
  <div class="seopress-tab <?php if ($current_tab == 'tab_seopress_google_analytics_dashboard') { echo 'active'; } ?>" id="tab_seopress_google_analytics_dashboard"><?php do_settings_sections( 'seopress-settings-admin-google-analytics-dashboard' ); ?></div>
570
  <?php } ?>
 
571
  </div>
572
 
573
  <?php submit_button(); ?>
@@ -2918,7 +2921,7 @@ class seopress_options
2918
  array( $this, 'seopress_social_twitter_card_og_callback' ), // Callback
2919
  'seopress-settings-admin-social-twitter', // Page
2920
  'seopress_setting_section_social_twitter' // Section
2921
- );
2922
 
2923
  add_settings_field(
2924
  'seopress_social_twitter_card_img', // ID
@@ -2926,14 +2929,14 @@ class seopress_options
2926
  array( $this, 'seopress_social_twitter_card_img_callback' ), // Callback
2927
  'seopress-settings-admin-social-twitter', // Page
2928
  'seopress_setting_section_social_twitter' // Section
2929
- );
2930
 
2931
  add_settings_field(
2932
  'seopress_social_twitter_card_img_size', // ID
2933
  __("Image size for Twitter Summary card","wp-seopress"), // Title
2934
  array( $this, 'seopress_social_twitter_card_img_size_callback' ), // Callback
2935
  'seopress-settings-admin-social-twitter', // Page
2936
- 'seopress_setting_section_social_twitter' // Section
2937
  );
2938
 
2939
  //Google Analytics Enable SECTION==========================================================
@@ -2943,14 +2946,14 @@ class seopress_options
2943
  //__("Google Analytics","wp-seopress"), // Title
2944
  array( $this, 'print_section_info_google_analytics_enable' ), // Callback
2945
  'seopress-settings-admin-google-analytics-enable' // Page
2946
- );
2947
 
2948
  add_settings_field(
2949
  'seopress_google_analytics_enable', // ID
2950
  __("Enable Google Analytics tracking","wp-seopress"), // Title
2951
  array( $this, 'seopress_google_analytics_enable_callback' ), // Callback
2952
  'seopress-settings-admin-google-analytics-enable', // Page
2953
- 'seopress_setting_section_google_analytics_enable' // Section
2954
  );
2955
 
2956
  add_settings_field(
@@ -2958,47 +2961,152 @@ class seopress_options
2958
  __("Enter your tracking ID","wp-seopress"), // Title
2959
  array( $this, 'seopress_google_analytics_ua_callback' ), // Callback
2960
  'seopress-settings-admin-google-analytics-enable', // Page
2961
- 'seopress_setting_section_google_analytics_enable' // Section
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2962
  );
2963
 
2964
  add_settings_field(
2965
  'seopress_google_analytics_disable', // ID
2966
  __("Google Analytics tracking opt-in","wp-seopress"), // Title
2967
  array( $this, 'seopress_google_analytics_disable_callback' ), // Callback
2968
- 'seopress-settings-admin-google-analytics-enable', // Page
2969
- 'seopress_setting_section_google_analytics_enable' // Section
2970
  );
2971
 
2972
  add_settings_field(
2973
  'seopress_google_analytics_half_disable', // ID
2974
  '', // Title
2975
  array( $this, 'seopress_google_analytics_half_disable_callback' ), // Callback
2976
- 'seopress-settings-admin-google-analytics-enable', // Page
2977
- 'seopress_setting_section_google_analytics_enable' // Section
2978
  );
2979
 
2980
  add_settings_field(
2981
  'seopress_google_analytics_opt_out_msg', // ID
2982
  __("Consent message for user tracking","wp-seopress"), // Title
2983
  array( $this, 'seopress_google_analytics_opt_out_msg_callback' ), // Callback
2984
- 'seopress-settings-admin-google-analytics-enable', // Page
2985
- 'seopress_setting_section_google_analytics_enable' // Section
2986
  );
2987
 
2988
  add_settings_field(
2989
  'seopress_google_analytics_opt_out_msg_ok', // ID
2990
  __("Accept button for user tracking","wp-seopress"), // Title
2991
  array( $this, 'seopress_google_analytics_opt_out_msg_ok_callback' ), // Callback
2992
- 'seopress-settings-admin-google-analytics-enable', // Page
2993
- 'seopress_setting_section_google_analytics_enable' // Section
2994
- );
2995
 
2996
  add_settings_field(
2997
- 'seopress_google_analytics_roles', // ID
2998
- __("Exclude user roles from tracking","wp-seopress"), // Title
2999
- array( $this, 'seopress_google_analytics_roles_callback' ), // Callback
3000
- 'seopress-settings-admin-google-analytics-enable', // Page
3001
- 'seopress_setting_section_google_analytics_enable' // Section
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3002
  );
3003
 
3004
  //Google Analytics Tracking SECTION========================================================
@@ -3602,33 +3710,27 @@ class seopress_options
3602
  * Print the Section text
3603
  */
3604
 
3605
- public function print_section_info_titles()
3606
- {
3607
  print __('<p>Customize your title & meta description for homepage</p>', 'wp-seopress');
3608
- }
3609
 
3610
- public function print_section_info_single()
3611
- {
3612
  print __('<p>Customize your titles & metas for Single Custom Post Types</p>', 'wp-seopress');
3613
  }
3614
 
3615
- public function print_section_info_advanced()
3616
- {
3617
  print __('<p>Customize your metas for all pages</p>', 'wp-seopress');
3618
- }
3619
 
3620
- public function print_section_info_tax()
3621
- {
3622
  print __('<p>Customize your metas for all taxonomies archives</p>', 'wp-seopress');
3623
- }
3624
 
3625
- public function print_section_info_archives()
3626
- {
3627
  print __('<p>Customize your metas for all archives</p>', 'wp-seopress');
3628
- }
3629
 
3630
- public function print_section_info_xml_sitemap_general()
3631
- {
3632
  if (get_option('permalink_structure') =='') {
3633
  echo '<div class="error notice is-dismissable">';
3634
  echo '<p>'. __('Your permalinks are not SEO Friendly! Enable pretty permalinks to fix this.','wp-seopress');
@@ -3677,8 +3779,7 @@ class seopress_options
3677
  echo '<span class="spinner"></span>';
3678
  }
3679
 
3680
- public function print_section_info_html_sitemap()
3681
- {
3682
  print __('<p>Create an HTML Sitemap for your visitors and boost your SEO.</p>', 'wp-seopress');
3683
 
3684
  if (function_exists('seopress_get_locale')) {
@@ -3692,30 +3793,25 @@ class seopress_options
3692
  echo '<a class="seopress-doc" href="'.$seopress_docs_link['sitemaps']['html'].'" target="_blank"><span class="dashicons dashicons-editor-help"></span><span class="screen-reader-text">'. __('Guide to enable a HTML Sitemap - new window','wp-seopress').'</span></a></p>';
3693
  }
3694
 
3695
- public function print_section_info_xml_sitemap_post_types()
3696
- {
3697
  print __('<p>Include/Exclude Post Types.</p>', 'wp-seopress');
3698
  }
3699
 
3700
- public function print_section_info_xml_sitemap_taxonomies()
3701
- {
3702
  print __('<p>Include/Exclude Taxonomies.</p>', 'wp-seopress');
3703
- }
3704
 
3705
- public function print_section_info_social_knowledge()
3706
- {
3707
  print __('<p>Configure Google Knowledge Graph.</p>', 'wp-seopress');
3708
  echo '<p><span class="dashicons dashicons-external"></span><a href="https://developers.google.com/search/docs/guides/enhance-site" target="_blank">'.__('Learn more on Google official website.','wp-seopress').'</a></p>';
3709
- }
3710
 
3711
- public function print_section_info_social_accounts()
3712
- {
3713
  print __('<p>Link your site with your social accounts. Use markup on your website to add your social profile information to a Google Knowledge panel. Knowledge panels prominently display your social profile information in some Google Search results. Filling in these fields does not guarantee the display of this data in search results. It may take a long time to see these social-network links.</p>', 'wp-seopress');
3714
  echo '<img src="'.plugins_url('assets/img/help/google-knowledge-graph-social.png', dirname(dirname(__FILE__))).'" class="help-social">';
3715
- }
3716
 
3717
- public function print_section_info_social_facebook()
3718
- {
3719
  print __('<p>Manage Open Graph data.</p>', 'wp-seopress');
3720
 
3721
  echo __('<p>We generate the <strong>og:image</strong> meta in this order:</p>','wp-seopress');
@@ -3729,8 +3825,7 @@ class seopress_options
3729
  </ol>';
3730
  }
3731
 
3732
- public function print_section_info_social_twitter()
3733
- {
3734
  print __('<p>Manage your Twitter card.</p>', 'wp-seopress');
3735
 
3736
  echo __('<p>We generate the <strong>twitter:image</strong> meta in this order:</p>','wp-seopress');
@@ -3742,25 +3837,25 @@ class seopress_options
3742
  <li>'.__('First image of your post content','wp-seopress').'</li>
3743
  <li>'.__('Global Twitter:image set in SEO > Social > Twitter Card','wp-seopress').'</li>
3744
  </ol>';
3745
- }
3746
 
3747
- public function print_section_info_google_analytics_enable()
3748
- {
3749
- print __('<p>Link your Google Analytics to your website.</p>', 'wp-seopress');
3750
  }
3751
 
3752
- public function print_section_info_google_analytics_features()
3753
- {
 
 
 
3754
  print __('<p>Configure your Google Analytics tracking code.</p>', 'wp-seopress');
3755
- }
3756
-
3757
- public function print_section_info_google_analytics_events()
3758
- {
3759
  print __('<p>Track events in Google Analytics.</p>', 'wp-seopress');
3760
- }
3761
 
3762
- public function print_section_info_google_analytics_custom_dimensions()
3763
- {
3764
  print __('<p>Configure your Google Analytics custom dimensions. <br>Custom dimensions and custom metrics in SEOPress are like the default dimensions and metrics in your Analytics account, except you create them yourself.<br> Use them to collect and analyze data that Analytics doesn\'t automatically track.<br> Please note that you also have to setup your custom dimensions in your Google Analytics account. More info by clicking on the help icon.', 'wp-seopress');
3765
 
3766
  if (function_exists('seopress_get_locale')) {
@@ -3774,20 +3869,17 @@ class seopress_options
3774
  echo '<a class="seopress-doc" href="'.$seopress_docs_link['support']['analytics']['custom_dimensions'].'" target="_blank"><span class="dashicons dashicons-editor-help"></span><span class="screen-reader-text">'. __('Guide to create custom dimensions in Google Analytics - new window','wp-seopress').'</span></a></p>';
3775
  }
3776
 
3777
- public function print_section_info_advanced_advanced()
3778
- {
3779
  print __('<p>Advanced SEO options.</p>', 'wp-seopress');
3780
  }
3781
 
3782
- public function print_section_info_advanced_appearance()
3783
- {
3784
  print __('<p>Customize SEOPress to fit your needs.</p>', 'wp-seopress');
3785
- }
3786
 
3787
- public function print_section_info_advanced_security()
3788
- {
3789
  print __('<p>Manage security.</p>', 'wp-seopress');
3790
- }
3791
 
3792
  /**
3793
  * Get the settings option array and print one of its values
@@ -5435,9 +5527,9 @@ class seopress_options
5435
 
5436
  public function seopress_google_analytics_half_disable_callback()
5437
  {
5438
- $options = get_option( 'seopress_google_analytics_option_name' );
5439
 
5440
- $check = isset($options['seopress_google_analytics_half_disable']);
5441
 
5442
  echo '<input id="seopress_google_analytics_half_disable" name="seopress_google_analytics_option_name[seopress_google_analytics_half_disable]" type="checkbox"';
5443
  if ('1' == $check) echo 'checked="yes"';
@@ -5482,7 +5574,137 @@ class seopress_options
5482
  printf(
5483
  '<input type="text" name="seopress_google_analytics_option_name[seopress_google_analytics_opt_out_msg_ok]" placeholder="'.esc_html__('Accept','wp-seopress').'" aria-label="'.__('Change the button value','wp-seopress').'" value="%s"/>',
5484
  esc_html( $check )
5485
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5486
  }
5487
 
5488
  public function seopress_google_analytics_roles_callback()
546
  'tab_seopress_google_analytics_events' => __( "Events", "wp-seopress" ),
547
  'tab_seopress_google_analytics_custom_dimensions' => __( "Custom Dimensions", "wp-seopress" ),
548
  'tab_seopress_google_analytics_dashboard' => __( "Stats in Dashboard", "wp-seopress" ),
549
+ 'tab_seopress_google_analytics_gdpr' => __( "Cookie bar / GDPR", "wp-seopress" ),
550
  );
551
  } else {
552
  $plugin_settings_tabs = array(
554
  'tab_seopress_google_analytics_features' => __( "Tracking", "wp-seopress" ),
555
  'tab_seopress_google_analytics_events' => __( "Events", "wp-seopress" ),
556
  'tab_seopress_google_analytics_custom_dimensions' => __( "Custom Dimensions", "wp-seopress" ),
557
+ 'tab_seopress_google_analytics_gdpr' => __( "Cookie bar / GDPR", "wp-seopress" ),
558
  );
559
  }
560
 
570
  <?php if (is_plugin_active('wp-seopress-pro/seopress-pro.php')) { ?>
571
  <div class="seopress-tab <?php if ($current_tab == 'tab_seopress_google_analytics_dashboard') { echo 'active'; } ?>" id="tab_seopress_google_analytics_dashboard"><?php do_settings_sections( 'seopress-settings-admin-google-analytics-dashboard' ); ?></div>
572
  <?php } ?>
573
+ <div class="seopress-tab <?php if ($current_tab == 'tab_seopress_google_analytics_gdpr') { echo 'active'; } ?>" id="tab_seopress_google_analytics_gdpr"><?php do_settings_sections( 'seopress-settings-admin-google-analytics-gdpr' ); ?></div>
574
  </div>
575
 
576
  <?php submit_button(); ?>
2921
  array( $this, 'seopress_social_twitter_card_og_callback' ), // Callback
2922
  'seopress-settings-admin-social-twitter', // Page
2923
  'seopress_setting_section_social_twitter' // Section
2924
+ );
2925
 
2926
  add_settings_field(
2927
  'seopress_social_twitter_card_img', // ID
2929
  array( $this, 'seopress_social_twitter_card_img_callback' ), // Callback
2930
  'seopress-settings-admin-social-twitter', // Page
2931
  'seopress_setting_section_social_twitter' // Section
2932
+ );
2933
 
2934
  add_settings_field(
2935
  'seopress_social_twitter_card_img_size', // ID
2936
  __("Image size for Twitter Summary card","wp-seopress"), // Title
2937
  array( $this, 'seopress_social_twitter_card_img_size_callback' ), // Callback
2938
  'seopress-settings-admin-social-twitter', // Page
2939
+ 'seopress_setting_section_social_twitter' // Section
2940
  );
2941
 
2942
  //Google Analytics Enable SECTION==========================================================
2946
  //__("Google Analytics","wp-seopress"), // Title
2947
  array( $this, 'print_section_info_google_analytics_enable' ), // Callback
2948
  'seopress-settings-admin-google-analytics-enable' // Page
2949
+ );
2950
 
2951
  add_settings_field(
2952
  'seopress_google_analytics_enable', // ID
2953
  __("Enable Google Analytics tracking","wp-seopress"), // Title
2954
  array( $this, 'seopress_google_analytics_enable_callback' ), // Callback
2955
  'seopress-settings-admin-google-analytics-enable', // Page
2956
+ 'seopress_setting_section_google_analytics_enable' // Section
2957
  );
2958
 
2959
  add_settings_field(
2961
  __("Enter your tracking ID","wp-seopress"), // Title
2962
  array( $this, 'seopress_google_analytics_ua_callback' ), // Callback
2963
  'seopress-settings-admin-google-analytics-enable', // Page
2964
+ 'seopress_setting_section_google_analytics_enable' // Section
2965
+ );
2966
+
2967
+ add_settings_field(
2968
+ 'seopress_google_analytics_roles', // ID
2969
+ __("Exclude user roles from tracking","wp-seopress"), // Title
2970
+ array( $this, 'seopress_google_analytics_roles_callback' ), // Callback
2971
+ 'seopress-settings-admin-google-analytics-enable', // Page
2972
+ 'seopress_setting_section_google_analytics_enable' // Section
2973
+ );
2974
+
2975
+ //Cookie bar / GDPR SECTION================================================================
2976
+ add_settings_section(
2977
+ 'seopress_setting_section_google_analytics_gdpr', // ID
2978
+ '',
2979
+ //__("Google Analytics","wp-seopress"), // Title
2980
+ array( $this, 'print_section_info_google_analytics_gdpr' ), // Callback
2981
+ 'seopress-settings-admin-google-analytics-gdpr' // Page
2982
  );
2983
 
2984
  add_settings_field(
2985
  'seopress_google_analytics_disable', // ID
2986
  __("Google Analytics tracking opt-in","wp-seopress"), // Title
2987
  array( $this, 'seopress_google_analytics_disable_callback' ), // Callback
2988
+ 'seopress-settings-admin-google-analytics-gdpr', // Page
2989
+ 'seopress_setting_section_google_analytics_gdpr' // Section
2990
  );
2991
 
2992
  add_settings_field(
2993
  'seopress_google_analytics_half_disable', // ID
2994
  '', // Title
2995
  array( $this, 'seopress_google_analytics_half_disable_callback' ), // Callback
2996
+ 'seopress-settings-admin-google-analytics-gdpr', // Page
2997
+ 'seopress_setting_section_google_analytics_gdpr' // Section
2998
  );
2999
 
3000
  add_settings_field(
3001
  'seopress_google_analytics_opt_out_msg', // ID
3002
  __("Consent message for user tracking","wp-seopress"), // Title
3003
  array( $this, 'seopress_google_analytics_opt_out_msg_callback' ), // Callback
3004
+ 'seopress-settings-admin-google-analytics-gdpr', // Page
3005
+ 'seopress_setting_section_google_analytics_gdpr' // Section
3006
  );
3007
 
3008
  add_settings_field(
3009
  'seopress_google_analytics_opt_out_msg_ok', // ID
3010
  __("Accept button for user tracking","wp-seopress"), // Title
3011
  array( $this, 'seopress_google_analytics_opt_out_msg_ok_callback' ), // Callback
3012
+ 'seopress-settings-admin-google-analytics-gdpr', // Page
3013
+ 'seopress_setting_section_google_analytics_gdpr' // Section
3014
+ );
3015
 
3016
  add_settings_field(
3017
+ 'seopress_google_analytics_cb_pos', // ID
3018
+ __("Cookie bar position","wp-seopress"), // Title
3019
+ array( $this, 'seopress_google_analytics_cb_pos_callback' ), // Callback
3020
+ 'seopress-settings-admin-google-analytics-gdpr', // Page
3021
+ 'seopress_setting_section_google_analytics_gdpr' // Section
3022
+ );
3023
+
3024
+ add_settings_field(
3025
+ 'seopress_google_analytics_cb_bg', // ID
3026
+ __("Cookie bar background color","wp-seopress"), // Title
3027
+ array( $this, 'seopress_google_analytics_cb_bg_callback' ), // Callback
3028
+ 'seopress-settings-admin-google-analytics-gdpr', // Page
3029
+ 'seopress_setting_section_google_analytics_gdpr' // Section
3030
+ );
3031
+
3032
+ add_settings_field(
3033
+ 'seopress_google_analytics_cb_txt_col', // ID
3034
+ __("Cookie bar text color","wp-seopress"), // Title
3035
+ array( $this, 'seopress_google_analytics_cb_txt_col_callback' ), // Callback
3036
+ 'seopress-settings-admin-google-analytics-gdpr', // Page
3037
+ 'seopress_setting_section_google_analytics_gdpr' // Section
3038
+ );
3039
+
3040
+ add_settings_field(
3041
+ 'seopress_google_analytics_cb_lk_col', // ID
3042
+ __("Cookie bar link color","wp-seopress"), // Title
3043
+ array( $this, 'seopress_google_analytics_cb_lk_col_callback' ), // Callback
3044
+ 'seopress-settings-admin-google-analytics-gdpr', // Page
3045
+ 'seopress_setting_section_google_analytics_gdpr' // Section
3046
+ );
3047
+
3048
+ add_settings_field(
3049
+ 'seopress_google_analytics_cb_btn_bg', // ID
3050
+ __("Cookie bar button background color","wp-seopress"), // Title
3051
+ array( $this, 'seopress_google_analytics_cb_btn_bg_callback' ), // Callback
3052
+ 'seopress-settings-admin-google-analytics-gdpr', // Page
3053
+ 'seopress_setting_section_google_analytics_gdpr' // Section
3054
+ );
3055
+
3056
+ add_settings_field(
3057
+ 'seopress_google_analytics_cb_btn_col', // ID
3058
+ __("Cookie bar button color","wp-seopress"), // Title
3059
+ array( $this, 'seopress_google_analytics_cb_btn_col_callback' ), // Callback
3060
+ 'seopress-settings-admin-google-analytics-gdpr', // Page
3061
+ 'seopress_setting_section_google_analytics_gdpr' // Section
3062
+ );
3063
+
3064
+ add_settings_field(
3065
+ 'seopress_google_analytics_cb_btn_bg_hov', // ID
3066
+ __("Cookie bar button hover background color","wp-seopress"), // Title
3067
+ array( $this, 'seopress_google_analytics_cb_btn_bg_hov_callback' ), // Callback
3068
+ 'seopress-settings-admin-google-analytics-gdpr', // Page
3069
+ 'seopress_setting_section_google_analytics_gdpr' // Section
3070
+ );
3071
+
3072
+ add_settings_field(
3073
+ 'seopress_google_analytics_cb_btn_col_hov', // ID
3074
+ __("Cookie bar button hover color","wp-seopress"), // Title
3075
+ array( $this, 'seopress_google_analytics_cb_btn_col_hov_callback' ), // Callback
3076
+ 'seopress-settings-admin-google-analytics-gdpr', // Page
3077
+ 'seopress_setting_section_google_analytics_gdpr' // Section
3078
+ );
3079
+
3080
+ add_settings_field(
3081
+ 'seopress_google_analytics_cb_btn_sec_bg', // ID
3082
+ __("Cookie bar secondary button background color","wp-seopress"), // Title
3083
+ array( $this, 'seopress_google_analytics_cb_btn_sec_bg_callback' ), // Callback
3084
+ 'seopress-settings-admin-google-analytics-gdpr', // Page
3085
+ 'seopress_setting_section_google_analytics_gdpr' // Section
3086
+ );
3087
+
3088
+ add_settings_field(
3089
+ 'seopress_google_analytics_cb_btn_sec_col', // ID
3090
+ __("Cookie bar secondary button color","wp-seopress"), // Title
3091
+ array( $this, 'seopress_google_analytics_cb_btn_sec_col_callback' ), // Callback
3092
+ 'seopress-settings-admin-google-analytics-gdpr', // Page
3093
+ 'seopress_setting_section_google_analytics_gdpr' // Section
3094
+ );
3095
+
3096
+ add_settings_field(
3097
+ 'seopress_google_analytics_cb_btn_sec_bg_hov', // ID
3098
+ __("Cookie bar secondary button hover background color","wp-seopress"), // Title
3099
+ array( $this, 'seopress_google_analytics_cb_btn_sec_bg_hov_callback' ), // Callback
3100
+ 'seopress-settings-admin-google-analytics-gdpr', // Page
3101
+ 'seopress_setting_section_google_analytics_gdpr' // Section
3102
+ );
3103
+
3104
+ add_settings_field(
3105
+ 'seopress_google_analytics_cb_btn_sec_col_hov', // ID
3106
+ __("Cookie bar secondary button hover color","wp-seopress"), // Title
3107
+ array( $this, 'seopress_google_analytics_cb_btn_sec_col_hov_callback' ), // Callback
3108
+ 'seopress-settings-admin-google-analytics-gdpr', // Page
3109
+ 'seopress_setting_section_google_analytics_gdpr' // Section
3110
  );
3111
 
3112
  //Google Analytics Tracking SECTION========================================================
3710
  * Print the Section text
3711
  */
3712
 
3713
+ public function print_section_info_titles() {
 
3714
  print __('<p>Customize your title & meta description for homepage</p>', 'wp-seopress');
3715
+ }
3716
 
3717
+ public function print_section_info_single() {
 
3718
  print __('<p>Customize your titles & metas for Single Custom Post Types</p>', 'wp-seopress');
3719
  }
3720
 
3721
+ public function print_section_info_advanced() {
 
3722
  print __('<p>Customize your metas for all pages</p>', 'wp-seopress');
3723
+ }
3724
 
3725
+ public function print_section_info_tax() {
 
3726
  print __('<p>Customize your metas for all taxonomies archives</p>', 'wp-seopress');
3727
+ }
3728
 
3729
+ public function print_section_info_archives() {
 
3730
  print __('<p>Customize your metas for all archives</p>', 'wp-seopress');
3731
+ }
3732
 
3733
+ public function print_section_info_xml_sitemap_general() {
 
3734
  if (get_option('permalink_structure') =='') {
3735
  echo '<div class="error notice is-dismissable">';
3736
  echo '<p>'. __('Your permalinks are not SEO Friendly! Enable pretty permalinks to fix this.','wp-seopress');
3779
  echo '<span class="spinner"></span>';
3780
  }
3781
 
3782
+ public function print_section_info_html_sitemap() {
 
3783
  print __('<p>Create an HTML Sitemap for your visitors and boost your SEO.</p>', 'wp-seopress');
3784
 
3785
  if (function_exists('seopress_get_locale')) {
3793
  echo '<a class="seopress-doc" href="'.$seopress_docs_link['sitemaps']['html'].'" target="_blank"><span class="dashicons dashicons-editor-help"></span><span class="screen-reader-text">'. __('Guide to enable a HTML Sitemap - new window','wp-seopress').'</span></a></p>';
3794
  }
3795
 
3796
+ public function print_section_info_xml_sitemap_post_types() {
 
3797
  print __('<p>Include/Exclude Post Types.</p>', 'wp-seopress');
3798
  }
3799
 
3800
+ public function print_section_info_xml_sitemap_taxonomies() {
 
3801
  print __('<p>Include/Exclude Taxonomies.</p>', 'wp-seopress');
3802
+ }
3803
 
3804
+ public function print_section_info_social_knowledge() {
 
3805
  print __('<p>Configure Google Knowledge Graph.</p>', 'wp-seopress');
3806
  echo '<p><span class="dashicons dashicons-external"></span><a href="https://developers.google.com/search/docs/guides/enhance-site" target="_blank">'.__('Learn more on Google official website.','wp-seopress').'</a></p>';
3807
+ }
3808
 
3809
+ public function print_section_info_social_accounts() {
 
3810
  print __('<p>Link your site with your social accounts. Use markup on your website to add your social profile information to a Google Knowledge panel. Knowledge panels prominently display your social profile information in some Google Search results. Filling in these fields does not guarantee the display of this data in search results. It may take a long time to see these social-network links.</p>', 'wp-seopress');
3811
  echo '<img src="'.plugins_url('assets/img/help/google-knowledge-graph-social.png', dirname(dirname(__FILE__))).'" class="help-social">';
3812
+ }
3813
 
3814
+ public function print_section_info_social_facebook() {
 
3815
  print __('<p>Manage Open Graph data.</p>', 'wp-seopress');
3816
 
3817
  echo __('<p>We generate the <strong>og:image</strong> meta in this order:</p>','wp-seopress');
3825
  </ol>';
3826
  }
3827
 
3828
+ public function print_section_info_social_twitter() {
 
3829
  print __('<p>Manage your Twitter card.</p>', 'wp-seopress');
3830
 
3831
  echo __('<p>We generate the <strong>twitter:image</strong> meta in this order:</p>','wp-seopress');
3837
  <li>'.__('First image of your post content','wp-seopress').'</li>
3838
  <li>'.__('Global Twitter:image set in SEO > Social > Twitter Card','wp-seopress').'</li>
3839
  </ol>';
3840
+ }
3841
 
3842
+ public function print_section_info_google_analytics_enable() {
3843
+ print __('<p>Link your Google Analytics to your website. The tracking code will be automatically added to your site.</p>', 'wp-seopress');
 
3844
  }
3845
 
3846
+ public function print_section_info_google_analytics_gdpr() {
3847
+ print __('<p>Manage user consent for GDPR and customize your cookie bar easily.</p>', 'wp-seopress');
3848
+ }
3849
+
3850
+ public function print_section_info_google_analytics_features() {
3851
  print __('<p>Configure your Google Analytics tracking code.</p>', 'wp-seopress');
3852
+ }
3853
+
3854
+ public function print_section_info_google_analytics_events() {
 
3855
  print __('<p>Track events in Google Analytics.</p>', 'wp-seopress');
3856
+ }
3857
 
3858
+ public function print_section_info_google_analytics_custom_dimensions() {
 
3859
  print __('<p>Configure your Google Analytics custom dimensions. <br>Custom dimensions and custom metrics in SEOPress are like the default dimensions and metrics in your Analytics account, except you create them yourself.<br> Use them to collect and analyze data that Analytics doesn\'t automatically track.<br> Please note that you also have to setup your custom dimensions in your Google Analytics account. More info by clicking on the help icon.', 'wp-seopress');
3860
 
3861
  if (function_exists('seopress_get_locale')) {
3869
  echo '<a class="seopress-doc" href="'.$seopress_docs_link['support']['analytics']['custom_dimensions'].'" target="_blank"><span class="dashicons dashicons-editor-help"></span><span class="screen-reader-text">'. __('Guide to create custom dimensions in Google Analytics - new window','wp-seopress').'</span></a></p>';
3870
  }
3871
 
3872
+ public function print_section_info_advanced_advanced() {
 
3873
  print __('<p>Advanced SEO options.</p>', 'wp-seopress');
3874
  }
3875
 
3876
+ public function print_section_info_advanced_appearance() {
 
3877
  print __('<p>Customize SEOPress to fit your needs.</p>', 'wp-seopress');
3878
+ }
3879
 
3880
+ public function print_section_info_advanced_security() {