Version Description
- 2017/02/13
- new theme - People at Work
- added new social icon: WhatsApp
Download this release
Release Info
Developer | WebFactory |
Plugin | Under Construction |
Version | 1.65 |
Comparing to | |
See all releases |
Code changes from version 1.60 to 1.65
- css/ucp-admin.css +4 -0
- images/people.png +0 -0
- readme.txt +16 -6
- themes/people/index.php +59 -0
- themes/people/people.png +0 -0
- themes/people/style.css +72 -0
- under-construction.php +20 -3
css/ucp-admin.css
CHANGED
@@ -20,6 +20,10 @@
|
|
20 |
padding-top: 0;
|
21 |
}
|
22 |
|
|
|
|
|
|
|
|
|
23 |
.form-table th {
|
24 |
padding: 15px 10px 20px 0;
|
25 |
}
|
20 |
padding-top: 0;
|
21 |
}
|
22 |
|
23 |
+
#ucp_support p {
|
24 |
+
font-size: 14px;
|
25 |
+
}
|
26 |
+
|
27 |
.form-table th {
|
28 |
padding: 15px 10px 20px 0;
|
29 |
}
|
images/people.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 |
|
@@ -22,7 +22,7 @@ A simple, no-nonsense plugin for all those situations when you have to hide the
|
|
22 |
* Under construction mode - off / on
|
23 |
* End date & time - automatically disable construction mode on a set date
|
24 |
* Google Analytics Tracking ID - enable tracking via Google Analytics
|
25 |
-
* Theme - a new one is added with each update, <a href="https://wordpress.org/plugins/under-construction-page/screenshots/">see screenshots</a>
|
26 |
* Custom CSS - adjust any part of the page to fit your needs
|
27 |
* Title - page title, for SEO
|
28 |
* Description - page description, for SEO
|
@@ -40,6 +40,9 @@ A simple, no-nonsense plugin for all those situations when you have to hide the
|
|
40 |
* Behance
|
41 |
* Instagram
|
42 |
* Email
|
|
|
|
|
|
|
43 |
* Whitelisted User Roles - user roles who see the site, instead of maintenance page
|
44 |
* Whitelisted Users - users who see the site, instead of maintenance page
|
45 |
|
@@ -74,20 +77,27 @@ Or if needed, upload manually;
|
|
74 |
9. Loader at Work theme
|
75 |
10. Cyber Chick Dark theme
|
76 |
11. Safe theme
|
77 |
-
12.
|
78 |
-
13.
|
79 |
-
14.
|
80 |
-
15.
|
|
|
81 |
|
82 |
|
83 |
== Changelog ==
|
84 |
|
|
|
|
|
|
|
|
|
|
|
85 |
= 1.60 =
|
86 |
* 2017/02/06
|
87 |
* new theme - Safe
|
88 |
* added "Support" tab with FAQ and links
|
89 |
* minor bug fixes
|
90 |
* added 2 social icons: Skype and Phone
|
|
|
91 |
|
92 |
= 1.55 =
|
93 |
* 2017/01/30
|
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.65
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
22 |
* Under construction mode - off / on
|
23 |
* End date & time - automatically disable construction mode on a set date
|
24 |
* Google Analytics Tracking ID - enable tracking via Google Analytics
|
25 |
+
* Theme - a new one is added with each update, <a href="https://wordpress.org/plugins/under-construction-page/screenshots/">see screenshots of available themes</a>
|
26 |
* Custom CSS - adjust any part of the page to fit your needs
|
27 |
* Title - page title, for SEO
|
28 |
* Description - page description, for SEO
|
40 |
* Behance
|
41 |
* Instagram
|
42 |
* Email
|
43 |
+
* Phone
|
44 |
+
* Skype
|
45 |
+
* WhatsApp
|
46 |
* Whitelisted User Roles - user roles who see the site, instead of maintenance page
|
47 |
* Whitelisted Users - users who see the site, instead of maintenance page
|
48 |
|
77 |
9. Loader at Work theme
|
78 |
10. Cyber Chick Dark theme
|
79 |
11. Safe theme
|
80 |
+
12. People at Work theme
|
81 |
+
13. Main settings
|
82 |
+
14. Design settings
|
83 |
+
15. Content settings
|
84 |
+
16. Access settings
|
85 |
|
86 |
|
87 |
== Changelog ==
|
88 |
|
89 |
+
= 1.65 =
|
90 |
+
* 2017/02/13
|
91 |
+
* new theme - People at Work
|
92 |
+
* added new social icon: WhatsApp
|
93 |
+
|
94 |
= 1.60 =
|
95 |
* 2017/02/06
|
96 |
* new theme - Safe
|
97 |
* added "Support" tab with FAQ and links
|
98 |
* minor bug fixes
|
99 |
* added 2 social icons: Skype and Phone
|
100 |
+
* we've crossed the 40k users mark
|
101 |
|
102 |
= 1.55 =
|
103 |
* 2017/01/30
|
themes/people/index.php
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* UnderConstructionPage
|
4 |
+
* People at Work 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="UnderConstructionPage plugin for WordPress">
|
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 class="container">
|
32 |
+
<div class="row">
|
33 |
+
<div class="col-xs-12 col-md-12 col-lg-12">
|
34 |
+
<h1>[heading1]</h1>
|
35 |
+
</div>
|
36 |
+
</div>
|
37 |
+
</div>
|
38 |
+
|
39 |
+
<div id="hero-image">
|
40 |
+
<img src="[theme-url]best_people.png" alt="Our Best People at Work" title="Our Best People at Work">
|
41 |
+
</div>
|
42 |
+
<div class="container">
|
43 |
+
|
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/people/people.png
ADDED
Binary file
|
themes/people/style.css
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* UnderConstructionPage
|
3 |
+
* People at Work 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: #414042;
|
19 |
+
background: #22ea98;
|
20 |
+
padding: 0;
|
21 |
+
margin: 0;
|
22 |
+
background-repeat: repeat;
|
23 |
+
background-attachment: fixed;
|
24 |
+
}
|
25 |
+
|
26 |
+
#hero-image {
|
27 |
+
text-align: center;
|
28 |
+
margin: 20px auto 40px auto;
|
29 |
+
}
|
30 |
+
|
31 |
+
#hero-image img {
|
32 |
+
max-width: 80%;
|
33 |
+
}
|
34 |
+
|
35 |
+
h1 {
|
36 |
+
font-size: 34px;
|
37 |
+
color: #414042;
|
38 |
+
font-family: "Roboto", sans-serif;
|
39 |
+
font-weight: 900;
|
40 |
+
margin: 60px 0 30px 0;
|
41 |
+
text-align: center;
|
42 |
+
}
|
43 |
+
|
44 |
+
.content {
|
45 |
+
text-align: center;
|
46 |
+
font-family: "Helvetica", "Arial", sans-serif;
|
47 |
+
}
|
48 |
+
|
49 |
+
#social {
|
50 |
+
text-align: center;
|
51 |
+
margin-top: 30px;
|
52 |
+
}
|
53 |
+
|
54 |
+
#social a i {
|
55 |
+
color: #414042;
|
56 |
+
margin: 10px;
|
57 |
+
box-sizing: content-box;
|
58 |
+
}
|
59 |
+
|
60 |
+
#social a:hover i {
|
61 |
+
color: #f9b91a;
|
62 |
+
}
|
63 |
+
|
64 |
+
@media(max-width:767px){
|
65 |
+
h1 {
|
66 |
+
font-size: 30px;
|
67 |
+
margin: 10px 0 30px 0;
|
68 |
+
}
|
69 |
+
#hero-image img {
|
70 |
+
max-width: 95%;
|
71 |
+
}
|
72 |
+
}
|
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
|
@@ -422,6 +422,9 @@ class UCP {
|
|
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_email'])) {
|
426 |
$out .= '<a href="mailto:' . self::encode_email($options['social_email']) . '"><i class="fa fa-envelope fa-3x"></i></a>';
|
427 |
}
|
@@ -697,6 +700,7 @@ class UCP {
|
|
697 |
'social_email' => '',
|
698 |
'social_phone' => '',
|
699 |
'social_skype' => '',
|
|
|
700 |
'login_button' => '1',
|
701 |
'linkback' => '0',
|
702 |
'roles' => array('administrator'),
|
@@ -730,6 +734,7 @@ class UCP {
|
|
730 |
case 'social_email':
|
731 |
case 'social_phone':
|
732 |
case 'social_skype':
|
|
|
733 |
$options[$key] = trim($value);
|
734 |
break;
|
735 |
case 'ga_tracking_id':
|
@@ -996,6 +1001,12 @@ class UCP {
|
|
996 |
echo '<p class="description">Skype username / account name.</p>';
|
997 |
echo '</td></tr>';
|
998 |
|
|
|
|
|
|
|
|
|
|
|
|
|
999 |
echo '<tr valign="top">
|
1000 |
<th scope="row"><label for="social_email">Email Address</label></th>
|
1001 |
<td><input id="social_email" type="email" class="regular-text code" name="' . UCP_OPTIONS_KEY . '[social_email]" value="' . esc_attr($options['social_email']) . '" placeholder="name@domain.com">';
|
@@ -1018,7 +1029,7 @@ class UCP {
|
|
1018 |
|
1019 |
$img_path = UCP_PLUGIN_URL . 'images/';
|
1020 |
|
1021 |
-
$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');
|
1022 |
|
1023 |
echo '<table class="form-table">';
|
1024 |
echo '<tr valign="top">
|
@@ -1035,7 +1046,7 @@ class UCP {
|
|
1035 |
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>';
|
1036 |
}
|
1037 |
|
1038 |
-
echo '<div class="ucp-thumb-special"><a href="https://twitter.com/intent/tweet?text=' . urlencode('
|
1039 |
|
1040 |
echo '</td></tr>';
|
1041 |
|
@@ -1104,6 +1115,12 @@ class UCP {
|
|
1104 |
|
1105 |
echo '<p><b>I\'ve made changes to UCP, but they are not visible. What do I do?</b><br>Click "Save Changes" one more time. Open your site and force refresh browser cache (Ctrl or Shift + F5). If that doesn\'t help it means you have a caching plugin installed. Purge/delete cache in that plugin or disable it.</p>';
|
1106 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1107 |
echo '<h2><br>How to get support?</h2>';
|
1108 |
|
1109 |
echo '<p>We do our very best to keep <span class="ucp-logo">UnderConstructionPage</span> bug free and compatible with all plugins and themes. If you run into a problem head over to the <a target="_blank" href="http://wordpress.org/support/plugin/under-construction-page">official support forum</a>, open a new thread, and we\'ll help you ASAP.</p>';
|
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.65
|
8 |
Author URI: http://www.webfactoryltd.com/
|
9 |
Text Domain: under-construction-page
|
10 |
Domain Path: lang
|
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 |
}
|
700 |
'social_email' => '',
|
701 |
'social_phone' => '',
|
702 |
'social_skype' => '',
|
703 |
+
'social_whatsapp' => '',
|
704 |
'login_button' => '1',
|
705 |
'linkback' => '0',
|
706 |
'roles' => array('administrator'),
|
734 |
case 'social_email':
|
735 |
case 'social_phone':
|
736 |
case 'social_skype':
|
737 |
+
case 'social_whatsapp':
|
738 |
$options[$key] = trim($value);
|
739 |
break;
|
740 |
case 'ga_tracking_id':
|
1001 |
echo '<p class="description">Skype username / account name.</p>';
|
1002 |
echo '</td></tr>';
|
1003 |
|
1004 |
+
echo '<tr valign="top">
|
1005 |
+
<th scope="row"><label for="social_whatsapp">WhatsApp Phone Number</label></th>
|
1006 |
+
<td><input id="social_whatsapp" type="text" class="regular-text code" name="' . UCP_OPTIONS_KEY . '[social_whatsapp]" value="' . esc_attr($options['social_whatsapp']) . '" placeholder="+1-123-456-789">';
|
1007 |
+
echo '<p class="description">WhatsApp phone number in full international format.</p>';
|
1008 |
+
echo '</td></tr>';
|
1009 |
+
|
1010 |
echo '<tr valign="top">
|
1011 |
<th scope="row"><label for="social_email">Email Address</label></th>
|
1012 |
<td><input id="social_email" type="email" class="regular-text code" name="' . UCP_OPTIONS_KEY . '[social_email]" value="' . esc_attr($options['social_email']) . '" placeholder="name@domain.com">';
|
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">
|
1046 |
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>';
|
1047 |
}
|
1048 |
|
1049 |
+
echo '<div class="ucp-thumb-special"><a href="https://twitter.com/intent/tweet?text=' . urlencode('I need more themes for the free Under Construction #wordpress plugin. When are they coming out? @webfactoryltd') . '&url=https://wordpress.org/plugins/under-construction-page/" 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>';
|
1050 |
|
1051 |
echo '</td></tr>';
|
1052 |
|
1115 |
|
1116 |
echo '<p><b>I\'ve made changes to UCP, but they are not visible. What do I do?</b><br>Click "Save Changes" one more time. Open your site and force refresh browser cache (Ctrl or Shift + F5). If that doesn\'t help it means you have a caching plugin installed. Purge/delete cache in that plugin or disable it.</p>';
|
1117 |
|
1118 |
+
echo '<p><b>How can I get more designs? Where do I download them?</b><br>We update the plugin every 7-10 days and each update comes with at least one new theme/design. There is no other way of getting more designs nor a place to download them.</p>';
|
1119 |
+
|
1120 |
+
echo '<p><b>How can I edit designs?</b><br>There is an option to add <a class="change_tab" data-tab="1" href="#custom_css">custom CSS</a>. If you want more than that you will have to edit the source files located in <code>/under-construction-page/themes/</code>.</p>';
|
1121 |
+
|
1122 |
+
echo '<p><b>I have disabled UCP but the under construction page is still visible. How do I remove it?</b><br>Open your site and force refresh browser cache (Ctrl or Shift + F5). If that doesn\'t help it means you have a caching plugin installed. Purge/delete cache in that plugin or disable it.<br>If that fails too contact your hosting provider and ask to empty the site cache for you.</p>';
|
1123 |
+
|
1124 |
echo '<h2><br>How to get support?</h2>';
|
1125 |
|
1126 |
echo '<p>We do our very best to keep <span class="ucp-logo">UnderConstructionPage</span> bug free and compatible with all plugins and themes. If you run into a problem head over to the <a target="_blank" href="http://wordpress.org/support/plugin/under-construction-page">official support forum</a>, open a new thread, and we\'ll help you ASAP.</p>';
|