WP Construction Mode - Version 3.2

Version Description

  • Added Google Analytics support
  • Added a contact form to the pro version
  • Added a client portal with unique username & password login to the pro version
Download this release

Release Info

Developer smartcat
Plugin Icon 128x128 WP Construction Mode
Version 3.2
Comparing to
See all releases

Code changes from version 3.11 to 3.2

admin/form.php CHANGED
@@ -2,6 +2,8 @@
2
  <script type="text/javascript">
3
  jQuery(document).ready( function ($) {
4
 
 
 
5
  <?php if( $template == 'progress'){ ?>
6
  jQuery('.choose-progress').show();
7
  jQuery('.choose-time').hide();
@@ -21,14 +23,24 @@
21
 
22
  <div id="wrapper">
23
  <div id="gopro">
24
- <div class="left">
25
  <h1><b>WP Construction & Maintenance</b></h1>
26
- <em></em>
27
- <div><em>Why go pro?</em> Animated countdown timer, more color customization options, About Us section, Contact Us section, HTML support and more </div>
 
 
 
28
  </div>
29
- <div class="right">
30
- <a href="http://smartcatdesign.net/downloads/construction-mode-v2-pro/" target="_blank" class="button-primary" style="padding: 40px;line-height: 0;font-size: 20px">GO PRO NOW</a>
 
 
 
 
31
  </div>
 
 
 
32
  </div>
33
 
34
  <div class="width25 right">
@@ -97,6 +109,23 @@
97
  </tbody>
98
  </table>
99
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100
 
101
  </div>
102
 
@@ -108,9 +137,12 @@
108
  <thead>
109
  <tr>
110
  <td><a href="#general"><?php _e('General Settings', 'sc-construction'); ?></a></td>
 
111
  <td><a href="#appearance"><?php _e('Appearance', 'sc-construction'); ?></a></td>
112
  <td><a href="#shortcode"><?php _e('Newsletters & Shortcodes', 'sc-construction'); ?></a></td>
113
  <td><a href="#social"><?php _e('Social Icons', 'sc-construction'); ?></a></td>
 
 
114
  <td><a href="#about"><?php _e('About Section', 'sc-construction'); ?></a></td>
115
  <td><a href="#contact"><?php _e('Contact Section', 'sc-construction'); ?></a></td>
116
  </tr>
@@ -125,7 +157,7 @@
125
  <table class="widefat" id="general">
126
  <thead>
127
  <tr>
128
- <th colspan="2">General Settings</th>
129
  </tr>
130
  </thead>
131
  <tbody>
@@ -183,12 +215,19 @@
183
  <option value="90" <?php selected ($percentage == '90'); ?>>90%</option>
184
  </select>
185
  </td>
186
- </tr>
187
- </table>
 
 
 
 
 
 
 
188
  <table class="widefat" id="appearance">
189
  <thead>
190
  <tr>
191
- <th colspan="2">Appearance</th>
192
  </tr>
193
  </thead>
194
  <tbody>
@@ -298,7 +337,7 @@
298
  <table class="widefat" id="social">
299
  <thead>
300
  <tr>
301
- <th colspan="2"><?php _e( 'Social Icons', 'sc-construction'); ?></th>
302
  </tr>
303
  </thead>
304
  <tbody>
@@ -385,38 +424,139 @@
385
  </tbody>
386
  </table>
387
 
388
- <table class="widefat" id="about">
 
389
  <thead>
390
  <tr>
391
- <th colspan="2"><strong><?php _e('About Us', 'sc-construction'); ?></strong></th>
 
 
 
 
 
 
 
392
  </tr>
393
  <tr>
 
394
  <td>
395
- <em>HTML Allowed</em><br>
396
- <div class="proversion">Pro Version</div>
397
- <textarea cols="50" rows="10" disabled=""></textarea>
398
- </td>
399
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
400
  </tr>
401
  </thead>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
402
  </table>
403
 
404
  <table class="widefat" id="contact">
405
  <thead>
406
  <tr>
407
- <th colspan="2"><strong><?php _e('Contact Us', 'sc-construction'); ?></strong></th>
408
  </tr>
 
 
409
  <tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
410
  <td>
411
- <em>HTML Allowed</em><br>
412
- <div class="proversion">Pro Version</div>
413
- <textarea cols="50" rows="10" disabled=""></textarea>
 
 
 
414
 
415
  </td>
416
  </tr>
417
- </tr>
418
- </thead>
419
  </table>
 
 
420
  <div style="text-align: right">
421
  <a target="_blank" href="<?php echo home_url('/'); ?>?smartcat_construction=preview" class="button button-default" style="padding: 17px 22px; line-height: 0">Preview</a>
422
  <input type="submit" name="smartcat_construction_save" value="Update" class="button button-primary" style="padding: 17px 22px; line-height: 0"/>
2
  <script type="text/javascript">
3
  jQuery(document).ready( function ($) {
4
 
5
+ $('.wp-editor-area').attr('disabled', 'disabled')
6
+
7
  <?php if( $template == 'progress'){ ?>
8
  jQuery('.choose-progress').show();
9
  jQuery('.choose-time').hide();
23
 
24
  <div id="wrapper">
25
  <div id="gopro">
26
+ <div class="left width70">
27
  <h1><b>WP Construction & Maintenance</b></h1>
28
+
29
+ <div>
30
+ <p><em>Why go pro?</em></p>
31
+ <p>Animated countdown timer, Client login, custom contact form, more color customization options, About Us section, Contact Us section, HTML support and more</p>
32
+ </div>
33
  </div>
34
+ <div class="left">
35
+ <div class="right">
36
+ <a href="https://smartcatdesign.net/downloads/construction-mode-v2-pro/" target="_blank" class="button-primary" style="padding: 25px;line-height: 0;font-size: 16px">GO PRO NOW</a>
37
+ <a href="https://smartcatdesign.net/smartcat-construction-mode-v2-pro/" target="_blank" class="button-secondary" style="padding: 25px;line-height: 0;font-size: 16px">View Demo</a>
38
+ </div>
39
+
40
  </div>
41
+ <div class="right">
42
+
43
+ </div>
44
  </div>
45
 
46
  <div class="width25 right">
109
  </tbody>
110
  </table>
111
 
112
+ <table class="widefat">
113
+ <thead>
114
+ <tr>
115
+ <th><?php _e("Client Login", "sc-construction") ?></th>
116
+ </tr>
117
+ </thead>
118
+ <tbody>
119
+ <tr>
120
+ <td class='center'>
121
+
122
+ <img src="<?php echo SC_CONSTRUCTION_URL . '/screenshot-4.jpg' ?>" style="width: 100%;"/>
123
+
124
+ </td>
125
+ </tr>
126
+ </tbody>
127
+ </table>
128
+
129
 
130
  </div>
131
 
137
  <thead>
138
  <tr>
139
  <td><a href="#general"><?php _e('General Settings', 'sc-construction'); ?></a></td>
140
+
141
  <td><a href="#appearance"><?php _e('Appearance', 'sc-construction'); ?></a></td>
142
  <td><a href="#shortcode"><?php _e('Newsletters & Shortcodes', 'sc-construction'); ?></a></td>
143
  <td><a href="#social"><?php _e('Social Icons', 'sc-construction'); ?></a></td>
144
+ <td><a href="#contact"><?php _e('Contact Form', 'sc-construction'); ?></a></td>
145
+ <td><a href="#login"><?php _e('Login', 'sc-construction'); ?></a></td>
146
  <td><a href="#about"><?php _e('About Section', 'sc-construction'); ?></a></td>
147
  <td><a href="#contact"><?php _e('Contact Section', 'sc-construction'); ?></a></td>
148
  </tr>
157
  <table class="widefat" id="general">
158
  <thead>
159
  <tr>
160
+ <th colspan="2"><span class="dashicons-admin-tools dashicons"></span> General Settings</th>
161
  </tr>
162
  </thead>
163
  <tbody>
215
  <option value="90" <?php selected ($percentage == '90'); ?>>90%</option>
216
  </select>
217
  </td>
218
+ </tr>
219
+ <tr>
220
+ <td><?php _e( 'Analytics Code', 'sc-construction' ); ?></td>
221
+ <td>
222
+ <textarea name="smartcat_construction_options[analytics]" style="width: 100%" rows="7" placeholder="<?php _e( 'Enter your full Analytics code including the <script> tags', 'sc-construction') ?>"><?php echo isset( $analytics ) ? stripslashes_deep( esc_textarea( $analytics ) ) : ''; ?></textarea>
223
+ </td>
224
+ </tr>
225
+ </table>
226
+
227
  <table class="widefat" id="appearance">
228
  <thead>
229
  <tr>
230
+ <th colspan="2"><span class="dashicons-admin-appearance dashicons"></span> Appearance</th>
231
  </tr>
232
  </thead>
233
  <tbody>
337
  <table class="widefat" id="social">
338
  <thead>
339
  <tr>
340
+ <th colspan="2"><span class="dashicons dashicons-share"></span> <?php _e( 'Social Icons', 'sc-construction'); ?></th>
341
  </tr>
342
  </thead>
343
  <tbody>
424
  </tbody>
425
  </table>
426
 
427
+
428
+ <table class="widefat" id="login">
429
  <thead>
430
  <tr>
431
+ <th colspan="2">
432
+ <span class="dashicons dashicons-lock"></span> <?php _e( 'Client Login', 'sc-construction' ); ?> - <em class="pro">Pro Version</em>
433
+ </th>
434
+ </tr>
435
+ </thead>
436
+ <tbody>
437
+ <tr>
438
+ <td colspan="2"><em><?php _e( 'Use this feature to allow your client & visitors unique access with a username & password', 'sc-construction') ?></em></td>
439
  </tr>
440
  <tr>
441
+ <td><?php _e( 'Enable Client Login ?', 'sc-contruction' ); ?></td>
442
  <td>
443
+ <input type="radio" value="on" disabled="disabled"/> <?php _e( 'Yes', 'sc-conctruction' ); ?><br>
444
+ <input checked="checked" type="radio" value="off" checked="checked" disabled="disabled"/> <?php _e( 'No', 'sc-conctruction' ); ?>
445
+ </td>
 
446
  </tr>
447
+
448
+ <tr>
449
+ <td><?php _e( 'Username', 'sc-construction'); ?></td>
450
+ <td><input type="text" value="client" disabled="disabled"/></td>
451
+ </tr>
452
+
453
+ <tr>
454
+ <td><?php _e( 'Password', 'sc-construction'); ?></td>
455
+ <td><input type="text" value="preview" disabled="disabled" /></td>
456
+ </tr>
457
+
458
+ </tbody>
459
+ </table>
460
+
461
+ <table class="widefat" id="contact">
462
+ <thead>
463
+ <tr>
464
+ <th colspan="2"><span class="dashicons dashicons-email"></span> <?php _e( 'Custom Contact Form', 'sc-construction' ); ?> - <em class="pro">Pro Version</em></th>
465
  </tr>
466
  </thead>
467
+ <tbody>
468
+ <tr>
469
+ <td>
470
+ <?php _e( 'Display Contact form ? ', 'sc-construction' ); ?>
471
+ </td>
472
+ <td>
473
+ <input type="radio" value="on" disabled="disabled"/> Yes <br>
474
+ <input type="radio" value="off" disabled="disabled" checked="checked"/> No <br>
475
+ </td>
476
+ </tr>
477
+ <tr>
478
+ <td><?php _e( 'Delivery Email Address', 'sc-construction' ); ?></td>
479
+ <td>
480
+ <input type="text" value="<?php echo get_option('admin_email'); ?>" disabled="disabled"/>
481
+ </td>
482
+ </tr>
483
+ </tbody>
484
+
485
+ </table>
486
+
487
+ <table class="widefat" id="about">
488
+ <thead>
489
+ <tr>
490
+ <th colspan="2"><strong><span class="dashicons-info dashicons"></span> <?php _e('Section 1 - <em>ex: About Us</em>', 'sc-construction'); ?></strong> - <em class="pro">Pro Version</em></th>
491
+ </tr>
492
+ </thead>
493
+ <tbody>
494
+ <tr>
495
+ <td><?php _e('Show Section 1 ?', 'sc-construction'); ?></td>
496
+ <td>
497
+ <input type="radio" disabled="disabled" /> <?php _e( 'Yes', 'sc-construction') ?>
498
+ <input type="radio" disabled="disabled" checked="checked" /> <?php _e( 'No', 'sc-construction') ?>
499
+ </td>
500
+ </tr>
501
+ <tr>
502
+ <td><?php _e( 'Label', 'sc-construction' ); ?></td>
503
+ <td>
504
+ <input type="text" value="About Us" disabled="disabled"/>
505
+ </td>
506
+ </tr>
507
+ <tr>
508
+ <td>
509
+ <em></em>
510
+ </td>
511
+ <td>
512
+ <?php wp_editor( '', 'smartcat_about', array(
513
+ 'textarea_name' => 'smartcat_construction_options[about]',
514
+ 'tinymce' => false,
515
+ 'media_buttons' => false,
516
+ ) ); ?>
517
+ </td>
518
+ </tr>
519
+ </tbody>
520
+
521
  </table>
522
 
523
  <table class="widefat" id="contact">
524
  <thead>
525
  <tr>
526
+ <th colspan="2"><strong><span class="dashicons dashicons-location"></span> <?php _e('Section 2 - <em>ex: Location</em>', 'sc-construction'); ?></strong> - <em class="pro">Pro Version</em></th>
527
  </tr>
528
+ </thead>
529
+ <tbody>
530
  <tr>
531
+ <td><?php _e('Show Section 2 ?', 'sc-construction'); ?></td>
532
+ <td>
533
+ <input type="radio" name="" disabled="disabled"/> <?php _e( 'Yes', 'sc-construction') ?>
534
+ <input type="radio" name="" disabled="disabled" checked="checked"/> <?php _e( 'No', 'sc-construction') ?>
535
+ </td>
536
+ </tr>
537
+ <tr>
538
+ <td><?php _e( 'Label', 'sc-construction' ); ?></td>
539
+ <td>
540
+ <input type="text" name="" value="Contact Us" disabled="" />
541
+ </td>
542
+ </tr>
543
+ <tr>
544
+ <td><em></em></td>
545
  <td>
546
+
547
+ <?php wp_editor( '', 'smartcat_contact', array(
548
+ 'textarea_name' => '',
549
+ 'tinymce' => false,
550
+ 'media_buttons' => false,
551
+ ) ); ?>
552
 
553
  </td>
554
  </tr>
555
+
556
+ </tbody>
557
  </table>
558
+
559
+
560
  <div style="text-align: right">
561
  <a target="_blank" href="<?php echo home_url('/'); ?>?smartcat_construction=preview" class="button button-default" style="padding: 17px 22px; line-height: 0">Preview</a>
562
  <input type="submit" name="smartcat_construction_save" value="Update" class="button button-primary" style="padding: 17px 22px; line-height: 0"/>
inc/class/class.smartcat-construction.php CHANGED
@@ -6,7 +6,7 @@
6
  */
7
  class SmartcatConstructionPlugin {
8
 
9
- const VERSION = '3.10';
10
 
11
  private static $instance;
12
  private $options;
@@ -45,12 +45,24 @@ class SmartcatConstructionPlugin {
45
  'skype' => '',
46
  'tumblr' => '',
47
  'youtube' => '',
 
48
  );
49
 
50
  if ( !get_option( 'smartcat_construction_options' ) ) {
51
  add_option( 'smartcat_construction_options', $options );
52
  $options[ 'redirect' ] = true;
53
  update_option( 'smartcat_construction_options', $options );
 
 
 
 
 
 
 
 
 
 
 
54
  }
55
 
56
  }
@@ -61,7 +73,12 @@ class SmartcatConstructionPlugin {
61
 
62
  private function add_hooks() {
63
 
64
- add_action( 'init', array( $this, 'escape_catch_redirect') );
 
 
 
 
 
65
  add_action( 'admin_init', array( $this, 'smartcat_construction_activation_redirect' ) );
66
  add_action( 'wp_head', array( $this, 'sc_custom_styles' ) );
67
  add_action( 'admin_enqueue_scripts', array( $this, 'smartcat_construction_load_admin_styles_scripts' ) );
@@ -69,6 +86,25 @@ class SmartcatConstructionPlugin {
69
  add_action( 'admin_bar_menu', array( $this, 'create_admin_bar_menu' ), 1000 );
70
 
71
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
 
73
  public function escape_catch_redirect(){
74
  global $pagenow;
@@ -170,14 +206,7 @@ class SmartcatConstructionPlugin {
170
  }
171
  public function catch_redirect(){
172
 
173
- $current_user = wp_get_current_user();
174
-
175
- if ( isset( $_GET['smartcat_construction'] ) && $_GET['smartcat_construction'] == 'preview') :
176
-
177
- include_once SC_CONSTRUCTION_PATH . 'inc/template/construction.php';
178
- exit();
179
- endif;
180
-
181
 
182
  if (( $this->options['mode'] && !user_can($current_user, 'administrator') && !user_can($current_user, 'editor'))) :
183
  if( $this->options['set_page'] == 'all' || $this->options['set_page'] == get_the_ID() ) :
6
  */
7
  class SmartcatConstructionPlugin {
8
 
9
+ const VERSION = '3.2';
10
 
11
  private static $instance;
12
  private $options;
45
  'skype' => '',
46
  'tumblr' => '',
47
  'youtube' => '',
48
+ 'analytics' => '',
49
  );
50
 
51
  if ( !get_option( 'smartcat_construction_options' ) ) {
52
  add_option( 'smartcat_construction_options', $options );
53
  $options[ 'redirect' ] = true;
54
  update_option( 'smartcat_construction_options', $options );
55
+ }else {
56
+
57
+ $val = get_option('smartcat_construction_options')['analytics'];
58
+
59
+ if( !isset( $val ) ) :
60
+
61
+ $options['analytics'] = '';
62
+ update_option( 'smartcat_construction_options', $options );
63
+
64
+ endif;
65
+
66
  }
67
 
68
  }
73
 
74
  private function add_hooks() {
75
 
76
+ add_action('template_redirect', array( $this, 'preview' ) );
77
+
78
+ if( $this->options['mode'] ) :
79
+ add_action( 'init', array( $this, 'escape_catch_redirect') );
80
+ endif;
81
+
82
  add_action( 'admin_init', array( $this, 'smartcat_construction_activation_redirect' ) );
83
  add_action( 'wp_head', array( $this, 'sc_custom_styles' ) );
84
  add_action( 'admin_enqueue_scripts', array( $this, 'smartcat_construction_load_admin_styles_scripts' ) );
86
  add_action( 'admin_bar_menu', array( $this, 'create_admin_bar_menu' ), 1000 );
87
 
88
  }
89
+
90
+ public function preview() {
91
+
92
+ $file = SC_CONSTRUCTION_PATH . 'inc/template/' . $this->options['display_template'] . '.php';
93
+ $template = null;
94
+
95
+ if ( file_exists( $file ) )
96
+ $template = $file;
97
+ else
98
+ $template = SC_CONSTRUCTION_PATH . 'inc/template/construction.php';
99
+
100
+ if ( isset( $_GET['smartcat_construction'] ) && $_GET['smartcat_construction'] == 'preview') :
101
+
102
+ include_once $template;
103
+ exit();
104
+
105
+ endif;
106
+
107
+ }
108
 
109
  public function escape_catch_redirect(){
110
  global $pagenow;
206
  }
207
  public function catch_redirect(){
208
 
209
+ $current_user = wp_get_current_user();
 
 
 
 
 
 
 
210
 
211
  if (( $this->options['mode'] && !user_can($current_user, 'administrator') && !user_can($current_user, 'editor'))) :
212
  if( $this->options['set_page'] == 'all' || $this->options['set_page'] == get_the_ID() ) :
inc/style/style_admin.css CHANGED
@@ -15,6 +15,11 @@ Each line should be prefixed with
15
  .sc-construction-menu td{
16
  padding: 0;
17
  }
 
 
 
 
 
18
  .sc-construction-menu td a{
19
  padding: 7px 5px;
20
  display: inline-block;
15
  .sc-construction-menu td{
16
  padding: 0;
17
  }
18
+ .pro{
19
+ color: #cc0000;
20
+ font-size: 12px;
21
+ font-weight: 600;
22
+ }
23
  .sc-construction-menu td a{
24
  padding: 7px 5px;
25
  display: inline-block;
inc/template/construction.php CHANGED
@@ -30,7 +30,8 @@
30
  <script type="text/javascript" src="<?php echo SC_CONSTRUCTION_URL . 'inc/script/jquery-2.1.3.min.js'; ?>"></script>
31
 
32
  <script type="text/javascript" src="<?php echo SC_CONSTRUCTION_URL . 'inc/script/script.js'; ?>"></script>
33
-
 
34
  <?php if ( $animation == 'fade' ) { ?>
35
  <script>
36
  jQuery(document).ready(function ($) {
30
  <script type="text/javascript" src="<?php echo SC_CONSTRUCTION_URL . 'inc/script/jquery-2.1.3.min.js'; ?>"></script>
31
 
32
  <script type="text/javascript" src="<?php echo SC_CONSTRUCTION_URL . 'inc/script/script.js'; ?>"></script>
33
+ <?php echo stripslashes_deep( $analytics ); ?>
34
+
35
  <?php if ( $animation == 'fade' ) { ?>
36
  <script>
37
  jQuery(document).ready(function ($) {
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === WP Construction Mode ===
2
  Contributors: smartcat
3
  Donate link: http://smartcatdesign.net/donate
4
- Tags: construction,maintenance,landing,page,admin,under construction,under maintenance,coming soon,administrator,custom message,social,facebook,twitter,google plus,gplus,email,icons,link,instagram,digg,flickr,skype,tumblr,youtube, mailchimp,newsletter,shortcode,contact,form,constant contact
5
  Requires at least: 3.2
6
- Tested up to: 4.2.2
7
- Stable tag: 3.10
8
  License: GPLv2 or later
9
 
10
  Display a customizable Under Construction or Coming Soon landing page for all users except the admin. Perfect for developing on a live server!
@@ -13,6 +13,7 @@ Display a customizable Under Construction or Coming Soon landing page for all us
13
  WP Construction & Maintenance mode allows you to hide your entire site, or a specific page while you build and maintain the site. Your visitors will see a beautiful
14
  landing page, with an optional animated progress bar. This plugin is a must-have for every site, because you can use it when you are first building the site, then later
15
  when you are performing maintenance or edits on pages, you can place only the page you are working on under maintenance, and allow your visitors to continue browsing your site as you develop.
 
16
 
17
  First, activate the plugin. You will be automatically re-directed to the plugin settings page. Switch the plugin on, and open your site in an incognito window, or log out of WordPress
18
  to see the Coming Soon page.
@@ -39,6 +40,16 @@ Available Customizations:
39
  * Loading Animation
40
  * Shortcode( newsletter or contact form )
41
  * Social icons links
 
 
 
 
 
 
 
 
 
 
42
 
43
  == Installation ==
44
 
@@ -53,9 +64,15 @@ Available Customizations:
53
  1. Construction Mode Landing Page
54
  2. Settings Page
55
  3. Pro Version, 1 of many samples
 
56
 
57
  == Changelog ==
58
 
 
 
 
 
 
59
  = 3.01 =
60
  * Added a direct login link from the Construction Page so admins can easily access the login page & site backend
61
  * Added more filtering to avoid conflicts in template_redirect
1
  === WP Construction Mode ===
2
  Contributors: smartcat
3
  Donate link: http://smartcatdesign.net/donate
4
+ Tags: construction,maintenance,landing,page,admin,under construction,under maintenance,coming soon,administrator,custom message,analytics, client portal, login, password, secure, client, social,facebook,twitter,google plus,gplus,email,icons,link,instagram,digg,flickr,skype,tumblr,youtube, mailchimp,newsletter,shortcode,contact,form,constant contact
5
  Requires at least: 3.2
6
+ Tested up to: 4.3.1
7
+ Stable tag: 3.11
8
  License: GPLv2 or later
9
 
10
  Display a customizable Under Construction or Coming Soon landing page for all users except the admin. Perfect for developing on a live server!
13
  WP Construction & Maintenance mode allows you to hide your entire site, or a specific page while you build and maintain the site. Your visitors will see a beautiful
14
  landing page, with an optional animated progress bar. This plugin is a must-have for every site, because you can use it when you are first building the site, then later
15
  when you are performing maintenance or edits on pages, you can place only the page you are working on under maintenance, and allow your visitors to continue browsing your site as you develop.
16
+ Additionally, you can add your Analytics code in the plugin to track how much traffic you are receiving.
17
 
18
  First, activate the plugin. You will be automatically re-directed to the plugin settings page. Switch the plugin on, and open your site in an incognito window, or log out of WordPress
19
  to see the Coming Soon page.
40
  * Loading Animation
41
  * Shortcode( newsletter or contact form )
42
  * Social icons links
43
+ * Google Analytics
44
+
45
+ Pro Version Add-ons:
46
+
47
+ * Client Login with Username & Password
48
+ * Custom Contact Form
49
+ * Stylish Countdown Timer. Set the launch date and create anticipation
50
+ * 2 Additional professional templates
51
+ * 2 Additional WYSIWYG HTML sections
52
+ * Additional animation styles
53
 
54
  == Installation ==
55
 
64
  1. Construction Mode Landing Page
65
  2. Settings Page
66
  3. Pro Version, 1 of many samples
67
+ 4. Pro Version, Client Login
68
 
69
  == Changelog ==
70
 
71
+ = 3.2 =
72
+ * Added Google Analytics support
73
+ * Added a contact form to the pro version
74
+ * Added a client portal with unique username & password login to the pro version
75
+
76
  = 3.01 =
77
  * Added a direct login link from the Construction Page so admins can easily access the login page & site backend
78
  * Added more filtering to avoid conflicts in template_redirect
screenshot-4.jpg ADDED
Binary file
under-construction.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Construction Mode
4
  Plugin URI: http://smartcatdesign.net/downloads/construction-mode-v2-pro/
5
  Description: Display a customizable Under Construction or Coming Soon landing page for all users except the admin. Perfect for developing a new site!
6
- Version: 3.11
7
  Author: SmartCat
8
  Author URI: http://smartcatdesign.net
9
  License: GPL v2
3
  Plugin Name: WP Construction Mode
4
  Plugin URI: http://smartcatdesign.net/downloads/construction-mode-v2-pro/
5
  Description: Display a customizable Under Construction or Coming Soon landing page for all users except the admin. Perfect for developing a new site!
6
+ Version: 3.2
7
  Author: SmartCat
8
  Author URI: http://smartcatdesign.net
9
  License: GPL v2