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

Version Description

Download this release

Release Info

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

Code changes from version 3.0.1 to 3.0.2

inc/class-cmp-render_html.php CHANGED
@@ -20,6 +20,11 @@ class CMP_Coming_Soon_and_Maintenance_Render_HTML extends CMP_Coming_Soon_and_Ma
20
  $niteoCS_banner = '2';
21
  }
22
 
 
 
 
 
 
23
  switch ( $niteoCS_banner ) {
24
  // custom media
25
  case '0':
@@ -216,25 +221,41 @@ class CMP_Coming_Soon_and_Maintenance_Render_HTML extends CMP_Coming_Soon_and_Ma
216
 
217
  // render slider
218
  public function cmp_slider( $themeslug ) {
219
-
220
- // change to background if preview background is set
221
- if ( isset($_GET['background']) && is_numeric($_GET['background']) ) {
222
- if ( $_GET['background'] != 1 ) {
223
- echo '<div id="background-wrapper">'.$this->cmp_background($_GET['background'], $themeslug).'</div>';
224
- return;
225
- }
226
- }
227
-
228
  $niteoCS_banner = get_option('niteoCS_banner', '1');
229
  $slider_count = get_option('niteoCS_slider_count', '3');
230
  $slider_effect = get_option('niteoCS_slider_effect', 'true');
231
  $slider_autoplay = get_option('niteoCS_slider_auto', '1');
232
-
 
233
  $banner_id = get_option('niteoCS_banner_id');
234
  if ( $banner_id != '' ) {
235
  $banner_ids = explode(',', $banner_id);
236
  }
237
- $size = $this->isMobile() ? 'large' : 'full';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
238
 
239
  // break slider if only one custom image uploaded
240
  if ( $niteoCS_banner == '0' && isset( $banner_ids ) && count( $banner_ids ) < 2 ) {
@@ -413,11 +434,30 @@ class CMP_Coming_Soon_and_Maintenance_Render_HTML extends CMP_Coming_Soon_and_Ma
413
 
414
  $overlay = get_option('niteoCS_overlay', 'solid-color');
415
  $opacity = get_option('niteoCS_overlay[opacity]', '0.4');
 
416
  $html = '';
417
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
418
  switch ( $overlay ) {
419
- case 'solid-color':
420
- $color = get_option('niteoCS_overlay[color]', '#0a0a0a');
421
  $html = '<div class="background-overlay solid-color" style="background-color:'.esc_attr( $color ).';opacity:'.esc_attr( $opacity ).'"></div>';
422
  break;
423
 
@@ -649,6 +689,9 @@ class CMP_Coming_Soon_and_Maintenance_Render_HTML extends CMP_Coming_Soon_and_Ma
649
  case 'hardwork_premium' :
650
  $submit = 'Subscribe';
651
  break;
 
 
 
652
  default:
653
  break;
654
  }
@@ -1310,7 +1353,23 @@ class CMP_Coming_Soon_and_Maintenance_Render_HTML extends CMP_Coming_Soon_and_Ma
1310
  if ( get_option('niteoCS_slider', '0') == 1 ) {
1311
  $slider_effect = get_option('niteoCS_slider_effect', 'true');
1312
  $slider_autoplay = get_option('niteoCS_slider_auto', '1');
1313
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1314
  switch ( $slider_effect ) {
1315
  // slice effect scripts
1316
  case 'slice':
20
  $niteoCS_banner = '2';
21
  }
22
 
23
+ // change image background to default media
24
+ if ( !isset( $_GET['background'] ) && isset($_GET['theme']) ) {
25
+ $niteoCS_banner = '2';
26
+ }
27
+
28
  switch ( $niteoCS_banner ) {
29
  // custom media
30
  case '0':
221
 
222
  // render slider
223
  public function cmp_slider( $themeslug ) {
 
 
 
 
 
 
 
 
 
224
  $niteoCS_banner = get_option('niteoCS_banner', '1');
225
  $slider_count = get_option('niteoCS_slider_count', '3');
226
  $slider_effect = get_option('niteoCS_slider_effect', 'true');
227
  $slider_autoplay = get_option('niteoCS_slider_auto', '1');
228
+ $size = $this->isMobile() ? 'large' : 'full';
229
+
230
  $banner_id = get_option('niteoCS_banner_id');
231
  if ( $banner_id != '' ) {
232
  $banner_ids = explode(',', $banner_id);
233
  }
234
+
235
+ // change slider images for theme preview
236
+ if ( isset($_GET['theme']) && !empty($_GET['theme']) ) {
237
+ $theme = esc_attr( $_GET['theme'] );
238
+ switch ( $theme ) {
239
+ case 'fifty':
240
+ $banner_ids = array(23, 22, 21);
241
+ $slider_effect = 'slice';
242
+ break;
243
+ case 'stylo':
244
+ $banner_ids = array(28, 29, 30, 31, 32);
245
+ $slider_effect = 'true';
246
+ break;
247
+ case 'apollo':
248
+ $banner_ids = array(35, 36, 37);
249
+ $slider_effect = 'mask-transition';
250
+ break;
251
+ case 'vega':
252
+ echo $this->cmp_background( '2', $theme ) ;
253
+ return false;
254
+ break;
255
+ default:
256
+ break;
257
+ }
258
+ }
259
 
260
  // break slider if only one custom image uploaded
261
  if ( $niteoCS_banner == '0' && isset( $banner_ids ) && count( $banner_ids ) < 2 ) {
434
 
435
  $overlay = get_option('niteoCS_overlay', 'solid-color');
436
  $opacity = get_option('niteoCS_overlay[opacity]', '0.4');
437
+ $color = get_option('niteoCS_overlay[color]', '#0a0a0a');
438
  $html = '';
439
 
440
+ // change saved settings for CMP preview
441
+ if ( isset($_GET['theme']) && !empty($_GET['theme']) ) {
442
+ $theme = esc_attr( $_GET['theme'] );
443
+ switch ( $theme ) {
444
+ case 'fifty':
445
+ case 'vega':
446
+ $opacity = '0';
447
+ break;
448
+ case 'stylo':
449
+ $slider_effect = 'true';
450
+ break;
451
+ case 'apollo':
452
+ $color = '#ffffff';
453
+ break;
454
+ default:
455
+ break;
456
+ }
457
+ }
458
+
459
  switch ( $overlay ) {
460
+ case 'solid-color':
 
461
  $html = '<div class="background-overlay solid-color" style="background-color:'.esc_attr( $color ).';opacity:'.esc_attr( $opacity ).'"></div>';
462
  break;
463
 
689
  case 'hardwork_premium' :
690
  $submit = 'Subscribe';
691
  break;
692
+ case 'agency' :
693
+ $niteoCS_subscribe_label = 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.';
694
+ break;
695
  default:
696
  break;
697
  }
1353
  if ( get_option('niteoCS_slider', '0') == 1 ) {
1354
  $slider_effect = get_option('niteoCS_slider_effect', 'true');
1355
  $slider_autoplay = get_option('niteoCS_slider_auto', '1');
1356
+ // change slider images for theme preview
1357
+ if ( isset($_GET['theme']) && !empty($_GET['theme']) ) {
1358
+ $theme = esc_attr( $_GET['theme'] );
1359
+ switch ( $theme ) {
1360
+ case 'fifty':
1361
+ $slider_effect = 'slice';
1362
+ break;
1363
+ case 'stylo':
1364
+ $slider_effect = 'true';
1365
+ break;
1366
+ case 'apollo':
1367
+ $slider_effect = 'mask-transition';
1368
+ break;
1369
+ default:
1370
+ break;
1371
+ }
1372
+ }
1373
  switch ( $slider_effect ) {
1374
  // slice effect scripts
1375
  case 'slice':
inc/settings/settings-slider.php CHANGED
@@ -1,33 +1,32 @@
1
  <?php
2
  defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
3
 
4
- if (isset($_POST['niteoCS_slider_'.$themeslug]) && is_numeric($_POST['niteoCS_slider_'.$themeslug])) {
5
- update_option('niteoCS_slider['.$themeslug.']', sanitize_text_field($_POST['niteoCS_slider_'.$themeslug]));
6
  }
7
 
8
- if (isset($_POST['niteoCS_slider_count_'.$themeslug]) && is_numeric($_POST['niteoCS_slider_count_'.$themeslug])) {
9
- update_option('niteoCS_slider_count['.$themeslug.']', sanitize_text_field($_POST['niteoCS_slider_count_'.$themeslug]));
10
  }
11
 
12
- if (isset($_POST['niteoCS_slider_effect_'.$themeslug])) {
13
- update_option('niteoCS_slider_effect['.$themeslug.']', sanitize_text_field($_POST['niteoCS_slider_effect_'.$themeslug]));
14
  }
15
 
16
  if ( $_SERVER['REQUEST_METHOD'] == 'POST' ) {
17
 
18
- if (isset($_POST['niteoCS_slider_auto_'.$themeslug])) {
19
- update_option('niteoCS_slider_auto['.$themeslug.']', $this->sanitize_checkbox($_POST['niteoCS_slider_auto_'.$themeslug]));
20
  } else {
21
- update_option('niteoCS_slider_auto['.$themeslug.']', 'false');
22
  }
23
  }
24
 
25
- $niteoCS_slider = get_option('niteoCS_slider['.$themeslug.']', '0');
26
- $niteoCS_slider_count = get_option('niteoCS_slider_count['.$themeslug.']', '3');
27
- $niteoCS_slider_effect = get_option('niteoCS_slider_effect['.$themeslug.']', 'true');
28
- $niteoCS_banner = get_option('niteoCS_banner['.$themeslug.']', '0');
29
- $niteoCS_slider_auto = get_option('niteoCS_slider_auto['.$themeslug.']', '1');
30
-
31
 
32
  ?>
33
 
@@ -43,13 +42,13 @@ $niteoCS_slider_auto = get_option('niteoCS_slider_auto['.$themeslug.']', '1');
43
 
44
  <p>
45
  <label title="Enabled">
46
- <input type="radio" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> name="niteoCS_slider_<?php echo esc_attr($themeslug);?>" value="1"<?php checked ( 1, $niteoCS_slider ); ?>>&nbsp;<?php _e('Enabled', 'cmp-coming-soon-maintenance');?>
47
  </label>
48
  </p>
49
 
50
  <p>
51
  <label title="Disabled">
52
- <input type="radio"<?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : ' disabled';?> name="niteoCS_slider_<?php echo esc_attr($themeslug);?>" value="0"<?php checked ( 0, $niteoCS_slider );?>>&nbsp;<?php _e('Disabled', 'cmp-coming-soon-maintenance');?>
53
  </label>
54
  </p>
55
 
@@ -72,20 +71,20 @@ $niteoCS_slider_auto = get_option('niteoCS_slider_auto['.$themeslug.']', '1');
72
  // include Slice option for slider
73
  if ( $this->cmp_selectedTheme() !== 'apollo' ) { ?>
74
  <label title="Slide Effect">
75
- <input type="radio" name="niteoCS_slider_effect_<?php echo esc_attr($themeslug);?>" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="false"<?php checked ( 'false', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Slide', 'cmp-coming-soon-maintenance');?>
76
  </label><br>
77
  <?php
78
  } ?>
79
 
80
  <label title="Fade Effect">
81
- <input type="radio" name="niteoCS_slider_effect_<?php echo esc_attr($themeslug);?>" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="true"<?php checked ( 'true', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Fade', 'cmp-coming-soon-maintenance');?>
82
  </label>
83
 
84
  <?php
85
  // include Slice option for slider
86
  if ( $this->cmp_selectedTheme() == 'fifty' ) { ?>
87
  <br><label title="Slice Effect">
88
- <input type="radio" name="niteoCS_slider_effect_<?php echo esc_attr($themeslug);?>" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="slice"<?php checked ( 'slice', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Slice', 'cmp-coming-soon-maintenance');?>
89
  </label>
90
  <?php
91
  }
@@ -93,7 +92,7 @@ $niteoCS_slider_auto = get_option('niteoCS_slider_auto['.$themeslug.']', '1');
93
  // include Slice option for slider
94
  if ( $this->cmp_selectedTheme() == 'apollo' ) { ?>
95
  <br><label title="Mask Transition Effect">
96
- <input type="radio" name="niteoCS_slider_effect_<?php echo esc_attr( $themeslug );?>" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="mask-transition"<?php checked ( 'mask-transition', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Mask Transition Effect', 'cmp-coming-soon-maintenance');?>
97
  </label>
98
  <?php
99
  } ?>
@@ -101,11 +100,11 @@ $niteoCS_slider_auto = get_option('niteoCS_slider_auto['.$themeslug.']', '1');
101
  </p>
102
 
103
  <p>
104
- <input type="checkbox" name="niteoCS_slider_auto_<?php echo esc_attr( $themeslug );?>" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> id="niteoCS_slider_auto" value="1" <?php checked( '1', $niteoCS_slider_auto ); ?> class="regular-text code"><label for="niteoCS_slider_auto"><?php _e('Slider Autostart', 'cmp-coming-soon-maintenance');?></label><br>
105
  </p>
106
 
107
  <label for="niteoCS_slider_count"><?php _e('Number of Unplash media Slides (applies only for Unsplash photos)', 'cmp-coming-soon-maintenance');?></label><br>
108
- <select name="niteoCS_slider_count_<?php echo esc_attr($themeslug);?>" <?php echo ( $niteoCS_banner != '1' ) ? 'disabled' : '';?>>
109
  <option value="2" <?php if ( $niteoCS_slider_count == '2' ) { echo ' selected="selected"'; } ?>>2</option>
110
  <option value="3" <?php if ( $niteoCS_slider_count == '3' ) { echo ' selected="selected"'; } ?>>3</option>
111
  <option value="4" <?php if ( $niteoCS_slider_count == '4' ) { echo ' selected="selected"'; } ?>>4</option>
@@ -125,28 +124,28 @@ $niteoCS_slider_auto = get_option('niteoCS_slider_auto['.$themeslug.']', '1');
125
  <script>
126
  jQuery(document).ready(function($){
127
  // enable/disable slider
128
- $('#csoptions input[name="niteoCS_slider_<?php echo esc_attr($themeslug);?>"]').bind('change', function(){
129
- if ( jQuery('#csoptions input[name="niteoCS_slider_<?php echo esc_attr($themeslug);?>"]:checked' ).val() == 0 ) {
130
  jQuery('#slider-disabled').css('display','block');
131
  jQuery('#slider-enabled').css('display','none');
132
 
133
- } else if ( jQuery('#csoptions input[name="niteoCS_slider_<?php echo esc_attr($themeslug);?>"]:checked' ).val() == 1 ) {
134
  jQuery('#slider-disabled').css('display','none');
135
  jQuery('#slider-enabled').css('display','block');
136
  }
137
  }).trigger('change');
138
 
139
 
140
- jQuery('#csoptions input[name="niteoCS_banner_<?php echo esc_attr($themeslug);?>"]').bind('change', function () {
141
 
142
- switch( jQuery('#csoptions input[name="niteoCS_banner_<?php echo esc_attr($themeslug);?>"]:checked' ).val() ) {
143
  case '0':
144
  jQuery('.table-wrapper.slider input, .table-wrapper.slider select').prop('disabled', false);
145
- jQuery('#csoptions select[name="niteoCS_slider_count_<?php echo esc_attr($themeslug);?>"]').attr('disabled', true);
146
 
147
  break;
148
  case '1':
149
- if (jQuery('select[name="unsplash_feed_<?php echo esc_attr($themeslug);?>"]').val() != 0 ) {
150
  jQuery('.table-wrapper.slider input, .table-wrapper.slider select').prop('disabled', false);
151
  }
152
  break;
1
  <?php
2
  defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
3
 
4
+ if (isset($_POST['niteoCS_slider']) && is_numeric($_POST['niteoCS_slider'])) {
5
+ update_option('niteoCS_slider', sanitize_text_field($_POST['niteoCS_slider']));
6
  }
7
 
8
+ if (isset($_POST['niteoCS_slider_count']) && is_numeric($_POST['niteoCS_slider_count'])) {
9
+ update_option('niteoCS_slider_count', sanitize_text_field($_POST['niteoCS_slider_count']));
10
  }
11
 
12
+ if (isset($_POST['niteoCS_slider_effect'])) {
13
+ update_option('niteoCS_slider_effect', sanitize_text_field($_POST['niteoCS_slider_effect']));
14
  }
15
 
16
  if ( $_SERVER['REQUEST_METHOD'] == 'POST' ) {
17
 
18
+ if (isset($_POST['niteoCS_slider_auto'])) {
19
+ update_option('niteoCS_slider_auto', $this->sanitize_checkbox($_POST['niteoCS_slider_auto']));
20
  } else {
21
+ update_option('niteoCS_slider_auto', 'false');
22
  }
23
  }
24
 
25
+ $niteoCS_slider = get_option('niteoCS_slider', '0');
26
+ $niteoCS_slider_count = get_option('niteoCS_slider_count', '3');
27
+ $niteoCS_slider_effect = get_option('niteoCS_slider_effect', 'true');
28
+ $niteoCS_banner = get_option('niteoCS_banner', '0');
29
+ $niteoCS_slider_auto = get_option('niteoCS_slider_auto', '1');
 
30
 
31
  ?>
32
 
42
 
43
  <p>
44
  <label title="Enabled">
45
+ <input type="radio" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> name="niteoCS_slider" value="1"<?php checked ( 1, $niteoCS_slider ); ?>>&nbsp;<?php _e('Enabled', 'cmp-coming-soon-maintenance');?>
46
  </label>
47
  </p>
48
 
49
  <p>
50
  <label title="Disabled">
51
+ <input type="radio"<?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : ' disabled';?> name="niteoCS_slider" value="0"<?php checked ( 0, $niteoCS_slider );?>>&nbsp;<?php _e('Disabled', 'cmp-coming-soon-maintenance');?>
52
  </label>
53
  </p>
54
 
71
  // include Slice option for slider
72
  if ( $this->cmp_selectedTheme() !== 'apollo' ) { ?>
73
  <label title="Slide Effect">
74
+ <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="false"<?php checked ( 'false', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Slide', 'cmp-coming-soon-maintenance');?>
75
  </label><br>
76
  <?php
77
  } ?>
78
 
79
  <label title="Fade Effect">
80
+ <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="true"<?php checked ( 'true', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Fade', 'cmp-coming-soon-maintenance');?>
81
  </label>
82
 
83
  <?php
84
  // include Slice option for slider
85
  if ( $this->cmp_selectedTheme() == 'fifty' ) { ?>
86
  <br><label title="Slice Effect">
87
+ <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="slice"<?php checked ( 'slice', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Slice', 'cmp-coming-soon-maintenance');?>
88
  </label>
89
  <?php
90
  }
92
  // include Slice option for slider
93
  if ( $this->cmp_selectedTheme() == 'apollo' ) { ?>
94
  <br><label title="Mask Transition Effect">
95
+ <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="mask-transition"<?php checked ( 'mask-transition', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Mask Transition Effect', 'cmp-coming-soon-maintenance');?>
96
  </label>
97
  <?php
98
  } ?>
100
  </p>
101
 
102
  <p>
103
+ <input type="checkbox" name="niteoCS_slider_auto" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> id="niteoCS_slider_auto" value="1" <?php checked( '1', $niteoCS_slider_auto ); ?> class="regular-text code"><label for="niteoCS_slider_auto"><?php _e('Slider Autostart', 'cmp-coming-soon-maintenance');?></label><br>
104
  </p>
105
 
106
  <label for="niteoCS_slider_count"><?php _e('Number of Unplash media Slides (applies only for Unsplash photos)', 'cmp-coming-soon-maintenance');?></label><br>
107
+ <select name="niteoCS_slider_count" <?php echo ( $niteoCS_banner != '1' ) ? 'disabled' : '';?>>
108
  <option value="2" <?php if ( $niteoCS_slider_count == '2' ) { echo ' selected="selected"'; } ?>>2</option>
109
  <option value="3" <?php if ( $niteoCS_slider_count == '3' ) { echo ' selected="selected"'; } ?>>3</option>
110
  <option value="4" <?php if ( $niteoCS_slider_count == '4' ) { echo ' selected="selected"'; } ?>>4</option>
124
  <script>
125
  jQuery(document).ready(function($){
126
  // enable/disable slider
127
+ $('#csoptions input[name="niteoCS_slider"]').bind('change', function(){
128
+ if ( jQuery('#csoptions input[name="niteoCS_slider"]:checked' ).val() == 0 ) {
129
  jQuery('#slider-disabled').css('display','block');
130
  jQuery('#slider-enabled').css('display','none');
131
 
132
+ } else if ( jQuery('#csoptions input[name="niteoCS_slider"]:checked' ).val() == 1 ) {
133
  jQuery('#slider-disabled').css('display','none');
134
  jQuery('#slider-enabled').css('display','block');
135
  }
136
  }).trigger('change');
137
 
138
 
139
+ jQuery('#csoptions input[name="niteoCS_banner"]').bind('change', function () {
140
 
141
+ switch( jQuery('#csoptions input[name="niteoCS_banner"]:checked' ).val() ) {
142
  case '0':
143
  jQuery('.table-wrapper.slider input, .table-wrapper.slider select').prop('disabled', false);
144
+ jQuery('#csoptions select[name="niteoCS_slider_count"]').attr('disabled', true);
145
 
146
  break;
147
  case '1':
148
+ if (jQuery('select[name="unsplash_feed"]').val() != 0 ) {
149
  jQuery('.table-wrapper.slider input, .table-wrapper.slider select').prop('disabled', false);
150
  }
151
  break;
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.0.1
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.0.1' );
69
  $this->define( 'CMP_DEBUG', FALSE );
70
  $this->define( 'CMP_AUTHOR', 'NiteoThemes' );
71
  $this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
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.0.2
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.0.2' );
69
  $this->define( 'CMP_DEBUG', FALSE );
70
  $this->define( 'CMP_AUTHOR', 'NiteoThemes' );
71
  $this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
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.0
7
- Stable tag: 3.0.1
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -116,6 +116,11 @@ Packed with functions like Whitelist/Blacklist to enable CMP only on specific pa
116
  <p>Everyone loves supports and great feedback! If you find our plugin helpful, you can go to wordpress.org and rate it! alternatively you can click on Donate button :)</p>
117
 
118
  == Changelog ==
 
 
 
 
 
119
  <h4>CMP 3.0.1 - 12-Dec-18</h4>
120
  <ul>
121
  <li>Compatibility with older PHP versions update</li>
4
  Tags: coming soon, landing page, launch page, maintenance mode, under construction
5
  Requires at least: 3.0
6
  Tested up to: 5.0
7
+ Stable tag: 3.0.2
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
116
  <p>Everyone loves supports and great feedback! If you find our plugin helpful, you can go to wordpress.org and rate it! alternatively you can click on Donate button :)</p>
117
 
118
  == Changelog ==
119
+ <h4>CMP 3.0.2 - 13-Dec-18</h4>
120
+ <ul>
121
+ <li>Resolved issue with not functional Slider Settings after update to 3.0. Please also Update all Downloaded Themes.</li>
122
+ </ul>
123
+
124
  <h4>CMP 3.0.1 - 12-Dec-18</h4>
125
  <ul>
126
  <li>Compatibility with older PHP versions update</li>