Version Description
- 2017/02/22
- new theme - Windmill
- code improvements
Download this release
Release Info
Developer | WebFactory |
Plugin | Under Construction |
Version | 1.70 |
Comparing to | |
See all releases |
Code changes from version 1.66 to 1.70
- images/windmill.png +0 -0
- readme.txt +11 -5
- themes/cyber_chick/index.php +1 -1
- themes/cyber_chick_dark/index.php +1 -1
- themes/dark/index.php +1 -1
- themes/forklift/index.php +1 -1
- themes/loader/index.php +1 -1
- themes/mad_designer/index.php +1 -1
- themes/people/index.php +1 -1
- themes/plain_text/index.php +1 -1
- themes/rocket/index.php +1 -1
- themes/safe/index.php +1 -1
- themes/under_construction/index.php +1 -1
- themes/under_construction_text/index.php +1 -1
- themes/windmill/index.php +59 -0
- themes/windmill/style.css +77 -0
- themes/windmill/windmill.png +0 -0
- under-construction.php +29 -21
images/windmill.png
ADDED
Binary file
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: WebFactory
|
|
3 |
Tags: under construction page, coming soon page, maintenance, maintenance page, coming soon, maintenance mode, under construction mode, coming soon mode, site unavailable, under construction, landing page, construction, launch, launch page, offline, rtl
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.7
|
6 |
-
Stable tag: 1.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -78,14 +78,20 @@ Or if needed, upload manually;
|
|
78 |
10. Cyber Chick Dark theme
|
79 |
11. Safe theme
|
80 |
12. People at Work theme
|
81 |
-
13.
|
82 |
-
14.
|
83 |
-
15.
|
84 |
-
16.
|
|
|
85 |
|
86 |
|
87 |
== Changelog ==
|
88 |
|
|
|
|
|
|
|
|
|
|
|
89 |
= 1.66 =
|
90 |
* 2017/02/13
|
91 |
* new theme - People at Work
|
3 |
Tags: under construction page, coming soon page, maintenance, maintenance page, coming soon, maintenance mode, under construction mode, coming soon mode, site unavailable, under construction, landing page, construction, launch, launch page, offline, rtl
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.7
|
6 |
+
Stable tag: 1.70
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
78 |
10. Cyber Chick Dark theme
|
79 |
11. Safe theme
|
80 |
12. People at Work theme
|
81 |
+
13. Windmill theme
|
82 |
+
14. Main settings
|
83 |
+
15. Design settings
|
84 |
+
16. Content settings
|
85 |
+
17. Access settings
|
86 |
|
87 |
|
88 |
== Changelog ==
|
89 |
|
90 |
+
= 1.70 =
|
91 |
+
* 2017/02/22
|
92 |
+
* new theme - Windmill
|
93 |
+
* code improvements
|
94 |
+
|
95 |
= 1.66 =
|
96 |
* 2017/02/13
|
97 |
* new theme - People at Work
|
themes/cyber_chick/index.php
CHANGED
@@ -19,7 +19,7 @@ if (!defined('ABSPATH')) {
|
|
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="
|
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">
|
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">
|
themes/cyber_chick_dark/index.php
CHANGED
@@ -19,7 +19,7 @@ if (!defined('ABSPATH')) {
|
|
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="
|
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">
|
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">
|
themes/dark/index.php
CHANGED
@@ -19,7 +19,7 @@ if (!defined('ABSPATH')) {
|
|
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="
|
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">
|
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">
|
themes/forklift/index.php
CHANGED
@@ -19,7 +19,7 @@ if (!defined('ABSPATH')) {
|
|
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="
|
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">
|
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">
|
themes/loader/index.php
CHANGED
@@ -19,7 +19,7 @@ if (!defined('ABSPATH')) {
|
|
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="
|
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">
|
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">
|
themes/mad_designer/index.php
CHANGED
@@ -19,7 +19,7 @@ if (!defined('ABSPATH')) {
|
|
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="
|
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">
|
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">
|
themes/people/index.php
CHANGED
@@ -19,7 +19,7 @@ if (!defined('ABSPATH')) {
|
|
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="
|
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">
|
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">
|
themes/plain_text/index.php
CHANGED
@@ -19,7 +19,7 @@ if (!defined('ABSPATH')) {
|
|
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="
|
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=Montserrat:400,700">
|
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=Montserrat:400,700">
|
themes/rocket/index.php
CHANGED
@@ -19,7 +19,7 @@ if (!defined('ABSPATH')) {
|
|
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="
|
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=Nunito:200,600,900">
|
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=Nunito:200,600,900">
|
themes/safe/index.php
CHANGED
@@ -19,7 +19,7 @@ if (!defined('ABSPATH')) {
|
|
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="
|
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=Nunito:400,900">
|
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=Nunito:400,900">
|
themes/under_construction/index.php
CHANGED
@@ -19,7 +19,7 @@ if (!defined('ABSPATH')) {
|
|
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="
|
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">
|
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">
|
themes/under_construction_text/index.php
CHANGED
@@ -19,7 +19,7 @@ if (!defined('ABSPATH')) {
|
|
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="
|
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">
|
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">
|
themes/windmill/index.php
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* UnderConstructionPage
|
4 |
+
* Windmill theme
|
5 |
+
* (c) Web factory Ltd, 2015 - 2016
|
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 |
+
<link rel="stylesheet" href="[theme-url-common]css/font-awesome.min.css?v=[version]" type="text/css">
|
27 |
+
[head]
|
28 |
+
</head>
|
29 |
+
|
30 |
+
<body>
|
31 |
+
<div id="hero-image">
|
32 |
+
<img src="[theme-url]windmill.png" alt="Windmill" title="Windmill">
|
33 |
+
</div>
|
34 |
+
<div class="container-wrap">
|
35 |
+
<div class="container">
|
36 |
+
|
37 |
+
<div class="row">
|
38 |
+
<div class="col-xs-12 col-md-12 col-lg-12">
|
39 |
+
<h1>[heading1]</h1>
|
40 |
+
</div>
|
41 |
+
</div>
|
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 |
+
</div>
|
57 |
+
[footer]
|
58 |
+
</body>
|
59 |
+
</html>
|
themes/windmill/style.css
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* UnderConstructionPage
|
3 |
+
* Windmill theme CSS
|
4 |
+
* (c) Web factory Ltd, 2015 - 2016
|
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: #fefefe;
|
19 |
+
background: #90d479;
|
20 |
+
padding: 0;
|
21 |
+
margin: 0;
|
22 |
+
background-repeat: no-repeat;
|
23 |
+
background-attachment: fixed;
|
24 |
+
}
|
25 |
+
|
26 |
+
#hero-image {
|
27 |
+
text-align: center;
|
28 |
+
margin: 20px auto -1px auto;
|
29 |
+
}
|
30 |
+
|
31 |
+
#hero-image img {
|
32 |
+
max-width: 80%;
|
33 |
+
}
|
34 |
+
|
35 |
+
.container-wrap {
|
36 |
+
background-color: rgba(72, 79, 89, 0.97);
|
37 |
+
padding: 20px 0;
|
38 |
+
}
|
39 |
+
|
40 |
+
h1 {
|
41 |
+
font-size: 34px;
|
42 |
+
color: #fefefe;
|
43 |
+
font-family: "Roboto", sans-serif;
|
44 |
+
font-weight: 900;
|
45 |
+
margin: 30px 0 30px 0;
|
46 |
+
text-align: center;
|
47 |
+
}
|
48 |
+
|
49 |
+
.content {
|
50 |
+
text-align: center;
|
51 |
+
font-family: "Helvetica", "Arial", sans-serif;
|
52 |
+
}
|
53 |
+
|
54 |
+
#social {
|
55 |
+
text-align: center;
|
56 |
+
margin-top: 30px;
|
57 |
+
}
|
58 |
+
|
59 |
+
#social a i {
|
60 |
+
color: #fefefe;
|
61 |
+
margin: 10px;
|
62 |
+
box-sizing: content-box;
|
63 |
+
}
|
64 |
+
|
65 |
+
#social a:hover i {
|
66 |
+
color: #f7d442;
|
67 |
+
}
|
68 |
+
|
69 |
+
@media(max-width:767px){
|
70 |
+
h1 {
|
71 |
+
font-size: 30px;
|
72 |
+
margin: 10px 0 30px 0;
|
73 |
+
}
|
74 |
+
#hero-image img {
|
75 |
+
max-width: 95%;
|
76 |
+
}
|
77 |
+
}
|
themes/windmill/windmill.png
ADDED
Binary file
|
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: 1.
|
8 |
Author URI: http://www.webfactoryltd.com/
|
9 |
Text Domain: under-construction-page
|
10 |
Domain Path: lang
|
@@ -135,6 +135,14 @@ class UCP {
|
|
135 |
// activate doesn't get fired on upgrades so we have to compensate
|
136 |
public static function maybe_upgrade() {
|
137 |
$meta = self::get_meta();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
|
139 |
// check if we need to convert options from the old format to new, or maybe it is already done
|
140 |
if (isset($meta['options_ver']) && $meta['options_ver'] == self::$version) {
|
@@ -143,10 +151,9 @@ class UCP {
|
|
143 |
|
144 |
if (get_option('set_size') || get_option('set_tweet') || get_option('set_fb') || get_option('set_font') || get_option('set_msg') || get_option('set_opt') || get_option('set_admin')) {
|
145 |
// convert old options to new
|
146 |
-
$options = self::get_options();
|
147 |
$options['status'] = (get_option('set_opt') === 'Yes')? '1': '0';
|
148 |
$options['content'] = trim(get_option('set_msg'));
|
149 |
-
$options['
|
150 |
$options['social_facebook'] = trim(get_option('set_fb'));
|
151 |
$options['social_twitter'] = trim(get_option('set_tweet'));
|
152 |
update_option(UCP_OPTIONS_KEY, $options);
|
@@ -393,43 +400,43 @@ class UCP {
|
|
393 |
$out = '';
|
394 |
|
395 |
if (!empty($options['social_facebook'])) {
|
396 |
-
$out .= '<a href="' . $options['social_facebook'] . '" target="_blank"><i class="fa fa-facebook-square fa-3x"></i></a>';
|
397 |
}
|
398 |
if (!empty($options['social_twitter'])) {
|
399 |
-
$out .= '<a href="' . $options['social_twitter'] . '" target="_blank"><i class="fa fa-twitter-square fa-3x"></i></a>';
|
400 |
}
|
401 |
if (!empty($options['social_google'])) {
|
402 |
-
$out .= '<a href="' . $options['social_google'] . '" target="_blank"><i class="fa fa-google-plus-square fa-3x"></i></a>';
|
403 |
}
|
404 |
if (!empty($options['social_linkedin'])) {
|
405 |
-
$out .= '<a href="' . $options['social_linkedin'] . '" target="_blank"><i class="fa fa-linkedin-square fa-3x"></i></a>';
|
406 |
}
|
407 |
if (!empty($options['social_youtube'])) {
|
408 |
-
$out .= '<a href="' . $options['social_youtube'] . '" target="_blank"><i class="fa fa-youtube-square fa-3x"></i></a>';
|
409 |
}
|
410 |
if (!empty($options['social_pinterest'])) {
|
411 |
-
$out .= '<a href="' . $options['social_pinterest'] . '" target="_blank"><i class="fa fa-pinterest-square fa-3x"></i></a>';
|
412 |
}
|
413 |
if (!empty($options['social_dribbble'])) {
|
414 |
-
$out .= '<a href="' . $options['social_dribbble'] . '" target="_blank"><i class="fa fa-dribbble fa-3x"></i></a>';
|
415 |
}
|
416 |
if (!empty($options['social_behance'])) {
|
417 |
-
$out .= '<a href="' . $options['social_behance'] . '" target="_blank"><i class="fa fa-behance-square fa-3x"></i></a>';
|
418 |
}
|
419 |
if (!empty($options['social_instagram'])) {
|
420 |
-
$out .= '<a href="' . $options['social_instagram'] . '" target="_blank"><i class="fa fa-instagram fa-3x"></i></a>';
|
421 |
}
|
422 |
if (!empty($options['social_skype'])) {
|
423 |
-
$out .= '<a href="skype:' . $options['social_skype'] . '?chat"><i class="fa fa-skype fa-3x"></i></a>';
|
424 |
}
|
425 |
if (!empty($options['social_whatsapp'])) {
|
426 |
-
$out .= '<a href="whatsapp:' . $options['social_whatsapp'] . '"><i class="fa fa-whatsapp fa-3x"></i></a>';
|
427 |
}
|
428 |
if (!empty($options['social_email'])) {
|
429 |
-
$out .= '<a href="mailto:' . self::encode_email($options['social_email']) . '"><i class="fa fa-envelope fa-3x"></i></a>';
|
430 |
}
|
431 |
if (!empty($options['social_phone'])) {
|
432 |
-
$out .= '<a href="callto:' . $options['social_phone'] . '"><i class="fa fa-phone-square fa-3x"></i></a>';
|
433 |
}
|
434 |
|
435 |
return $out;
|
@@ -501,6 +508,7 @@ class UCP {
|
|
501 |
$vars['theme-url'] = trailingslashit(UCP_PLUGIN_URL . 'themes/' . $template_id);
|
502 |
$vars['theme-url-common'] = trailingslashit(UCP_PLUGIN_URL . 'themes');
|
503 |
$vars['title'] = self::parse_vars($options['title']);
|
|
|
504 |
$vars['heading1'] = self::parse_vars($options['heading1']);
|
505 |
$vars['content'] = nl2br(self::parse_vars($options['content']));
|
506 |
$vars['description'] = self::parse_vars($options['description']);
|
@@ -539,7 +547,7 @@ class UCP {
|
|
539 |
return false;
|
540 |
} elseif (defined('WP_CLI') && WP_CLI) {
|
541 |
return false;
|
542 |
-
} elseif (self::user_has_role($options['
|
543 |
return false;
|
544 |
} elseif (in_array($current_user->ID, $options['whitelisted_users'])) {
|
545 |
return false;
|
@@ -703,7 +711,7 @@ class UCP {
|
|
703 |
'social_whatsapp' => '',
|
704 |
'login_button' => '1',
|
705 |
'linkback' => '0',
|
706 |
-
'
|
707 |
'whitelisted_users' => array()
|
708 |
);
|
709 |
|
@@ -746,7 +754,7 @@ class UCP {
|
|
746 |
} // switch
|
747 |
} // foreach
|
748 |
|
749 |
-
$options['
|
750 |
$options['whitelisted_users'] = empty($options['whitelisted_users'])? array(): $options['whitelisted_users'];
|
751 |
$options = self::check_var_isset($options, array('status' => 0, 'linkback' => 0, 'login_button' => 0));
|
752 |
|
@@ -1029,7 +1037,7 @@ class UCP {
|
|
1029 |
|
1030 |
$img_path = UCP_PLUGIN_URL . 'images/';
|
1031 |
|
1032 |
-
$themes = array('mad_designer' => 'Mad Designer', 'plain_text' => 'Plain Text', 'under_construction' => 'Under Construction', 'dark' => 'Things Went Dark', 'forklift' => 'Forklift at Work', 'under_construction_text' => 'Under Construction Text', 'cyber_chick' => 'Cyber Chick', 'rocket' => 'Rocket Launch', 'loader' => 'Loader at Work', 'cyber_chick_dark' => 'Cyber Chick Dark', 'safe' => 'Safe', 'people' => 'People at Work');
|
1033 |
|
1034 |
echo '<table class="form-table">';
|
1035 |
echo '<tr valign="top">
|
@@ -1086,7 +1094,7 @@ class UCP {
|
|
1086 |
<td>';
|
1087 |
|
1088 |
foreach ($roles as $tmp_role) {
|
1089 |
-
echo '<input name="' . UCP_OPTIONS_KEY . '[
|
1090 |
}
|
1091 |
echo '<p class="description">Selected user roles will <b>not</b> be affected by the under construction mode and will always see the "normal" site. Default: administrator.</p>';
|
1092 |
echo '</td></tr>';
|
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: 1.70
|
8 |
Author URI: http://www.webfactoryltd.com/
|
9 |
Text Domain: under-construction-page
|
10 |
Domain Path: lang
|
135 |
// activate doesn't get fired on upgrades so we have to compensate
|
136 |
public static function maybe_upgrade() {
|
137 |
$meta = self::get_meta();
|
138 |
+
$options = self::get_options();
|
139 |
+
|
140 |
+
// added in v1.70 to rename roles to whitelisted_roles
|
141 |
+
if (isset($options['roles'])) {
|
142 |
+
$options['whitelisted_roles'] = $options['roles'];
|
143 |
+
unset($options['roles']);
|
144 |
+
update_option(UCP_OPTIONS_KEY, $options);
|
145 |
+
}
|
146 |
|
147 |
// check if we need to convert options from the old format to new, or maybe it is already done
|
148 |
if (isset($meta['options_ver']) && $meta['options_ver'] == self::$version) {
|
151 |
|
152 |
if (get_option('set_size') || get_option('set_tweet') || get_option('set_fb') || get_option('set_font') || get_option('set_msg') || get_option('set_opt') || get_option('set_admin')) {
|
153 |
// convert old options to new
|
|
|
154 |
$options['status'] = (get_option('set_opt') === 'Yes')? '1': '0';
|
155 |
$options['content'] = trim(get_option('set_msg'));
|
156 |
+
$options['whitelisted_roles'] = (get_option('set_admin') === 'No')? array('administrator'): array();
|
157 |
$options['social_facebook'] = trim(get_option('set_fb'));
|
158 |
$options['social_twitter'] = trim(get_option('set_tweet'));
|
159 |
update_option(UCP_OPTIONS_KEY, $options);
|
400 |
$out = '';
|
401 |
|
402 |
if (!empty($options['social_facebook'])) {
|
403 |
+
$out .= '<a title="Facebook" href="' . $options['social_facebook'] . '" target="_blank"><i class="fa fa-facebook-square fa-3x"></i></a>';
|
404 |
}
|
405 |
if (!empty($options['social_twitter'])) {
|
406 |
+
$out .= '<a title="Twitter" href="' . $options['social_twitter'] . '" target="_blank"><i class="fa fa-twitter-square fa-3x"></i></a>';
|
407 |
}
|
408 |
if (!empty($options['social_google'])) {
|
409 |
+
$out .= '<a title="Google+" href="' . $options['social_google'] . '" target="_blank"><i class="fa fa-google-plus-square fa-3x"></i></a>';
|
410 |
}
|
411 |
if (!empty($options['social_linkedin'])) {
|
412 |
+
$out .= '<a title="LinkedIn" href="' . $options['social_linkedin'] . '" target="_blank"><i class="fa fa-linkedin-square fa-3x"></i></a>';
|
413 |
}
|
414 |
if (!empty($options['social_youtube'])) {
|
415 |
+
$out .= '<a title="YouTube" href="' . $options['social_youtube'] . '" target="_blank"><i class="fa fa-youtube-square fa-3x"></i></a>';
|
416 |
}
|
417 |
if (!empty($options['social_pinterest'])) {
|
418 |
+
$out .= '<a title="Pinterest" href="' . $options['social_pinterest'] . '" target="_blank"><i class="fa fa-pinterest-square fa-3x"></i></a>';
|
419 |
}
|
420 |
if (!empty($options['social_dribbble'])) {
|
421 |
+
$out .= '<a title="Dribbble" href="' . $options['social_dribbble'] . '" target="_blank"><i class="fa fa-dribbble fa-3x"></i></a>';
|
422 |
}
|
423 |
if (!empty($options['social_behance'])) {
|
424 |
+
$out .= '<a title="Behance" href="' . $options['social_behance'] . '" target="_blank"><i class="fa fa-behance-square fa-3x"></i></a>';
|
425 |
}
|
426 |
if (!empty($options['social_instagram'])) {
|
427 |
+
$out .= '<a title="Instagram" href="' . $options['social_instagram'] . '" target="_blank"><i class="fa fa-instagram fa-3x"></i></a>';
|
428 |
}
|
429 |
if (!empty($options['social_skype'])) {
|
430 |
+
$out .= '<a title="Skype" href="skype:' . $options['social_skype'] . '?chat"><i class="fa fa-skype fa-3x"></i></a>';
|
431 |
}
|
432 |
if (!empty($options['social_whatsapp'])) {
|
433 |
+
$out .= '<a title="WhatsApp" href="whatsapp:' . $options['social_whatsapp'] . '"><i class="fa fa-whatsapp fa-3x"></i></a>';
|
434 |
}
|
435 |
if (!empty($options['social_email'])) {
|
436 |
+
$out .= '<a title="Email" href="mailto:' . self::encode_email($options['social_email']) . '"><i class="fa fa-envelope fa-3x"></i></a>';
|
437 |
}
|
438 |
if (!empty($options['social_phone'])) {
|
439 |
+
$out .= '<a title="Phone" href="callto:' . $options['social_phone'] . '"><i class="fa fa-phone-square fa-3x"></i></a>';
|
440 |
}
|
441 |
|
442 |
return $out;
|
508 |
$vars['theme-url'] = trailingslashit(UCP_PLUGIN_URL . 'themes/' . $template_id);
|
509 |
$vars['theme-url-common'] = trailingslashit(UCP_PLUGIN_URL . 'themes');
|
510 |
$vars['title'] = self::parse_vars($options['title']);
|
511 |
+
$vars['generator'] = 'Free UnderConstructionPage plugin for WordPress';
|
512 |
$vars['heading1'] = self::parse_vars($options['heading1']);
|
513 |
$vars['content'] = nl2br(self::parse_vars($options['content']));
|
514 |
$vars['description'] = self::parse_vars($options['description']);
|
547 |
return false;
|
548 |
} elseif (defined('WP_CLI') && WP_CLI) {
|
549 |
return false;
|
550 |
+
} elseif (self::user_has_role($options['whitelisted_roles'])) {
|
551 |
return false;
|
552 |
} elseif (in_array($current_user->ID, $options['whitelisted_users'])) {
|
553 |
return false;
|
711 |
'social_whatsapp' => '',
|
712 |
'login_button' => '1',
|
713 |
'linkback' => '0',
|
714 |
+
'whitelisted_roles' => array('administrator'),
|
715 |
'whitelisted_users' => array()
|
716 |
);
|
717 |
|
754 |
} // switch
|
755 |
} // foreach
|
756 |
|
757 |
+
$options['whitelisted_roles'] = empty($options['whitelisted_roles'])? array(): $options['whitelisted_roles'];
|
758 |
$options['whitelisted_users'] = empty($options['whitelisted_users'])? array(): $options['whitelisted_users'];
|
759 |
$options = self::check_var_isset($options, array('status' => 0, 'linkback' => 0, 'login_button' => 0));
|
760 |
|
1037 |
|
1038 |
$img_path = UCP_PLUGIN_URL . 'images/';
|
1039 |
|
1040 |
+
$themes = array('mad_designer' => 'Mad Designer', 'plain_text' => 'Plain Text', 'under_construction' => 'Under Construction', 'dark' => 'Things Went Dark', 'forklift' => 'Forklift at Work', 'under_construction_text' => 'Under Construction Text', 'cyber_chick' => 'Cyber Chick', 'rocket' => 'Rocket Launch', 'loader' => 'Loader at Work', 'cyber_chick_dark' => 'Cyber Chick Dark', 'safe' => 'Safe', 'people' => 'People at Work', 'windmill' => 'Windmill');
|
1041 |
|
1042 |
echo '<table class="form-table">';
|
1043 |
echo '<tr valign="top">
|
1094 |
<td>';
|
1095 |
|
1096 |
foreach ($roles as $tmp_role) {
|
1097 |
+
echo '<input name="' . UCP_OPTIONS_KEY . '[whitelisted_roles][]" id="roles-' . $tmp_role['val'] . '" ' . self::checked($tmp_role['val'], $options['whitelisted_roles'], false) . ' value="' . $tmp_role['val'] . '" type="checkbox" /> <label for="roles-' . $tmp_role['val'] . '">' . $tmp_role['label'] . '</label><br />';
|
1098 |
}
|
1099 |
echo '<p class="description">Selected user roles will <b>not</b> be affected by the under construction mode and will always see the "normal" site. Default: administrator.</p>';
|
1100 |
echo '</td></tr>';
|