WP Construction Mode - Version 2.1

Version Description

Download this release

Release Info

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

Code changes from version 2.0 to 2.1

Files changed (2) hide show
  1. readme.txt +4 -2
  2. under-construction.php +3 -3
readme.txt CHANGED
@@ -4,10 +4,10 @@ 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, mailchimp,newsletter,shortcode,contact,form
5
  Requires at least: 3.2
6
  Tested up to: 4.0
7
- Stable tag: 1.91
8
  License: GPLv2 or later
9
 
10
- Hide your entire site, or just a specific page behind an appealing Under Construction template while you build it's being built & collect newsletter signups!
11
  == Description ==
12
 
13
  Set entire website or specific page under construction or maintenance. Admin can still view the site, perfect for developing new websites or pages. <br>
@@ -19,6 +19,8 @@ Set entire website or specific page under construction or maintenance. Admin can
19
  - Change Background: this feature will allow you to choose a background color, or set an image as a background<br>
20
  - Progress Bar & Timer: This will add a progress bar to notify people how long till your site is ready<br>
21
 
 
 
22
  == Installation ==
23
 
24
  1. Upload 'wp-construction-mode' to the '/wp-content/plugins/' directory
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, mailchimp,newsletter,shortcode,contact,form
5
  Requires at least: 3.2
6
  Tested up to: 4.0
7
+ Stable tag: 2.0
8
  License: GPLv2 or later
9
 
10
+ Hide your entire site, or just a specific page behind an appealing Under Construction template while you build it & get newsletter signups!
11
  == Description ==
12
 
13
  Set entire website or specific page under construction or maintenance. Admin can still view the site, perfect for developing new websites or pages. <br>
19
  - Change Background: this feature will allow you to choose a background color, or set an image as a background<br>
20
  - Progress Bar & Timer: This will add a progress bar to notify people how long till your site is ready<br>
21
 
22
+ <br><br>
23
+ Mail Chimp: To setup mailchimp, I recommend using this plugin: https://wordpress.org/plugins/mailchimp-for-wp/ and add shortcode [mc4wp_form] to the text box
24
  == Installation ==
25
 
26
  1. Upload 'wp-construction-mode' to the '/wp-content/plugins/' directory
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: 2.0
7
  Author: SmartCat
8
  Author URI: http://smartcatdesign.net
9
  License: GPL v2
@@ -119,7 +119,7 @@ function set_under_construction() {
119
  }
120
 
121
 
122
- $new_value2 = (($_REQUEST['set_msg']) == "") ? 'Page is currently under construction. ' : ($_REQUEST['set_msg']);
123
  if (get_option($option_name2) !== false) {
124
  update_option($option_name2, $new_value2);
125
  } else {
@@ -137,7 +137,7 @@ function set_under_construction() {
137
  add_option($option_name3, $new_value3);
138
  }
139
 
140
- $new_value4 = (($_REQUEST['set_caption']) == "") ? 'We will be back soon!' : ($_REQUEST['set_caption']);
141
  if (get_option('set_caption') !== false) {
142
  update_option('set_caption', $new_value4);
143
  } else {
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: 2.1
7
  Author: SmartCat
8
  Author URI: http://smartcatdesign.net
9
  License: GPL v2
119
  }
120
 
121
 
122
+ $new_value2 = (($_REQUEST['set_msg']) == "") ? 'Page is currently under construction. ' : (stripslashes( $_REQUEST['set_msg'] ));
123
  if (get_option($option_name2) !== false) {
124
  update_option($option_name2, $new_value2);
125
  } else {
137
  add_option($option_name3, $new_value3);
138
  }
139
 
140
+ $new_value4 = (($_REQUEST['set_caption']) == "") ? 'We will be back soon!' : ( stripslashes( $_REQUEST['set_caption'] ));
141
  if (get_option('set_caption') !== false) {
142
  update_option('set_caption', $new_value4);
143
  } else {