Under Construction - Version 2.15

Version Description

  • 2017/05/29
  • new theme - Puzzles contributed by Ralf Biester
  • removed design survey
Download this release

Release Info

Developer WebFactory
Plugin Icon 128x128 Under Construction
Version 2.15
Comparing to
See all releases

Code changes from version 2.10 to 2.15

images/thumbnails/puzzles.png ADDED
Binary file
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: WebFactory, UnderConstructionPage
3
  Tags: maintenance mode, maintenance page, coming soon page, landing page, under construction
4
  Requires at least: 4.0
5
  Tested up to: 4.7
6
- Stable tag: 2.10
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -16,7 +16,7 @@ Create an Under Construction Page, Maintenance Mode Page or a Landing Page that
16
 
17
  [youtube https://www.youtube.com/watch?v=fqqWrQENSDc]
18
 
19
- A simple, no-nonsense plugin for all those situations when you have to hide the site behind an Under Construction page for a while. Live examples will be up soon on <a href="https://underconstructionpage.com/" rel="friend">Under Construction website</a>. Till then give us a shout on Twitter <a href="http://twitter.com/WebFactoryLtd">@WebFactoryLtd</a> or check out the <a href="https://youtu.be/fqqWrQENSDc">video</a>.
20
 
21
 
22
  **Options**
@@ -91,15 +91,21 @@ Or if needed, upload manually;
91
  19. Light Bulb theme
92
  20. Ambulance theme
93
  21. Laptop theme
94
- 22. Main settings
95
- 23. Design settings
96
- 24. Content settings
97
- 25. Access settings
98
- 26. Support
 
99
 
100
 
101
  == Changelog ==
102
 
 
 
 
 
 
103
  = 2.10 =
104
  * 2017/05/15
105
  * new theme - Laptop
3
  Tags: maintenance mode, maintenance page, coming soon page, landing page, under construction
4
  Requires at least: 4.0
5
  Tested up to: 4.7
6
+ Stable tag: 2.15
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
16
 
17
  [youtube https://www.youtube.com/watch?v=fqqWrQENSDc]
18
 
19
+ A simple, no-nonsense plugin for all those situations when you have to hide the site behind an Under Construction page for a while. Live examples are available on the <a href="https://underconstructionpage.com/" rel="friend">Under Construction website</a>. Give us a shout on Twitter <a href="http://twitter.com/WebFactoryLtd">@WebFactoryLtd</a> or check out the <a href="https://youtu.be/fqqWrQENSDc">video</a>.
20
 
21
 
22
  **Options**
91
  19. Light Bulb theme
92
  20. Ambulance theme
93
  21. Laptop theme
94
+ 22. Puzzles theme contributed by <a href="https://twitter.com/EdelHaut">Ralf Biester</a>
95
+ 23. Main settings
96
+ 24. Design settings
97
+ 25. Content settings
98
+ 26. Access settings
99
+ 27. Support
100
 
101
 
102
  == Changelog ==
103
 
104
+ = 2.15 =
105
+ * 2017/05/29
106
+ * new theme - Puzzles contributed by <a href="https://twitter.com/EdelHaut">Ralf Biester</a>
107
+ * removed design survey
108
+
109
  = 2.10 =
110
  * 2017/05/15
111
  * new theme - Laptop
themes/css/common.css CHANGED
@@ -42,4 +42,7 @@
42
  #login-button a {
43
  padding: 5px;
44
  }
 
 
 
45
  }
42
  #login-button a {
43
  padding: 5px;
44
  }
45
+ #social a i {
46
+ margin: 5px;
47
+ }
48
  }
themes/puzzles/index.php ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * UnderConstructionPage
4
+ * Puzzles theme
5
+ * (c) Web factory Ltd, 2015 - 2017
6
+ */
7
+
8
+
9
+ // this is an include only WP file
10
+ if (!defined('ABSPATH')) {
11
+ die;
12
+ }
13
+ ?>
14
+ <!DOCTYPE html>
15
+ <html lang="en">
16
+ <head>
17
+ <meta charset="utf-8">
18
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
19
+ <meta name="viewport" content="width=device-width, initial-scale=1">
20
+ <title>[title]</title>
21
+ <meta name="description" content="[description]" />
22
+ <meta name="generator" content="[generator]">
23
+ <link rel="stylesheet" href="[theme-url-common]css/bootstrap.min.css?v=[version]" type="text/css">
24
+ <link rel="stylesheet" href="[theme-url]style.css?v=[version]" type="text/css">
25
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400,900">
26
+ [head]
27
+ </head>
28
+
29
+ <body>
30
+ <div class="container">
31
+ <div class="row">
32
+ <div class="col-xs-12 col-md-12 col-lg-12">
33
+ <h1>[heading1]</h1>
34
+ </div>
35
+ </div>
36
+ </div>
37
+
38
+ <div id="hero-image">
39
+ <img src="[theme-url]puzzles.png" alt="We're putting together a new site for you" title="We're putting together a new site for you">
40
+ </div>
41
+ <div class="container">
42
+
43
+ <div class="row">
44
+ <div class="col-xs-12 col-md-8 col-md-offset-2 col-lg-offset-2 col-lg-8">
45
+ <p class="content">[content]</p>
46
+ </div>
47
+ </div>
48
+
49
+ <div class="row" id="social">
50
+ <div class="col-xs-12 col-md-12 col-lg-12">
51
+ [social-icons]
52
+ </div>
53
+ </div>
54
+
55
+ </div>
56
+ [footer]
57
+ </body>
58
+ </html>
themes/puzzles/puzzles.png ADDED
Binary file
themes/puzzles/style.css ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * UnderConstructionPage
3
+ * Puzzles theme CSS
4
+ * (c) Web factory Ltd, 2015 - 2017
5
+ */
6
+
7
+
8
+ html {
9
+ height: 100%;
10
+ padding: 0;
11
+ margin: 0;
12
+ }
13
+
14
+ body {
15
+ font-weight: 400;
16
+ font-size: 14px;
17
+ line-height: 120%;
18
+ color: #414042;
19
+ background: #fcb10d; /* Old browsers */
20
+ background: -moz-linear-gradient(0deg, #fcb10d 0%, #fcb10d 44%, rgba(252, 177, 13, 0.75) 80%, rgba(252, 177, 13, 0.70) 100%); /* FF3.6-15 */
21
+ background: -webkit-linear-gradient(0deg, #fcb10d 0%, #fcb10d 44%, rgba(252, 177, 13, 0.75) 80%, rgba(252, 177, 13, 0.70) 100%); /* Chrome10-25,Safari5.1-6 */
22
+ background: linear-gradient(0deg, #fcb10d 0%, #fcb10d 44%, rgba(252, 177, 13, 0.75) 80%, rgba(252, 177, 13, 0.70) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
23
+ padding: 0;
24
+ margin: 0;
25
+ height: 100%;
26
+ background-repeat: no-repeat;
27
+ background-attachment: fixed;
28
+ }
29
+
30
+ #hero-image {
31
+ text-align: center;
32
+ margin: 0 auto 30px auto;
33
+ }
34
+
35
+ #hero-image img {
36
+ max-width: 80%;
37
+ }
38
+
39
+ h1 {
40
+ font-size: 34px;
41
+ color: #414042;
42
+ font-family: "Roboto", sans-serif;
43
+ font-weight: 900;
44
+ margin: 25px 0 45px 0;
45
+ text-align: center;
46
+ }
47
+
48
+ .content {
49
+ text-align: center;
50
+ font-family: "Helvetica", "Arial", sans-serif;
51
+ }
52
+
53
+ #social {
54
+ text-align: center;
55
+ margin-top: 30px;
56
+ }
57
+
58
+ #social a i {
59
+ color: #414042;
60
+ margin: 10px;
61
+ box-sizing: content-box;
62
+ }
63
+
64
+ #social a:hover i {
65
+ color: #ffffff;
66
+ }
67
+
68
+ @media(max-width:767px) {
69
+ h1 {
70
+ font-size: 28px;
71
+ margin: 10px 0 30px 0;
72
+ }
73
+ #hero-image img {
74
+ max-width: 95%;
75
+ }
76
+ }
under-construction.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin URI: https://underconstructionpage.com/
5
  Description: Hide your site behind a great looking under construction page while you do maintenance work.
6
  Author: Web factory Ltd
7
- Version: 2.10
8
  Author URI: http://www.webfactoryltd.com/
9
  Text Domain: under-construction-page
10
  Domain Path: lang
@@ -253,7 +253,8 @@ class UCP {
253
  $meta = self::get_meta();
254
 
255
  // survey is shown min 5 min after install
256
- if (empty($surveys['designs']) && current_time('timestamp') - $meta['first_install'] > 300) {
 
257
  $open_survey = true;
258
  } else {
259
  $open_survey = false;
@@ -619,7 +620,7 @@ class UCP {
619
  $meta = self::get_meta();
620
 
621
  if (empty($notices['dismiss_rate']) &&
622
- (current_time('timestamp') - $meta['first_install']) > (DAY_IN_SECONDS * 3)) {
623
  $rate_url = 'https://wordpress.org/support/plugin/under-construction-page/reviews/?rate=5#new-post';
624
  $dismiss_url = add_query_arg(array('action' => 'ucp_dismiss_notice', 'notice' => 'rate', 'redirect' => urlencode($_SERVER['REQUEST_URI'])), admin_url('admin.php'));
625
 
@@ -1115,7 +1116,8 @@ class UCP {
1115
  'rocket_2' => __('Rocket Launch #2', 'under-construction-page'),
1116
  'light_bulb' => __('Light Bulb', 'under-construction-page'),
1117
  'ambulance' => __('Ambulance', 'under-construction-page'),
1118
- 'laptop' => __('Laptop', 'under-construction-page'),);
 
1119
  $themes = apply_filters('ucp_themes', $themes);
1120
 
1121
  echo '<table class="form-table">';
4
  Plugin URI: https://underconstructionpage.com/
5
  Description: Hide your site behind a great looking under construction page while you do maintenance work.
6
  Author: Web factory Ltd
7
+ Version: 2.15
8
  Author URI: http://www.webfactoryltd.com/
9
  Text Domain: under-construction-page
10
  Domain Path: lang
253
  $meta = self::get_meta();
254
 
255
  // survey is shown min 5 min after install
256
+ // no survey at the moment
257
+ if (false && empty($surveys['designs']) && current_time('timestamp') - $meta['first_install'] > 300) {
258
  $open_survey = true;
259
  } else {
260
  $open_survey = false;
620
  $meta = self::get_meta();
621
 
622
  if (empty($notices['dismiss_rate']) &&
623
+ (current_time('timestamp') - $meta['first_install']) > (DAY_IN_SECONDS * 2)) {
624
  $rate_url = 'https://wordpress.org/support/plugin/under-construction-page/reviews/?rate=5#new-post';
625
  $dismiss_url = add_query_arg(array('action' => 'ucp_dismiss_notice', 'notice' => 'rate', 'redirect' => urlencode($_SERVER['REQUEST_URI'])), admin_url('admin.php'));
626
 
1116
  'rocket_2' => __('Rocket Launch #2', 'under-construction-page'),
1117
  'light_bulb' => __('Light Bulb', 'under-construction-page'),
1118
  'ambulance' => __('Ambulance', 'under-construction-page'),
1119
+ 'laptop' => __('Laptop', 'under-construction-page'),
1120
+ 'puzzles' => __('Puzzles', 'under-construction-page'));
1121
  $themes = apply_filters('ucp_themes', $themes);
1122
 
1123
  echo '<table class="form-table">';