AdSense Plugin WP QUADS - Version 1.4.8

Version Description

  • New: Ability to rename adsense ads to better identify them
  • New: Allow unlimited number of adsense ads on a single page
  • New: Tested up to WP 4.7.3
  • Tweak: Rename adsense widgets
Download this release

Release Info

Developer ReneHermi
Plugin Icon 128x128 AdSense Plugin WP QUADS
Version 1.4.8
Comparing to
See all releases

Code changes from version 1.4.7 to 1.4.8

assets/css/quads-admin.css CHANGED
@@ -412,6 +412,10 @@ li.quads-tabs {
412
  width:150px;
413
  }
414
 
 
 
 
 
415
  .quads-size-input {
416
  position: relative;
417
  top: -1px;
412
  width:150px;
413
  }
414
 
415
+ .quads-select{
416
+ max-width:100px;
417
+ }
418
+
419
  .quads-size-input {
420
  position: relative;
421
  top: -1px;
assets/css/quads-admin.min.css CHANGED
@@ -1 +1 @@
1
- .quads-share-button-container{margin:5px 0}.quads-share-button-container p{margin:0 0 10px}.quads-share-button{display:inline-block}.quads-share-button a{text-decoration:none}.quads-share-button .quads-share{font-family:sans-serif;font-weight:700;text-decoration:none;text-align:center;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;color:#FFF;display:inline;font-size:16px;width:40px;padding:4px 8px}.quads-share-button-twitter .quads-share{background-color:#00ABF0}.quads-share-button-facebook .quads-share{background-color:#3b5998}.quads-share-button-googleplus .quads-share{background-color:#F53424}.quads-share-button-facebook .share:active,.quads-share-button-googleplus .share:active,.quads-share-button-twitter .share:active{background-color:#353535}@media (max-width:925px){.quads-share-button .quads-share{font-size:15px;padding:8px 16px}}.quads-richeditor{font-size:11px}#quads-add-ons h2{margin:0 0 15px}#quads-add-ons .quadsshare-addons{float:left;margin:0 15px 15px 0;background:#f0f0f0;border:1px solid #ccc;width:320px;padding:8px;height:315px;position:relative}#quads-add-ons .quadsshare-addons h3{margin:0 0 8px;font-size:13px}#quads-add-ons .quadsshare-addons .button-secondary{position:absolute;bottom:8px;left:8px}#quads-add-ons .quadsshare-addons .third-party{display:none}#system-info-textarea{width:580px;height:400px;font-family:Menlo,Monaco,monospace;background:0 0;white-space:pre;overflow:auto;display:block}.quads-select-chosen{width:300px}input.large-text,textarea.large-text{max-width:600px}input.medium-text,textarea.medium-text{min-width:190px}#quads_tab_container ul{list-style:none;margin:0;padding:0;background:#fff;float:left}#quads_tab_container ul li:first-child.selected-tab{border-top:none}#quads_tab_container ul li a.selected-tab{font-weight:700;text-decoration:none}#quads_tab_container .quads-row{padding-top:12px;padding-bottom:12px}#quads_tab_container .quads-row label strong,#tab_container .quads-row strong{font-weight:700}.quads-tabs a{padding:5px;color:#a1a1a1;text-transform:uppercase}.quads-tabs a strong{font-weight:700}li.quads-tabs{float:left;margin-left:0;background-color:#e5e5e5}#quads_tab_container>ul>li.quads-tabs.active{background-color:#fff}#quads_tab_container>ul>li.quads-tabs.active a{color:#83c11f}#quads_tab_container .quads-panel-container{background:#FFF;padding:20px;overflow:auto;text-align:left;margin-bottom:10px;max-width:640px;float:left;clear:both}.form-table{margin-top:-20px}#quads_tab_container .form-table th{vertical-align:top;text-align:left;padding:20px 10px 20px 0;line-height:1.3;font-weight:700;font-size:14px;color:#484848;width:30%}#quads_tab_container .form-table tr{border-bottom:1px solid #E7E7E7}#quads_tab_container span.description{display:block;font-weight:400;font-style:normal;font-size:13px;margin-top:7px;color:#484848}#quads_tab_container .col-title{font-size:18px;color:#484848}@media only screen and (max-width:680px){#quads_tab_container ul{float:none;background:#fff}#quads_tab_container .form-table tr>th{width:100%}#quads_tab_container span.description{font-size:14px}#quads_tab_container .form-table tr>th,#tab_container .form-table tr>td{padding:10px}#quads_tab_container .quads-tabs a{text-align:left}#quads_tab_container li.quads-tabs{float:none;margin-left:0}}#quads_tab_container ul li.quads-tabs{margin-bottom:0}#quads_tab_container ul li.quads-tabs a{display:block;padding:10px;text-decoration:none;font-weight:700}#quads_tab_container ul li.quads-tabs a:hover{color:#383838}#quads_tab_container ul li.quads-tabs a.active{text-decoration:underline}#quads_tab_container table tbody tr:nth-child(1)>th>div{font-size:20px}#quadstabcontainer>.quadstabs{background-color:#fff}#quadstabcontainer ul .active{background-color:#00adef;color:#fff;border-bottom-color:#0098D2}#quadstabcontainer ul .active:hover{background-color:#00A4E2;color:#fff;border-bottom-color:#0098D2}#quadstabcontainer ul li a{padding:10px 14px;background-color:#f3f3f3}#quadstabcontainer .quadstab-container{border:0 solid #ececec}.quads-quote-docs{font-family:Courier New,Courier,Fixed;color:#050}.quads-desc{display:block;font-style:italic;padding-top:10px}.quads-postbox{padding:10px;position:relative;min-width:255px;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff;margin-bottom:20px}.nav-tab-active{background-color:#fff;border-bottom:0}#quads-add-ons{padding:20px}.quads-toggle{position:absolute;right:0;top:0}.quads-box-close .quads-close-open-icon{background-position:0 -38px}.quads-close-open-icon{width:38px;height:38px;background:url(../images/arrow-close.png) repeat-y #f4f4f4}.quads-ad-toggle-header{position:relative;background-color:#f4f4f4;margin-bottom:2px;padding:10px 10px 10px 15px;-moz-user-select:-moz-none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;user-select:none;cursor:pointer!important}.quads-ad-toggle-container{padding:20px;background-color:#f4f4f4}.quads-toogle-title{font-size:16px;font-weight:700}.adsense-size-title,.quads-advanced-description label{font-weight:600;font-size:12px;text-transform:uppercase;float:left}.quads-advanced-description label{width:215px}.quads-advanced-ad-box{clear:both;margin-top:20px;margin-bottom:20px}.adsense-size-title{margin-right:0;line-height:32px;margin-left:14px;min-width:100px}.quads-select-style-overwrite{border:1px solid #e6e6e6;width:150px;overflow:hidden;background:url(../images/box_arrow.png) 120px 0 repeat-y #fff;margin:0 0 5px}.quads-select-style-overwrite select{width:150px}.quads-size-input{position:relative;top:-1px;width:110%;border:none;box-shadow:none;background:0 0;-webkit-appearance:none;font-family:'Open Sans',arial,sans-serif;color:#555;font-size:12px}.quads-pro-overlay{height:200px}.quads-license-error-notice,.quads-license-expires-soon-notice{background-color:#fff;padding:10px;overflow:auto;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);border:1px solid #ECECEC;border-radius:3px}.quads-license-error-notice a{color:#0097df;text-decoration:underline}.quads-license-error-notice{border-left:4px solid #dd3d36}.quads-license-expiration-date-notice,.quads-license-lifetime-notice,.quads-license-null{padding:0}.quads-license-expiration-date-notice .quads-license-data p,.quads-license-lifetime-notice .quads-license-data p{color:#666;font-size:14px;font-style:italic;margin:4px 0 0}#quads_settingslicenses_header-nav{display:none}#quads_settingslicenses_header{max-width:640px}#quads_settingslicenses_header .quads-row.th{min-width:250px}.quads-notice{background:#fff;border-left:4px solid #46b450;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 15px 2px;padding:1px 12px}.quads_admin h2.nav-tab-wrapper{border:0}.quads_admin .nav-tab{border:0;text-transform:uppercase;color:#a1a1a1;font-weight:700}.quads-h1{margin-bottom:1.35rem;font-size:2.5em;line-height:3.68rem;letter-spacing:normal}.quads-h2{margin-top:0;margin-bottom:1.2rem;font-size:30px;line-height:2.5rem}.quads-heading-pro{color:#83c11f;font-weight:700}.quads-button.green{display:inline-block;background-color:#83c11f;padding:10px;min-width:170px;color:#fff;font-size:16px;text-decoration:none;text-align:center;margin-top:20px}#quads-add-ons .quads-footer{clear:both;margin-top:20px;font-style:italic}#quads-add-ons li{font-size:18px;line-height:29px;position:relative;padding-left:23px;list-style:none!important}#quads-add-ons li:before{width:1em;height:100%;background:url(data:image/svg+xml;charset=utf8,%3Csvg%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%20xmlns%3D%22http%3A%2F%2Fwww%2Ew3%2Eorg%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22%2377B227%22%20d%3D%22M1671%20566q0%2040%2D28%2068l%2D724%20724%2D136%20136q%2D28%2028%2D68%2028t%2D68%2D28l%2D136%2D136%2D362%2D362q%2D28%2D28%2D28%2D68t28%2D68l136%2D136q28%2D28%2068%2D28t68%2028l294%20295%20656%2D657q28%2D28%2068%2D28t68%2028l136%20136q28%2028%2028%2068z%22%2F%3E%3C%2Fsvg%3E) left .4em no-repeat;background-size:contain;content:"";position:absolute;top:0;left:0;color:#77b227}.adsense_admin_header{font-size:14px;font-weight:500}#quads-adsense-bg-div{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.65);z-index:250000}#quads-adsense-container{text-align:center;width:480px;margin:85px auto 0;background-color:#fff;padding:2%;border-radius:2px}#quads-adsense-container h3{margin-top:0}#quads-adsense-container textarea,.quads-ad-toggle-container textarea{width:100%}.quads-ad-toggle-container input{margin-top:7px;margin-bottom:10px}.quads-adsense-code label,input{margin-right:2px}#quads_settings\5b ad2\5d \5b g_data_ad_client\5d{width:200px}.quads-ad-toggle-container label{display:inline-block;margin-right:2px;margin-top:-3px}.quads_adsense_code .quads-add-adsense{margin:20px 5px 20px 0}.quads-label-left{min-width:71px}#quads-label-Type{min-width:67px}.quads-medium-size{width:110px}#quads-msg{display:none;margin:5px;background-color:#c55c5c;color:#fff}.quads-loader,.quads-success-modal{display:block;position:fixed;top:45%;left:25%;width:200px;height:auto;padding:5px 20px;z-index:1002;overflow:auto}.quads-form-table{width:100%}.quads-left-box{width:45%;min-height:100px;float:left;line-height:35px;min-width:300px}@media screen and (max-width:700px){.adsense-size-title{margin-left:0}.quads-left-box{width:45%;min-height:100px;float:none;line-height:35px;min-width:300px}.quads-style img{max-width:50px}}.quads-general-helper,.quads-helper{background-color:#83c11f;width:15px;display:inline-block;top:4px;cursor:pointer}.adsense_admin_header ul li{margin-top:2px;margin-left:20px;list-style-type:square}.quads-helper{border-radius:50%;border:2px solid #fff;height:15px;position:relative;margin-top:-4px;margin-left:2px}.quads-general-helper:after,.quads-helper:after{height:20px;font-family:sans-serif;content:"?";font-size:11px;font-weight:700;left:4px;position:absolute;color:#fff}.quads-helper:after{margin-top:-10px}.quads-general-helper:after{margin-top:-2px}.quads-general-helper{border-radius:50%;border:2px solid #fff;height:15px;position:relative;margin-top:-4px;margin-left:2px}.quads-message{padding:10px;border:1px solid #FBFBFB;border-radius:2px;background-color:#F8F8F8;position:absolute;max-width:500px;z-index:9999;display:none;box-shadow:0 0 5px rgba(0,0,0,.2);font-weight:400;line-height:20px;text-transform:none;font-size:14px}#quads-pro-hover{background-color:#83c11f;padding:20px;min-width:150px;color:#fff;display:block;position:relative;margin-top:-100px;margin-left:50%}#quads-pro-hover-background{width:100%;height:100%;background:rgba(0,0,0,.6)}#quads-open-toggle{clear:both;float:left;margin-top:10px}#quads_settingsadsense_header input[type=number].small-text{width:55px}.quads_adsense_code input.quads-bggrey{background-color:#f5f5f5;color:#939393}.quads-amp-code{color:#939393;height:130px}.quads-chosen-select .chosen-choices li.search-field input{min-height:25px}#quads-validate{margin-top:-20px;display:block;margin-left:2px;margin-bottom:20px;font-weight:700}#quads-submit-button{z-index:999999}
1
+ .quads-share-button-container{margin:5px 0}.quads-share-button-container p{margin:0 0 10px}.quads-share-button{display:inline-block}.quads-share-button a{text-decoration:none}.quads-share-button .quads-share{font-family:sans-serif;font-weight:700;text-decoration:none;text-align:center;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;color:#FFF;display:inline;font-size:16px;width:40px;padding:4px 8px}.quads-share-button-twitter .quads-share{background-color:#00ABF0}.quads-share-button-facebook .quads-share{background-color:#3b5998}.quads-share-button-googleplus .quads-share{background-color:#F53424}.quads-share-button-facebook .share:active,.quads-share-button-googleplus .share:active,.quads-share-button-twitter .share:active{background-color:#353535}@media (max-width:925px){.quads-share-button .quads-share{font-size:15px;padding:8px 16px}}.quads-richeditor{font-size:11px}#quads-add-ons h2{margin:0 0 15px}#quads-add-ons .quadsshare-addons{float:left;margin:0 15px 15px 0;background:#f0f0f0;border:1px solid #ccc;width:320px;padding:8px;height:315px;position:relative}#quads-add-ons .quadsshare-addons h3{margin:0 0 8px;font-size:13px}#quads-add-ons .quadsshare-addons .button-secondary{position:absolute;bottom:8px;left:8px}#quads-add-ons .quadsshare-addons .third-party{display:none}#system-info-textarea{width:580px;height:400px;font-family:Menlo,Monaco,monospace;background:0 0;white-space:pre;overflow:auto;display:block}.quads-select-chosen{width:300px}input.large-text,textarea.large-text{max-width:600px}input.medium-text,textarea.medium-text{min-width:190px}#quads_tab_container ul{list-style:none;margin:0;padding:0;background:#fff;float:left}#quads_tab_container ul li:first-child.selected-tab{border-top:none}#quads_tab_container ul li a.selected-tab{font-weight:700;text-decoration:none}#quads_tab_container .quads-row{padding-top:12px;padding-bottom:12px}#quads_tab_container .quads-row label strong,#tab_container .quads-row strong{font-weight:700}.quads-tabs a{padding:5px;color:#a1a1a1;text-transform:uppercase}.quads-tabs a strong{font-weight:700}li.quads-tabs{float:left;margin-left:0;background-color:#e5e5e5}#quads_tab_container>ul>li.quads-tabs.active{background-color:#fff}#quads_tab_container>ul>li.quads-tabs.active a{color:#83c11f}#quads_tab_container .quads-panel-container{background:#FFF;padding:20px;overflow:auto;text-align:left;margin-bottom:10px;max-width:640px;float:left;clear:both}.form-table{margin-top:-20px}#quads_tab_container .form-table th{vertical-align:top;text-align:left;padding:20px 10px 20px 0;line-height:1.3;font-weight:700;font-size:14px;color:#484848;width:30%}#quads_tab_container .form-table tr{border-bottom:1px solid #E7E7E7}#quads_tab_container span.description{display:block;font-weight:400;font-style:normal;font-size:13px;margin-top:7px;color:#484848}#quads_tab_container .col-title{font-size:18px;color:#484848}@media only screen and (max-width:680px){#quads_tab_container ul{float:none;background:#fff}#quads_tab_container .form-table tr>th{width:100%}#quads_tab_container span.description{font-size:14px}#quads_tab_container .form-table tr>th,#tab_container .form-table tr>td{padding:10px}#quads_tab_container .quads-tabs a{text-align:left}#quads_tab_container li.quads-tabs{float:none;margin-left:0}}#quads_tab_container ul li.quads-tabs{margin-bottom:0}#quads_tab_container ul li.quads-tabs a{display:block;padding:10px;text-decoration:none;font-weight:700}#quads_tab_container ul li.quads-tabs a:hover{color:#383838}#quads_tab_container ul li.quads-tabs a.active{text-decoration:underline}#quads_tab_container table tbody tr:nth-child(1)>th>div{font-size:20px}#quadstabcontainer>.quadstabs{background-color:#fff}#quadstabcontainer ul .active{background-color:#00adef;color:#fff;border-bottom-color:#0098D2}#quadstabcontainer ul .active:hover{background-color:#00A4E2;color:#fff;border-bottom-color:#0098D2}#quadstabcontainer ul li a{padding:10px 14px;background-color:#f3f3f3}#quadstabcontainer .quadstab-container{border:0 solid #ececec}.quads-quote-docs{font-family:Courier New,Courier,Fixed;color:#050}.quads-desc{display:block;font-style:italic;padding-top:10px}.quads-postbox{padding:10px;position:relative;min-width:255px;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff;margin-bottom:20px}.nav-tab-active{background-color:#fff;border-bottom:0}#quads-add-ons{padding:20px}.quads-toggle{position:absolute;right:0;top:0}.quads-box-close .quads-close-open-icon{background-position:0 -38px}.quads-close-open-icon{width:38px;height:38px;background:url(../images/arrow-close.png) repeat-y #f4f4f4}.quads-ad-toggle-header{position:relative;background-color:#f4f4f4;margin-bottom:2px;padding:10px 10px 10px 15px;-moz-user-select:-moz-none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;user-select:none;cursor:pointer!important}.quads-ad-toggle-container{padding:20px;background-color:#f4f4f4}.quads-toogle-title{font-size:16px;font-weight:700}.adsense-size-title,.quads-advanced-description label{font-weight:600;font-size:12px;text-transform:uppercase;float:left}.quads-advanced-description label{width:215px}.quads-advanced-ad-box{clear:both;margin-top:20px;margin-bottom:20px}.adsense-size-title{margin-right:0;line-height:32px;margin-left:14px;min-width:100px}.quads-select-style-overwrite{border:1px solid #e6e6e6;width:150px;overflow:hidden;background:url(../images/box_arrow.png) 120px 0 repeat-y #fff;margin:0 0 5px}.quads-select-style-overwrite select{width:150px}.quads-select{max-width:100px}.quads-size-input{position:relative;top:-1px;width:110%;border:none;box-shadow:none;background:0 0;-webkit-appearance:none;font-family:'Open Sans',arial,sans-serif;color:#555;font-size:12px}.quads-pro-overlay{height:200px}.quads-license-error-notice,.quads-license-expires-soon-notice{background-color:#fff;padding:10px;overflow:auto;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);border:1px solid #ECECEC;border-radius:3px}.quads-license-error-notice a{color:#0097df;text-decoration:underline}.quads-license-error-notice{border-left:4px solid #dd3d36}.quads-license-expiration-date-notice,.quads-license-lifetime-notice,.quads-license-null{padding:0}.quads-license-expiration-date-notice .quads-license-data p,.quads-license-lifetime-notice .quads-license-data p{color:#666;font-size:14px;font-style:italic;margin:4px 0 0}#quads_settingslicenses_header-nav{display:none}#quads_settingslicenses_header{max-width:640px}#quads_settingslicenses_header .quads-row.th{min-width:250px}.quads-notice{background:#fff;border-left:4px solid #46b450;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 15px 2px;padding:1px 12px}.quads_admin h2.nav-tab-wrapper{border:0}.quads_admin .nav-tab{border:0;text-transform:uppercase;color:#a1a1a1;font-weight:700}.quads-h1{margin-bottom:1.35rem;font-size:2.5em;line-height:3.68rem;letter-spacing:normal}.quads-h2{margin-top:0;margin-bottom:1.2rem;font-size:30px;line-height:2.5rem}.quads-heading-pro{color:#83c11f;font-weight:700}.quads-button.green{display:inline-block;background-color:#83c11f;padding:10px;min-width:170px;color:#fff;font-size:16px;text-decoration:none;text-align:center;margin-top:20px}#quads-add-ons .quads-footer{clear:both;margin-top:20px;font-style:italic}#quads-add-ons li{font-size:18px;line-height:29px;position:relative;padding-left:23px;list-style:none!important}#quads-add-ons li:before{width:1em;height:100%;background:url(data:image/svg+xml;charset=utf8,%3Csvg%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%20xmlns%3D%22http%3A%2F%2Fwww%2Ew3%2Eorg%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22%2377B227%22%20d%3D%22M1671%20566q0%2040%2D28%2068l%2D724%20724%2D136%20136q%2D28%2028%2D68%2028t%2D68%2D28l%2D136%2D136%2D362%2D362q%2D28%2D28%2D28%2D68t28%2D68l136%2D136q28%2D28%2068%2D28t68%2028l294%20295%20656%2D657q28%2D28%2068%2D28t68%2028l136%20136q28%2028%2028%2068z%22%2F%3E%3C%2Fsvg%3E) left .4em no-repeat;background-size:contain;content:"";position:absolute;top:0;left:0;color:#77b227}.adsense_admin_header{font-size:14px;font-weight:500}#quads-adsense-bg-div{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.65);z-index:250000}#quads-adsense-container{text-align:center;width:480px;margin:85px auto 0;background-color:#fff;padding:2%;border-radius:2px}#quads-adsense-container h3{margin-top:0}#quads-adsense-container textarea,.quads-ad-toggle-container textarea{width:100%}.quads-ad-toggle-container input{margin-top:7px;margin-bottom:10px}.quads-adsense-code label,input{margin-right:2px}#quads_settings\5b ad2\5d \5b g_data_ad_client\5d{width:200px}.quads-ad-toggle-container label{display:inline-block;margin-right:2px;margin-top:-3px}.quads_adsense_code .quads-add-adsense{margin:20px 5px 20px 0}.quads-label-left{min-width:71px}#quads-label-Type{min-width:67px}.quads-medium-size{width:110px}#quads-msg{display:none;margin:5px;background-color:#c55c5c;color:#fff}.quads-loader,.quads-success-modal{display:block;position:fixed;top:45%;left:25%;width:200px;height:auto;padding:5px 20px;z-index:1002;overflow:auto}.quads-form-table{width:100%}.quads-left-box{width:45%;min-height:100px;float:left;line-height:35px;min-width:300px}@media screen and (max-width:700px){.adsense-size-title{margin-left:0}.quads-left-box{width:45%;min-height:100px;float:none;line-height:35px;min-width:300px}.quads-style img{max-width:50px}}.quads-general-helper,.quads-helper{background-color:#83c11f;width:15px;display:inline-block;top:4px;cursor:pointer}.adsense_admin_header ul li{margin-top:2px;margin-left:20px;list-style-type:square}.quads-helper{border-radius:50%;border:2px solid #fff;height:15px;position:relative;margin-top:-4px;margin-left:2px}.quads-general-helper:after,.quads-helper:after{height:20px;font-family:sans-serif;content:"?";font-size:11px;font-weight:700;left:4px;position:absolute;color:#fff}.quads-helper:after{margin-top:-10px}.quads-general-helper:after{margin-top:-2px}.quads-general-helper{border-radius:50%;border:2px solid #fff;height:15px;position:relative;margin-top:-4px;margin-left:2px}.quads-message{padding:10px;border:1px solid #FBFBFB;border-radius:2px;background-color:#F8F8F8;position:absolute;max-width:500px;z-index:9999;display:none;box-shadow:0 0 5px rgba(0,0,0,.2);font-weight:400;line-height:20px;text-transform:none;font-size:14px}#quads-pro-hover{background-color:#83c11f;padding:20px;min-width:150px;color:#fff;display:block;position:relative;margin-top:-100px;margin-left:50%}#quads-pro-hover-background{width:100%;height:100%;background:rgba(0,0,0,.6)}#quads-open-toggle{clear:both;float:left;margin-top:10px}#quads_settingsadsense_header input[type=number].small-text{width:55px}.quads_adsense_code input.quads-bggrey{background-color:#f5f5f5;color:#939393}.quads-amp-code{color:#939393;height:130px}.quads-chosen-select .chosen-choices li.search-field input{min-height:25px}#quads-validate{margin-top:-20px;display:block;margin-left:2px;margin-bottom:20px;font-weight:700}#quads-submit-button{z-index:999999}
assets/js/quads-admin.js CHANGED
@@ -2,6 +2,7 @@ var strict;
2
 
3
 
4
  jQuery(document).ready(function ($) {
 
5
 
6
  // Inactive select fields are greyed out
7
  $('.quads-assign').each(function(e){
@@ -69,10 +70,7 @@ jQuery(document).ready(function ($) {
69
  /**
70
  * Toggle Button | Open All Ads
71
  */
72
- $('#quads-open-toggle').click(function(){
73
- console.log($('#quads-open-toggle').html());
74
-
75
-
76
  if ($('#quads-open-toggle').text() === 'Open All Ads' ){
77
  $('.quads-ad-toggle-container').show();
78
  $('#quads-open-toggle').html('Close Ads');
@@ -143,6 +141,12 @@ jQuery(document).ready(function ($) {
143
  // Save settings via ajax
144
  jQuery('#quads_settings').submit(function() {
145
 
 
 
 
 
 
 
146
  // Check current url / settings page
147
  var url = window.location.search;
148
  var tab_imexport = url.search("page=quads-settings&tab=imexport");
2
 
3
 
4
  jQuery(document).ready(function ($) {
5
+
6
 
7
  // Inactive select fields are greyed out
8
  $('.quads-assign').each(function(e){
70
  /**
71
  * Toggle Button | Open All Ads
72
  */
73
+ $('#quads-open-toggle').click(function(){
 
 
 
74
  if ($('#quads-open-toggle').text() === 'Open All Ads' ){
75
  $('.quads-ad-toggle-container').show();
76
  $('#quads-open-toggle').html('Close Ads');
141
  // Save settings via ajax
142
  jQuery('#quads_settings').submit(function() {
143
 
144
+ // Check if ad name has been changed and prepare new data for saving
145
+ $('.quads-toogle-title').each(function(){
146
+ $(this).children('input').val($(this).text());
147
+ });
148
+
149
+
150
  // Check current url / settings page
151
  var url = window.location.search;
152
  var tab_imexport = url.search("page=quads-settings&tab=imexport");
assets/js/quads-admin.min.js CHANGED
@@ -2,6 +2,7 @@ var strict;
2
 
3
 
4
  jQuery(document).ready(function ($) {
 
5
 
6
  // Inactive select fields are greyed out
7
  $('.quads-assign').each(function(e){
@@ -69,10 +70,7 @@ jQuery(document).ready(function ($) {
69
  /**
70
  * Toggle Button | Open All Ads
71
  */
72
- $('#quads-open-toggle').click(function(){
73
- console.log($('#quads-open-toggle').html());
74
-
75
-
76
  if ($('#quads-open-toggle').text() === 'Open All Ads' ){
77
  $('.quads-ad-toggle-container').show();
78
  $('#quads-open-toggle').html('Close Ads');
@@ -143,6 +141,12 @@ jQuery(document).ready(function ($) {
143
  // Save settings via ajax
144
  jQuery('#quads_settings').submit(function() {
145
 
 
 
 
 
 
 
146
  // Check current url / settings page
147
  var url = window.location.search;
148
  var tab_imexport = url.search("page=quads-settings&tab=imexport");
2
 
3
 
4
  jQuery(document).ready(function ($) {
5
+
6
 
7
  // Inactive select fields are greyed out
8
  $('.quads-assign').each(function(e){
70
  /**
71
  * Toggle Button | Open All Ads
72
  */
73
+ $('#quads-open-toggle').click(function(){
 
 
 
74
  if ($('#quads-open-toggle').text() === 'Open All Ads' ){
75
  $('.quads-ad-toggle-container').show();
76
  $('#quads-open-toggle').html('Close Ads');
141
  // Save settings via ajax
142
  jQuery('#quads_settings').submit(function() {
143
 
144
+ // Check if ad name has been changed and prepare new data for saving
145
+ $('.quads-toogle-title').each(function(){
146
+ $(this).children('input').val($(this).text());
147
+ });
148
+
149
+
150
  // Check current url / settings page
151
  var url = window.location.search;
152
  var tab_imexport = url.search("page=quads-settings&tab=imexport");
includes/admin/settings/register-settings.php CHANGED
@@ -156,6 +156,7 @@ function quads_get_registered_settings() {
156
  18 => '18',
157
  19 => '19',
158
  20 => '20',
 
159
  ),
160
  ),
161
  array(
@@ -205,70 +206,70 @@ function quads_get_registered_settings() {
205
  ),
206
  array(
207
  'id' => 'ad1',
208
- 'name' => __( 'AD 1', 'quick-adsense-reloaded' ),
209
  'desc' => __( 'Shortcode: <strong>[quads id="1"] </strong></br>PHP: <strong>echo do_shortcode(\'[quads id="1"]\');</strong>', 'quick-adsense-reloaded' ),
210
  'type' => 'adsense_code',
211
  'options' => quads_get_alignment(),
212
  ),
213
  array(
214
  'id' => 'ad2',
215
- 'name' => __( 'AD 2', 'quick-adsense-reloaded' ),
216
  'desc' => __( 'Shortcode: <strong>[quads id="2"] </strong></br>PHP: <strong>echo do_shortcode(\'[quads id="2"]\');</strong>', 'quick-adsense-reloaded' ),
217
  'type' => 'adsense_code',
218
  'options' => quads_get_alignment(),
219
  ),
220
  array(
221
  'id' => 'ad3',
222
- 'name' => __( 'AD 3', 'quick-adsense-reloaded' ),
223
  'desc' => __( 'Shortcode: <strong>[quads id="3"] </strong></br>PHP: <strong>echo do_shortcode(\'[quads id="3"]\');</strong>', 'quick-adsense-reloaded' ),
224
  'type' => 'adsense_code',
225
  'options' => quads_get_alignment(),
226
  ),
227
  array(
228
  'id' => 'ad4',
229
- 'name' => __( 'AD 4', 'quick-adsense-reloaded' ),
230
  'desc' => __( 'Shortcode: <strong>[quads id="4"] </strong></br>PHP: <strong>echo do_shortcode(\'[quads id="4"]\');</strong>', 'quick-adsense-reloaded' ),
231
  'type' => 'adsense_code',
232
  'options' => quads_get_alignment(),
233
  ),
234
  array(
235
  'id' => 'ad5',
236
- 'name' => __( 'AD 5', 'quick-adsense-reloaded' ),
237
  'desc' => __( 'Shortcode: <strong>[quads id="5"] </strong></br>PHP: <strong>echo do_shortcode(\'[quads id="5"]\');</strong>', 'quick-adsense-reloaded' ),
238
  'type' => 'adsense_code',
239
  'options' => quads_get_alignment(),
240
  ),
241
  array(
242
  'id' => 'ad6',
243
- 'name' => __( 'AD 6', 'quick-adsense-reloaded' ),
244
  'desc' => __( 'Shortcode: <strong>[quads id="6"] </strong></br>PHP: <strong>echo do_shortcode(\'[quads id="6"]\');</strong>', 'quick-adsense-reloaded' ),
245
  'type' => 'adsense_code',
246
  'options' => quads_get_alignment(),
247
  ),
248
  array(
249
  'id' => 'ad7',
250
- 'name' => __( 'AD 7', 'quick-adsense-reloaded' ),
251
  'desc' => __( 'Shortcode: <strong>[quads id="7"] </strong></br>PHP: <strong>echo do_shortcode(\'[quads id="7"]\');</strong>', 'quick-adsense-reloaded' ),
252
  'type' => 'adsense_code',
253
  'options' => quads_get_alignment(),
254
  ),
255
  array(
256
  'id' => 'ad8',
257
- 'name' => __( 'AD 8', 'quick-adsense-reloaded' ),
258
  'desc' => __( 'Shortcode: <strong>[quads id="8"] </strong></br>PHP: <strong>echo do_shortcode(\'[quads id="8"]\');</strong>', 'quick-adsense-reloaded' ),
259
  'type' => 'adsense_code',
260
  'options' => quads_get_alignment(),
261
  ),
262
  array(
263
  'id' => 'ad9',
264
- 'name' => __( 'AD 9', 'quick-adsense-reloaded' ),
265
  'desc' => __( 'Shortcode: <strong>[quads id="9"] </strong></br>Function: <strong>echo do_shortcode(\'[quads id="9"]\');</strong>', 'quick-adsense-reloaded' ),
266
  'type' => 'adsense_code',
267
  'options' => quads_get_alignment(),
268
  ),
269
  array(
270
  'id' => 'ad10',
271
- 'name' => __( 'AD 10', 'quick-adsense-reloaded' ),
272
  'desc' => __( 'Shortcode: <strong>[quads id="10"] </strong></br>PHP <strong>echo do_shortcode(\'[quads id="10"]\');</strong>', 'quick-adsense-reloaded' ),
273
  'type' => 'adsense_code',
274
  'options' => quads_get_alignment(),
@@ -283,70 +284,70 @@ function quads_get_registered_settings() {
283
  'id' => 'ad1_widget',
284
  'name' => __( 'Ad widget 1', 'quick-adsense-reloaded' ),
285
  'desc' => __( '', 'quick-adsense-reloaded' ),
286
- 'type' => 'adsense_code',
287
  'size' => 4
288
  ),
289
  'ad2_widget' => array(
290
  'id' => 'ad2_widget',
291
  'name' => __( 'Ad widget 2', 'quick-adsense-reloaded' ),
292
  'desc' => __( '', 'quick-adsense-reloaded' ),
293
- 'type' => 'adsense_code',
294
  'size' => 4
295
  ),
296
  'ad3_widget' => array(
297
  'id' => 'ad3_widget',
298
  'name' => __( 'Ad widget 3', 'quick-adsense-reloaded' ),
299
  'desc' => __( '', 'quick-adsense-reloaded' ),
300
- 'type' => 'adsense_code',
301
  'size' => 4
302
  ),
303
  'ad4_widget' => array(
304
  'id' => 'ad4_widget',
305
  'name' => __( 'Ad widget 4', 'quick-adsense-reloaded' ),
306
  'desc' => __( '', 'quick-adsense-reloaded' ),
307
- 'type' => 'adsense_code',
308
  'size' => 4
309
  ),
310
  'ad5_widget' => array(
311
  'id' => 'ad5_widget',
312
  'name' => __( 'Ad widget 5', 'quick-adsense-reloaded' ),
313
  'desc' => __( '', 'quick-adsense-reloaded' ),
314
- 'type' => 'adsense_code',
315
  'size' => 4
316
  ),
317
  'ad6_widget' => array(
318
  'id' => 'ad6_widget',
319
  'name' => __( 'Ad widget 6', 'quick-adsense-reloaded' ),
320
  'desc' => __( '', 'quick-adsense-reloaded' ),
321
- 'type' => 'adsense_code',
322
  'size' => 4
323
  ),
324
  'ad7_widget' => array(
325
  'id' => 'ad7_widget',
326
  'name' => __( 'Ad widget 7', 'quick-adsense-reloaded' ),
327
  'desc' => __( '', 'quick-adsense-reloaded' ),
328
- 'type' => 'adsense_code',
329
  'size' => 4
330
  ),
331
  'ad8_widget' => array(
332
  'id' => 'ad8_widget',
333
  'name' => __( 'Ad widget 8', 'quick-adsense-reloaded' ),
334
  'desc' => __( '', 'quick-adsense-reloaded' ),
335
- 'type' => 'adsense_code',
336
  'size' => 4
337
  ),
338
  'ad9_widget' => array(
339
  'id' => 'ad9_widget',
340
  'name' => __( 'Ad widget 9', 'quick-adsense-reloaded' ),
341
  'desc' => __( '', 'quick-adsense-reloaded' ),
342
- 'type' => 'adsense_code',
343
  'size' => 4
344
  ),
345
  'ad10_widget' => array(
346
  'id' => 'ad10_widget',
347
  'name' => __( 'Ad widget 10', 'quick-adsense-reloaded' ),
348
  'desc' => __( '', 'quick-adsense-reloaded' ),
349
- 'type' => 'adsense_code',
350
  'size' => 4
351
  ),
352
  array(
@@ -1409,19 +1410,20 @@ function quads_log_permissions() {
1409
  */
1410
  function quads_get_ads() {
1411
  global $quads_options;
 
1412
 
1413
  $ads = array(
1414
  0 => __( 'Random Ads', 'quick-adsense-reloaded' ),
1415
- 1 => 'ad1',
1416
- 2 => 'ad2',
1417
- 3 => 'ad3',
1418
- 4 => 'ad4',
1419
- 5 => 'ad5',
1420
- 6 => 'ad6',
1421
- 7 => 'ad7',
1422
- 8 => 'ad8',
1423
- 9 => 'ad9',
1424
- 10 => 'ad10'
1425
  );
1426
  return $ads;
1427
  }
@@ -1599,7 +1601,9 @@ function quads_quicktags_callback( $args ) {
1599
  function quads_adsense_code_callback( $args ) {
1600
  global $quads_options;
1601
 
1602
- $name = empty($args['name']) ? '' : $args['name'];
 
 
1603
 
1604
  $code = isset( $quads_options[$args['id']]['code'] ) ? $quads_options[$args['id']]['code'] : '';
1605
 
@@ -1612,12 +1616,125 @@ function quads_adsense_code_callback( $args ) {
1612
  $g_data_ad_width = isset( $quads_options[$args['id']]['g_data_ad_width'] ) ? $quads_options[$args['id']]['g_data_ad_width'] : '';
1613
 
1614
  $g_data_ad_height = isset( $quads_options[$args['id']]['g_data_ad_height'] ) ? $quads_options[$args['id']]['g_data_ad_height'] : '';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1615
 
 
 
 
 
1616
  // Create a shorter var to make HTML cleaner
1617
  $id = $args['id'];
1618
  ?>
1619
  <div class="quads-ad-toggle-header quads-box-close" data-box-id="quads-toggle<?php echo $id; ?>">
1620
- <div class="quads-toogle-title"><?php echo $name; ?></div>
1621
  <a class="quads-toggle" data-box-id="quads-toggle<?php echo $id; ?>" href="#"><div class="quads-close-open-icon"></div></a>
1622
  </div>
1623
  <div class="quads-ad-toggle-container" id="quads-toggle<?php echo $id; ?>" style="display:none;">
156
  18 => '18',
157
  19 => '19',
158
  20 => '20',
159
+ 100 => 'Unlimited',
160
  ),
161
  ),
162
  array(
206
  ),
207
  array(
208
  'id' => 'ad1',
209
+ 'name' => __( 'Ad 1', 'quick-adsense-reloaded' ),
210
  'desc' => __( 'Shortcode: <strong>[quads id="1"] </strong></br>PHP: <strong>echo do_shortcode(\'[quads id="1"]\');</strong>', 'quick-adsense-reloaded' ),
211
  'type' => 'adsense_code',
212
  'options' => quads_get_alignment(),
213
  ),
214
  array(
215
  'id' => 'ad2',
216
+ 'name' => __( 'Ad 2', 'quick-adsense-reloaded' ),
217
  'desc' => __( 'Shortcode: <strong>[quads id="2"] </strong></br>PHP: <strong>echo do_shortcode(\'[quads id="2"]\');</strong>', 'quick-adsense-reloaded' ),
218
  'type' => 'adsense_code',
219
  'options' => quads_get_alignment(),
220
  ),
221
  array(
222
  'id' => 'ad3',
223
+ 'name' => __( 'Ad 3', 'quick-adsense-reloaded' ),
224
  'desc' => __( 'Shortcode: <strong>[quads id="3"] </strong></br>PHP: <strong>echo do_shortcode(\'[quads id="3"]\');</strong>', 'quick-adsense-reloaded' ),
225
  'type' => 'adsense_code',
226
  'options' => quads_get_alignment(),
227
  ),
228
  array(
229
  'id' => 'ad4',
230
+ 'name' => __( 'Ad 4', 'quick-adsense-reloaded' ),
231
  'desc' => __( 'Shortcode: <strong>[quads id="4"] </strong></br>PHP: <strong>echo do_shortcode(\'[quads id="4"]\');</strong>', 'quick-adsense-reloaded' ),
232
  'type' => 'adsense_code',
233
  'options' => quads_get_alignment(),
234
  ),
235
  array(
236
  'id' => 'ad5',
237
+ 'name' => __( 'Ad 5', 'quick-adsense-reloaded' ),
238
  'desc' => __( 'Shortcode: <strong>[quads id="5"] </strong></br>PHP: <strong>echo do_shortcode(\'[quads id="5"]\');</strong>', 'quick-adsense-reloaded' ),
239
  'type' => 'adsense_code',
240
  'options' => quads_get_alignment(),
241
  ),
242
  array(
243
  'id' => 'ad6',
244
+ 'name' => __( 'Ad 6', 'quick-adsense-reloaded' ),
245
  'desc' => __( 'Shortcode: <strong>[quads id="6"] </strong></br>PHP: <strong>echo do_shortcode(\'[quads id="6"]\');</strong>', 'quick-adsense-reloaded' ),
246
  'type' => 'adsense_code',
247
  'options' => quads_get_alignment(),
248
  ),
249
  array(
250
  'id' => 'ad7',
251
+ 'name' => __( 'Ad 7', 'quick-adsense-reloaded' ),
252
  'desc' => __( 'Shortcode: <strong>[quads id="7"] </strong></br>PHP: <strong>echo do_shortcode(\'[quads id="7"]\');</strong>', 'quick-adsense-reloaded' ),
253
  'type' => 'adsense_code',
254
  'options' => quads_get_alignment(),
255
  ),
256
  array(
257
  'id' => 'ad8',
258
+ 'name' => __( 'Ad 8', 'quick-adsense-reloaded' ),
259
  'desc' => __( 'Shortcode: <strong>[quads id="8"] </strong></br>PHP: <strong>echo do_shortcode(\'[quads id="8"]\');</strong>', 'quick-adsense-reloaded' ),
260
  'type' => 'adsense_code',
261
  'options' => quads_get_alignment(),
262
  ),
263
  array(
264
  'id' => 'ad9',
265
+ 'name' => __( 'Ad 9', 'quick-adsense-reloaded' ),
266
  'desc' => __( 'Shortcode: <strong>[quads id="9"] </strong></br>Function: <strong>echo do_shortcode(\'[quads id="9"]\');</strong>', 'quick-adsense-reloaded' ),
267
  'type' => 'adsense_code',
268
  'options' => quads_get_alignment(),
269
  ),
270
  array(
271
  'id' => 'ad10',
272
+ 'name' => __( 'Ad 10', 'quick-adsense-reloaded' ),
273
  'desc' => __( 'Shortcode: <strong>[quads id="10"] </strong></br>PHP <strong>echo do_shortcode(\'[quads id="10"]\');</strong>', 'quick-adsense-reloaded' ),
274
  'type' => 'adsense_code',
275
  'options' => quads_get_alignment(),
284
  'id' => 'ad1_widget',
285
  'name' => __( 'Ad widget 1', 'quick-adsense-reloaded' ),
286
  'desc' => __( '', 'quick-adsense-reloaded' ),
287
+ 'type' => 'adsense_widget',
288
  'size' => 4
289
  ),
290
  'ad2_widget' => array(
291
  'id' => 'ad2_widget',
292
  'name' => __( 'Ad widget 2', 'quick-adsense-reloaded' ),
293
  'desc' => __( '', 'quick-adsense-reloaded' ),
294
+ 'type' => 'adsense_widget',
295
  'size' => 4
296
  ),
297
  'ad3_widget' => array(
298
  'id' => 'ad3_widget',
299
  'name' => __( 'Ad widget 3', 'quick-adsense-reloaded' ),
300
  'desc' => __( '', 'quick-adsense-reloaded' ),
301
+ 'type' => 'adsense_widget',
302
  'size' => 4
303
  ),
304
  'ad4_widget' => array(
305
  'id' => 'ad4_widget',
306
  'name' => __( 'Ad widget 4', 'quick-adsense-reloaded' ),
307
  'desc' => __( '', 'quick-adsense-reloaded' ),
308
+ 'type' => 'adsense_widget',
309
  'size' => 4
310
  ),
311
  'ad5_widget' => array(
312
  'id' => 'ad5_widget',
313
  'name' => __( 'Ad widget 5', 'quick-adsense-reloaded' ),
314
  'desc' => __( '', 'quick-adsense-reloaded' ),
315
+ 'type' => 'adsense_widget',
316
  'size' => 4
317
  ),
318
  'ad6_widget' => array(
319
  'id' => 'ad6_widget',
320
  'name' => __( 'Ad widget 6', 'quick-adsense-reloaded' ),
321
  'desc' => __( '', 'quick-adsense-reloaded' ),
322
+ 'type' => 'adsense_widget',
323
  'size' => 4
324
  ),
325
  'ad7_widget' => array(
326
  'id' => 'ad7_widget',
327
  'name' => __( 'Ad widget 7', 'quick-adsense-reloaded' ),
328
  'desc' => __( '', 'quick-adsense-reloaded' ),
329
+ 'type' => 'adsense_widget',
330
  'size' => 4
331
  ),
332
  'ad8_widget' => array(
333
  'id' => 'ad8_widget',
334
  'name' => __( 'Ad widget 8', 'quick-adsense-reloaded' ),
335
  'desc' => __( '', 'quick-adsense-reloaded' ),
336
+ 'type' => 'adsense_widget',
337
  'size' => 4
338
  ),
339
  'ad9_widget' => array(
340
  'id' => 'ad9_widget',
341
  'name' => __( 'Ad widget 9', 'quick-adsense-reloaded' ),
342
  'desc' => __( '', 'quick-adsense-reloaded' ),
343
+ 'type' => 'adsense_widget',
344
  'size' => 4
345
  ),
346
  'ad10_widget' => array(
347
  'id' => 'ad10_widget',
348
  'name' => __( 'Ad widget 10', 'quick-adsense-reloaded' ),
349
  'desc' => __( '', 'quick-adsense-reloaded' ),
350
+ 'type' => 'adsense_widget',
351
  'size' => 4
352
  ),
353
  array(
1410
  */
1411
  function quads_get_ads() {
1412
  global $quads_options;
1413
+
1414
 
1415
  $ads = array(
1416
  0 => __( 'Random Ads', 'quick-adsense-reloaded' ),
1417
+ 1 => isset( $quads_options['ad1']['label'] ) ? $quads_options['ad1']['label'] : 'ad1',
1418
+ 2 => isset( $quads_options['ad2']['label'] ) ? $quads_options['ad2']['label'] : 'ad2',
1419
+ 3 => isset( $quads_options['ad3']['label'] ) ? $quads_options['ad3']['label'] : 'ad3',
1420
+ 4 => isset( $quads_options['ad4']['label'] ) ? $quads_options['ad4']['label'] : 'ad4',
1421
+ 5 => isset( $quads_options['ad5']['label'] ) ? $quads_options['ad5']['label'] : 'ad5',
1422
+ 6 => isset( $quads_options['ad6']['label'] ) ? $quads_options['ad6']['label'] : 'ad6',
1423
+ 7 => isset( $quads_options['ad7']['label'] ) ? $quads_options['ad7']['label'] : 'ad7',
1424
+ 8 => isset( $quads_options['ad8']['label'] ) ? $quads_options['ad8']['label'] : 'ad8',
1425
+ 9 => isset( $quads_options['ad9']['label'] ) ? $quads_options['ad9']['label'] : 'ad9',
1426
+ 10 => isset( $quads_options['ad10']['label'] ) ? $quads_options['ad10']['label'] : 'ad10',
1427
  );
1428
  return $ads;
1429
  }
1601
  function quads_adsense_code_callback( $args ) {
1602
  global $quads_options;
1603
 
1604
+ $new_label = isset( $quads_options[$args['id']]['label'] ) ? $quads_options[$args['id']]['label'] : '';
1605
+
1606
+ $label = !empty($new_label) ? $new_label : $args['name'];
1607
 
1608
  $code = isset( $quads_options[$args['id']]['code'] ) ? $quads_options[$args['id']]['code'] : '';
1609
 
1616
  $g_data_ad_width = isset( $quads_options[$args['id']]['g_data_ad_width'] ) ? $quads_options[$args['id']]['g_data_ad_width'] : '';
1617
 
1618
  $g_data_ad_height = isset( $quads_options[$args['id']]['g_data_ad_height'] ) ? $quads_options[$args['id']]['g_data_ad_height'] : '';
1619
+
1620
+ //$label = !empty($new_label) ? $new_label :
1621
+
1622
+ // Create a shorter var to make HTML cleaner
1623
+ $id = $args['id'];
1624
+ ?>
1625
+ <div class="quads-ad-toggle-header quads-box-close" data-box-id="quads-toggle<?php echo $id; ?>">
1626
+ <div class="quads-toogle-title"><span contenteditable="true" id="quads-ad-label-<?php echo $id; ?>"><?php echo $label; ?></span><input type="hidden" class="quads-input-label" id="" name="quads_settings[<?php echo $id; ?>][label]" value="<?php echo $new_label;?>"></div>
1627
+ <a class="quads-toggle" data-box-id="quads-toggle<?php echo $id; ?>" href="#"><div class="quads-close-open-icon"></div></a>
1628
+ </div>
1629
+ <div class="quads-ad-toggle-container" id="quads-toggle<?php echo $id; ?>" style="display:none;">
1630
+ <div>
1631
+ <?php
1632
+ $args_ad_type = array(
1633
+ 'id' => 'ad_type',
1634
+ 'name' => 'Type',
1635
+ 'desc' => '',
1636
+ 'std' => 'plain_text',
1637
+ 'options' => array(
1638
+ 'adsense' => 'AdSense',
1639
+ 'plain_text' => 'Plain Text / HTML / JS'
1640
+ )
1641
+ );
1642
+ echo quads_adtype_callback($id, $args_ad_type);
1643
+ ?>
1644
+ </div>
1645
+ <textarea style="vertical-align:top;margin-right:20px;" class="large-text quads-textarea" cols="50" rows="10" id="quads_settings[<?php echo $id; ?>][code]" name="quads_settings[<?php echo $id; ?>][code]"><?php echo esc_textarea( stripslashes( $code ) ); ?></textarea><label for="quads_settings[ <?php echo $id; ?> ][code]"> <?php echo $args['desc']; ?></label>
1646
+ <br>
1647
+ <div class="quads_adsense_code">
1648
+ <input type="button" style="vertical-align:inherit;" class="button button-primary quads-add-adsense" value="Copy / Paste AdSense Code"> <span>or add Ad Slot ID & Publisher ID manually below:</span>
1649
+ <br />
1650
+ <?php //echo __('Generate Ad Slot & Publisher ID automatically from your adsense code', 'quick-adsense-reloaded')?>
1651
+ <label class="quads-label-left" for="quads_settings[<?php echo $id; ?>][g_data_ad_slot]">Ad Slot ID </label><input type="text" class="quads-medium-size quads-bggrey" id="quads_settings[<?php echo $id; ?>][g_data_ad_slot]" name="quads_settings[<?php echo $id; ?>][g_data_ad_slot]" value="<?php echo $g_data_ad_slot; ?>">
1652
+ <label for="quads_settings[<?php echo $id; ?>][g_data_ad_client]">Publisher ID</label><input type="text" id="quads_settings[<?php echo $id; ?>][g_data_ad_client]" class="medium-text quads-bggrey" name="quads_settings[<?php echo $id; ?>][g_data_ad_client]" value="<?php echo $g_data_ad_client; ?>">
1653
+ <br />
1654
+ <?php
1655
+ $args_adsense_type = array(
1656
+ 'id' => 'adsense_type',
1657
+ 'name' => 'Type',
1658
+ 'desc' => 'Type',
1659
+ 'options' => array(
1660
+ 'normal' => 'Fixed Size',
1661
+ 'responsive' => 'Responsive'
1662
+ )
1663
+ );
1664
+ echo quads_adense_select_callback($id, $args_adsense_type);
1665
+ ?>
1666
+ <?php if ( !quads_is_advanced()) {?>
1667
+ <span class="quads-pro-notice" style="display:block;margin-top:20px;"><?php echo sprintf(__('Install <a href="%s" target="_blank">WP QUADS PRO</a> to fully support AdSense Responsive ads.', 'quick-adsense-reloaded'),'http://wpquads.com/?utm_campaign=overlay&utm_source=free-plugin&utm_medium=admin')?></span>
1668
+ <?php } ?>
1669
+ <br />
1670
+ <label class="quads-label-left quads-type-normal" for="quads_settings[<?php echo $id; ?>][g_data_ad_width]">Width </label><input type="number" step="1" id="quads_settings[<?php echo $id; ?>][g_data_ad_width]" name="quads_settings[<?php echo $id; ?>][g_data_ad_width]" class="small-text quads-type-normal" value="<?php echo $g_data_ad_width; ?>">
1671
+ <label class="quads-type-normal" for="quads_settings[<?php echo $id; ?>][g_data_ad_height]">Height </label><input type="number" step="1" id="quads_settings[<?php echo $id; ?>][g_data_ad_height]" name="quads_settings[<?php echo $id; ?>][g_data_ad_height]" class="small-text quads-type-normal" value="<?php echo $g_data_ad_height; ?>">
1672
+ </div>
1673
+ <div class="quads-style">
1674
+ <h3>Layout</h3>
1675
+ <?php
1676
+ $args_ad_position = array(
1677
+ 'id' => 'align',
1678
+ 'name' => 'align',
1679
+ 'desc' => 'align',
1680
+ 'std' => '3',
1681
+ 'options' => array(
1682
+ '3' => 'Default',
1683
+ '0' => 'Left',
1684
+ '1' => 'Center',
1685
+ '2' => 'Right'
1686
+ )
1687
+ );
1688
+ echo quads_adposition_callback($id, $args_ad_position);
1689
+ // if WP QUADS PRO is installed and version number is higher or equal 1.2.7 show the new margin settings
1690
+ if ( !quads_is_advanced_1_2_7() ){
1691
+ ?>
1692
+
1693
+ <br />
1694
+ <label class="quads-label-left" for="quads_settings[<?php echo $id; ?>][margin]"><?php _e( 'Margin', 'quick-adsense-reloaded' );?></label>
1695
+ <input type="number" step="1" max="" min="" class="small-text" id="quads_settings[<?php echo $id; ?>][margin]" name="quads_settings[<?php echo $id; ?>][margin]" value="<?php echo esc_attr( stripslashes( $margin ) ); ?>"/>px
1696
+ <?php } echo apply_filters('quads_render_margin', '', $id); ?>
1697
+ </div>
1698
+ <?php
1699
+ echo apply_filters( 'quads_advanced_settings', '', $id );
1700
+ echo quads_pro_overlay();
1701
+ ?>
1702
+ </div>
1703
+ <?php
1704
+ }
1705
+ /**
1706
+ * AdSense Code Widget Callback
1707
+ *
1708
+ * Renders adsense code fields
1709
+ *
1710
+ * @since 0.9.0
1711
+ * @param array $args Arguments passed by the setting
1712
+ * @global $quads_options Array of all the QUADS Options
1713
+ * @return void
1714
+ */
1715
+
1716
+ function quads_adsense_widget_callback( $args ) {
1717
+ global $quads_options;
1718
+
1719
+ $label = !empty($args['name']) ? $args['name'] : '';
1720
+
1721
+ $code = isset( $quads_options[$args['id']]['code'] ) ? $quads_options[$args['id']]['code'] : '';
1722
+
1723
+ $margin = isset( $quads_options[$args['id']]['margin'] ) ? esc_attr( stripslashes( $quads_options[$args['id']]['margin'] ) ) : 0;
1724
+
1725
+ $g_data_ad_client = isset( $quads_options[$args['id']]['g_data_ad_client'] ) ? $quads_options[$args['id']]['g_data_ad_client'] : '';
1726
+
1727
+ $g_data_ad_slot = isset( $quads_options[$args['id']]['g_data_ad_slot'] ) ? $quads_options[$args['id']]['g_data_ad_slot'] : '';
1728
 
1729
+ $g_data_ad_width = isset( $quads_options[$args['id']]['g_data_ad_width'] ) ? $quads_options[$args['id']]['g_data_ad_width'] : '';
1730
+
1731
+ $g_data_ad_height = isset( $quads_options[$args['id']]['g_data_ad_height'] ) ? $quads_options[$args['id']]['g_data_ad_height'] : '';
1732
+
1733
  // Create a shorter var to make HTML cleaner
1734
  $id = $args['id'];
1735
  ?>
1736
  <div class="quads-ad-toggle-header quads-box-close" data-box-id="quads-toggle<?php echo $id; ?>">
1737
+ <div class="quads-toogle-title"><?php echo $label; ?></div>
1738
  <a class="quads-toggle" data-box-id="quads-toggle<?php echo $id; ?>" href="#"><div class="quads-close-open-icon"></div></a>
1739
  </div>
1740
  <div class="quads-ad-toggle-container" id="quads-toggle<?php echo $id; ?>" style="display:none;">
includes/conditionals.php CHANGED
@@ -85,11 +85,11 @@ function quads_get_total_ad_count(){
85
  function quads_ad_reach_max_count(){
86
  global $quads_options;
87
 
88
- $maxads = isset($quads_options['maxads']) ? $quads_options['maxads'] : 10;
89
  $maxads = $maxads - quads_get_number_widget_ads();
90
 
91
  //echo 'Total ads: '. quads_get_total_ad_count() . ' maxads: '. $maxads . '<br>';
92
-
93
  if ( quads_get_total_ad_count() >= $maxads ){
94
  return true;
95
  }
85
  function quads_ad_reach_max_count(){
86
  global $quads_options;
87
 
88
+ $maxads = isset($quads_options['maxads']) ? $quads_options['maxads'] : 100;
89
  $maxads = $maxads - quads_get_number_widget_ads();
90
 
91
  //echo 'Total ads: '. quads_get_total_ad_count() . ' maxads: '. $maxads . '<br>';
92
+ //wp_die('Total ads: '. quads_get_total_ad_count() . ' maxads: '. $maxads . '<br>');
93
  if ( quads_get_total_ad_count() >= $maxads ){
94
  return true;
95
  }
includes/post_types.php CHANGED
@@ -10,6 +10,8 @@
10
  * @since 1.2.8
11
  */
12
 
 
 
13
  /**
14
  * Get list of available post_types
15
  *
10
  * @since 1.2.8
11
  */
12
 
13
+
14
+
15
  /**
16
  * Get list of available post_types
17
  *
includes/template-functions.php CHANGED
@@ -28,8 +28,9 @@ add_filter('the_content', 'quads_process_content', quads_get_load_priority());
28
  function quads_post_settings_to_quicktags ( $content ) {
29
 
30
  // Return original content if QUADS is not allowed
31
- if ( !quads_ad_is_allowed($content))
32
  return $content;
 
33
 
34
  $quicktags_str = quads_get_visibility_quicktags_str();
35
 
@@ -60,6 +61,7 @@ function quads_get_visibility_quicktags_str ( $post_id = null ) {
60
  if ( !empty($config))
61
  foreach ( $config as $qtag_id => $qtag_label ) {
62
  $str .= '<!--' . $qtag_id . '-->';
 
63
  }
64
 
65
  return $str;
@@ -104,14 +106,15 @@ function quads_process_content( $content ) {
104
  }
105
 
106
  // placeholder string for random ad
107
- $cusrnd = 'CusRnd';
108
 
109
  // placeholder string for custom ad spots
110
- $cusads = 'CusAds';
111
 
112
  // Array of ad codes ids
113
  $adsArray = quads_get_active_ads();
114
 
 
115
  if ($adsArray === 0){
116
  return $content;
117
  }
@@ -120,7 +123,6 @@ function quads_process_content( $content ) {
120
 
121
  $content = quads_filter_default_ads( $content );
122
 
123
- //wp_die($content);
124
  /*
125
  * Tidy up content
126
  */
@@ -138,7 +140,7 @@ function quads_process_content( $content ) {
138
  /* ... That's it. DONE :) ... */
139
  $content = quads_clean_tags( $content );
140
  // Reset ad_count - Important!!!
141
- $visibleContentAdsGlobal = 0;
142
  return do_shortcode( $content );
143
  }
144
 
28
  function quads_post_settings_to_quicktags ( $content ) {
29
 
30
  // Return original content if QUADS is not allowed
31
+ if ( !quads_ad_is_allowed($content)){
32
  return $content;
33
+ }
34
 
35
  $quicktags_str = quads_get_visibility_quicktags_str();
36
 
61
  if ( !empty($config))
62
  foreach ( $config as $qtag_id => $qtag_label ) {
63
  $str .= '<!--' . $qtag_id . '-->';
64
+ //$str .= $qtag_id;
65
  }
66
 
67
  return $str;
106
  }
107
 
108
  // placeholder string for random ad
109
+ //$cusrnd = 'CusRnd';
110
 
111
  // placeholder string for custom ad spots
112
+ //$cusads = 'CusAds';
113
 
114
  // Array of ad codes ids
115
  $adsArray = quads_get_active_ads();
116
 
117
+ // Return is no ads are defined
118
  if ($adsArray === 0){
119
  return $content;
120
  }
123
 
124
  $content = quads_filter_default_ads( $content );
125
 
 
126
  /*
127
  * Tidy up content
128
  */
140
  /* ... That's it. DONE :) ... */
141
  $content = quads_clean_tags( $content );
142
  // Reset ad_count - Important!!!
143
+ //$visibleContentAdsGlobal = 0;
144
  return do_shortcode( $content );
145
  }
146
 
includes/widgets.php CHANGED
@@ -9,6 +9,8 @@
9
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
10
  * @since 0.9.1
11
  */
 
 
12
  /**
13
  * Register Widgets
14
  *
@@ -42,7 +44,7 @@ class quads_widgets_1 extends WP_Widget {
42
 
43
  parent::__construct(
44
  $this->AdsWidID, // Base ID
45
- $this->AdsWidName, // Name
46
  array(
47
  'description' => __( 'Widget contains ad code', 'quick-adsense-reloaded' ),
48
  'classname' => 'quads-ad'.$this->adsID.'_widget'
@@ -101,7 +103,7 @@ class quads_widgets_2 extends WP_Widget {
101
  $this->AdsWidID = sanitize_title( str_replace( array('(', ')'), '', $this->AdsWidName ) );
102
  parent::__construct(
103
  $this->AdsWidID, // Base ID
104
- $this->AdsWidName, // Name
105
  array(
106
  'description' => __( 'Widget contains ad code', 'quick-adsense-reloaded' ),
107
  'classname' => 'quads-ad'.$this->adsID.'_widget'
@@ -151,7 +153,7 @@ class quads_widgets_3 extends WP_Widget {
151
  $this->AdsWidID = sanitize_title( str_replace( array('(', ')'), '', $this->AdsWidName ) );
152
  parent::__construct(
153
  $this->AdsWidID, // Base ID
154
- $this->AdsWidName, // Name
155
  array(
156
  'description' => __( 'Widget contains ad code', 'quick-adsense-reloaded' ),
157
  'classname' => 'quads-ad'.$this->adsID.'_widget'
@@ -199,7 +201,7 @@ class quads_widgets_4 extends WP_Widget {
199
  $this->AdsWidID = sanitize_title( str_replace( array('(', ')'), '', $this->AdsWidName ) );
200
  parent::__construct(
201
  $this->AdsWidID, // Base ID
202
- $this->AdsWidName, // Name
203
  array(
204
  'description' => __( 'Widget contains ad code', 'quick-adsense-reloaded' ),
205
  'classname' => 'quads-ad'.$this->adsID.'_widget'
@@ -248,7 +250,7 @@ class quads_widgets_5 extends WP_Widget {
248
  $this->AdsWidID = sanitize_title( str_replace( array('(', ')'), '', $this->AdsWidName ) );
249
  parent::__construct(
250
  $this->AdsWidID, // Base ID
251
- $this->AdsWidName, // Name
252
  array(
253
  'description' => __( 'Widget contains ad code', 'quick-adsense-reloaded' ),
254
  'classname' => 'quads-ad'.$this->adsID.'_widget'
@@ -296,7 +298,7 @@ class quads_widgets_6 extends WP_Widget {
296
  $this->AdsWidID = sanitize_title( str_replace( array('(', ')'), '', $this->AdsWidName ) );
297
  parent::__construct(
298
  $this->AdsWidID, // Base ID
299
- $this->AdsWidName, // Name
300
  array(
301
  'description' => __( 'Widget contains ad code', 'quick-adsense-reloaded' ),
302
  'classname' => 'quads-ad'.$this->adsID.'_widget'
@@ -345,7 +347,7 @@ class quads_widgets_7 extends WP_Widget {
345
  $this->AdsWidID = sanitize_title( str_replace( array('(', ')'), '', $this->AdsWidName ) );
346
  parent::__construct(
347
  $this->AdsWidID, // Base ID
348
- $this->AdsWidName, // Name
349
  array(
350
  'description' => __( 'Widget contains ad code', 'quick-adsense-reloaded' ),
351
  'classname' => 'quads-ad'.$this->adsID.'_widget'
@@ -394,7 +396,7 @@ class quads_widgets_8 extends WP_Widget {
394
  $this->AdsWidID = sanitize_title( str_replace( array('(', ')'), '', $this->AdsWidName ) );
395
  parent::__construct(
396
  $this->AdsWidID, // Base ID
397
- $this->AdsWidName, // Name
398
  array(
399
  'description' => __( 'Widget contains ad code', 'quick-adsense-reloaded' ),
400
  'classname' => 'quads-ad'.$this->adsID.'_widget'
@@ -443,7 +445,7 @@ class quads_widgets_9 extends WP_Widget {
443
  $this->AdsWidID = sanitize_title( str_replace( array('(', ')'), '', $this->AdsWidName ) );
444
  parent::__construct(
445
  $this->AdsWidID, // Base ID
446
- $this->AdsWidName, // Name
447
  array(
448
  'description' => __( 'Widget contains ad code', 'quick-adsense-reloaded' ),
449
  'classname' => 'quads-ad'.$this->adsID.'_widget'
@@ -492,7 +494,7 @@ class quads_widgets_10 extends WP_Widget {
492
  $this->AdsWidID = sanitize_title( str_replace( array('(', ')'), '', $this->AdsWidName ) );
493
  parent::__construct(
494
  $this->AdsWidID, // Base ID
495
- $this->AdsWidName, // Name
496
  array(
497
  'description' => __( 'Widget contains ad code', 'quick-adsense-reloaded' ),
498
  'classname' => 'quads-ad'.$this->adsID.'_widget'
9
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
10
  * @since 0.9.1
11
  */
12
+
13
+
14
  /**
15
  * Register Widgets
16
  *
44
 
45
  parent::__construct(
46
  $this->AdsWidID, // Base ID
47
+ str_replace('Quick Adsense Reloaded', 'WP QUADS', $this->AdsWidName) , // Name
48
  array(
49
  'description' => __( 'Widget contains ad code', 'quick-adsense-reloaded' ),
50
  'classname' => 'quads-ad'.$this->adsID.'_widget'
103
  $this->AdsWidID = sanitize_title( str_replace( array('(', ')'), '', $this->AdsWidName ) );
104
  parent::__construct(
105
  $this->AdsWidID, // Base ID
106
+ str_replace('Quick Adsense Reloaded', 'WP QUADS', $this->AdsWidName) , // Name
107
  array(
108
  'description' => __( 'Widget contains ad code', 'quick-adsense-reloaded' ),
109
  'classname' => 'quads-ad'.$this->adsID.'_widget'
153
  $this->AdsWidID = sanitize_title( str_replace( array('(', ')'), '', $this->AdsWidName ) );
154
  parent::__construct(
155
  $this->AdsWidID, // Base ID
156
+ str_replace('Quick Adsense Reloaded', 'WP QUADS', $this->AdsWidName) , // Name
157
  array(
158
  'description' => __( 'Widget contains ad code', 'quick-adsense-reloaded' ),
159
  'classname' => 'quads-ad'.$this->adsID.'_widget'
201
  $this->AdsWidID = sanitize_title( str_replace( array('(', ')'), '', $this->AdsWidName ) );
202
  parent::__construct(
203
  $this->AdsWidID, // Base ID
204
+ str_replace('Quick Adsense Reloaded', 'WP QUADS', $this->AdsWidName) , // Name
205
  array(
206
  'description' => __( 'Widget contains ad code', 'quick-adsense-reloaded' ),
207
  'classname' => 'quads-ad'.$this->adsID.'_widget'
250
  $this->AdsWidID = sanitize_title( str_replace( array('(', ')'), '', $this->AdsWidName ) );
251
  parent::__construct(
252
  $this->AdsWidID, // Base ID
253
+ str_replace('Quick Adsense Reloaded', 'WP QUADS', $this->AdsWidName) , // Name
254
  array(
255
  'description' => __( 'Widget contains ad code', 'quick-adsense-reloaded' ),
256
  'classname' => 'quads-ad'.$this->adsID.'_widget'
298
  $this->AdsWidID = sanitize_title( str_replace( array('(', ')'), '', $this->AdsWidName ) );
299
  parent::__construct(
300
  $this->AdsWidID, // Base ID
301
+ str_replace('Quick Adsense Reloaded', 'WP QUADS', $this->AdsWidName) , // Name
302
  array(
303
  'description' => __( 'Widget contains ad code', 'quick-adsense-reloaded' ),
304
  'classname' => 'quads-ad'.$this->adsID.'_widget'
347
  $this->AdsWidID = sanitize_title( str_replace( array('(', ')'), '', $this->AdsWidName ) );
348
  parent::__construct(
349
  $this->AdsWidID, // Base ID
350
+ str_replace('Quick Adsense Reloaded', 'WP QUADS', $this->AdsWidName) , // Name
351
  array(
352
  'description' => __( 'Widget contains ad code', 'quick-adsense-reloaded' ),
353
  'classname' => 'quads-ad'.$this->adsID.'_widget'
396
  $this->AdsWidID = sanitize_title( str_replace( array('(', ')'), '', $this->AdsWidName ) );
397
  parent::__construct(
398
  $this->AdsWidID, // Base ID
399
+ str_replace('Quick Adsense Reloaded', 'WP QUADS', $this->AdsWidName) , // Name
400
  array(
401
  'description' => __( 'Widget contains ad code', 'quick-adsense-reloaded' ),
402
  'classname' => 'quads-ad'.$this->adsID.'_widget'
445
  $this->AdsWidID = sanitize_title( str_replace( array('(', ')'), '', $this->AdsWidName ) );
446
  parent::__construct(
447
  $this->AdsWidID, // Base ID
448
+ str_replace('Quick Adsense Reloaded', 'WP QUADS', $this->AdsWidName) , // Name
449
  array(
450
  'description' => __( 'Widget contains ad code', 'quick-adsense-reloaded' ),
451
  'classname' => 'quads-ad'.$this->adsID.'_widget'
494
  $this->AdsWidID = sanitize_title( str_replace( array('(', ')'), '', $this->AdsWidName ) );
495
  parent::__construct(
496
  $this->AdsWidID, // Base ID
497
+ str_replace('Quick Adsense Reloaded', 'WP QUADS', $this->AdsWidName) , // Name
498
  array(
499
  'description' => __( 'Widget contains ad code', 'quick-adsense-reloaded' ),
500
  'classname' => 'quads-ad'.$this->adsID.'_widget'
quick-adsense-reloaded.php CHANGED
@@ -6,7 +6,7 @@
6
  * Description: Insert Google AdSense or any Ads code into your website. A fork of Quick AdSense
7
  * Author: Rene Hermenau, WP-Staging
8
  * Author URI: https://wordpress.org/plugins/quick-adsense-reloaded/
9
- * Version: 1.4.7
10
  * Text Domain: quick-adsense-reloaded
11
  * Domain Path: languages
12
  * Credits: WP QUADS - Quick AdSense Reloaded is a fork of Quick AdSense
@@ -35,7 +35,7 @@ if( !defined( 'ABSPATH' ) )
35
 
36
  // Plugin version
37
  if( !defined( 'QUADS_VERSION' ) ) {
38
- define( 'QUADS_VERSION', '1.4.7' );
39
  }
40
 
41
  // Plugin name
6
  * Description: Insert Google AdSense or any Ads code into your website. A fork of Quick AdSense
7
  * Author: Rene Hermenau, WP-Staging
8
  * Author URI: https://wordpress.org/plugins/quick-adsense-reloaded/
9
+ * Version: 1.4.8
10
  * Text Domain: quick-adsense-reloaded
11
  * Domain Path: languages
12
  * Credits: WP QUADS - Quick AdSense Reloaded is a fork of Quick AdSense
35
 
36
  // Plugin version
37
  if( !defined( 'QUADS_VERSION' ) ) {
38
+ define( 'QUADS_VERSION', '1.4.8' );
39
  }
40
 
41
  // Plugin name
readme.txt CHANGED
@@ -8,8 +8,8 @@ License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Tags: adsense, ads, ad, google adsense, advertising, amp, ad injection, ad inserter, ad manager
10
  Requires at least: 3.6+
11
- Tested up to: 4.7.2
12
- Stable tag: 1.4.7
13
 
14
  Quick Adsense Reloaded! Quickest way to insert Google AdSense & other ads into your website. Google AdSense integration with Google AMP support
15
 
@@ -129,6 +129,13 @@ Alternative Installation:
129
 
130
  == Changelog ==
131
 
 
 
 
 
 
 
 
132
  = 1.4.7 =
133
  * Fix: Not all quicktag generated adsense ads are shown if no default ads are used
134
 
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Tags: adsense, ads, ad, google adsense, advertising, amp, ad injection, ad inserter, ad manager
10
  Requires at least: 3.6+
11
+ Tested up to: 4.7.3
12
+ Stable tag: 1.4.8
13
 
14
  Quick Adsense Reloaded! Quickest way to insert Google AdSense & other ads into your website. Google AdSense integration with Google AMP support
15
 
129
 
130
  == Changelog ==
131
 
132
+ = 1.4.8 =
133
+ * New: Ability to rename adsense ads to better identify them
134
+ * New: Allow unlimited number of adsense ads on a single page
135
+ * New: Tested up to WP 4.7.3
136
+ * Tweak: Rename adsense widgets
137
+
138
+
139
  = 1.4.7 =
140
  * Fix: Not all quicktag generated adsense ads are shown if no default ads are used
141