Version Description
Download this release
Release Info
Developer | niteo |
Plugin | CMP – Coming Soon & Maintenance Plugin by NiteoThemes |
Version | 4.1 |
Comparing to | |
See all releases |
Code changes from version 4.0.20 to 4.1
- img/thumbnails/nova/screenshot1.jpg +0 -0
- img/thumbnails/nova/screenshot2.jpg +0 -0
- img/thumbnails/nova/screenshot3.jpg +0 -0
- img/thumbnails/nova_thumbnail.jpg +0 -0
- img/thumbnails/nova_thumbnail.jpg/357/200/272Zone.Identifier +3 -0
- inc/render/counter.php +1 -0
- inc/render/enqueue-styles.php +1 -1
- inc/render/javascripts.php +1 -1
- inc/settings/settings-counter.php +5 -2
- niteo-cmp.php +9 -8
- readme.txt +5 -1
- themes/nova.txt +4 -0
img/thumbnails/nova/screenshot1.jpg
ADDED
Binary file
|
img/thumbnails/nova/screenshot2.jpg
ADDED
Binary file
|
img/thumbnails/nova/screenshot3.jpg
ADDED
Binary file
|
img/thumbnails/nova_thumbnail.jpg
ADDED
Binary file
|
img/thumbnails/nova_thumbnail.jpg/357/200/272Zone.Identifier
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
[ZoneTransfer]
|
2 |
+
ZoneId=3
|
3 |
+
HostUrl=https://files.slack.com/files-pri/T0ZT75NCR-F0376DF5FFA/download/cmp_nova.jpg
|
inc/render/counter.php
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
$days_label = $translation[3]['translation'];
|
9 |
$date = get_option('niteoCS_counter_date', time() + 86400);
|
10 |
$counter_date = $days_only ? abs(time() - $date)/60/60/24 : $date;
|
|
|
11 |
ob_start();
|
12 |
?>
|
13 |
<div id="counter" class="<?php echo esc_attr( $wrapper_class );?>" data-date="<?php echo esc_attr( $counter_date );?>">
|
8 |
$days_label = $translation[3]['translation'];
|
9 |
$date = get_option('niteoCS_counter_date', time() + 86400);
|
10 |
$counter_date = $days_only ? abs(time() - $date)/60/60/24 : $date;
|
11 |
+
|
12 |
ob_start();
|
13 |
?>
|
14 |
<div id="counter" class="<?php echo esc_attr( $wrapper_class );?>" data-date="<?php echo esc_attr( $counter_date );?>">
|
inc/render/enqueue-styles.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
$ver = $this->cmp_theme_version( $themeslug );
|
4 |
|
5 |
// get font awesome, if subsscribe popup is enabled
|
6 |
if ( get_option('niteoCS_subscribe_type', '2') == '2' && get_option('niteoCS_subscribe_popup', '0') ) {
|
1 |
<?php
|
2 |
|
3 |
+
$ver = CMP_DEBUG ? filemtime($this->cmp_theme_dir( $themeslug ) . $themeslug.'/style.css') : $this->cmp_theme_version( $themeslug );
|
4 |
|
5 |
// get font awesome, if subsscribe popup is enabled
|
6 |
if ( get_option('niteoCS_subscribe_type', '2') == '2' && get_option('niteoCS_subscribe_popup', '0') ) {
|
inc/render/javascripts.php
CHANGED
@@ -422,7 +422,7 @@ if ( isset( $theme_supports['counter_script']) && $theme_supports['counter_scrip
|
|
422 |
|
423 |
if ( $counter_script && get_option('niteoCS_counter', '1') == '1') {
|
424 |
$countdown_action = get_option('niteoCS_countdown_action', 'no-action');
|
425 |
-
$days_counter = array('delta', 'mercury', 'libra', 'thor', 'headliner', 'mosaic', 'saturn');
|
426 |
// counter script for day only
|
427 |
if ( in_array($themeslug, $days_counter) ) { ?>
|
428 |
<script>
|
422 |
|
423 |
if ( $counter_script && get_option('niteoCS_counter', '1') == '1') {
|
424 |
$countdown_action = get_option('niteoCS_countdown_action', 'no-action');
|
425 |
+
$days_counter = array('delta', 'mercury', 'libra', 'thor', 'headliner', 'mosaic', 'saturn', 'nova');
|
426 |
// counter script for day only
|
427 |
if ( in_array($themeslug, $days_counter) ) { ?>
|
428 |
<script>
|
inc/settings/settings-counter.php
CHANGED
@@ -114,9 +114,12 @@ $niteoCS_counter_heading = get_option('niteoCS_counter_heading', 'STAY TUNED, W
|
|
114 |
<h4 for="niteoCS_countdown_redirect" style="padding-top:1em"><?php _e('Enter redirect URL', 'cmp-coming-soon-maintenance');?></h4>
|
115 |
<input type="text" id="niteoCS_countdown_redirect" name="niteoCS_countdown_redirect" value="<?php echo esc_url( $niteoCS_countdown_redirect ); ?>" class="regular-text code"><br>
|
116 |
</div>
|
117 |
-
|
118 |
-
|
119 |
</fieldset>
|
|
|
|
|
|
|
|
|
|
|
120 |
</td>
|
121 |
</tr>
|
122 |
|
114 |
<h4 for="niteoCS_countdown_redirect" style="padding-top:1em"><?php _e('Enter redirect URL', 'cmp-coming-soon-maintenance');?></h4>
|
115 |
<input type="text" id="niteoCS_countdown_redirect" name="niteoCS_countdown_redirect" value="<?php echo esc_url( $niteoCS_countdown_redirect ); ?>" class="regular-text code"><br>
|
116 |
</div>
|
|
|
|
|
117 |
</fieldset>
|
118 |
+
<?php
|
119 |
+
// include custom theme slider settings
|
120 |
+
if ( file_exists( $this->cmp_theme_dir($themeslug).$themeslug.'/counter_settings.php' ) ) {
|
121 |
+
include ( $this->cmp_theme_dir($themeslug).$themeslug.'/counter_settings.php' );
|
122 |
+
} ?>
|
123 |
</td>
|
124 |
</tr>
|
125 |
|
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: 4.
|
7 |
Author: NiteoThemes
|
8 |
Author URI: https://www.niteothemes.com
|
9 |
Text Domain: cmp-coming-soon-maintenance
|
@@ -62,8 +62,8 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
|
|
62 |
|
63 |
// define constants
|
64 |
private function constants() {
|
65 |
-
$this->define( 'CMP_VERSION', '4.
|
66 |
-
$this->define( 'CMP_DEBUG',
|
67 |
$this->define( 'CMP_AUTHOR', 'NiteoThemes' );
|
68 |
$this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
|
69 |
$this->define( 'CMP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
@@ -463,15 +463,18 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
|
|
463 |
public function cmp_premium_themes() {
|
464 |
|
465 |
$premium_themes = array();
|
|
|
|
|
|
|
|
|
466 |
array_push( $premium_themes, array('name' => 'loki', 'url' => 'https://niteothemes.com/downloads/cmp-loki-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=loki', 'price' => '12') );
|
467 |
array_push( $premium_themes, array('name' => 'orion', 'url' => 'https://niteothemes.com/downloads/cmp-orion-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=orion', 'price' => '12') );
|
|
|
|
|
468 |
array_push( $premium_themes, array('name' => 'titan', 'url' => 'https://niteothemes.com/downloads/cmp-titan-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=titan', 'price' => '12') );
|
469 |
array_push( $premium_themes, array('name' => 'saturn', 'url' => 'https://niteothemes.com/downloads/cmp-saturn-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=saturn', 'price' => '12') );
|
470 |
-
array_push( $premium_themes, array('name' => 'mercury', 'url' => 'https://niteothemes.com/downloads/cmp-mercury-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=mercury', 'price' => '10') );
|
471 |
-
array_push( $premium_themes, array('name' => 'fifty', 'url' => 'https://niteothemes.com/downloads/cmp-fifty-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=fifty', 'price' => '10') );
|
472 |
array_push( $premium_themes, array('name' => 'atlas', 'url' => 'https://niteothemes.com/downloads/cmp-atlas-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=atlas', 'price' => '12') );
|
473 |
array_push( $premium_themes, array('name' => 'scout', 'url' => 'https://niteothemes.com/downloads/cmp-scout-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=scout', 'price' => '10') );
|
474 |
-
array_push( $premium_themes, array('name' => 'mosaic', 'url' => 'https://niteothemes.com/downloads/cmp-mosaic-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=mosaic', 'price' => '10') );
|
475 |
array_push( $premium_themes, array('name' => 'libra', 'url' => 'https://niteothemes.com/downloads/cmp-libra-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=libra', 'price' => '10') );
|
476 |
array_push( $premium_themes, array('name' => 'delta', 'url' => 'https://niteothemes.com/downloads/cmp-delta-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=delta', 'price' => '10') );
|
477 |
array_push( $premium_themes, array('name' => 'headliner', 'url' => 'https://niteothemes.com/downloads/cmp-headliner-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=headliner', 'price' => '10') );
|
@@ -482,12 +485,10 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
|
|
482 |
array_push( $premium_themes, array('name' => 'hardwork_premium', 'url' => 'https://niteothemes.com/downloads/cmp-hardwork-premium/?utm_source=cmp&utm_medium=referral&utm_campaign=hardwork_premium', 'price' => '10') );
|
483 |
array_push( $premium_themes, array('name' => 'tempie', 'url' => 'https://niteothemes.com/downloads/cmp-tempie-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=tempie', 'price' => '10') );
|
484 |
array_push( $premium_themes, array('name' => 'stylo', 'url' => 'https://niteothemes.com/downloads/cmp-stylo-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=stylo', 'price' => '10') );
|
485 |
-
array_push( $premium_themes, array('name' => 'apollo', 'url' => 'https://niteothemes.com/downloads/cmp-apollo-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=apollo', 'price' => '10') );
|
486 |
array_push( $premium_themes, array('name' => 'ares', 'url' => 'https://niteothemes.com/downloads/cmp-ares-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=ares', 'price' => '10') );
|
487 |
array_push( $premium_themes, array('name' => 'juno', 'url' => 'https://niteothemes.com/downloads/cmp-juno-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=juno', 'price' => '10') );
|
488 |
array_push( $premium_themes, array('name' => 'pluto', 'url' => 'https://niteothemes.com/downloads/cmp-pluto-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=pluto', 'price' => '10') );
|
489 |
array_push( $premium_themes, array('name' => 'agency', 'url' => 'https://niteothemes.com/downloads/cmp-agency-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=agency', 'price' => '15') );
|
490 |
-
array_push( $premium_themes, array('name' => 'vega', 'url' => 'https://niteothemes.com/downloads/cmp-vega-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=vega', 'price' => '10') );
|
491 |
array_push( $premium_themes, array('name' => 'element', 'url' => 'https://niteothemes.com/downloads/cmp-element-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=element', 'price' => '10') );
|
492 |
array_push( $premium_themes, array('name' => 'postery', 'url' => 'https://niteothemes.com/downloads/cmp-postery/?utm_source=cmp&utm_medium=referral&utm_campaign=postery', 'price' => '10') );
|
493 |
array_push( $premium_themes, array('name' => 'frame', 'url' => 'https://niteothemes.com/downloads/cmp-frame-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=frame', 'price' => '10') );
|
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: 4.1
|
7 |
Author: NiteoThemes
|
8 |
Author URI: https://www.niteothemes.com
|
9 |
Text Domain: cmp-coming-soon-maintenance
|
62 |
|
63 |
// define constants
|
64 |
private function constants() {
|
65 |
+
$this->define( 'CMP_VERSION', '4.1' );
|
66 |
+
$this->define( 'CMP_DEBUG', FALSE );
|
67 |
$this->define( 'CMP_AUTHOR', 'NiteoThemes' );
|
68 |
$this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
|
69 |
$this->define( 'CMP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
463 |
public function cmp_premium_themes() {
|
464 |
|
465 |
$premium_themes = array();
|
466 |
+
array_push( $premium_themes, array('name' => 'nova', 'url' => 'https://niteothemes.com/downloads/cmp-nova-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=nova', 'price' => '12') );
|
467 |
+
array_push( $premium_themes, array('name' => 'mercury', 'url' => 'https://niteothemes.com/downloads/cmp-mercury-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=mercury', 'price' => '10') );
|
468 |
+
array_push( $premium_themes, array('name' => 'fifty', 'url' => 'https://niteothemes.com/downloads/cmp-fifty-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=fifty', 'price' => '10') );
|
469 |
+
array_push( $premium_themes, array('name' => 'apollo', 'url' => 'https://niteothemes.com/downloads/cmp-apollo-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=apollo', 'price' => '10') );
|
470 |
array_push( $premium_themes, array('name' => 'loki', 'url' => 'https://niteothemes.com/downloads/cmp-loki-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=loki', 'price' => '12') );
|
471 |
array_push( $premium_themes, array('name' => 'orion', 'url' => 'https://niteothemes.com/downloads/cmp-orion-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=orion', 'price' => '12') );
|
472 |
+
array_push( $premium_themes, array('name' => 'vega', 'url' => 'https://niteothemes.com/downloads/cmp-vega-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=vega', 'price' => '10') );
|
473 |
+
array_push( $premium_themes, array('name' => 'mosaic', 'url' => 'https://niteothemes.com/downloads/cmp-mosaic-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=mosaic', 'price' => '10') );
|
474 |
array_push( $premium_themes, array('name' => 'titan', 'url' => 'https://niteothemes.com/downloads/cmp-titan-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=titan', 'price' => '12') );
|
475 |
array_push( $premium_themes, array('name' => 'saturn', 'url' => 'https://niteothemes.com/downloads/cmp-saturn-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=saturn', 'price' => '12') );
|
|
|
|
|
476 |
array_push( $premium_themes, array('name' => 'atlas', 'url' => 'https://niteothemes.com/downloads/cmp-atlas-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=atlas', 'price' => '12') );
|
477 |
array_push( $premium_themes, array('name' => 'scout', 'url' => 'https://niteothemes.com/downloads/cmp-scout-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=scout', 'price' => '10') );
|
|
|
478 |
array_push( $premium_themes, array('name' => 'libra', 'url' => 'https://niteothemes.com/downloads/cmp-libra-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=libra', 'price' => '10') );
|
479 |
array_push( $premium_themes, array('name' => 'delta', 'url' => 'https://niteothemes.com/downloads/cmp-delta-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=delta', 'price' => '10') );
|
480 |
array_push( $premium_themes, array('name' => 'headliner', 'url' => 'https://niteothemes.com/downloads/cmp-headliner-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=headliner', 'price' => '10') );
|
485 |
array_push( $premium_themes, array('name' => 'hardwork_premium', 'url' => 'https://niteothemes.com/downloads/cmp-hardwork-premium/?utm_source=cmp&utm_medium=referral&utm_campaign=hardwork_premium', 'price' => '10') );
|
486 |
array_push( $premium_themes, array('name' => 'tempie', 'url' => 'https://niteothemes.com/downloads/cmp-tempie-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=tempie', 'price' => '10') );
|
487 |
array_push( $premium_themes, array('name' => 'stylo', 'url' => 'https://niteothemes.com/downloads/cmp-stylo-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=stylo', 'price' => '10') );
|
|
|
488 |
array_push( $premium_themes, array('name' => 'ares', 'url' => 'https://niteothemes.com/downloads/cmp-ares-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=ares', 'price' => '10') );
|
489 |
array_push( $premium_themes, array('name' => 'juno', 'url' => 'https://niteothemes.com/downloads/cmp-juno-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=juno', 'price' => '10') );
|
490 |
array_push( $premium_themes, array('name' => 'pluto', 'url' => 'https://niteothemes.com/downloads/cmp-pluto-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=pluto', 'price' => '10') );
|
491 |
array_push( $premium_themes, array('name' => 'agency', 'url' => 'https://niteothemes.com/downloads/cmp-agency-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=agency', 'price' => '15') );
|
|
|
492 |
array_push( $premium_themes, array('name' => 'element', 'url' => 'https://niteothemes.com/downloads/cmp-element-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=element', 'price' => '10') );
|
493 |
array_push( $premium_themes, array('name' => 'postery', 'url' => 'https://niteothemes.com/downloads/cmp-postery/?utm_source=cmp&utm_medium=referral&utm_campaign=postery', 'price' => '10') );
|
494 |
array_push( $premium_themes, array('name' => 'frame', 'url' => 'https://niteothemes.com/downloads/cmp-frame-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=frame', 'price' => '10') );
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: coming soon, coming soon page, launch page, maintenance mode, under constr
|
|
5 |
Requires at least: 3.0
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 5.9
|
8 |
-
Stable tag: 4.
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -160,6 +160,10 @@ https://www.youtube.com/watch?v=uxuJfHzwdtE
|
|
160 |
<p>Nothing is better than a good feedback! Please go to <a href="https://wordpress.org/support/plugin/cmp-coming-soon-maintenance/reviews/">Plugin reviews</a> and rate it! Alternatively you can click on a Donate button too!:)</p>
|
161 |
|
162 |
== Changelog ==
|
|
|
|
|
|
|
|
|
163 |
<h4>CMP 4.0.20 - 07-Feb-22</h4>
|
164 |
<ul>
|
165 |
<li>WordPress 4.9 compatibility</li>
|
5 |
Requires at least: 3.0
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 5.9
|
8 |
+
Stable tag: 4.1
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
160 |
<p>Nothing is better than a good feedback! Please go to <a href="https://wordpress.org/support/plugin/cmp-coming-soon-maintenance/reviews/">Plugin reviews</a> and rate it! Alternatively you can click on a Donate button too!:)</p>
|
161 |
|
162 |
== Changelog ==
|
163 |
+
<h4>CMP 4.1 - 11-Mar-22</h4>
|
164 |
+
<ul>
|
165 |
+
<li>New CMP Theme Nova!</li>
|
166 |
+
</ul>
|
167 |
<h4>CMP 4.0.20 - 07-Feb-22</h4>
|
168 |
<ul>
|
169 |
<li>WordPress 4.9 compatibility</li>
|
themes/nova.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
Theme Name: Nova
|
3 |
+
Description: <p>CMP Nova is designed as a coming soon and a maintenance page. This template is styled with picture, video or slider background. If you are a manufacturer of products, you own an e-shop, you are a designer, a photographer, this template is for you. Add a logo, title, information, social icons, countdown, or subscribe form. You can choose from two types of countdown.</p><h4>Main Features</h4><ul><li class="supported"><i class="far fa-check-square" aria-hidden="true"></i> Custom Logo</li><li class="supported"><i class="far fa-check-square" aria-hidden="true"></i> Custom Content</li><li class="supported"><i class="far fa-check-square" aria-hidden="true"></i> Graphic Background including videos</li><li class="supported"><i class="far fa-check-square" aria-hidden="true"></i> Graphic Image Slider</li><li class="supported"><i class="far fa-check-square" aria-hidden="true"></i> Countdown Timer</li><li class="supported"><i class="far fa-check-square" aria-hidden="true"></i> Subscribe Form</li><li class="supported"><i class="far fa-check-square" aria-hidden="true"></i> Social Media</li><li class="supported"><i class="far fa-check-square" aria-hidden="true"></i> Custom Colors</li><li class="supported"><i class="far fa-check-square" aria-hidden="true"></i> Custom Fonts</li><li class="supported"><i class="far fa-check-square" aria-hidden="true"></i> Background Blur Effect</li><li class="supported"><i class="far fa-check-square" aria-hidden="true"></i> Fade in/out Text Effects</li><li class="supported"><i class="far fa-check-square" aria-hidden="true"></i> Background Special Effects</li><li class="supported"><i class="far fa-check-square" aria-hidden="true"></i> Responsive Design</li></ul>
|
4 |
+
|