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

Version Description

Download this release

Release Info

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

Code changes from version 1.2.1 to 1.2.0

cmp-options.php CHANGED
@@ -275,7 +275,10 @@ if( isset($_POST['submit_theme']) ) {
275
  WP_Filesystem();
276
  $source_path = $movefile['file'];
277
  $theme_name = str_replace('.zip', '', $filename);
278
- $destination_path = plugin_dir_path( __DIR__ ) . 'cmp-premium-themes/';
 
 
 
279
 
280
  // create new theme DIR
281
  if ( wp_mkdir_p( $destination_path ) ) {
@@ -285,9 +288,7 @@ if( isset($_POST['submit_theme']) ) {
285
  if ( $unzipfile ) {
286
  // delete FILE
287
  wp_delete_file( $source_path );
288
- $premium_installed = array_map('basename', glob( $destination_path . '*', GLOB_ONLYDIR));
289
- $theme_array = array_merge( $theme_array, $premium_installed );
290
-
291
  _e('<p class="cmp-success">Successfully installed new Theme!</p>', 'cmp');
292
 
293
  } else {
@@ -416,11 +417,12 @@ add_thickbox();
416
 
417
  <a href="http://comingsoon.niteo.cz/?cmp_preview=true&theme=<?php echo esc_attr($premium_theme['name']);?>" target="_blank"><img src="<?php echo esc_url( plugins_url().'/'.$this->installedFolder.'\/themes/'. $premium_theme['name']. '_thumbnail.jpg' );?>" alt="<?php echo esc_attr(ucwords($premium_theme['name']));?> Premium Theme"></a>
418
  <a class="button" href="<?php echo esc_url($premium_theme['url']);?>" target="_blank">Buy for <?php echo esc_html($premium_theme['price']);?> USD</a>
 
419
  </div>
420
  <?php
421
  } else { ?>
422
  <label title="<?php echo esc_attr($premium_theme['name']);?>">
423
- <img src="<?php echo esc_url( plugins_url().'/cmp-premium-themes/'. $premium_theme['name'] . '/img/'. $premium_theme['name'] . '_thumbnail.jpg' );?>" alt="<?php echo esc_attr(ucwords($premium_theme['name']));?> Premium Theme">
424
  <input type="radio" name="select_theme" value="<?php echo esc_attr($premium_theme['name']);?>" id="displayOption-<?php echo esc_attr($premium_theme['name']);?>"<?php if ( $this->cmp_selectedTheme() == $premium_theme['name'] ) { echo ' checked="checked"'; } ?>>&nbsp;<?php echo ucwords(esc_html(str_replace('_', ' ', $premium_theme['name'])));?>
425
  </label>
426
 
@@ -561,7 +563,7 @@ add_thickbox();
561
 
562
  <fieldset id="default_banner">
563
  <div class="banner-wrapper">
564
- <img src="<?php echo esc_url($this->cmp_themeDirPath().$this->cmp_selectedTheme().'/img/'.$this->cmp_selectedTheme().'_banner_large.jpg');?>" alt="Default Media">
565
  </div>
566
  <input id="delete-banner" type="button" class="button" value="Remove Banner" />
567
  </fieldset>
@@ -572,8 +574,8 @@ add_thickbox();
572
 
573
  <?php
574
  // include theme slider settings, if exists
575
- if (file_exists($this->cmp_themePath().$selectedTheme.'/'.$selectedTheme.'-slider_settings.php')) {
576
- include ( $this->cmp_themePath().$selectedTheme.'/'.$selectedTheme.'-slider_settings.php' );
577
  }
578
  ?>
579
 
@@ -681,7 +683,7 @@ add_thickbox();
681
 
682
  <?php
683
  // include theme related settings
684
- include ( $this->cmp_themePath().$selectedTheme.'/'.$selectedTheme.'-settings.php' );
685
  ?>
686
 
687
  <div class="table-wrapper customization" id="subscribe-section">
275
  WP_Filesystem();
276
  $source_path = $movefile['file'];
277
  $theme_name = str_replace('.zip', '', $filename);
278
+ $destination_path = glob( plugin_dir_path( __FILE__ ) . 'themes/' );
279
+ if (isset($destination_path[0])) {
280
+ $destination_path = $destination_path[0];
281
+ }
282
 
283
  // create new theme DIR
284
  if ( wp_mkdir_p( $destination_path ) ) {
288
  if ( $unzipfile ) {
289
  // delete FILE
290
  wp_delete_file( $source_path );
291
+ array_push( $theme_array, $theme_name );
 
 
292
  _e('<p class="cmp-success">Successfully installed new Theme!</p>', 'cmp');
293
 
294
  } else {
417
 
418
  <a href="http://comingsoon.niteo.cz/?cmp_preview=true&theme=<?php echo esc_attr($premium_theme['name']);?>" target="_blank"><img src="<?php echo esc_url( plugins_url().'/'.$this->installedFolder.'\/themes/'. $premium_theme['name']. '_thumbnail.jpg' );?>" alt="<?php echo esc_attr(ucwords($premium_theme['name']));?> Premium Theme"></a>
419
  <a class="button" href="<?php echo esc_url($premium_theme['url']);?>" target="_blank">Buy for <?php echo esc_html($premium_theme['price']);?> USD</a>
420
+
421
  </div>
422
  <?php
423
  } else { ?>
424
  <label title="<?php echo esc_attr($premium_theme['name']);?>">
425
+ <img src="<?php echo esc_url( plugins_url().'/'.$this->installedFolder.'\/themes/'. $premium_theme['name'] . '/img/'. $premium_theme['name'] . '_thumbnail.jpg' );?>" alt="<?php echo esc_attr(ucwords($premium_theme['name']));?> Premium Theme">
426
  <input type="radio" name="select_theme" value="<?php echo esc_attr($premium_theme['name']);?>" id="displayOption-<?php echo esc_attr($premium_theme['name']);?>"<?php if ( $this->cmp_selectedTheme() == $premium_theme['name'] ) { echo ' checked="checked"'; } ?>>&nbsp;<?php echo ucwords(esc_html(str_replace('_', ' ', $premium_theme['name'])));?>
427
  </label>
428
 
563
 
564
  <fieldset id="default_banner">
565
  <div class="banner-wrapper">
566
+ <img src="<?php echo esc_url( plugins_url().'/'.$this->installedFolder. '/themes/'.$this->cmp_selectedTheme().'/img/'.$this->cmp_selectedTheme().'_banner_large.jpg');?>" alt="Default Media">
567
  </div>
568
  <input id="delete-banner" type="button" class="button" value="Remove Banner" />
569
  </fieldset>
574
 
575
  <?php
576
  // include theme slider settings, if exists
577
+ if (file_exists(dirname(__FILE__) . '/themes/'.$selectedTheme.'/'.$selectedTheme.'-slider_settings.php')) {
578
+ include ( dirname(__FILE__) . '/themes/'.$selectedTheme.'/'.$selectedTheme.'-slider_settings.php' );
579
  }
580
  ?>
581
 
683
 
684
  <?php
685
  // include theme related settings
686
+ include ( 'themes/'.$selectedTheme.'/'.$selectedTheme.'-settings.php' );
687
  ?>
688
 
689
  <div class="table-wrapper customization" id="subscribe-section">
languages/coming-soon-default.mo CHANGED
Binary file
languages/coming-soon-default.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2017-04-02 20:39+0200\n"
5
- "PO-Revision-Date: 2017-04-02 20:39+0200\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en\n"
@@ -67,8 +67,7 @@ msgstr ""
67
  msgid "Status"
68
  msgstr ""
69
 
70
- #: cmp-options.php:357 cmp-options.php:701 themes/frame/frame-settings.php:109
71
- #: themes/hardwork_premium/hardwork_premium-slider_settings.php:61
72
  msgid "Disabled"
73
  msgstr ""
74
 
@@ -380,13 +379,11 @@ msgid "Please insert valid email."
380
  msgstr ""
381
 
382
  #: themes/construct/construct-settings.php:37
383
- #: themes/frame/frame-settings.php:151 themes/hardwork/hardwork-settings.php:52
384
- #: themes/hardwork_premium/hardwork_premium-settings.php:51
385
  msgid "Customize Colors"
386
  msgstr ""
387
 
388
  #: themes/construct/construct-settings.php:40
389
- #: themes/frame/frame-settings.php:154
390
  msgid "Active Color"
391
  msgstr ""
392
 
@@ -395,8 +392,7 @@ msgid "Headings and active elements color (buttons, hover links, etc)."
395
  msgstr ""
396
 
397
  #: themes/construct/construct-settings.php:49
398
- #: themes/frame/frame-settings.php:164 themes/hardwork/hardwork-settings.php:56
399
- #: themes/hardwork_premium/hardwork_premium-settings.php:55
400
  msgid "Font Color"
401
  msgstr ""
402
 
@@ -404,130 +400,14 @@ msgstr ""
404
  msgid "Background Color"
405
  msgstr ""
406
 
407
- #: themes/frame/frame-settings.php:92
408
- msgid "Countdown Timer Setup"
409
- msgstr ""
410
-
411
- #: themes/frame/frame-settings.php:98 themes/frame/frame-settings.php:124
412
- msgid "Counter setup"
413
- msgstr ""
414
-
415
- #: themes/frame/frame-settings.php:103
416
- #: themes/hardwork_premium/hardwork_premium-slider_settings.php:55
417
- msgid "Enabled"
418
- msgstr ""
419
-
420
- #: themes/frame/frame-settings.php:117
421
- msgid "Countdown Timer is disabled."
422
- msgstr ""
423
-
424
- #: themes/frame/frame-settings.php:121
425
- msgid "Click on date input and set a date & time for a Countdown timer."
426
- msgstr ""
427
-
428
- #: themes/frame/frame-settings.php:127
429
- msgid "Select Date.."
430
- msgstr ""
431
-
432
- #: themes/frame/frame-settings.php:129
433
- msgid "Countdown action:"
434
- msgstr ""
435
-
436
- #: themes/frame/frame-settings.php:131
437
- msgid "No action"
438
- msgstr ""
439
-
440
- #: themes/frame/frame-settings.php:132
441
- msgid "Display custom text"
442
- msgstr ""
443
-
444
- #: themes/frame/frame-settings.php:133
445
- msgid "Disable CMP Plugin Page"
446
- msgstr ""
447
-
448
- #: themes/frame/frame-settings.php:134
449
- msgid "URL redirect"
450
- msgstr ""
451
-
452
- #: themes/frame/frame-settings.php:137
453
- msgid "Enter custom text"
454
- msgstr ""
455
-
456
- #: themes/frame/frame-settings.php:141
457
- msgid "Enter redirect URL"
458
- msgstr ""
459
-
460
- #: themes/frame/frame-settings.php:173
461
- msgid "Frame Background Color"
462
- msgstr ""
463
-
464
- #: themes/frame/frame-settings.php:183 themes/hardwork/hardwork-settings.php:64
465
- #: themes/hardwork_premium/hardwork_premium-settings.php:63
466
  msgid "Overlay Color"
467
  msgstr ""
468
 
469
- #: themes/frame/frame-settings.php:189 themes/hardwork/hardwork-settings.php:73
470
- #: themes/hardwork_premium/hardwork_premium-settings.php:72
471
- msgid "Overlay Opacity"
472
- msgstr ""
473
-
474
- #: themes/frame/frame-theme.php:252
475
- msgid "DAYS"
476
- msgstr ""
477
-
478
- #: themes/frame/frame-theme.php:258
479
- msgid "HOURS"
480
- msgstr ""
481
-
482
- #: themes/frame/frame-theme.php:265
483
- msgid "MINUTES"
484
- msgstr ""
485
-
486
- #: themes/frame/frame-theme.php:271
487
- msgid "SECONDS"
488
- msgstr ""
489
-
490
- #: themes/frame/frame-theme.php:297
491
- msgid "Insert your email address"
492
- msgstr ""
493
-
494
  #: themes/hardwork/hardwork-settings.php:67
495
- #: themes/hardwork_premium/hardwork_premium-settings.php:66
496
  msgid "Enable Overlay Color"
497
  msgstr ""
498
 
499
- #: themes/hardwork_premium/hardwork_premium-slider_settings.php:44
500
- msgid "Slider Setup"
501
- msgstr ""
502
-
503
- #: themes/hardwork_premium/hardwork_premium-slider_settings.php:50
504
- #: themes/hardwork_premium/hardwork_premium-slider_settings.php:76
505
- msgid "Slider setup"
506
- msgstr ""
507
-
508
- #: themes/hardwork_premium/hardwork_premium-slider_settings.php:69
509
- msgid "Slider is disabled."
510
- msgstr ""
511
-
512
- #: themes/hardwork_premium/hardwork_premium-slider_settings.php:73
513
- msgid ""
514
- "To display Slider on CMP Landing page make sure you inserted two or more "
515
- "Custom Photos from Media Library. Slider is also disabled when Specific "
516
- "Unsplash photo or Default Media is selected."
517
- msgstr ""
518
-
519
- #: themes/hardwork_premium/hardwork_premium-slider_settings.php:81
520
- msgid "Slide"
521
- msgstr ""
522
-
523
- #: themes/hardwork_premium/hardwork_premium-slider_settings.php:85
524
- msgid "Fade"
525
- msgstr ""
526
-
527
- #: themes/hardwork_premium/hardwork_premium-slider_settings.php:91
528
- msgid "Slider Autostart"
529
- msgstr ""
530
-
531
- #: themes/hardwork_premium/hardwork_premium-slider_settings.php:94
532
- msgid "Number of Unplash media Slides"
533
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2017-04-13 14:36+0200\n"
5
+ "PO-Revision-Date: 2017-04-13 14:36+0200\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en\n"
67
  msgid "Status"
68
  msgstr ""
69
 
70
+ #: cmp-options.php:357 cmp-options.php:701
 
71
  msgid "Disabled"
72
  msgstr ""
73
 
379
  msgstr ""
380
 
381
  #: themes/construct/construct-settings.php:37
382
+ #: themes/hardwork/hardwork-settings.php:52
 
383
  msgid "Customize Colors"
384
  msgstr ""
385
 
386
  #: themes/construct/construct-settings.php:40
 
387
  msgid "Active Color"
388
  msgstr ""
389
 
392
  msgstr ""
393
 
394
  #: themes/construct/construct-settings.php:49
395
+ #: themes/hardwork/hardwork-settings.php:56
 
396
  msgid "Font Color"
397
  msgstr ""
398
 
400
  msgid "Background Color"
401
  msgstr ""
402
 
403
+ #: themes/hardwork/hardwork-settings.php:64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
404
  msgid "Overlay Color"
405
  msgstr ""
406
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
407
  #: themes/hardwork/hardwork-settings.php:67
 
408
  msgid "Enable Overlay Color"
409
  msgstr ""
410
 
411
+ #: themes/hardwork/hardwork-settings.php:73
412
+ msgid "Overlay Opacity"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
413
  msgstr ""
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: 1.2.1
7
  Author: NiteoThemes
8
  Author URI: http://www.niteo.cz
9
  Text Domain: cmp
@@ -87,16 +87,8 @@ class niteo_cmp {
87
  }
88
 
89
  function cmp_admin_options() {
90
-
91
  // get all installed themes [folder names under /themes] and put them to array
92
  $theme_array = array_map('basename', glob( plugin_dir_path( __FILE__ ) . 'themes/*', GLOB_ONLYDIR));
93
-
94
- // check for installed premium themes
95
- if ( file_exists(plugin_dir_path( __DIR__ ) . 'cmp-premium-themes/') ) {
96
- $premium_installed = array_map('basename', glob( plugin_dir_path( __DIR__ ) . 'cmp-premium-themes/*', GLOB_ONLYDIR));
97
- $theme_array = array_merge($theme_array, $premium_installed);
98
- }
99
-
100
  // get current theme
101
  $selectedTheme = $this->cmp_selectedTheme();
102
 
@@ -113,16 +105,16 @@ class niteo_cmp {
113
  if ( isset($_GET['theme']) && !empty($_GET['theme']) ) {
114
  $theme_preview = $_GET['theme'];
115
  // render html theme page
116
- if ( file_exists($this->cmp_themePath().$theme_preview.'/'.$theme_preview.'-theme.php') ) {
117
- require_once ($this->cmp_themePath().$theme_preview.'/'.$theme_preview.'-theme.php');
118
  die();
119
  }
120
 
121
  }
122
 
123
  // render html theme page
124
- if ( file_exists($this->cmp_themePath().$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-theme.php') ) {
125
- require_once ($this->cmp_themePath().$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-theme.php');
126
  die();
127
  }
128
  }
@@ -163,8 +155,8 @@ class niteo_cmp {
163
  }
164
 
165
  // render html theme page
166
- if ( file_exists($this->cmp_themePath().$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-theme.php') ) {
167
- require_once ($this->cmp_themePath().$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-theme.php');
168
  die();
169
  }
170
 
@@ -206,28 +198,6 @@ class niteo_cmp {
206
  return get_option('niteoCS_theme');
207
  }
208
 
209
- // return installed theme path
210
- function cmp_themePath() {
211
- if ( $this->niteo_in_array_r($this->cmp_selectedTheme(), $this->cmp_plugin_premium() ) ) {
212
- return plugin_dir_path( __DIR__ ) . 'cmp-premium-themes/';
213
- } else {
214
-
215
- return dirname(__FILE__) . '/themes/';
216
- }
217
-
218
- }
219
-
220
- // return installed theme dir
221
- function cmp_themeDirPath() {
222
- if ( $this->niteo_in_array_r($this->cmp_selectedTheme(), $this->cmp_plugin_premium() ) ) {
223
- return WP_PLUGIN_URL . '/cmp-premium-themes/';
224
- } else {
225
-
226
- return WP_PLUGIN_URL . '/cmp-coming-soon-maintenance/themes/';
227
- }
228
-
229
- }
230
-
231
  // display admin notice
232
  function cmp_admin_bar(){
233
  global $wp_admin_bar;
@@ -297,8 +267,8 @@ class niteo_cmp {
297
  // returns list of premium themes => manually defined
298
  function cmp_plugin_premium() {
299
  $premium_themes = array();
300
- array_push( $premium_themes, array('name' => 'frame', 'url' => 'https://creativemarket.com/NiteoThemes/1373921-CMP-Frame-Coming-Soon-WP-Theme', 'price' => '10') );
301
- array_push( $premium_themes, array('name' => 'hardwork_premium', 'url' => 'https://creativemarket.com/NiteoThemes/1385251-CMP-Hardwork-Premium-Maintenance', 'price' => '10') );
302
  return $premium_themes;
303
  }
304
 
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: 1.2.0
7
  Author: NiteoThemes
8
  Author URI: http://www.niteo.cz
9
  Text Domain: cmp
87
  }
88
 
89
  function cmp_admin_options() {
 
90
  // get all installed themes [folder names under /themes] and put them to array
91
  $theme_array = array_map('basename', glob( plugin_dir_path( __FILE__ ) . 'themes/*', GLOB_ONLYDIR));
 
 
 
 
 
 
 
92
  // get current theme
93
  $selectedTheme = $this->cmp_selectedTheme();
94
 
105
  if ( isset($_GET['theme']) && !empty($_GET['theme']) ) {
106
  $theme_preview = $_GET['theme'];
107
  // render html theme page
108
+ if ( file_exists(dirname(__FILE__) . '/themes/'.$theme_preview.'/'.$theme_preview.'-theme.php') ) {
109
+ require_once (dirname(__FILE__) . '/themes/'.$theme_preview.'/'.$theme_preview.'-theme.php');
110
  die();
111
  }
112
 
113
  }
114
 
115
  // render html theme page
116
+ if ( file_exists(dirname(__FILE__) . '/themes/'.$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-theme.php') ) {
117
+ require_once (dirname(__FILE__) . '/themes/'.$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-theme.php');
118
  die();
119
  }
120
  }
155
  }
156
 
157
  // render html theme page
158
+ if ( file_exists(dirname(__FILE__) . '/themes/'.$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-theme.php') ) {
159
+ require_once (dirname(__FILE__) . '/themes/'.$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-theme.php');
160
  die();
161
  }
162
 
198
  return get_option('niteoCS_theme');
199
  }
200
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
201
  // display admin notice
202
  function cmp_admin_bar(){
203
  global $wp_admin_bar;
267
  // returns list of premium themes => manually defined
268
  function cmp_plugin_premium() {
269
  $premium_themes = array();
270
+ array_push($premium_themes, array('name' => 'frame', 'url' => 'https://creativemarket.com/NiteoThemes/1373921-CMP-Frame-Coming-Soon-WP-Theme', 'price' => '10'));
271
+ array_push($premium_themes, array('name' => 'hardwork_premium', 'url' => 'https://creativemarket.com/NiteoThemes/1385251-CMP-Hardwork-Premium-Maintenance', 'price' => '10'));
272
  return $premium_themes;
273
  }
274
 
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.7.2
7
- Stable tag: 1.2.1
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -15,10 +15,10 @@ Create and customize your own landing page for Coming soon Page or Maintenance m
15
  Free plugin to create and customize your own Coming Soon or Maintenance landing page. Setup custom logos, background graphics, texts, subscribe form, your social networks, fonts and colors, and many more.
16
 
17
  <h3>Preview</h3>
18
- <a href="http://cmp.niteo.cz/?cmp_preview=true&theme=construct" target="_blank">Click for preview of Construct Theme >></a><br>
19
- <a href="http://cmp.niteo.cz/?cmp_preview=true&theme=hardwork" target="_blank">Click for preview of Hardwork Theme >></a>
20
- <a href="http://cmp.niteo.cz/?cmp_preview=true&theme=hardwork_premium" target="_blank">Click for preview of Hardwork Premium Theme >></a>
21
- <a href="http://cmp.niteo.cz/?cmp_preview=true&theme=frame" target="_blank">Click for preview of Frame Theme >></a>
22
 
23
  <h3>Features</h3>
24
  <ul>
@@ -54,7 +54,7 @@ Free plugin to create and customize your own Coming Soon or Maintenance landing
54
  <ul>
55
  <li>Navigate to the 'Add New' in the plugins dashboard</li>
56
  <li>Navigate to the 'Upload' area</li>
57
- <li>Download <code>cmp-coming-soon-maintenance.zip</code> and select <code>cmp-coming-soon-maintenance.zip</code> from your directory</li>
58
  <li>Click 'Install Now'</li>
59
  <li>Activate the plugin in the Plugin dashboard</li>
60
  <li>To Setup click Settings->CMP Settings and change the settings there</li>
@@ -64,8 +64,8 @@ Free plugin to create and customize your own Coming Soon or Maintenance landing
64
  <ul>
65
  <li>Navigate to the 'Add New' in the plugins dashboard</li>
66
  <li>Navigate to the 'Upload' area</li>
67
- <li>Download <code>cmp-coming-soon-maintenance.zip</code> and extract the <code>cmp-coming-soon-maintenance.zip</code> zip file to your computer</li>
68
- <li>Upload the extracted <code>cmp-coming-soon-maintenance</code> directory to the <code>/wp-content/plugins/</code> directory</li>
69
  <li>Activate the plugin in the Plugin dashboard</li>
70
  <li>To Setup click Settings->CMP Settings and change the settings there</li>
71
  </ul>
@@ -99,10 +99,6 @@ Free plugin to create and customize your own Coming Soon or Maintenance landing
99
 
100
 
101
  == Changelog ==
102
- <h4>1.2.1</h4>
103
- <ul>
104
- <li>Resolved issue when plugin update caused deletion of installed Premium themes.</li>
105
- </ul>
106
  <h4>1.2.0</h4>
107
  <ul>
108
  <li>New premium theme: Hardwork Premium</li>
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.7.2
7
+ Stable tag: 1.2.0
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
15
  Free plugin to create and customize your own Coming Soon or Maintenance landing page. Setup custom logos, background graphics, texts, subscribe form, your social networks, fonts and colors, and many more.
16
 
17
  <h3>Preview</h3>
18
+ <a href="http://comingsoon.niteo.cz/?cmp_preview=true&theme=construct" target="_blank">Click for preview of Construct Theme >></a><br>
19
+ <a href="http://comingsoon.niteo.cz/?cmp_preview=true&theme=hardwork" target="_blank">Click for preview of Hardwork Theme >></a>
20
+ <a href="http://comingsoon.niteo.cz/?cmp_preview=true&theme=hardwork_premium" target="_blank">Click for preview of Hardwork Premium Theme >></a>
21
+ <a href="http://comingsoon.niteo.cz/?cmp_preview=true&theme=frame" target="_blank">Click for preview of Frame Theme >></a>
22
 
23
  <h3>Features</h3>
24
  <ul>
54
  <ul>
55
  <li>Navigate to the 'Add New' in the plugins dashboard</li>
56
  <li>Navigate to the 'Upload' area</li>
57
+ <li>Download <code>comingsoon.zip</code> and select <code>comingsoon.zip</code> from your directory</li>
58
  <li>Click 'Install Now'</li>
59
  <li>Activate the plugin in the Plugin dashboard</li>
60
  <li>To Setup click Settings->CMP Settings and change the settings there</li>
64
  <ul>
65
  <li>Navigate to the 'Add New' in the plugins dashboard</li>
66
  <li>Navigate to the 'Upload' area</li>
67
+ <li>Download <code>comingsoon.zip</code> and extract the <code>comingsoon.zip</code> zip file to your computer</li>
68
+ <li>Upload the extracted <code>comingsoon</code> directory to the <code>/wp-content/plugins/</code> directory</li>
69
  <li>Activate the plugin in the Plugin dashboard</li>
70
  <li>To Setup click Settings->CMP Settings and change the settings there</li>
71
  </ul>
99
 
100
 
101
  == Changelog ==
 
 
 
 
102
  <h4>1.2.0</h4>
103
  <ul>
104
  <li>New premium theme: Hardwork Premium</li>
themes/construct/construct-theme.php CHANGED
@@ -143,7 +143,7 @@
143
 
144
  } else {
145
  // set construct img
146
- $banner_url = plugin_dir_url( dirname( __FILE__ ) ) . 'construct/img/construct_banner_'.$size.'.jpg';
147
  }
148
  break;
149
 
@@ -179,7 +179,7 @@
179
 
180
  case '2':
181
  // default image
182
- $banner_url = plugin_dir_url( dirname( __FILE__ ) ) . 'construct/img/construct_banner_'.$size.'.jpg';
183
  break;
184
 
185
  default:
143
 
144
  } else {
145
  // set construct img
146
+ $banner_url = plugin_dir_url( dirname( __FILE__ ) ) . 'hardwork/img/hardwork_banner_'.$size.'.jpg';
147
  }
148
  break;
149
 
179
 
180
  case '2':
181
  // default image
182
+ $banner_url = plugin_dir_url( dirname( __FILE__ ) ) . 'hardwork/img/hardwork_banner_'.$size.'.jpg';
183
  break;
184
 
185
  default: