WP Construction Mode - Version 1.8

Version Description

progress bar bug fix

Download this release

Release Info

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

Code changes from version 1.7 to 1.8

library/construction.php CHANGED
@@ -20,10 +20,14 @@
20
  <h3 class="subtitle">
21
  <?php echo $set_caption; ?>
22
  </h3>
23
- <div class="wuc-progress">
24
- <div class="wuc-progress-bar" style="width: <?php echo $wuc_progress; ?>%"></div>
25
- <div class="wuc-progress-number"><?php echo $wuc_progress; ?>% complete</div>
26
- </div>
 
 
 
 
27
  <div class="wuc_icons">
28
  <?php if ($wuc_facebook != '') { ?>
29
  <a href="<?php echo $wuc_facebook; ?>" target="_blank">
20
  <h3 class="subtitle">
21
  <?php echo $set_caption; ?>
22
  </h3>
23
+
24
+ <?php if($wuc_loading != 'none'){ ?>
25
+ <div class="wuc-progress">
26
+ <div class="wuc-progress-bar" style="width: <?php echo $wuc_progress; ?>%"></div>
27
+ <div class="wuc-progress-number"><?php echo $wuc_progress; ?>% complete</div>
28
+ </div>
29
+ <?php }?>
30
+
31
  <div class="wuc_icons">
32
  <?php if ($wuc_facebook != '') { ?>
33
  <a href="<?php echo $wuc_facebook; ?>" target="_blank">
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: smartcat
3
  Donate link: http://smartcatdesign.net
4
  Tags: construction,maintenance,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
5
  Requires at least: 3.2
6
- Tested up to: 3.81
7
- Stable tag: 1.6
8
  License: GPLv2 or later
9
 
10
  Set entire website or specific page under construction or maintenance for all viewers except Admin
@@ -14,13 +14,11 @@ Set entire website or specific page under construction or maintenance. Admin can
14
  - Preview Demo, <a href="http://smartcatdesign.net/wp-construction-mode-demo/" target="_blank" title="WP Construction Mode Demo">click here</a><br>
15
  - Pro version now available, <a href="http://smartcatdesign.net/wp-construction-mode-pro-wordpress-plugin/" target="_blank" title="WP Construction Mode Demo">Go Pro</a><br>
16
  <br>
17
- <em>Coming Soon:</em><br>
18
  - Change Background: this feature will allow you to choose a background color, or set an image as a background<br>
19
  - Progress Bar & Timer: This will add a progress bar to notify people how long till your site is ready<br>
20
  - Support Forum: Do you have any question? Requests? Need Help? <a href="http://smartcatdesign.net/support/">Visit the support forum here</a> <br>
21
 
22
-
23
-
24
  == Installation ==
25
 
26
  1. Upload 'wp-construction-mode' to the '/wp-content/plugins/' directory
@@ -52,3 +50,5 @@ fix bug with blank urls
52
  Minor css fixes
53
  = 1.7 =
54
  Background
 
 
3
  Donate link: http://smartcatdesign.net
4
  Tags: construction,maintenance,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
5
  Requires at least: 3.2
6
+ Tested up to: 3.91
7
+ Stable tag: 1.8
8
  License: GPLv2 or later
9
 
10
  Set entire website or specific page under construction or maintenance for all viewers except Admin
14
  - Preview Demo, <a href="http://smartcatdesign.net/wp-construction-mode-demo/" target="_blank" title="WP Construction Mode Demo">click here</a><br>
15
  - Pro version now available, <a href="http://smartcatdesign.net/wp-construction-mode-pro-wordpress-plugin/" target="_blank" title="WP Construction Mode Demo">Go Pro</a><br>
16
  <br>
17
+ <em>Recently added features:</em><br>
18
  - Change Background: this feature will allow you to choose a background color, or set an image as a background<br>
19
  - Progress Bar & Timer: This will add a progress bar to notify people how long till your site is ready<br>
20
  - Support Forum: Do you have any question? Requests? Need Help? <a href="http://smartcatdesign.net/support/">Visit the support forum here</a> <br>
21
 
 
 
22
  == Installation ==
23
 
24
  1. Upload 'wp-construction-mode' to the '/wp-content/plugins/' directory
50
  Minor css fixes
51
  = 1.7 =
52
  Background
53
+ = 1.8 =
54
+ progress bar bug fix
under-construction.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Construction Mode
4
  Plugin URI: http://smartcatdesign.net/under-construction-maintenance-mode-free-wordpress-plugin/
5
  Description: Display a customizable Under Construction or Coming Soon page for all users who are not logged in. Perfect for developing on a live server!
6
- Version: 1.7
7
  Author: SmartCat
8
  Author URI: http://smartcatdesign.net
9
  License: GPL v2
@@ -205,7 +205,7 @@ function show_uc() {
205
  }
206
  }
207
  }
208
- wp_register_style( 'wuc_style', plugins_url() . '/wp-construction-mode/style/style.css', false, '1.7' );
209
  wp_register_style( 'wuc_font', 'http://fonts.googleapis.com/css?family=Open+Sans:300italic,400,600', false);
210
 
211
  wp_enqueue_style( 'wuc_font' );
3
  Plugin Name: WP Construction Mode
4
  Plugin URI: http://smartcatdesign.net/under-construction-maintenance-mode-free-wordpress-plugin/
5
  Description: Display a customizable Under Construction or Coming Soon page for all users who are not logged in. Perfect for developing on a live server!
6
+ Version: 1.8
7
  Author: SmartCat
8
  Author URI: http://smartcatdesign.net
9
  License: GPL v2
205
  }
206
  }
207
  }
208
+ wp_register_style( 'wuc_style', plugins_url() . '/wp-construction-mode/style/style.css', false, '1.8' );
209
  wp_register_style( 'wuc_font', 'http://fonts.googleapis.com/css?family=Open+Sans:300italic,400,600', false);
210
 
211
  wp_enqueue_style( 'wuc_font' );