Version Description
Download this release
Release Info
Developer | niteo |
Plugin | CMP – Coming Soon & Maintenance Plugin by NiteoThemes |
Version | 2.2.1 |
Comparing to | |
See all releases |
Code changes from version 2.2 to 2.2.1
- cmp-settings.php +4 -5
- css/cmp-settings-style.min.css +1 -1
- inc/class-cmp-render_html.php +15 -15
- inc/settings-background.php +3 -3
- inc/settings-slider.php +1 -1
- js/settings.js +4 -0
- niteo-cmp.php +3 -6
- readme.txt +18 -16
- themes/construct/construct-theme.php +3 -3
- themes/construct/style.css +1 -1
- themes/countdown/countdown-theme.php +4 -3
- themes/countdown/style.css +1 -1
- themes/hardwork/hardwork-defaults.php +1 -1
- themes/hardwork/hardwork-theme.php +16 -15
- themes/hardwork/style.css +4 -2
- themes/postery.zip +0 -0
cmp-settings.php
CHANGED
@@ -313,10 +313,10 @@ $niteoCS_unsplash_2 = get_option('niteoCS_unsplash_2['.$themeslug.']');
|
|
313 |
$niteoCS_unsplash_3 = get_option('niteoCS_unsplash_3['.$themeslug.']');
|
314 |
$niteoCS_unsplash_category = get_option('niteoCS_unsplash_category['.$themeslug.']', 'buildings');
|
315 |
$niteoCS_cat_keyword = get_option('niteoCS_cat_keyword['.$themeslug.']');
|
316 |
-
$niteoCS_banner_color = get_option('niteoCS_banner_color['.$themeslug.']', '#
|
317 |
$niteoCS_gradient = get_option('niteoCS_gradient['.$themeslug.']', '#ED5565:#D62739');
|
318 |
-
$niteoCS_gradient_one_custom = get_option('niteoCS_banner_gradient_one['.$themeslug.']', '#
|
319 |
-
$niteoCS_gradient_two_custom = get_option('niteoCS_banner_gradient_two['.$themeslug.']', '#
|
320 |
|
321 |
if ( $niteoCS_gradient != 'custom' ) {
|
322 |
$gradient = explode(":", $niteoCS_gradient);
|
@@ -616,7 +616,7 @@ add_thickbox();
|
|
616 |
</th></tr>
|
617 |
</tbody>
|
618 |
</table>
|
619 |
-
|
620 |
</div>
|
621 |
<?php
|
622 |
if ( !empty( $downloadable_themes ) ) { ?>
|
@@ -681,7 +681,6 @@ add_thickbox();
|
|
681 |
</th></tr>
|
682 |
</tbody>
|
683 |
</table>
|
684 |
-
<div class="theme-overlay cmp"></div>
|
685 |
</div>
|
686 |
|
687 |
<?php
|
313 |
$niteoCS_unsplash_3 = get_option('niteoCS_unsplash_3['.$themeslug.']');
|
314 |
$niteoCS_unsplash_category = get_option('niteoCS_unsplash_category['.$themeslug.']', 'buildings');
|
315 |
$niteoCS_cat_keyword = get_option('niteoCS_cat_keyword['.$themeslug.']');
|
316 |
+
$niteoCS_banner_color = get_option('niteoCS_banner_color['.$themeslug.']', '#e5e5e5');
|
317 |
$niteoCS_gradient = get_option('niteoCS_gradient['.$themeslug.']', '#ED5565:#D62739');
|
318 |
+
$niteoCS_gradient_one_custom = get_option('niteoCS_banner_gradient_one['.$themeslug.']', '#e5e5e5');
|
319 |
+
$niteoCS_gradient_two_custom = get_option('niteoCS_banner_gradient_two['.$themeslug.']', '#e5e5e5');
|
320 |
|
321 |
if ( $niteoCS_gradient != 'custom' ) {
|
322 |
$gradient = explode(":", $niteoCS_gradient);
|
616 |
</th></tr>
|
617 |
</tbody>
|
618 |
</table>
|
619 |
+
<div class="theme-overlay cmp"></div>
|
620 |
</div>
|
621 |
<?php
|
622 |
if ( !empty( $downloadable_themes ) ) { ?>
|
681 |
</th></tr>
|
682 |
</tbody>
|
683 |
</table>
|
|
|
684 |
</div>
|
685 |
|
686 |
<?php
|
css/cmp-settings-style.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
#wpwrap{overflow-x:hidden}.no-margin{margin:0}.cmp-settings-wrapper{position:relative;margin-top:1em}.wrapper-disabled{opacity:.4}.comingsoon-error,.comingsoon-success{padding:1em;width:calc(100% - 4em);border-left:4px solid red;background-color:#fff}.comingsoon-success{border-left:4px solid #00d221}.padding-bottom{padding-bottom:10px}.select2-container--default .select2-selection--single,input[type=text]{border:1px solid #d4d4d4;border-radius:4px;line-height:2.5em;height:2.5em;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.03);box-shadow:inset 0 1px 2px rgba(0,0,0,.03)}.select2-container .select2-selection--single{height:35px}.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:35px}.select2-container--default .select2-selection--single .select2-selection__arrow{top:4px}input[type=range]{display:block;-webkit-appearance:none;background-color:#dedede;width:100%;height:5px;border-radius:5px;margin:10px auto 0;outline:0}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background-color:#0085ba;width:17px;height:17px;border-radius:50%;border:1px solid #d4d4d4;cursor:pointer;-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out}input[type=range]::-webkit-slider-thumb:hover{background-color:#006799;border:2px solid #0085ba}input[type=range]::-webkit-slider-thumb:active{-webkit-transform:scale(1.2);transform:scale(1.2)}input[type=text],textarea{width:100%}#niteoCS_countdown_redirect,#niteoCS_countdown_text,.table-wrapper.content,.table-wrapper.custom_css,.table-wrapper.install,.table-wrapper.seo,.table-wrapper.theme-setup{display:none}.wp-upload-form.upload-theme{padding:4em;display:block}.cmp-status legend{width:95%;padding:10px;cursor:pointer}.cmp-status .active{background-color:#ddd}.redirect{margin-bottom:0}.help-settings,.subscribers-settings,.table-wrapper,.translate-settings{background-color:#fff;border:1px solid #dedede;margin:0 0 1em;max-width:920px}.cmp-inputs-wrapper{display:inline-block;max-width:920px;min-width:920px}.table-wrapper.closed table,.translate-settings tfoot{display:none}.help-settings,.subscribers-settings,.translate-settings{max-width:calc(920px - 2em);min-width:calc(920px - 2em);padding:1em}.table-wrapper h3{position:relative;padding:.5em 0 .5em 1em;margin:0;border-bottom:1px solid #dedede;text-align:left}#unsplash-media,.background-media td fieldset{padding-top:1em}.table-wrapper h3:not(.no-icon):not(.notice-title):not(#heading-example)::after{font-family:fontAwesome;content:"\f147";position:absolute;right:10px;font-weight:400;opacity:.6;cursor:pointer;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#niteoCS-text-logo,.theme-title,th label{font-weight:600}.table-wrapper.closed h3:not(.no-icon):not(.notice-title)::after{content:"\f196"}.table-wrapper h4{margin:0}.table-wrapper table{padding:1em;height:100%;width:90%}.table-wrapper .theme-selector{width:100%}.table-wrapper select{margin-bottom:10px;width:100%}.table-wrapper td{width:100%;max-width:600px;margin-bottom:1em;display:block}#unsplash_img,.table-wrapper td.theme-selector{max-width:100%}.table-wrapper th{vertical-align:top;width:180px;text-align:left}#delete-banner,#delete-favicon,#delete-logo,#delete-video-thumb{display:none}.social-media{margin-top:0;margin-bottom:3em}.social-inputs{position:relative}.social-inputs .label{display:none;font-weight:600;position:absolute;top:-20px;left:-8px}#niteoCS-text-logo{border:none;-webkit-box-shadow:none;box-shadow:none;font-size:3em}.social-description{margin-top:0}.social-inputs .label:nth-of-type(2){left:62px}.social-inputs .label:nth-of-type(3){left:148px}.social-media li{display:inline-block;padding-right:.8em;padding-bottom:1em}.social-media i{font-size:1.65em;cursor:pointer}.social-media i.active{color:#d54e21}.social-inputs li{display:none;width:100%}.social-inputs li.active{display:inline-block}#custom_content_font,#custom_headings_font,.unsplash-feed{display:none}.social-inputs p{position:relative;padding-left:50px;height:50px}.social-inputs p i{position:absolute;left:0;top:20px;font-size:30px;width:30px;cursor:move}.theme-details,.toggle{cursor:pointer}.social-inputs label{padding-left:100px}.social-inputs input[type=text]{margin-left:100px;width:calc(100% - 100px)}.social-inputs input[type=checkbox]{position:absolute;width:26px;height:26px;top:23px;left:65px}.social-inputs input[type=checkbox]:checked:before{margin:3px 0 0 1px}#unsplash_img{display:none}.color-preview,.gradient-preview,.pattern-wrapper{background-repeat:repeat;height:200px;border:1px solid #ededed;margin-top:1em}.theme-overlay .screenshot,.thumbnail-holder{position:relative;background-size:cover;background-repeat:no-repeat;background-position:center}.video-wrapper{position:relative;width:100%;margin-top:1em}.video-wrapper video{margin-top:-35px}#add-pattern{margin-bottom:1em}.info{font-size:12px}.nav-tab i{padding-right:3px}.banner-wrapper,.favicon-wrapper,.logo-wrapper{margin:1em 0}.favicon-wrapper img,.logo-wrapper img{background-color:#efefef;padding:1em}.favicon-wrapper img{max-width:32px}.background-media img,.logo-wrapper img{max-width:100%;width:100%}.logo-wrapper img{max-height:150px;width:auto}#font-example-wrapper{padding:1em;border:1px solid #dedede;overflow:hidden}#heading-example{border-bottom:none;line-height:1.5;padding:0}.font-selector td:first-of-type{padding-bottom:2em}.font-selector fieldset{padding:.5em 0}.theme-wrapper{display:inline-block;padding:.5em;margin:2em 2em 2em 0;width:calc(25% - 3em - 5px);text-align:center;border:1px solid #efefef;border-radius:6px}.theme-wrapper.premium{width:calc(33.33% - 3em - 5px)}.theme-wrapper.active{background-color:#ddd}.thumbnail-holder{width:100%;margin-bottom:2em;border-top-left-radius:5px;border-top-right-radius:5px}.thumbnail-holder::before{content:'';display:block;padding-top:56.25%}.toggle,.toggle-wrapper{display:inline-block}.theme-title{float:left;text-transform:uppercase}.theme-version{float:right}.theme-wrapper .hide:not(.selected){opacity:0;-webkit-transition:opacity .3s,background-color .5s;transition:opacity .3s,background-color .5s}.theme-wrapper .hide.activated,.theme-wrapper:hover .hide{opacity:1;-webkit-transition:opacity .3s,background-color .5s;transition:opacity .3s,background-color .5s}.theme-inputs{clear:both;border-top:1px solid #efefef;padding-top:.5em}.cmp-button,.cmp-preview,.theme-wrapper .button{height:28px;line-height:28px;padding:0 10px;min-width:80px;border-radius:3px;color:#fff!important;-moz-appearance:none;-webkit-appearance:none;-webkit-transition:background-color .5s;transition:background-color .5s;border:none!important;box-shadow:none;-webkit-box-shadow:none;text-shadow:none}.cmp-button.submit,.theme-actions .activate{background-color:#c0392b;color:#fff;border:none;-webkit-transition:background-color .5s;transition:background-color .5s}.cmp-button.submit:focus,.cmp-button.submit:hover,.theme-actions .activate:focus,.theme-actions .activate:hover{background-color:#e74c3c;color:#fff;border:none}.theme-wrapper .button:hover{border:none;color:#fff!important}.theme-wrapper .theme-select{float:left;background-color:#95a5a6}.theme-wrapper .theme-select:focus,.theme-wrapper .theme-select:hover{background-color:#b5b5b5}.theme-wrapper .theme-select.activated{background-color:#27ae60}.theme-wrapper .theme-select.activated:focus,.theme-wrapper .theme-select.activated:hover{background-color:#2ecc71}.theme-wrapper .theme-details.button{float:right;background-color:#2980b9}.theme-wrapper .theme-details.button:focus,.theme-wrapper .theme-details.button:hover{background-color:#3498db}.theme-wrapper .theme-update{float:left;margin:0 5px;background-color:#d35400}.theme-wrapper .theme-update:focus,.theme-wrapper .theme-update:hover{background-color:#e67e22}.theme-wrapper .theme-purchase{float:left;background-color:#2c3e50}.theme-wrapper .theme-purchase.button:focus,.theme-wrapper .theme-purchase.button:hover{background-color:#4f7090}.cmp-preview{background-color:#2485bf!important}.cmp-preview:active,.cmp-preview:hover{background-color:#32b2ff!important}.theme-info .theme-purchase{width:auto;min-width:40%;height:55px;font-size:2em;background-color:#2c3e50;border:none}.theme-info .theme-purchase:focus,.theme-info .theme-purchase:hover,.theme-wrapper .theme-purchase:focus,.theme-wrapper .theme-purchase:hover{background-color:#34495e}.button i{margin-right:5px}.theme-purchase a,.theme-purchase a:hover,.theme-purchase a:visited{color:#fff;text-decoration:none}p.cmp-submit{margin:0;padding-top:0;font-weight:400;text-align:left}.theme-overlay .screenshot{-webkit-transition:background-image .2s ease-in-out;transition:background-image .2s ease-in-out}.theme-overlay .screenshots-nav{position:absolute;right:0;top:0;color:#fff;cursor:pointer}.theme-overlay .screenshots-nav div{width:40px;height:40px;background-color:#000;line-height:40px;opacity:.7;-webkit-transition:opacity .5s;transition:opacity .5s}.fifty-layout input:checked+img,.theme-overlay .screenshots-nav div:hover{opacity:1}.toggle,.toggle:after,.toggle:before{-webkit-transition:all .2s ease-in-out}.theme-overlay .screenshots-nav .left{float:left}.theme-overlay .screenshots-nav .right{float:right}.theme-description ul{list-style:none;padding-left:2em}.theme-description h4,.theme-description li{font-size:13px}.theme-description .supported i{color:green}.theme-description .not-supported i{color:red}.wp-list-table .column-id{width:5%}.cmp-status{margin-bottom:3em}.toggle{position:relative;width:200px;height:30px;font-weight:600;background:0 0;border:2px solid #f1f1f1;transition:all .2s ease-in-out;border-radius:15px}.toggle:after,.toggle:before{position:absolute;line-height:30px;font-size:14px;z-index:2;transition:all .2s ease-in-out}input[type=checkbox].toggle-checkbox{display:none}.toggle_handler{display:inline-block;position:relative;z-index:1;background:#c0392b;width:90px;height:24px;top:3px;left:5px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;-webkit-transform:translateX(0);transform:translateX(0);border-radius:10px 0 0 10px}.toggle-checkbox:checked+.toggle .toggle_handler{width:90px;-webkit-transform:translateX(100px);transform:translateX(100px);background:#27ae60;border-radius:0 10px 10px 0}.toggle-wrapper:hover .toggle_handler{background:#e74c3c}.toggle-wrapper:hover .toggle-checkbox:checked+.toggle .toggle_handler{background:#2ecc71}.toggle:before{content:"Disabled";left:22px;color:#fff}.toggle-checkbox:checked+.toggle:before,.toggle:after{color:#23282d}.toggle:after{content:"Enabled";right:26px}.toggle-checkbox:checked+.toggle:after{color:#fff}.fifty-layout label{display:block;position:relative;padding-bottom:1em;margin-top:1em}.fifty-layout input{visibility:hidden;position:absolute;margin:0}.fifty-layout img{display:block;opacity:.3;outline:solid 1px;padding:2px;margin-left:5px;margin-top:5px;background:#3ab53a}.cmp-sidebar-wrapper{display:inline-block;width:calc(100% - 6em - 920px);max-width:350px;min-width:300px;margin-left:1em;padding-top:0;vertical-align:top;text-align:center}.cmp-sidebar-wrapper .widget{padding:2em;border:1px solid #dedede;background:#fff}.widget.donate img{max-width:50px}.widget.donate img.niteo-logo{max-width:120px}.cmp-rate-us .button,.cmp-rate-us a{display:block;text-align:center}.cmp-rate-us a{padding:1em 0}.cmp-rate-us .button{max-width:150px;margin:0 auto 1em}.cmp-rate-us form{text-align:center}.subscribers .column-id{width:5%}@media screen and (max-width:1450px){.cmp-inputs-wrapper{min-width:70%}.cmp-sidebar-wrapper{width:calc(30% - 2em + 7px)}.theme-wrapper,.theme-wrapper.premium{width:calc(50% - 3em - 5px)}}@media screen and (max-width:1270px){.cmp-inputs-wrapper{min-width:100%}}@media screen and (max-width:1110px){.theme-wrapper,.theme-wrapper.premium{margin-right:0;width:calc(100% - 5px)}.table-wrapper th{display:block}.cmp-sidebar-wrapper .widget{padding:1em}}@media screen and (max-width:1024px){.table-wrapper table{width:100%}.table-wrapper th{width:140px}}@media screen and (max-width:782px){.social-inputs input[type=checkbox]:checked:before{margin:-1px 0 0 -4px}.cmp-inputs-wrapper,.cmp-sidebar-wrapper{display:block;max-width:100%;width:100%;margin:0}.cmp-sidebar-wrapper .widget{padding:2em;margin-bottom:1em!important}.theme-wrapper .hide:not(.selected),.theme-wrapper.hide{opacity:1}.theme-overlay .theme-info,.theme-overlay .theme-screenshots{width:100%;float:none}input[type=text],textarea{font-size:13px}}@media screen and (max-width:560px){.social-inputs .label:nth-of-type(2){left:50px}.social-inputs .label:nth-of-type(3){left:105px}.social-inputs p i{top:22px}.social-inputs input[type=checkbox]{top:28px;left:53px}.social-inputs label{padding-left:55px}.social-inputs input[type=text]{margin-left:55px;width:calc(100% - 55px)}}
|
1 |
+
#wpwrap{overflow-x:hidden}.no-margin{margin:0}.cmp-settings-wrapper{position:relative;margin-top:1em}.wrapper-disabled{opacity:.4}.comingsoon-error,.comingsoon-success{padding:1em;width:calc(100% - 4em);border-left:4px solid red;background-color:#fff}.comingsoon-success{border-left:4px solid #00d221}.padding-bottom{padding-bottom:10px}.select2-container--default .select2-selection--single,input[type=text]{border:1px solid #d4d4d4;border-radius:4px;line-height:2.5em;height:2.5em;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.03);box-shadow:inset 0 1px 2px rgba(0,0,0,.03)}.select2-container .select2-selection--single{height:35px}.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:35px}.select2-container--default .select2-selection--single .select2-selection__arrow{top:4px}input[type=range]{display:block;-webkit-appearance:none;background-color:#dedede;width:100%;height:5px;border-radius:5px;margin:10px auto 0;outline:0}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background-color:#0085ba;width:17px;height:17px;border-radius:50%;border:1px solid #d4d4d4;cursor:pointer;-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out}input[type=range]::-webkit-slider-thumb:hover{background-color:#006799;border:2px solid #0085ba}input[type=range]::-webkit-slider-thumb:active{-webkit-transform:scale(1.2);transform:scale(1.2)}input[type=text],textarea{width:100%}#niteoCS_countdown_redirect,#niteoCS_countdown_text,.table-wrapper.content,.table-wrapper.custom_css,.table-wrapper.install,.table-wrapper.seo,.table-wrapper.theme-setup{display:none}.upload-plugin.comingsoon .wp-upload-form{max-width:600px}.cmp-status legend{width:95%;padding:10px;cursor:pointer}.cmp-status .active{background-color:#ddd}.redirect{margin-bottom:0}.help-settings,.subscribers-settings,.table-wrapper,.translate-settings{background-color:#fff;border:1px solid #dedede;margin:0 0 1em;max-width:920px}.cmp-inputs-wrapper{display:inline-block;max-width:920px;min-width:920px}.table-wrapper.closed table,.translate-settings tfoot{display:none}.help-settings,.subscribers-settings,.translate-settings{max-width:calc(920px - 2em);min-width:calc(920px - 2em);padding:1em}.table-wrapper h3{position:relative;padding:.5em 0 .5em 1em;margin:0;border-bottom:1px solid #dedede;text-align:left}#unsplash-media,.background-media td fieldset{padding-top:1em}.table-wrapper h3:not(.no-icon):not(.notice-title):not(#heading-example)::after{font-family:fontAwesome;content:"\f147";position:absolute;right:10px;font-weight:400;opacity:.6;cursor:pointer;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#niteoCS-text-logo,.theme-title,th label{font-weight:600}.table-wrapper.closed h3:not(.no-icon):not(.notice-title)::after{content:"\f196"}.table-wrapper h4{margin:0}.table-wrapper table{padding:1em;height:100%;width:90%}.table-wrapper .theme-selector{width:100%}.table-wrapper select{margin-bottom:10px;width:100%}.table-wrapper td{width:100%;max-width:600px;margin-bottom:1em;display:block}#unsplash_img,.table-wrapper td.theme-selector{max-width:100%}.table-wrapper th{vertical-align:top;width:180px;text-align:left}#delete-banner,#delete-favicon,#delete-logo,#delete-video-thumb{display:none}.social-media{margin-top:0;margin-bottom:3em}.social-inputs{position:relative}.social-inputs .label{display:none;font-weight:600;position:absolute;top:-20px;left:-8px}#niteoCS-text-logo{border:none;-webkit-box-shadow:none;box-shadow:none;font-size:3em}.social-description{margin-top:0}.social-inputs .label:nth-of-type(2){left:62px}.social-inputs .label:nth-of-type(3){left:148px}.social-media li{display:inline-block;padding-right:.8em;padding-bottom:1em}.social-media i{font-size:1.65em;cursor:pointer}.social-media i.active{color:#d54e21}.social-inputs li{display:none;width:100%}.social-inputs li.active{display:inline-block}#custom_content_font,#custom_headings_font,.unsplash-feed{display:none}.social-inputs p{position:relative;padding-left:50px;height:50px}.social-inputs p i{position:absolute;left:0;top:20px;font-size:30px;width:30px;cursor:move}.theme-details,.toggle{cursor:pointer}.social-inputs label{padding-left:100px}.social-inputs input[type=text]{margin-left:100px;width:calc(100% - 100px)}.social-inputs input[type=checkbox]{position:absolute;width:26px;height:26px;top:23px;left:65px}.social-inputs input[type=checkbox]:checked:before{margin:3px 0 0 1px}#unsplash_img{display:none}.color-preview,.gradient-preview,.pattern-wrapper{background-repeat:repeat;height:200px;border:1px solid #ededed;margin-top:1em}.theme-overlay .screenshot,.thumbnail-holder{position:relative;background-size:cover;background-repeat:no-repeat;background-position:center}.video-wrapper{position:relative;width:100%;margin-top:1em}.video-wrapper video{margin-top:-35px}#add-pattern{margin-bottom:1em}.info{font-size:12px}.nav-tab i{padding-right:3px}.banner-wrapper,.favicon-wrapper,.logo-wrapper{margin:1em 0}.favicon-wrapper img,.logo-wrapper img{background-color:#efefef;padding:1em}.favicon-wrapper img{max-width:32px}.background-media img,.logo-wrapper img{max-width:100%;width:100%}.logo-wrapper img{max-height:150px;width:auto}#font-example-wrapper{padding:1em;border:1px solid #dedede;overflow:hidden}#heading-example{border-bottom:none;line-height:1.5;padding:0}.font-selector td:first-of-type{padding-bottom:2em}.font-selector fieldset{padding:.5em 0}.theme-wrapper{display:inline-block;padding:.5em;margin:2em 2em 2em 0;width:calc(25% - 3em - 5px);text-align:center;border:1px solid #efefef;border-radius:6px}.theme-wrapper.premium{width:calc(33.33% - 3em - 5px)}.theme-wrapper.active{background-color:#ddd}.thumbnail-holder{width:100%;margin-bottom:2em;border-top-left-radius:5px;border-top-right-radius:5px}.thumbnail-holder::before{content:'';display:block;padding-top:56.25%}.toggle,.toggle-wrapper{display:inline-block}.theme-title{float:left;text-transform:uppercase}.theme-version{float:right}.theme-wrapper .hide:not(.selected){opacity:0;-webkit-transition:opacity .3s,background-color .5s;transition:opacity .3s,background-color .5s}.theme-wrapper .hide.activated,.theme-wrapper:hover .hide{opacity:1;-webkit-transition:opacity .3s,background-color .5s;transition:opacity .3s,background-color .5s}.theme-inputs{clear:both;border-top:1px solid #efefef;padding-top:.5em}.cmp-button,.cmp-preview,.theme-wrapper .button{height:28px;line-height:28px;padding:0 10px;border-radius:3px;color:#fff!important;-moz-appearance:none;-webkit-appearance:none;-webkit-transition:background-color .5s;transition:background-color .5s;border:none!important;box-shadow:none;-webkit-box-shadow:none;text-shadow:none}.cmp-button.submit,.theme-actions .activate{background-color:#c0392b;color:#fff;border:none;-webkit-transition:background-color .5s;transition:background-color .5s}.cmp-button.submit:focus,.cmp-button.submit:hover,.theme-actions .activate:focus,.theme-actions .activate:hover{background-color:#e74c3c;color:#fff;border:none}.theme-wrapper .button:hover{border:none;color:#fff!important}.theme-wrapper .theme-select{float:left;background-color:#27ae60}.theme-wrapper .theme-select:focus,.theme-wrapper .theme-select:hover{background-color:#2ecc71}.theme-wrapper .theme-details.button{float:right;background-color:#2980b9}.theme-wrapper .theme-details.button:focus,.theme-wrapper .theme-details.button:hover{background-color:#3498db}.theme-wrapper .theme-update{float:left;margin:0 5px;background-color:#d35400}.theme-wrapper .theme-update:focus,.theme-wrapper .theme-update:hover{background-color:#e67e22}.theme-wrapper .theme-purchase{float:left;background-color:#2c3e50}.theme-wrapper .theme-purchase.button:focus,.theme-wrapper .theme-purchase.button:hover{background-color:#4f7090}.cmp-preview{background-color:#2485bf!important}.cmp-preview:active,.cmp-preview:hover{background-color:#32b2ff!important}.theme-info .theme-purchase{width:auto;min-width:40%;height:55px;font-size:2em;margin:1em 0;background-color:#2c3e50;border:none}.theme-info .theme-purchase:focus,.theme-info .theme-purchase:hover,.theme-wrapper .theme-purchase:focus,.theme-wrapper .theme-purchase:hover{background-color:#34495e}.button i{margin-right:5px}.theme-purchase a,.theme-purchase a:hover,.theme-purchase a:visited{color:#fff;text-decoration:none}p.cmp-submit{margin:0;padding-top:0;font-weight:400;text-align:left}.theme-overlay .screenshot{-webkit-transition:background-image .2s ease-in-out;transition:background-image .2s ease-in-out}.theme-overlay .screenshots-nav{position:absolute;right:0;top:0;color:#fff;cursor:pointer}.theme-overlay .screenshots-nav div{width:40px;height:40px;background-color:#000;line-height:40px;opacity:.7;-webkit-transition:opacity .5s;transition:opacity .5s}.fifty-layout input:checked+img,.theme-overlay .screenshots-nav div:hover{opacity:1}.toggle,.toggle:after,.toggle:before{-webkit-transition:all .2s ease-in-out}.theme-overlay .screenshots-nav .left{float:left}.theme-overlay .screenshots-nav .right{float:right}.theme-description ul{list-style:none;padding-left:2em}.theme-description h4,.theme-description li{font-size:13px}.theme-description .supported i{color:green}.theme-description .not-supported i{color:red}.wp-list-table .column-id{width:5%}.cmp-status{margin-bottom:3em}.toggle{position:relative;width:200px;height:30px;font-weight:600;background:0 0;border:2px solid #f1f1f1;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;border-radius:15px}.toggle:after,.toggle:before{position:absolute;line-height:30px;font-size:14px;z-index:2;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}input[type=checkbox].toggle-checkbox{display:none}.toggle_handler{display:inline-block;position:relative;z-index:1;background:#c0392b;width:90px;height:24px;top:3px;left:5px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;-webkit-transform:translateX(0);transform:translateX(0);border-radius:10px 0 0 10px}.toggle-checkbox:checked+.toggle .toggle_handler{width:90px;-webkit-transform:translateX(100px);transform:translateX(100px);background:#27ae60;border-radius:0 10px 10px 0}.toggle-wrapper:hover .toggle_handler{background:#e74c3c}.toggle-wrapper:hover .toggle-checkbox:checked+.toggle .toggle_handler{background:#2ecc71}.toggle:before{content:"Disabled";left:22px;color:#fff}.toggle-checkbox:checked+.toggle:before,.toggle:after{color:#23282d}.toggle:after{content:"Enabled";right:26px}.toggle-checkbox:checked+.toggle:after{color:#fff}.fifty-layout label{display:block;position:relative;padding-bottom:1em;margin-top:1em}.fifty-layout input{visibility:hidden;position:absolute;margin:0}.fifty-layout img{display:block;opacity:.3;outline:solid 1px;padding:2px;margin-left:5px;margin-top:5px;background:#3ab53a}.cmp-sidebar-wrapper{display:inline-block;width:calc(100% - 6em - 920px);max-width:350px;min-width:300px;margin-left:1em;padding-top:0;vertical-align:top;text-align:center}.cmp-sidebar-wrapper .widget{padding:2em;border:1px solid #dedede;background:#fff}.widget.donate img{max-width:50px}.widget.donate img.niteo-logo{max-width:120px}.cmp-rate-us .button,.cmp-rate-us a{display:block;text-align:center}.cmp-rate-us a{padding:1em 0}.cmp-rate-us .button{max-width:150px;margin:0 auto 1em}.cmp-rate-us form{text-align:center}.subscribers .column-id{width:5%}@media screen and (max-width:1450px){.cmp-inputs-wrapper{min-width:70%}.cmp-sidebar-wrapper{width:calc(30% - 2em + 7px)}.theme-wrapper,.theme-wrapper.premium{width:calc(50% - 3em - 5px)}}@media screen and (max-width:1270px){.cmp-inputs-wrapper{min-width:100%}}@media screen and (max-width:1110px){.theme-wrapper,.theme-wrapper.premium{margin-right:0;width:calc(100% - 5px)}.table-wrapper th{display:block}.cmp-sidebar-wrapper .widget{padding:1em}}@media screen and (max-width:1024px){.table-wrapper table{width:100%}.table-wrapper th{width:140px}}@media screen and (max-width:782px){.social-inputs input[type=checkbox]:checked:before{margin:-1px 0 0 -4px}.cmp-inputs-wrapper,.cmp-sidebar-wrapper{display:block;max-width:100%;width:100%;margin:0}.cmp-sidebar-wrapper .widget{padding:2em;margin-bottom:1em!important}.theme-wrapper .hide:not(.selected),.theme-wrapper.hide{opacity:1}.theme-overlay .theme-info,.theme-overlay .theme-screenshots{width:100%;float:none}input[type=text],textarea{font-size:13px}}@media screen and (max-width:560px){.social-inputs .label:nth-of-type(2){left:50px}.social-inputs .label:nth-of-type(3){left:105px}.social-inputs p i{top:22px}.social-inputs input[type=checkbox]{top:28px;left:53px}.social-inputs label{padding-left:55px}.social-inputs input[type=text]{margin-left:55px;width:calc(100% - 55px)}}
|
inc/class-cmp-render_html.php
CHANGED
@@ -135,7 +135,7 @@ class cmp_render_html extends niteo_cmp {
|
|
135 |
|
136 |
case '4':
|
137 |
// Color
|
138 |
-
$color = get_option('niteoCS_banner_color['.$themeslug.']', '#
|
139 |
$html ='<div id="background-image" class="color loaded" style="background-color:'.esc_url( $color ).'"></div>';
|
140 |
|
141 |
return $html;
|
@@ -152,8 +152,8 @@ class cmp_render_html extends niteo_cmp {
|
|
152 |
$background_class = 'gradient';
|
153 |
$niteoCS_gradient = get_option('niteoCS_gradient['.$themeslug.']', '#ED5565:#D62739');
|
154 |
if ( $niteoCS_gradient == 'custom' ) {
|
155 |
-
$niteoCS_gradient_one = get_option('niteoCS_banner_gradient_one['.$themeslug.']', '#
|
156 |
-
$niteoCS_gradient_two = get_option('niteoCS_banner_gradient_two['.$themeslug.']', '#
|
157 |
} else {
|
158 |
$gradient = explode(":", $niteoCS_gradient);
|
159 |
$niteoCS_gradient_one = $gradient[0];
|
@@ -621,16 +621,16 @@ class cmp_render_html extends niteo_cmp {
|
|
621 |
|
622 |
if ( get_option('niteoCS_analytics', '') !== '' ) { ?>
|
623 |
<!-- Google analytics code -->
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
|
630 |
-
|
631 |
-
|
632 |
|
633 |
-
|
634 |
<?php
|
635 |
}
|
636 |
|
@@ -638,11 +638,11 @@ class cmp_render_html extends niteo_cmp {
|
|
638 |
// other js code
|
639 |
case 'other':
|
640 |
if ( get_option('niteoCS_analytics_other', '') !== '' ) {
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
|
645 |
-
|
646 |
<?php
|
647 |
}
|
648 |
|
135 |
|
136 |
case '4':
|
137 |
// Color
|
138 |
+
$color = get_option('niteoCS_banner_color['.$themeslug.']', '#e5e5e5');
|
139 |
$html ='<div id="background-image" class="color loaded" style="background-color:'.esc_url( $color ).'"></div>';
|
140 |
|
141 |
return $html;
|
152 |
$background_class = 'gradient';
|
153 |
$niteoCS_gradient = get_option('niteoCS_gradient['.$themeslug.']', '#ED5565:#D62739');
|
154 |
if ( $niteoCS_gradient == 'custom' ) {
|
155 |
+
$niteoCS_gradient_one = get_option('niteoCS_banner_gradient_one['.$themeslug.']', '#e5e5e5');
|
156 |
+
$niteoCS_gradient_two = get_option('niteoCS_banner_gradient_two['.$themeslug.']', '#e5e5e5');
|
157 |
} else {
|
158 |
$gradient = explode(":", $niteoCS_gradient);
|
159 |
$niteoCS_gradient_one = $gradient[0];
|
621 |
|
622 |
if ( get_option('niteoCS_analytics', '') !== '' ) { ?>
|
623 |
<!-- Google analytics code -->
|
624 |
+
<script>
|
625 |
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
626 |
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
627 |
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
628 |
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
629 |
|
630 |
+
ga('create', '<?php echo esc_attr(get_option('niteoCS_analytics'));?>', 'auto');
|
631 |
+
ga('send', 'pageview');
|
632 |
|
633 |
+
</script>
|
634 |
<?php
|
635 |
}
|
636 |
|
638 |
// other js code
|
639 |
case 'other':
|
640 |
if ( get_option('niteoCS_analytics_other', '') !== '' ) {
|
641 |
+
$niteoCS_analytics_other = stripslashes(get_option('niteoCS_analytics_other', '')); ?>
|
642 |
+
<script>
|
643 |
+
<?php echo esc_js($niteoCS_analytics_other);?>
|
644 |
|
645 |
+
</script>
|
646 |
<?php
|
647 |
}
|
648 |
|
inc/settings-background.php
CHANGED
@@ -146,7 +146,7 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
|
|
146 |
|
147 |
<fieldset id="solid_color">
|
148 |
<label for="niteoCS_banner_color_<?php echo esc_attr($themeslug);?>"><?php _e('Select Color', 'cmp-coming-soon-maintenance');?></label><br>
|
149 |
-
<input type="text" name="niteoCS_banner_color_<?php echo esc_attr($themeslug);?>" id="niteoCS_banner_color" value="<?php echo esc_attr( $niteoCS_banner_color); ?>" data-default-color="#
|
150 |
<div class="color-preview" style="background-color:<?php echo esc_attr( $niteoCS_banner_color); ?>"></div>
|
151 |
</fieldset>
|
152 |
|
@@ -234,9 +234,9 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
|
|
234 |
|
235 |
<p class="custom-gradient" style="display:<?php echo ( $niteoCS_gradient == 'custom' ) ? 'block' : 'none'; ?>">
|
236 |
<label for="niteoCS_banner_gradient_one_<?php echo esc_attr($themeslug);?>"><?php _e('Select first gradient color:', 'cmp-coming-soon-maintenance');?></label><br>
|
237 |
-
<input type="text" name="niteoCS_banner_gradient_one_<?php echo esc_attr($themeslug);?>" id="niteoCS_gradient_one" value="<?php echo esc_attr( $niteoCS_gradient_one_custom); ?>" data-default-color="#
|
238 |
<label for="niteoCS_banner_gradient_two_<?php echo esc_attr($themeslug);?>"><?php _e('Select second gradient color:', 'cmp-coming-soon-maintenance');?></label><br>
|
239 |
-
<input type="text" name="niteoCS_banner_gradient_two_<?php echo esc_attr($themeslug);?>" id="niteoCS_gradient_two" value="<?php echo esc_attr( $niteoCS_gradient_two_custom); ?>" data-default-color="#
|
240 |
</p>
|
241 |
|
242 |
<div class="gradient-preview" style="background:-moz-linear-gradient(-45deg, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_one_custom ) : esc_attr( $niteoCS_gradient_one ); ?> 0%, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_two_custom ) : esc_attr( $niteoCS_gradient_two ); ?> 100%);background:-webkit-linear-gradient(-45deg, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_one_custom ) : esc_attr( $niteoCS_gradient_one ); ?> 0%, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_two_custom ) : esc_attr( $niteoCS_gradient_two ); ?> 100%);background:linear-gradient(135deg, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_one_custom ) : esc_attr( $niteoCS_gradient_one ); ?> 0%, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_two_custom ) : esc_attr( $niteoCS_gradient_two ); ?> 100%)"></div>
|
146 |
|
147 |
<fieldset id="solid_color">
|
148 |
<label for="niteoCS_banner_color_<?php echo esc_attr($themeslug);?>"><?php _e('Select Color', 'cmp-coming-soon-maintenance');?></label><br>
|
149 |
+
<input type="text" name="niteoCS_banner_color_<?php echo esc_attr($themeslug);?>" id="niteoCS_banner_color" value="<?php echo esc_attr( $niteoCS_banner_color); ?>" data-default-color="#e5e5e5" class="regular-text code"><br>
|
150 |
<div class="color-preview" style="background-color:<?php echo esc_attr( $niteoCS_banner_color); ?>"></div>
|
151 |
</fieldset>
|
152 |
|
234 |
|
235 |
<p class="custom-gradient" style="display:<?php echo ( $niteoCS_gradient == 'custom' ) ? 'block' : 'none'; ?>">
|
236 |
<label for="niteoCS_banner_gradient_one_<?php echo esc_attr($themeslug);?>"><?php _e('Select first gradient color:', 'cmp-coming-soon-maintenance');?></label><br>
|
237 |
+
<input type="text" name="niteoCS_banner_gradient_one_<?php echo esc_attr($themeslug);?>" id="niteoCS_gradient_one" value="<?php echo esc_attr( $niteoCS_gradient_one_custom); ?>" data-default-color="#e5e5e5" class="regular-text code"><br>
|
238 |
<label for="niteoCS_banner_gradient_two_<?php echo esc_attr($themeslug);?>"><?php _e('Select second gradient color:', 'cmp-coming-soon-maintenance');?></label><br>
|
239 |
+
<input type="text" name="niteoCS_banner_gradient_two_<?php echo esc_attr($themeslug);?>" id="niteoCS_gradient_two" value="<?php echo esc_attr( $niteoCS_gradient_two_custom); ?>" data-default-color="#e5e5e5" class="regular-text code"><br>
|
240 |
</p>
|
241 |
|
242 |
<div class="gradient-preview" style="background:-moz-linear-gradient(-45deg, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_one_custom ) : esc_attr( $niteoCS_gradient_one ); ?> 0%, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_two_custom ) : esc_attr( $niteoCS_gradient_two ); ?> 100%);background:-webkit-linear-gradient(-45deg, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_one_custom ) : esc_attr( $niteoCS_gradient_one ); ?> 0%, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_two_custom ) : esc_attr( $niteoCS_gradient_two ); ?> 100%);background:linear-gradient(135deg, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_one_custom ) : esc_attr( $niteoCS_gradient_one ); ?> 0%, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_two_custom ) : esc_attr( $niteoCS_gradient_two ); ?> 100%)"></div>
|
inc/settings-slider.php
CHANGED
@@ -32,7 +32,7 @@ if ( $_SERVER['REQUEST_METHOD'] == 'POST' ) {
|
|
32 |
|
33 |
$niteoCS_slider = get_option('niteoCS_slider['.$themeslug.']', '1');
|
34 |
$niteoCS_slider_count = get_option('niteoCS_slider_count['.$themeslug.']', '3');
|
35 |
-
$niteoCS_slider_effect = get_option('niteoCS_slider_effect['.$themeslug.']', '
|
36 |
$niteoCS_banner = get_option('niteoCS_banner['.$themeslug.']', '0');
|
37 |
$niteoCS_slider_auto = get_option('niteoCS_slider_auto['.$themeslug.']', '1');
|
38 |
?>
|
32 |
|
33 |
$niteoCS_slider = get_option('niteoCS_slider['.$themeslug.']', '1');
|
34 |
$niteoCS_slider_count = get_option('niteoCS_slider_count['.$themeslug.']', '3');
|
35 |
+
$niteoCS_slider_effect = get_option('niteoCS_slider_effect['.$themeslug.']', 'true');
|
36 |
$niteoCS_banner = get_option('niteoCS_banner['.$themeslug.']', '0');
|
37 |
$niteoCS_slider_auto = get_option('niteoCS_slider_auto['.$themeslug.']', '1');
|
38 |
?>
|
js/settings.js
CHANGED
@@ -713,10 +713,14 @@ jQuery(document).ready(function($){
|
|
713 |
// parse JSON data to array
|
714 |
response = jQuery.parseJSON(response);
|
715 |
|
|
|
|
|
716 |
if ( response.result == 'true' ) {
|
717 |
// overflow body hidden
|
718 |
jQuery('body').addClass('modal-open');
|
719 |
|
|
|
|
|
720 |
// if installed display version info
|
721 |
if ( purchased == '1') {
|
722 |
|
713 |
// parse JSON data to array
|
714 |
response = jQuery.parseJSON(response);
|
715 |
|
716 |
+
|
717 |
+
|
718 |
if ( response.result == 'true' ) {
|
719 |
// overflow body hidden
|
720 |
jQuery('body').addClass('modal-open');
|
721 |
|
722 |
+
console.log(response);
|
723 |
+
|
724 |
// if installed display version info
|
725 |
if ( purchased == '1') {
|
726 |
|
niteo-cmp.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: CMP - Coming Soon & Maintenance Plugin
|
4 |
Plugin URI: https://wordpress.org/plugins/cmp-coming-soon-maintenance/
|
5 |
Description: Display customizable landing page for Coming Soon, Maintenance & Under Construction page.
|
6 |
-
Version: 2.2
|
7 |
Author: NiteoThemes
|
8 |
Author URI: https://www.niteothemes.com
|
9 |
Text Domain: cmp-coming-soon-maintenance
|
@@ -17,7 +17,7 @@ class niteo_cmp {
|
|
17 |
public function __construct() {
|
18 |
$this->author = 'NiteoThemes';
|
19 |
$this->author_homepage = 'https://niteothemes.com';
|
20 |
-
$this->version = '2.2';
|
21 |
$this->dev = false;
|
22 |
$this->plugins_dir_path = plugin_dir_path( __DIR__ );
|
23 |
if ( $this->plugins_dir_path == './') {
|
@@ -281,7 +281,7 @@ class niteo_cmp {
|
|
281 |
// override wp login page if cmp is enabled
|
282 |
public function cmp_admin_override(){
|
283 |
|
284 |
-
if( $this->cmp_status() == 0 ){
|
285 |
return;
|
286 |
}
|
287 |
|
@@ -455,9 +455,6 @@ class niteo_cmp {
|
|
455 |
|
456 |
public function cmp_activate() {
|
457 |
|
458 |
-
// var_dump(get_option('niteoCS_theme')) ;
|
459 |
-
|
460 |
-
|
461 |
if ( get_option('niteoCS_archive') ) {
|
462 |
//get all the options back from the archive
|
463 |
$options = get_option('niteoCS_archive');
|
3 |
Plugin Name: CMP - Coming Soon & Maintenance Plugin
|
4 |
Plugin URI: https://wordpress.org/plugins/cmp-coming-soon-maintenance/
|
5 |
Description: Display customizable landing page for Coming Soon, Maintenance & Under Construction page.
|
6 |
+
Version: 2.2.1
|
7 |
Author: NiteoThemes
|
8 |
Author URI: https://www.niteothemes.com
|
9 |
Text Domain: cmp-coming-soon-maintenance
|
17 |
public function __construct() {
|
18 |
$this->author = 'NiteoThemes';
|
19 |
$this->author_homepage = 'https://niteothemes.com';
|
20 |
+
$this->version = '2.2.1';
|
21 |
$this->dev = false;
|
22 |
$this->plugins_dir_path = plugin_dir_path( __DIR__ );
|
23 |
if ( $this->plugins_dir_path == './') {
|
281 |
// override wp login page if cmp is enabled
|
282 |
public function cmp_admin_override(){
|
283 |
|
284 |
+
if( is_admin() || $this->cmp_status() == 0 ){
|
285 |
return;
|
286 |
}
|
287 |
|
455 |
|
456 |
public function cmp_activate() {
|
457 |
|
|
|
|
|
|
|
458 |
if ( get_option('niteoCS_archive') ) {
|
459 |
//get all the options back from the archive
|
460 |
$options = get_option('niteoCS_archive');
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=KV2JF
|
|
4 |
Tags: under construction, construction page, maintenance mode, landing page, launch page, launching, security, coming soon, customizable, offline, offline page, unavailable, free, unsplash, subscribe form
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 2.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -46,21 +46,18 @@ CMP brings premium features for free, no PRO versions! It is very user friendly
|
|
46 |
</ul>
|
47 |
|
48 |
== Screenshots ==
|
49 |
-
1. CMP -
|
50 |
-
2. CMP - Theme
|
51 |
-
3. CMP -
|
52 |
-
4. CMP - Theme
|
53 |
-
5. CMP -
|
54 |
-
6. CMP - Theme
|
55 |
-
7. CMP -
|
56 |
-
8. CMP -
|
57 |
-
9. CMP -
|
58 |
-
10. CMP -
|
59 |
-
11. CMP -
|
60 |
-
12. CMP -
|
61 |
-
13. CMP - Hardwork Theme
|
62 |
-
14. CMP - Hardwork Premium Theme
|
63 |
-
|
64 |
|
65 |
|
66 |
== Installation ==
|
@@ -114,6 +111,11 @@ CMP brings premium features for free, no PRO versions! It is very user friendly
|
|
114 |
|
115 |
|
116 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
117 |
<h4>CMP 2.2 - very sweet update :) </h4>
|
118 |
<p>This update brings you a heavily requsted features such a whitelist/blacklist, user roles setup and also few other nice changes including:</p>
|
119 |
<h3>Premium Frame Theme changed to freebies which you can download for free now!</h3>
|
4 |
Tags: under construction, construction page, maintenance mode, landing page, launch page, launching, security, coming soon, customizable, offline, offline page, unavailable, free, unsplash, subscribe form
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 2.2.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
46 |
</ul>
|
47 |
|
48 |
== Screenshots ==
|
49 |
+
1. CMP - Postery Theme
|
50 |
+
2. CMP - Hardwork Theme
|
51 |
+
3. CMP - Countdown Theme
|
52 |
+
4. CMP - Fifty Theme
|
53 |
+
5. CMP - Fifty Theme
|
54 |
+
6. CMP - Construct Theme
|
55 |
+
7. CMP - Frame Theme
|
56 |
+
8. CMP - Hardwork Theme
|
57 |
+
9. CMP - Theme detail selector
|
58 |
+
10. CMP - Content Settings
|
59 |
+
11. CMP - Content Settings
|
60 |
+
12. CMP - Variables translation
|
|
|
|
|
|
|
61 |
|
62 |
|
63 |
== Installation ==
|
111 |
|
112 |
|
113 |
== Changelog ==
|
114 |
+
<h4>CMP 2.2.1 - maintenance update</h4>
|
115 |
+
<ul>
|
116 |
+
<li>Resolve issue with enqueuing header scripts - Google Analytics and etc. after update 2.2</li>
|
117 |
+
</ul>
|
118 |
+
|
119 |
<h4>CMP 2.2 - very sweet update :) </h4>
|
120 |
<p>This update brings you a heavily requsted features such a whitelist/blacklist, user roles setup and also few other nice changes including:</p>
|
121 |
<h3>Premium Frame Theme changed to freebies which you can download for free now!</h3>
|
themes/construct/construct-theme.php
CHANGED
@@ -94,9 +94,9 @@
|
|
94 |
<?php
|
95 |
}
|
96 |
|
97 |
-
// render javascripts
|
98 |
-
if ( method_exists ( $html, '
|
99 |
-
$html->
|
100 |
}
|
101 |
|
102 |
// echo pattern copyright
|
94 |
<?php
|
95 |
}
|
96 |
|
97 |
+
// render header javascripts
|
98 |
+
if ( method_exists ( $html, 'cmp_head_scripts' ) ) {
|
99 |
+
$html->cmp_head_scripts();
|
100 |
}
|
101 |
|
102 |
// echo pattern copyright
|
themes/construct/style.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
/*
|
2 |
Theme Name: Construct
|
3 |
Theme URI: http://cmp.niteothemes.com/?cmp_preview=true&theme=construct
|
4 |
-
Author:
|
5 |
Author URI: https://niteothemes.com
|
6 |
|
7 |
Normalizing styles have been helped along thanks to the fine work of
|
1 |
/*
|
2 |
Theme Name: Construct
|
3 |
Theme URI: http://cmp.niteothemes.com/?cmp_preview=true&theme=construct
|
4 |
+
Author: NiteoThemes
|
5 |
Author URI: https://niteothemes.com
|
6 |
|
7 |
Normalizing styles have been helped along thanks to the fine work of
|
themes/countdown/countdown-theme.php
CHANGED
@@ -106,10 +106,11 @@
|
|
106 |
<?php
|
107 |
}
|
108 |
|
109 |
-
// render javascripts
|
110 |
-
if ( method_exists ( $html, '
|
111 |
-
$html->
|
112 |
}
|
|
|
113 |
|
114 |
// echo pattern copyright
|
115 |
if ( $niteoCS_banner == 3 ) {
|
106 |
<?php
|
107 |
}
|
108 |
|
109 |
+
// render header javascripts
|
110 |
+
if ( method_exists ( $html, 'cmp_head_scripts' ) ) {
|
111 |
+
$html->cmp_head_scripts();
|
112 |
}
|
113 |
+
|
114 |
|
115 |
// echo pattern copyright
|
116 |
if ( $niteoCS_banner == 3 ) {
|
themes/countdown/style.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
/*
|
2 |
Theme Name: Countdown
|
3 |
Theme URI: http://cmp.niteothemes.com/?cmp_preview=true&theme=countdown
|
4 |
-
Author:
|
5 |
Author URI: https//niteothemes.com
|
6 |
|
7 |
Normalizing styles have been helped along thanks to the fine work of
|
1 |
/*
|
2 |
Theme Name: Countdown
|
3 |
Theme URI: http://cmp.niteothemes.com/?cmp_preview=true&theme=countdown
|
4 |
+
Author: NiteoThemes
|
5 |
Author URI: https//niteothemes.com
|
6 |
|
7 |
Normalizing styles have been helped along thanks to the fine work of
|
themes/hardwork/hardwork-defaults.php
CHANGED
@@ -14,7 +14,7 @@ $theme_supports = array(
|
|
14 |
$niteoCS_banner = get_option('niteoCS_banner['.$themeslug.']', '4');
|
15 |
$niteoCS_font_headings = get_option('niteoCS_font_headings['.$themeslug.']', 'Playfair Display');
|
16 |
$niteoCS_font_content = get_option('niteoCS_font_content['.$themeslug.']', 'Roboto Slab');
|
17 |
-
$niteoCS_banner_color = get_option('niteoCS_banner_color['.$themeslug.']', '#
|
18 |
|
19 |
$niteoCS_font_color = get_option('niteoCS_font_color['.$themeslug.']', '#494949');
|
20 |
$niteoCS_overlay_color = get_option('niteoCS_overlay_color['.$themeslug.']', '#0a0a0a');
|
14 |
$niteoCS_banner = get_option('niteoCS_banner['.$themeslug.']', '4');
|
15 |
$niteoCS_font_headings = get_option('niteoCS_font_headings['.$themeslug.']', 'Playfair Display');
|
16 |
$niteoCS_font_content = get_option('niteoCS_font_content['.$themeslug.']', 'Roboto Slab');
|
17 |
+
$niteoCS_banner_color = get_option('niteoCS_banner_color['.$themeslug.']', '#e5e5e5');
|
18 |
|
19 |
$niteoCS_font_color = get_option('niteoCS_font_color['.$themeslug.']', '#494949');
|
20 |
$niteoCS_overlay_color = get_option('niteoCS_overlay_color['.$themeslug.']', '#0a0a0a');
|
themes/hardwork/hardwork-theme.php
CHANGED
@@ -13,8 +13,8 @@
|
|
13 |
$themeslug = 'hardwork';
|
14 |
// get theme related settings
|
15 |
$font_color = get_option('niteoCS_font_color['.$themeslug.']', '#494949');
|
16 |
-
$
|
17 |
-
$
|
18 |
$heading_font = get_option('niteoCS_font_headings['.$themeslug.']', 'Playfair Display');
|
19 |
$content_font = get_option('niteoCS_font_content['.$themeslug.']', 'Montserrat');
|
20 |
|
@@ -75,11 +75,10 @@
|
|
75 |
|
76 |
<style>
|
77 |
body,input {font-family:'<?php echo esc_attr($content_font);?>', 'sans-serif';color:<?php echo esc_attr( $font_color ); ?>;}
|
78 |
-
|
79 |
<?php
|
80 |
-
if ( $
|
81 |
-
|
82 |
-
.social-list{background-color: <?php echo $this->hex2rgba( esc_attr( $
|
83 |
<?php
|
84 |
} ?>
|
85 |
a{color:<?php echo esc_attr( $font_color ); ?>;}
|
@@ -100,9 +99,9 @@
|
|
100 |
<?php
|
101 |
}
|
102 |
|
103 |
-
// render javascripts
|
104 |
-
if ( method_exists ( $html, '
|
105 |
-
$html->
|
106 |
}
|
107 |
|
108 |
// echo pattern copyright
|
@@ -116,15 +115,17 @@
|
|
116 |
<body id="body">
|
117 |
<div id="background-wrapper">
|
118 |
|
119 |
-
<?php
|
120 |
-
|
121 |
-
|
122 |
if ( method_exists ( $html, 'cmp_background' ) ) {
|
123 |
echo $html->cmp_background( $niteoCS_background, $themeslug );
|
124 |
-
}
|
125 |
-
|
|
|
|
|
|
|
|
|
|
|
126 |
</div>
|
127 |
-
<div id="background-color"></div>
|
128 |
|
129 |
<section class="section section-body">
|
130 |
<?php
|
13 |
$themeslug = 'hardwork';
|
14 |
// get theme related settings
|
15 |
$font_color = get_option('niteoCS_font_color['.$themeslug.']', '#494949');
|
16 |
+
$overlay_color = get_option('niteoCS_overlay_color['.$themeslug.']', '#0a0a0a');
|
17 |
+
$overlay_opacity = get_option('niteoCS_overlay_opacity['.$themeslug.']', '0');
|
18 |
$heading_font = get_option('niteoCS_font_headings['.$themeslug.']', 'Playfair Display');
|
19 |
$content_font = get_option('niteoCS_font_content['.$themeslug.']', 'Montserrat');
|
20 |
|
75 |
|
76 |
<style>
|
77 |
body,input {font-family:'<?php echo esc_attr($content_font);?>', 'sans-serif';color:<?php echo esc_attr( $font_color ); ?>;}
|
|
|
78 |
<?php
|
79 |
+
if ( $overlay_opacity != '0' ) { ?>
|
80 |
+
.background-overlay {background-color:<?php echo esc_attr( $overlay_color ); ?>;opacity:<?php echo esc_attr( $overlay_opacity ); ?>;}
|
81 |
+
.social-list{background-color: <?php echo $this->hex2rgba( esc_attr( $overlay_color ), 0.4);?>;}
|
82 |
<?php
|
83 |
} ?>
|
84 |
a{color:<?php echo esc_attr( $font_color ); ?>;}
|
99 |
<?php
|
100 |
}
|
101 |
|
102 |
+
// render header javascripts
|
103 |
+
if ( method_exists ( $html, 'cmp_head_scripts' ) ) {
|
104 |
+
$html->cmp_head_scripts();
|
105 |
}
|
106 |
|
107 |
// echo pattern copyright
|
115 |
<body id="body">
|
116 |
<div id="background-wrapper">
|
117 |
|
118 |
+
<?php
|
|
|
|
|
119 |
if ( method_exists ( $html, 'cmp_background' ) ) {
|
120 |
echo $html->cmp_background( $niteoCS_background, $themeslug );
|
121 |
+
}
|
122 |
+
|
123 |
+
if ( $overlay_opacity != '0' ) { ?>
|
124 |
+
|
125 |
+
<div class="background-overlay"></div>
|
126 |
+
<?php
|
127 |
+
} ?>
|
128 |
</div>
|
|
|
129 |
|
130 |
<section class="section section-body">
|
131 |
<?php
|
themes/hardwork/style.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
/*
|
2 |
Theme Name: Hardwork
|
3 |
Theme URI: http://cmp.niteothemes.com/?cmp_preview=true&theme=hardwork
|
4 |
-
Author:
|
5 |
Author URI: https://niteothemes.com
|
6 |
|
7 |
Normalizing styles have been helped along thanks to the fine work of
|
@@ -53,6 +53,7 @@ h1,h2,h3,h4,h5,h6{
|
|
53 |
width: 70%;
|
54 |
max-width: 1170px;
|
55 |
margin: 0 auto;
|
|
|
56 |
}
|
57 |
|
58 |
|
@@ -76,7 +77,8 @@ h1,h2,h3,h4,h5,h6{
|
|
76 |
|
77 |
#background-wrapper,
|
78 |
#background-image,
|
79 |
-
#background-color
|
|
|
80 |
position: absolute;
|
81 |
top: 0;
|
82 |
right: 0;
|
1 |
/*
|
2 |
Theme Name: Hardwork
|
3 |
Theme URI: http://cmp.niteothemes.com/?cmp_preview=true&theme=hardwork
|
4 |
+
Author: NiteoThemes
|
5 |
Author URI: https://niteothemes.com
|
6 |
|
7 |
Normalizing styles have been helped along thanks to the fine work of
|
53 |
width: 70%;
|
54 |
max-width: 1170px;
|
55 |
margin: 0 auto;
|
56 |
+
min-height: calc(100vh - 3em);
|
57 |
}
|
58 |
|
59 |
|
77 |
|
78 |
#background-wrapper,
|
79 |
#background-image,
|
80 |
+
#background-color,
|
81 |
+
.background-overlay {
|
82 |
position: absolute;
|
83 |
top: 0;
|
84 |
right: 0;
|
themes/postery.zip
CHANGED
Binary file
|