Version Description
- 2017/06/26
- new theme - Setup
- improved UCP's toolbar/admin bar menu item
Download this release
Release Info
| Developer | WebFactory |
| Plugin | |
| Version | 2.25 |
| Comparing to | |
| See all releases | |
Code changes from version 2.20 to 2.25
- images/thumbnails/iot.png +0 -0
- images/thumbnails/setup.png +0 -0
- readme.txt +13 -7
- themes/iot/style.css +3 -3
- themes/setup/index.php +60 -0
- themes/setup/setup.png +0 -0
- themes/setup/style.css +110 -0
- under-construction.php +44 -14
images/thumbnails/iot.png
CHANGED
|
Binary file
|
images/thumbnails/setup.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.8
|
| 6 |
-
Stable tag: 2.
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
|
@@ -24,7 +24,7 @@ A simple, no-nonsense plugin for all those situations when you have to hide the
|
|
| 24 |
* Under construction mode - off / on
|
| 25 |
* End date & time - automatically disable construction mode on a set date
|
| 26 |
* Google Analytics Tracking ID - enable tracking via Google Analytics
|
| 27 |
-
* Theme - a new one is added with each update, <a href="https://underconstructionpage.com/">test all available themes</a>
|
| 28 |
* Custom CSS - adjust any part of the page to fit your needs
|
| 29 |
* Title - page title, for SEO
|
| 30 |
* Description - page description, for SEO
|
|
@@ -93,15 +93,21 @@ Or if needed, upload manually;
|
|
| 93 |
21. Laptop theme
|
| 94 |
22. Puzzles theme contributed by <a href="https://twitter.com/EdelHaut">Ralf Biester</a>
|
| 95 |
23. Internet of Things
|
| 96 |
-
24.
|
| 97 |
-
25.
|
| 98 |
-
26.
|
| 99 |
-
27.
|
| 100 |
-
28.
|
|
|
|
| 101 |
|
| 102 |
|
| 103 |
== Changelog ==
|
| 104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
= 2.20 =
|
| 106 |
* 2017/06/12
|
| 107 |
* new theme - Internet of Things
|
| 3 |
Tags: maintenance mode, maintenance page, coming soon page, landing page, under construction
|
| 4 |
Requires at least: 4.0
|
| 5 |
Tested up to: 4.8
|
| 6 |
+
Stable tag: 2.25
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
| 24 |
* Under construction mode - off / on
|
| 25 |
* End date & time - automatically disable construction mode on a set date
|
| 26 |
* Google Analytics Tracking ID - enable tracking via Google Analytics
|
| 27 |
+
* Theme - a new one is added with each update, <a href="https://underconstructionpage.com/">test all available themes (25+)</a>
|
| 28 |
* Custom CSS - adjust any part of the page to fit your needs
|
| 29 |
* Title - page title, for SEO
|
| 30 |
* Description - page description, for SEO
|
| 93 |
21. Laptop theme
|
| 94 |
22. Puzzles theme contributed by <a href="https://twitter.com/EdelHaut">Ralf Biester</a>
|
| 95 |
23. Internet of Things
|
| 96 |
+
24. Setup theme
|
| 97 |
+
25. Main settings
|
| 98 |
+
26. Design settings
|
| 99 |
+
27. Content settings
|
| 100 |
+
28. Access settings
|
| 101 |
+
29. Support
|
| 102 |
|
| 103 |
|
| 104 |
== Changelog ==
|
| 105 |
|
| 106 |
+
= 2.25 =
|
| 107 |
+
* 2017/06/26
|
| 108 |
+
* new theme - Setup
|
| 109 |
+
* improved UCP's toolbar/admin bar menu item
|
| 110 |
+
|
| 111 |
= 2.20 =
|
| 112 |
* 2017/06/12
|
| 113 |
* new theme - Internet of Things
|
themes/iot/style.css
CHANGED
|
@@ -15,7 +15,7 @@ body {
|
|
| 15 |
font-weight: 400;
|
| 16 |
font-size: 14px;
|
| 17 |
line-height: 120%;
|
| 18 |
-
color: #
|
| 19 |
background: #cd1f1f;
|
| 20 |
padding: 0;
|
| 21 |
margin: 0;
|
|
@@ -35,7 +35,7 @@ body {
|
|
| 35 |
|
| 36 |
h1 {
|
| 37 |
font-size: 34px;
|
| 38 |
-
color: #
|
| 39 |
font-family: "Roboto", sans-serif;
|
| 40 |
font-weight: 900;
|
| 41 |
margin: 60px 0 30px 0;
|
|
@@ -59,7 +59,7 @@ h1 {
|
|
| 59 |
}
|
| 60 |
|
| 61 |
#social a:hover i {
|
| 62 |
-
color: #
|
| 63 |
}
|
| 64 |
|
| 65 |
@media(max-width:767px){
|
| 15 |
font-weight: 400;
|
| 16 |
font-size: 14px;
|
| 17 |
line-height: 120%;
|
| 18 |
+
color: #ffffff;
|
| 19 |
background: #cd1f1f;
|
| 20 |
padding: 0;
|
| 21 |
margin: 0;
|
| 35 |
|
| 36 |
h1 {
|
| 37 |
font-size: 34px;
|
| 38 |
+
color: #ffffff;
|
| 39 |
font-family: "Roboto", sans-serif;
|
| 40 |
font-weight: 900;
|
| 41 |
margin: 60px 0 30px 0;
|
| 59 |
}
|
| 60 |
|
| 61 |
#social a:hover i {
|
| 62 |
+
color: #ffffff;
|
| 63 |
}
|
| 64 |
|
| 65 |
@media(max-width:767px){
|
themes/setup/index.php
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/*
|
| 3 |
+
* UnderConstructionPage
|
| 4 |
+
* Setup 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=Nunito:400,900">
|
| 26 |
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,600">
|
| 27 |
+
[head]
|
| 28 |
+
</head>
|
| 29 |
+
|
| 30 |
+
<body>
|
| 31 |
+
<div class="container top-container">
|
| 32 |
+
<div class="row display-table">
|
| 33 |
+
<div class="col-lg-offset-1 col-xs-12 col-md-12 col-lg-5 display-cell">
|
| 34 |
+
<h1>[heading1]</h1>
|
| 35 |
+
</div>
|
| 36 |
+
<div class="col-xs-12 col-md-12 col-lg-5 display-cell">
|
| 37 |
+
<div id="hero-image">
|
| 38 |
+
<img src="[theme-url]setup.png" alt="Site Setup is Under Way" title="Site Setup is Under Way">
|
| 39 |
+
</div>
|
| 40 |
+
</div>
|
| 41 |
+
</div>
|
| 42 |
+
</div>
|
| 43 |
+
|
| 44 |
+
<div class="container">
|
| 45 |
+
<div class="row">
|
| 46 |
+
<div class="col-xs-12 col-md-8 col-md-offset-2 col-lg-offset-2 col-lg-8">
|
| 47 |
+
<p class="content">[content]</p>
|
| 48 |
+
</div>
|
| 49 |
+
</div>
|
| 50 |
+
|
| 51 |
+
<div class="row" id="social">
|
| 52 |
+
<div class="col-xs-12 col-md-12 col-lg-12">
|
| 53 |
+
[social-icons]
|
| 54 |
+
</div>
|
| 55 |
+
</div>
|
| 56 |
+
|
| 57 |
+
</div>
|
| 58 |
+
[footer]
|
| 59 |
+
</body>
|
| 60 |
+
</html>
|
themes/setup/setup.png
ADDED
|
Binary file
|
themes/setup/style.css
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* UnderConstructionPage
|
| 3 |
+
* Setup 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: 15px;
|
| 17 |
+
line-height: 120%;
|
| 18 |
+
color: #111111;
|
| 19 |
+
background: #ffc153;
|
| 20 |
+
padding: 0;
|
| 21 |
+
margin: 0;
|
| 22 |
+
height: 100%;
|
| 23 |
+
background-repeat: no-repeat;
|
| 24 |
+
background-attachment: fixed;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
.top-container {
|
| 28 |
+
padding: 50px 0;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
#hero-image {
|
| 32 |
+
text-align: center;
|
| 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: 34px;
|
| 52 |
+
color: #e1632b;
|
| 53 |
+
font-family: "Nunito", sans-serif;
|
| 54 |
+
font-weight: 900;
|
| 55 |
+
margin: 20px 0 30px 0;
|
| 56 |
+
text-align: right;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
.content {
|
| 60 |
+
text-align: center;
|
| 61 |
+
font-family: "Open Sans", sans-serif;
|
| 62 |
+
font-weight: 600;
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
#social {
|
| 66 |
+
text-align: center;
|
| 67 |
+
margin-top: 30px;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
#social a i {
|
| 71 |
+
color: #111111;
|
| 72 |
+
margin: 10px;
|
| 73 |
+
box-sizing: content-box;
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
#social a:hover i {
|
| 77 |
+
color: #ffffff;
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
@media(max-width:767px) {
|
| 81 |
+
h1 {
|
| 82 |
+
font-size: 28px;
|
| 83 |
+
margin: 10px 0 30px 0;
|
| 84 |
+
}
|
| 85 |
+
#hero-image img {
|
| 86 |
+
max-width: 95%;
|
| 87 |
+
}
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
@media (max-width: 1200px) {
|
| 91 |
+
h1 {
|
| 92 |
+
text-align: center;
|
| 93 |
+
padding: 0 20px;
|
| 94 |
+
}
|
| 95 |
+
.display-table {
|
| 96 |
+
display: initial;
|
| 97 |
+
table-layout: auto;
|
| 98 |
+
}
|
| 99 |
+
.display-cell {
|
| 100 |
+
display: block;
|
| 101 |
+
vertical-align: middle;
|
| 102 |
+
float: none;
|
| 103 |
+
}
|
| 104 |
+
#hero-image img {
|
| 105 |
+
max-height: 250px
|
| 106 |
+
}
|
| 107 |
+
.top-container {
|
| 108 |
+
padding: 25px 0;
|
| 109 |
+
}
|
| 110 |
+
}
|
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
|
|
@@ -103,7 +103,9 @@ class UCP {
|
|
| 103 |
} // if not admin
|
| 104 |
|
| 105 |
// admin bar notice for frontend & backend
|
| 106 |
-
add_action('wp_before_admin_bar_render', array(__CLASS__, '
|
|
|
|
|
|
|
| 107 |
} // init
|
| 108 |
|
| 109 |
|
|
@@ -502,7 +504,7 @@ class UCP {
|
|
| 502 |
} elseif ($tmp[0] < '8') {
|
| 503 |
$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>';
|
| 504 |
} elseif ($tmp[0] < 'c') {
|
| 505 |
-
$out .= '<p id="linkback">Join more than
|
| 506 |
} else {
|
| 507 |
$out .= '<p id="linkback">Create free <a href="https://underconstructionpage.com/" target="_blank">maintenance mode pages for WordPress</a>.</p>';
|
| 508 |
}
|
|
@@ -658,29 +660,56 @@ class UCP {
|
|
| 658 |
} // dismiss_notice
|
| 659 |
|
| 660 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 661 |
// add admin bar notice when construction is enabled
|
| 662 |
-
static function
|
| 663 |
global $wp_admin_bar;
|
| 664 |
|
| 665 |
// only show to admins
|
| 666 |
-
if (
|
| 667 |
return;
|
| 668 |
}
|
| 669 |
|
| 670 |
if (self::is_construction_mode_enabled(true)) {
|
| 671 |
-
$
|
| 672 |
$class = 'ucp-enabled';
|
|
|
|
| 673 |
} else {
|
| 674 |
-
$
|
| 675 |
$class = 'ucp-disabled';
|
|
|
|
| 676 |
}
|
| 677 |
|
| 678 |
$wp_admin_bar->add_menu(array(
|
| 679 |
-
|
| 680 |
-
|
| 681 |
-
|
| 682 |
-
|
| 683 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 684 |
));
|
| 685 |
} // admin_bar_notice
|
| 686 |
|
|
@@ -825,7 +854,7 @@ class UCP {
|
|
| 825 |
$epc = new Endurance_Page_Cache;
|
| 826 |
$epc->purge_all();
|
| 827 |
}
|
| 828 |
-
if (
|
| 829 |
SG_CachePress_Supercacher::purge_cache(true);
|
| 830 |
}
|
| 831 |
}
|
|
@@ -1121,7 +1150,8 @@ class UCP {
|
|
| 1121 |
'ambulance' => __('Ambulance', 'under-construction-page'),
|
| 1122 |
'laptop' => __('Laptop', 'under-construction-page'),
|
| 1123 |
'puzzles' => __('Puzzles', 'under-construction-page'),
|
| 1124 |
-
'iot' => __('Internet of Things', 'under-construction-page')
|
|
|
|
| 1125 |
$themes = apply_filters('ucp_themes', $themes);
|
| 1126 |
|
| 1127 |
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.25
|
| 8 |
Author URI: http://www.webfactoryltd.com/
|
| 9 |
Text Domain: under-construction-page
|
| 10 |
Domain Path: lang
|
| 103 |
} // if not admin
|
| 104 |
|
| 105 |
// admin bar notice for frontend & backend
|
| 106 |
+
add_action('wp_before_admin_bar_render', array(__CLASS__, 'admin_bar'));
|
| 107 |
+
add_action('wp_head', array(__CLASS__, 'admin_bar_style'));
|
| 108 |
+
add_action('admin_head', array(__CLASS__, 'admin_bar_style'));
|
| 109 |
} // init
|
| 110 |
|
| 111 |
|
| 504 |
} elseif ($tmp[0] < '8') {
|
| 505 |
$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>';
|
| 506 |
} elseif ($tmp[0] < 'c') {
|
| 507 |
+
$out .= '<p id="linkback">Join more than 80,000 webmasters using the <a href="https://wordpress.org/plugins/under-construction-page/" target="_blank">free Under Construction Page plugin for WordPress</a>.</p>';
|
| 508 |
} else {
|
| 509 |
$out .= '<p id="linkback">Create free <a href="https://underconstructionpage.com/" target="_blank">maintenance mode pages for WordPress</a>.</p>';
|
| 510 |
}
|
| 660 |
} // dismiss_notice
|
| 661 |
|
| 662 |
|
| 663 |
+
static function admin_bar_style() {
|
| 664 |
+
// admin bar has to be anabled, user an admin and custom filter true
|
| 665 |
+
if (false === is_admin_bar_showing() || false === current_user_can('administrator') || false === apply_filters('ucp_show_admin_bar', true)) {
|
| 666 |
+
return;
|
| 667 |
+
}
|
| 668 |
+
|
| 669 |
+
// no sense in loading a new CSS file for 2 lines of CSS
|
| 670 |
+
$custom_css = '<style type="text/css">#wpadminbar ul li#wp-admin-bar-ucp-info { padding: 5px 0; } #wpadminbar ul li#wp-admin-bar-ucp-settings { background-color: rgb(35, 40, 45); }</style>';
|
| 671 |
+
|
| 672 |
+
echo $custom_css;
|
| 673 |
+
} // admin_bar_style
|
| 674 |
+
|
| 675 |
+
|
| 676 |
// add admin bar notice when construction is enabled
|
| 677 |
+
static function admin_bar() {
|
| 678 |
global $wp_admin_bar;
|
| 679 |
|
| 680 |
// only show to admins
|
| 681 |
+
if (false === current_user_can('administrator') || false === apply_filters('ucp_show_admin_bar', true)) {
|
| 682 |
return;
|
| 683 |
}
|
| 684 |
|
| 685 |
if (self::is_construction_mode_enabled(true)) {
|
| 686 |
+
$main_label = '<img style="height: 17px; margin-bottom: -4px; padding-right: 3px;" src="' . UCP_PLUGIN_URL . '/images/ucp_icon_enabled.png" alt="' . __('Under construction mode is enabled', 'under-construction-page') . '" title="' . __('Under construction mode is enabled', 'under-construction-page') . '"> <span class="ab-label">' . __('UnderConstruction', 'under-construction-page') . '</span>';
|
| 687 |
$class = 'ucp-enabled';
|
| 688 |
+
$status = 'Under construction mode is <b style="font-weight: bold;">enabled</b>';
|
| 689 |
} else {
|
| 690 |
+
$main_label = '<img style="height: 17px; margin-bottom: -4px; padding-right: 3px;" src="' . UCP_PLUGIN_URL . '/images/ucp_icon_disabled.png" alt="' . __('Under construction mode is disabled', 'under-construction-page') . '" title="' . __('Under construction mode is disabled', 'under-construction-page') . '"> <span class="ab-label">' . __('UnderConstruction', 'under-construction-page') . '</span>';
|
| 691 |
$class = 'ucp-disabled';
|
| 692 |
+
$status = 'Under construction mode is <b style="font-weight: bold;">disabled</b>';
|
| 693 |
}
|
| 694 |
|
| 695 |
$wp_admin_bar->add_menu(array(
|
| 696 |
+
'parent' => '',
|
| 697 |
+
'id' => 'under-construction-page',
|
| 698 |
+
'title' => $main_label,
|
| 699 |
+
'href' => admin_url('options-general.php?page=ucp'),
|
| 700 |
+
'meta' => array('class' => $class)
|
| 701 |
+
));
|
| 702 |
+
$wp_admin_bar->add_node( array(
|
| 703 |
+
'id' => 'ucp-info',
|
| 704 |
+
'title' => $status,
|
| 705 |
+
'href' => false,
|
| 706 |
+
'parent'=> 'under-construction-page'
|
| 707 |
+
));
|
| 708 |
+
$wp_admin_bar->add_node( array(
|
| 709 |
+
'id' => 'ucp-settings',
|
| 710 |
+
'title' => __('Settings', 'under-construction-page'),
|
| 711 |
+
'href' => admin_url('options-general.php?page=ucp'),
|
| 712 |
+
'parent'=> 'under-construction-page'
|
| 713 |
));
|
| 714 |
} // admin_bar_notice
|
| 715 |
|
| 854 |
$epc = new Endurance_Page_Cache;
|
| 855 |
$epc->purge_all();
|
| 856 |
}
|
| 857 |
+
if (method_exists('SG_CachePress_Supercacher', 'purge_cache')) {
|
| 858 |
SG_CachePress_Supercacher::purge_cache(true);
|
| 859 |
}
|
| 860 |
}
|
| 1150 |
'ambulance' => __('Ambulance', 'under-construction-page'),
|
| 1151 |
'laptop' => __('Laptop', 'under-construction-page'),
|
| 1152 |
'puzzles' => __('Puzzles', 'under-construction-page'),
|
| 1153 |
+
'iot' => __('Internet of Things', 'under-construction-page'),
|
| 1154 |
+
'setup' => __('Setup', 'under-construction-page'));
|
| 1155 |
$themes = apply_filters('ucp_themes', $themes);
|
| 1156 |
|
| 1157 |
echo '<table class="form-table">';
|
