CMP – Coming Soon & Maintenance Plugin by NiteoThemes - Version 3.3.1

Version Description

Download this release

Release Info

Developer niteo
Plugin Icon 128x128 CMP – Coming Soon & Maintenance Plugin by NiteoThemes
Version 3.3.1
Comparing to
See all releases

Code changes from version 3.3 to 3.3.1

Files changed (3) hide show
  1. inc/class-cmp-render_html.php +7 -2
  2. niteo-cmp.php +15 -15
  3. readme.txt +8 -2
inc/class-cmp-render_html.php CHANGED
@@ -18,6 +18,7 @@ class CMP_Coming_Soon_and_Maintenance_Render_HTML extends CMP_Coming_Soon_and_Ma
18
  case 'fifty':
19
  case 'stylo':
20
  case 'apollo':
 
21
  $this->cmp_slider( $theme );
22
  return;
23
 
@@ -309,6 +310,11 @@ class CMP_Coming_Soon_and_Maintenance_Render_HTML extends CMP_Coming_Soon_and_Ma
309
  $banner_ids = array(35, 36, 37);
310
  $slider_effect = 'mask-transition';
311
  break;
 
 
 
 
 
312
  // case 'vega':
313
  // $niteoCS_banner = '0';
314
  // $banner_ids = array(52, 53);
@@ -1392,12 +1398,11 @@ class CMP_Coming_Soon_and_Maintenance_Render_HTML extends CMP_Coming_Soon_and_Ma
1392
  }
1393
 
1394
  if ( $fa === true ) {
1395
- echo '<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">';
1396
  }
1397
 
1398
  }
1399
 
1400
-
1401
  /**
1402
  * echo custom external CSS or Scripts
1403
  *
18
  case 'fifty':
19
  case 'stylo':
20
  case 'apollo':
21
+ case 'hardwork_premium':
22
  $this->cmp_slider( $theme );
23
  return;
24
 
310
  $banner_ids = array(35, 36, 37);
311
  $slider_effect = 'mask-transition';
312
  break;
313
+ case 'hardwork_premium':
314
+ $niteoCS_banner = '0';
315
+ $banner_ids = array(63, 64, 65);
316
+ $slider_effect = 'true';
317
+ break;
318
  // case 'vega':
319
  // $niteoCS_banner = '0';
320
  // $banner_ids = array(52, 53);
1398
  }
1399
 
1400
  if ( $fa === true ) {
1401
+ echo '<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" >';
1402
  }
1403
 
1404
  }
1405
 
 
1406
  /**
1407
  * echo custom external CSS or Scripts
1408
  *
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: 3.3
7
  Author: NiteoThemes
8
  Author URI: https://www.niteothemes.com
9
  Text Domain: cmp-coming-soon-maintenance
@@ -65,7 +65,7 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
65
 
66
  private function constants() {
67
  // define constants
68
- $this->define( 'CMP_VERSION', '3.3' );
69
  $this->define( 'CMP_DEBUG', FALSE );
70
  $this->define( 'CMP_AUTHOR', 'NiteoThemes' );
71
  $this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
@@ -223,31 +223,31 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
223
 
224
  $premium_themes = array();
225
 
226
- 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') );
227
 
228
- 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') );
229
 
230
- 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') );
231
 
232
- 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') );
233
 
234
- 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') );
235
 
236
- 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') );
237
 
238
- 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') );
239
 
240
- 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') );
241
 
242
- 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') );
243
 
244
- 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') );
245
 
246
- 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') );
247
 
248
- array_push( $premium_themes, array('name' => 'eclipse', 'url' => 'https://niteothemes.com/downloads/cmp-eclipse-theme/&utm_source=cmp&utm_medium=referral&utm_campaign=eclipse', 'price' =>'0') );
249
 
250
- array_push( $premium_themes, array('name' => 'orbit', 'url' => 'https://niteothemes.com/downloads/cmp-orbit-theme/&utm_source=cmp&utm_medium=referral&utm_campaign=orbit', 'price' => '0') );
251
 
252
  return $premium_themes;
253
  }
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: 3.3.1
7
  Author: NiteoThemes
8
  Author URI: https://www.niteothemes.com
9
  Text Domain: cmp-coming-soon-maintenance
65
 
66
  private function constants() {
67
  // define constants
68
+ $this->define( 'CMP_VERSION', '3.3.1' );
69
  $this->define( 'CMP_DEBUG', FALSE );
70
  $this->define( 'CMP_AUTHOR', 'NiteoThemes' );
71
  $this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
223
 
224
  $premium_themes = array();
225
 
226
+ 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') );
227
 
228
+ array_push( $premium_themes, array('name' => 'mercury', 'url' => 'https://niteothemes.com/downloads/cmp-mercury-theme/?utm_sourcee=cmp&utm_medium=referral&utm_campaign=mercury', 'price' => '10') );
229
 
230
+ 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') );
231
 
232
+ 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') );
233
 
234
+ 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') );
235
 
236
+ 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') );
237
 
238
+ 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') );
239
 
240
+ 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') );
241
 
242
+ 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') );
243
 
244
+ 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') );
245
 
246
+ 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') );
247
 
248
+ array_push( $premium_themes, array('name' => 'eclipse', 'url' => 'https://niteothemes.com/downloads/cmp-eclipse-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=eclipse', 'price' =>'0') );
249
 
250
+ array_push( $premium_themes, array('name' => 'orbit', 'url' => 'https://niteothemes.com/downloads/cmp-orbit-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=orbit', 'price' => '0') );
251
 
252
  return $premium_themes;
253
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=KV2JF
4
  Tags: coming soon, landing page, launch page, maintenance mode, under construction
5
  Requires at least: 3.0
6
  Tested up to: 5.1
7
- Stable tag: 3.2.2
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -124,7 +124,13 @@ Packed with functions like Whitelist/Blacklist to enable CMP only on specific pa
124
  <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>
125
 
126
  == Changelog ==
127
- <h4>CMP 3.3 - 267-Feb-19</h4>
 
 
 
 
 
 
128
  <ul>
129
  <li>New CMP Theme: Pluto! Minimalist Theme with beautiful typography, supports Countdown, Subscribe form and Image slider!</li>
130
  <li>New option: Set custom logo size!</li>
4
  Tags: coming soon, landing page, launch page, maintenance mode, under construction
5
  Requires at least: 3.0
6
  Tested up to: 5.1
7
+ Stable tag: 3.3.1
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
124
  <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>
125
 
126
  == Changelog ==
127
+ <h4>CMP 3.3.1 - 27-Feb-19</h4>
128
+ <ul>
129
+ <li>Updated downloadable CMP Themes URL Links.</li>
130
+ </ul>
131
+
132
+
133
+ <h4>CMP 3.3 - 27-Feb-19</h4>
134
  <ul>
135
  <li>New CMP Theme: Pluto! Minimalist Theme with beautiful typography, supports Countdown, Subscribe form and Image slider!</li>
136
  <li>New option: Set custom logo size!</li>