Version Description
- 2017/05/15
- new theme - Laptop
- we've crossed the 70k users mark on May 7th
- minor changes
Download this release
Release Info
Developer | WebFactory |
Plugin | Under Construction |
Version | 2.10 |
Comparing to | |
See all releases |
Code changes from version 2.05 to 2.10
- css/ucp-admin.css +2 -3
- images/thumbnails/laptop.png +0 -0
- images/thumbnails/more_coming_soon.png +0 -0
- readme.txt +14 -7
- themes/laptop/index.php +59 -0
- themes/laptop/laptop.png +0 -0
- themes/laptop/style.css +113 -0
- under-construction.php +24 -8
css/ucp-admin.css
CHANGED
@@ -13,7 +13,6 @@
|
|
13 |
#ucp_tabs textarea {
|
14 |
box-sizing: border-box;
|
15 |
resize: none;
|
16 |
-
soverflow: hidden;
|
17 |
}
|
18 |
|
19 |
#ucp_tabs #wp-content-editor-tools {
|
@@ -58,11 +57,11 @@ div.ucp-thumb, .ucp-thumb-special {
|
|
58 |
}
|
59 |
|
60 |
div.ucp-thumb.active {
|
61 |
-
border: 2px solid rgba(
|
62 |
}
|
63 |
|
64 |
div.ucp-thumb:hover {
|
65 |
-
border: 2px solid rgba(
|
66 |
cursor: pointer;
|
67 |
}
|
68 |
|
13 |
#ucp_tabs textarea {
|
14 |
box-sizing: border-box;
|
15 |
resize: none;
|
|
|
16 |
}
|
17 |
|
18 |
#ucp_tabs #wp-content-editor-tools {
|
57 |
}
|
58 |
|
59 |
div.ucp-thumb.active {
|
60 |
+
border: 2px solid rgba(255, 121, 0, 0.7);
|
61 |
}
|
62 |
|
63 |
div.ucp-thumb:hover {
|
64 |
+
border: 2px solid rgba(255, 121, 0, 0.7);
|
65 |
cursor: pointer;
|
66 |
}
|
67 |
|
images/thumbnails/laptop.png
ADDED
Binary file
|
images/thumbnails/more_coming_soon.png
CHANGED
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.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -12,7 +12,7 @@ Create an Under Construction, Maintenance Mode or Landing Page that takes 5 seco
|
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
Create an Under Construction Page, Maintenance Mode Page or a Landing Page that takes **less than a minute to install & configure**. This plugin won't waste your time! UCP is simple, fast, efficient & user-friendly with great designs
|
16 |
|
17 |
[youtube https://www.youtube.com/watch?v=fqqWrQENSDc]
|
18 |
|
@@ -90,15 +90,22 @@ Or if needed, upload manually;
|
|
90 |
18. Rocket Launch #2 theme
|
91 |
19. Light Bulb theme
|
92 |
20. Ambulance theme
|
93 |
-
21.
|
94 |
-
22.
|
95 |
-
23.
|
96 |
-
24.
|
97 |
-
25.
|
|
|
98 |
|
99 |
|
100 |
== Changelog ==
|
101 |
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
= 2.05 =
|
103 |
* 2017/05/03
|
104 |
* new theme - Ambulance
|
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 |
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
Create an Under Construction Page, Maintenance Mode Page or a Landing Page that takes **less than a minute to install & configure**. This plugin won't waste your time! UCP is simple, fast, efficient & user-friendly with <a href="https://underconstructionpage.com/">great designs</a>.
|
16 |
|
17 |
[youtube https://www.youtube.com/watch?v=fqqWrQENSDc]
|
18 |
|
90 |
18. Rocket Launch #2 theme
|
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
|
106 |
+
* we've crossed the 70k users mark on May 7th
|
107 |
+
* minor changes
|
108 |
+
|
109 |
= 2.05 =
|
110 |
* 2017/05/03
|
111 |
* new theme - Ambulance
|
themes/laptop/index.php
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* UnderConstructionPage
|
4 |
+
* Laptop 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 href="https://fonts.googleapis.com/css?family=Share+Tech" rel="stylesheet">
|
26 |
+
[head]
|
27 |
+
</head>
|
28 |
+
|
29 |
+
<body>
|
30 |
+
<div class="container top-container">
|
31 |
+
<div class="row display-table">
|
32 |
+
<div class="col-xs-12 col-md-12 col-lg-5 display-cell">
|
33 |
+
<div id="hero-image">
|
34 |
+
<img src="[theme-url]laptop.png" alt="Our minions are coding away as we speak" title="Our minions are coding away as we speak">
|
35 |
+
</div>
|
36 |
+
</div>
|
37 |
+
<div class="col-lg-offset-1 col-xs-12 col-md-12 col-lg-5 display-cell">
|
38 |
+
<h1>[heading1]</h1>
|
39 |
+
</div>
|
40 |
+
</div>
|
41 |
+
</div>
|
42 |
+
|
43 |
+
<div class="container">
|
44 |
+
<div class="row">
|
45 |
+
<div class="col-xs-12 col-md-8 col-md-offset-2 col-lg-offset-2 col-lg-8">
|
46 |
+
<p class="content">[content]</p>
|
47 |
+
</div>
|
48 |
+
</div>
|
49 |
+
|
50 |
+
<div class="row" id="social">
|
51 |
+
<div class="col-xs-12 col-md-12 col-lg-12">
|
52 |
+
[social-icons]
|
53 |
+
</div>
|
54 |
+
</div>
|
55 |
+
|
56 |
+
</div>
|
57 |
+
[footer]
|
58 |
+
</body>
|
59 |
+
</html>
|
themes/laptop/laptop.png
ADDED
Binary file
|
themes/laptop/style.css
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* UnderConstructionPage
|
3 |
+
* Laptop 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: #dddee0;
|
19 |
+
background-color: #282828;
|
20 |
+
background-image: linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, .05) 25%, rgba(255, 255, 255, .05) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, .05) 75%, rgba(255, 255, 255, .05) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, .05) 25%, rgba(255, 255, 255, .05) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, .05) 75%, rgba(255, 255, 255, .05) 76%, transparent 77%, transparent);
|
21 |
+
background-size: 50px 50px;
|
22 |
+
padding: 0;
|
23 |
+
margin: 0;
|
24 |
+
height: 100%;
|
25 |
+
}
|
26 |
+
|
27 |
+
.top-container {
|
28 |
+
padding: 100px 0 75px 0;
|
29 |
+
}
|
30 |
+
|
31 |
+
#hero-image {
|
32 |
+
text-align: right;
|
33 |
+
}
|
34 |
+
|
35 |
+
#hero-image img {
|
36 |
+
max-width: 80%;
|
37 |
+
}
|
38 |
+
|
39 |
+
.display-table {
|
40 |
+
display: table;
|
41 |
+
table-layout: fixed;
|
42 |
+
}
|
43 |
+
|
44 |
+
.display-cell {
|
45 |
+
display: table-cell;
|
46 |
+
vertical-align: middle;
|
47 |
+
float: none;
|
48 |
+
}
|
49 |
+
|
50 |
+
h1 {
|
51 |
+
font-size: 36px;
|
52 |
+
color: #dddee0;
|
53 |
+
font-family: "Share Tech", sans-serif;
|
54 |
+
font-weight: 900;
|
55 |
+
margin: 20px 0 30px 0;
|
56 |
+
text-align: left;
|
57 |
+
}
|
58 |
+
|
59 |
+
.content {
|
60 |
+
text-align: center;
|
61 |
+
font-family: "Helvetica", "Arial", sans-serif;
|
62 |
+
}
|
63 |
+
|
64 |
+
#social {
|
65 |
+
text-align: center;
|
66 |
+
margin-top: 30px;
|
67 |
+
}
|
68 |
+
|
69 |
+
#social a i {
|
70 |
+
color: #dddee0;
|
71 |
+
margin: 10px;
|
72 |
+
box-sizing: content-box;
|
73 |
+
}
|
74 |
+
|
75 |
+
#social a:hover i {
|
76 |
+
color: #d86221;
|
77 |
+
}
|
78 |
+
|
79 |
+
@media(max-width: 767px) {
|
80 |
+
h1 {
|
81 |
+
font-size: 28px;
|
82 |
+
margin: 10px 0 30px 0;
|
83 |
+
}
|
84 |
+
#hero-image img {
|
85 |
+
max-width: 95%;
|
86 |
+
}
|
87 |
+
}
|
88 |
+
|
89 |
+
@media (max-width: 1200px) {
|
90 |
+
h1 {
|
91 |
+
text-align: center;
|
92 |
+
padding: 0 20px;
|
93 |
+
}
|
94 |
+
.display-table {
|
95 |
+
display: initial;
|
96 |
+
table-layout: auto;
|
97 |
+
}
|
98 |
+
.display-cell {
|
99 |
+
display: block;
|
100 |
+
vertical-align: middle;
|
101 |
+
float: none;
|
102 |
+
}
|
103 |
+
#hero-image img {
|
104 |
+
max-height: 250px;
|
105 |
+
padding-bottom: 25px;
|
106 |
+
}
|
107 |
+
#hero-image {
|
108 |
+
text-align: center;
|
109 |
+
}
|
110 |
+
.top-container {
|
111 |
+
padding: 25px 0 0 0;
|
112 |
+
}
|
113 |
+
}
|
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.
|
8 |
Author URI: http://www.webfactoryltd.com/
|
9 |
Text Domain: under-construction-page
|
10 |
Domain Path: lang
|
@@ -496,12 +496,14 @@ class UCP {
|
|
496 |
|
497 |
if ($options['linkback'] == '1') {
|
498 |
$tmp = md5(get_site_url());
|
499 |
-
if ($tmp[0] <
|
500 |
-
$out .= '<p id="linkback">Create stunning <a href="https://underconstructionpage.com/" target="_blank">under construction pages for WordPress</a
|
501 |
-
} elseif ($tmp[0] < '
|
502 |
-
$out .= '<p id="linkback">Create <a href="https://underconstructionpage.com/" target="_blank">free under construction page for WordPress</a> in under a minute.</p>';
|
|
|
|
|
503 |
} else {
|
504 |
-
$out .= '<p id="linkback">Create free <a href="https://underconstructionpage.com/" target="_blank">
|
505 |
}
|
506 |
}
|
507 |
|
@@ -1112,7 +1114,9 @@ class UCP {
|
|
1112 |
'people_2' => __('People at Work #2', 'under-construction-page'),
|
1113 |
'rocket_2' => __('Rocket Launch #2', 'under-construction-page'),
|
1114 |
'light_bulb' => __('Light Bulb', 'under-construction-page'),
|
1115 |
-
'ambulance' => __('Ambulance', 'under-construction-page')
|
|
|
|
|
1116 |
|
1117 |
echo '<table class="form-table">';
|
1118 |
echo '<tr valign="top">
|
@@ -1129,7 +1133,19 @@ class UCP {
|
|
1129 |
echo '<div class="ucp-thumb' . $class . '" data-theme-id="' . $theme_id . '"><img src="' . $img_path . $theme_id . '.png" alt="' . $theme_name . '" title="' . $theme_name . '" /><span>' . $theme_name . '</span></div>';
|
1130 |
}
|
1131 |
|
1132 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1133 |
|
1134 |
echo '</td></tr>';
|
1135 |
|
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
|
496 |
|
497 |
if ($options['linkback'] == '1') {
|
498 |
$tmp = md5(get_site_url());
|
499 |
+
if ($tmp[0] < '4') {
|
500 |
+
$out .= '<p id="linkback">Create stunning <a href="https://underconstructionpage.com/" target="_blank">under construction pages for WordPress</a>. Completely free.</p>';
|
501 |
+
} elseif ($tmp[0] < '8') {
|
502 |
+
$out .= '<p id="linkback">Create a <a href="https://underconstructionpage.com/" target="_blank">free under construction page for WordPress</a> like this one in under a minute.</p>';
|
503 |
+
} elseif ($tmp[0] < 'c') {
|
504 |
+
$out .= '<p id="linkback">Join more than 70,000 webmasters using the <a href="https://wordpress.org/plugins/under-construction-page/" target="_blank">free Under Construction Page plugin for WordPress</a>.</p>';
|
505 |
} else {
|
506 |
+
$out .= '<p id="linkback">Create free <a href="https://underconstructionpage.com/" target="_blank">maintenance mode pages for WordPress</a>.</p>';
|
507 |
}
|
508 |
}
|
509 |
|
1114 |
'people_2' => __('People at Work #2', 'under-construction-page'),
|
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">';
|
1122 |
echo '<tr valign="top">
|
1133 |
echo '<div class="ucp-thumb' . $class . '" data-theme-id="' . $theme_id . '"><img src="' . $img_path . $theme_id . '.png" alt="' . $theme_name . '" title="' . $theme_name . '" /><span>' . $theme_name . '</span></div>';
|
1134 |
}
|
1135 |
|
1136 |
+
$tmp = md5(get_site_url());
|
1137 |
+
if ($tmp[0] < '6') {
|
1138 |
+
$tweet = 'I need more themes for the free Under Construction #wordpress plugin. When are they coming out? @webfactoryltd';
|
1139 |
+
$url = 'https://wordpress.org/plugins/under-construction-page/';
|
1140 |
+
} elseif ($tmp[0] < 'a') {
|
1141 |
+
$tweet = 'I need more themes for the free Under Construction Page #wordpress plugin. When are they coming out? @webfactoryltd';
|
1142 |
+
$url = 'https://underconstructionpage.com/';
|
1143 |
+
} else {
|
1144 |
+
$tweet = 'When will you make more themes for the free Under Construction Page plugin for #wordpress? @webfactoryltd';
|
1145 |
+
$url = 'https://underconstructionpage.com/';
|
1146 |
+
}
|
1147 |
+
|
1148 |
+
echo '<div class="ucp-thumb-special"><a href="https://twitter.com/intent/tweet?url=' . $url . '&text=' . urlencode($tweet) . '" target="_blank"><img src="' . $img_path . 'more_coming_soon.png" alt="Need more themes?" title="Need more themes?" /></a><br />Click for More Themes</div>';
|
1149 |
|
1150 |
echo '</td></tr>';
|
1151 |
|