Version Description
- 2016/10/24
- 3 new social icons
- 1 new theme
Download this release
Release Info
Developer | WebFactory |
Plugin | Under Construction |
Version | 1.24 |
Comparing to | |
See all releases |
Code changes from version 1.22 to 1.24
- images/dark.png +0 -0
- readme.txt +15 -5
- themes/dark/dark.jpg +0 -0
- themes/dark/index.php +55 -0
- themes/dark/style.css +76 -0
- themes/mad_designer/index.php +1 -11
- themes/plain_text/index.php +1 -11
- themes/under_construction/index.php +1 -11
- under-construction.php +57 -3
images/dark.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
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.6
|
6 |
-
Stable tag: 1.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -21,9 +21,13 @@ A simple, no-nonsense plugin for all those situations when you have to hide the
|
|
21 |
* Title
|
22 |
* Headline
|
23 |
* Content
|
24 |
-
*
|
25 |
-
*
|
26 |
-
*
|
|
|
|
|
|
|
|
|
27 |
* Whitelisted User Roles - users who see the site, instead of maintenance page
|
28 |
|
29 |
|
@@ -50,10 +54,16 @@ Or if needed, upload manually;
|
|
50 |
2. Mad Designer theme
|
51 |
3. Plain Text theme
|
52 |
4. Under Construction theme
|
|
|
53 |
|
54 |
|
55 |
== Changelog ==
|
56 |
|
|
|
|
|
|
|
|
|
|
|
57 |
= 1.22 =
|
58 |
* 2016/10/10
|
59 |
* minor fixes
|
@@ -100,4 +110,4 @@ None. Once you disable the construction mode you're site will function as it did
|
|
100 |
|
101 |
= It's not working!!! Arrrrrrrrr =
|
102 |
|
103 |
-
We did our very best to make Under Construction compatible with all plugins and themes, but problems can still happen. No worries, head over to the <a href="http://wordpress.org/support/plugin/under-construction-page">support forum</a> open a new thread, and we'll help you ASAP.
|
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
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.6
|
6 |
+
Stable tag: 1.24
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
21 |
* Title
|
22 |
* Headline
|
23 |
* Content
|
24 |
+
* Social icons/links:
|
25 |
+
* Facebook
|
26 |
+
* Twitter
|
27 |
+
* Google+
|
28 |
+
* LinkedIn
|
29 |
+
* YouTube
|
30 |
+
* Pinterest
|
31 |
* Whitelisted User Roles - users who see the site, instead of maintenance page
|
32 |
|
33 |
|
54 |
2. Mad Designer theme
|
55 |
3. Plain Text theme
|
56 |
4. Under Construction theme
|
57 |
+
5. Things Went Dark theme
|
58 |
|
59 |
|
60 |
== Changelog ==
|
61 |
|
62 |
+
= 1.24 =
|
63 |
+
* 2016/10/24
|
64 |
+
* 3 new social icons
|
65 |
+
* 1 new theme
|
66 |
+
|
67 |
= 1.22 =
|
68 |
* 2016/10/10
|
69 |
* minor fixes
|
110 |
|
111 |
= It's not working!!! Arrrrrrrrr =
|
112 |
|
113 |
+
We did our very best to make Under Construction compatible with all plugins and themes, but problems can still happen. No worries, head over to the <a href="http://wordpress.org/support/plugin/under-construction-page">support forum</a> open a new thread, and we'll help you ASAP.
|
themes/dark/dark.jpg
ADDED
Binary file
|
themes/dark/index.php
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* Under Construction
|
4 |
+
* Things Went Dark 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="Under Construction 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 |
+
|
29 |
+
<body>
|
30 |
+
<div id="hero-image">
|
31 |
+
<img src="[theme-url]dark.jpg" alt="Mad Designer at work in the dark" title="Mad Designer at work in the dark">
|
32 |
+
</div>
|
33 |
+
<div class="container">
|
34 |
+
|
35 |
+
<div class="row">
|
36 |
+
<div class="col-xs-12 col-md-12 col-lg-12">
|
37 |
+
<h1>[heading1]</h1>
|
38 |
+
</div>
|
39 |
+
</div>
|
40 |
+
|
41 |
+
<div class="row">
|
42 |
+
<div class="col-xs-12 col-md-8 col-md-offset-2 col-lg-offset-2 col-lg-8">
|
43 |
+
<p class="content">[content]</p>
|
44 |
+
</div>
|
45 |
+
</div>
|
46 |
+
|
47 |
+
<div class="row" id="social">
|
48 |
+
<div class="col-xs-12 col-md-12 col-lg-12">
|
49 |
+
[social-icons]
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
+
|
53 |
+
</div>
|
54 |
+
</body>
|
55 |
+
</html>
|
themes/dark/style.css
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* Under Construction
|
3 |
+
* Things Went Dark 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: #ffffff;
|
19 |
+
background: #212f3c;
|
20 |
+
padding: 0;
|
21 |
+
margin: 0;
|
22 |
+
}
|
23 |
+
|
24 |
+
#hero-image {
|
25 |
+
text-align: center;
|
26 |
+
margin: 0 auto 10px auto;
|
27 |
+
}
|
28 |
+
|
29 |
+
#hero-image img {
|
30 |
+
max-width: 80%;
|
31 |
+
}
|
32 |
+
|
33 |
+
h1 {
|
34 |
+
font-size: 34px;
|
35 |
+
color: #e2e2e2;
|
36 |
+
font-family: "Roboto", sans-serif;
|
37 |
+
font-weight: 900;
|
38 |
+
margin: 20px 0 30px 0;
|
39 |
+
text-align: center;
|
40 |
+
}
|
41 |
+
|
42 |
+
.content {
|
43 |
+
text-align: center;
|
44 |
+
font-family: "Helvetica", "Arial", sans-serif;
|
45 |
+
}
|
46 |
+
|
47 |
+
#social {
|
48 |
+
text-align: center;
|
49 |
+
margin: 30px 0;
|
50 |
+
}
|
51 |
+
|
52 |
+
#social a i {
|
53 |
+
color: #bdbec0;
|
54 |
+
margin: 10px;
|
55 |
+
box-sizing: content-box;
|
56 |
+
}
|
57 |
+
|
58 |
+
#social a:hover i {
|
59 |
+
color: #cc6633;
|
60 |
+
}
|
61 |
+
|
62 |
+
@media(max-width:767px){
|
63 |
+
h1 {
|
64 |
+
font-size: 30px;
|
65 |
+
margin: 10px 0 30px 0;
|
66 |
+
}
|
67 |
+
#hero-image img {
|
68 |
+
max-width: 95%;
|
69 |
+
}
|
70 |
+
}
|
71 |
+
|
72 |
+
@media(min-width:1600px){
|
73 |
+
#hero-image img {
|
74 |
+
max-width: 60%;
|
75 |
+
}
|
76 |
+
}
|
themes/mad_designer/index.php
CHANGED
@@ -46,17 +46,7 @@ if (!defined('ABSPATH')) {
|
|
46 |
|
47 |
<div class="row" id="social">
|
48 |
<div class="col-xs-12 col-md-12 col-lg-12">
|
49 |
-
|
50 |
-
if (!empty($options['social_facebook'])) {
|
51 |
-
echo '<a href="' . $options['social_facebook'] . '" target="_blank"><i class="fa fa-facebook-square fa-3x"></i></a>';
|
52 |
-
}
|
53 |
-
if (!empty($options['social_twitter'])) {
|
54 |
-
echo '<a href="' . $options['social_twitter'] . '" target="_blank"><i class="fa fa-twitter-square fa-3x"></i></a>';
|
55 |
-
}
|
56 |
-
if (!empty($options['social_google'])) {
|
57 |
-
echo '<a href="' . $options['social_google'] . '" target="_blank"><i class="fa fa-google-plus-square fa-3x"></i></a>';
|
58 |
-
}
|
59 |
-
?>
|
60 |
</div>
|
61 |
</div>
|
62 |
|
46 |
|
47 |
<div class="row" id="social">
|
48 |
<div class="col-xs-12 col-md-12 col-lg-12">
|
49 |
+
[social-icons]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
</div>
|
51 |
</div>
|
52 |
|
themes/plain_text/index.php
CHANGED
@@ -49,17 +49,7 @@ if (!defined('ABSPATH')) {
|
|
49 |
|
50 |
<div class="row" id="social">
|
51 |
<div class="col-xs-12 col-md-12 col-lg-12">
|
52 |
-
|
53 |
-
if (!empty($options['social_facebook'])) {
|
54 |
-
echo '<a href="' . $options['social_facebook'] . '" target="_blank"><i class="fa fa-facebook-square fa-3x"></i></a>';
|
55 |
-
}
|
56 |
-
if (!empty($options['social_twitter'])) {
|
57 |
-
echo '<a href="' . $options['social_twitter'] . '" target="_blank"><i class="fa fa-twitter-square fa-3x"></i></a>';
|
58 |
-
}
|
59 |
-
if (!empty($options['social_google'])) {
|
60 |
-
echo '<a href="' . $options['social_google'] . '" target="_blank"><i class="fa fa-google-plus-square fa-3x"></i></a>';
|
61 |
-
}
|
62 |
-
?>
|
63 |
</div>
|
64 |
</div>
|
65 |
|
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 |
|
themes/under_construction/index.php
CHANGED
@@ -48,17 +48,7 @@ if (!defined('ABSPATH')) {
|
|
48 |
|
49 |
<div class="row" id="social">
|
50 |
<div class="col-xs-12 col-md-12 col-lg-12">
|
51 |
-
|
52 |
-
if (!empty($options['social_facebook'])) {
|
53 |
-
echo '<a href="' . $options['social_facebook'] . '" target="_blank"><i class="fa fa-facebook-square fa-3x"></i></a>';
|
54 |
-
}
|
55 |
-
if (!empty($options['social_twitter'])) {
|
56 |
-
echo '<a href="' . $options['social_twitter'] . '" target="_blank"><i class="fa fa-twitter-square fa-3x"></i></a>';
|
57 |
-
}
|
58 |
-
if (!empty($options['social_google'])) {
|
59 |
-
echo '<a href="' . $options['social_google'] . '" target="_blank"><i class="fa fa-google-plus-square fa-3x"></i></a>';
|
60 |
-
}
|
61 |
-
?>
|
62 |
</div>
|
63 |
</div>
|
64 |
|
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 |
|
under-construction.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin URI: https://wordpress.org/plugins/under-construction-page/
|
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
|
@@ -274,6 +274,33 @@ class UCP {
|
|
274 |
return $string;
|
275 |
} // parse_vars
|
276 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
277 |
|
278 |
// returnes parsed template
|
279 |
static function get_template($template_id) {
|
@@ -289,6 +316,7 @@ class UCP {
|
|
289 |
$vars['heading1'] = self::parse_vars($options['heading1']);
|
290 |
$vars['content'] = nl2br(self::parse_vars($options['content']));
|
291 |
$vars['description'] = get_bloginfo('description');
|
|
|
292 |
|
293 |
ob_start();
|
294 |
require UCP_PLUGIN_DIR . 'themes/' . $template_id . '/index.php';
|
@@ -454,6 +482,9 @@ class UCP {
|
|
454 |
'social_facebook' => '',
|
455 |
'social_twitter' => '',
|
456 |
'social_google' => '',
|
|
|
|
|
|
|
457 |
'roles' => array('administrator')
|
458 |
);
|
459 |
|
@@ -473,6 +504,9 @@ class UCP {
|
|
473 |
case 'social_facebook':
|
474 |
case 'social_twitter':
|
475 |
case 'social_google':
|
|
|
|
|
|
|
476 |
$options[$key] = trim($value);
|
477 |
break;
|
478 |
} // switch
|
@@ -515,7 +549,7 @@ class UCP {
|
|
515 |
} // checked
|
516 |
|
517 |
|
518 |
-
// helper function for
|
519 |
static function check_var_isset($values, $variables) {
|
520 |
foreach ($variables as $key => $value) {
|
521 |
if (!isset($values[$key])) {
|
@@ -606,6 +640,8 @@ class UCP {
|
|
606 |
|
607 |
<div class="ucp-thumb"><label for="layout-3"><img src="' . $img . 'under_construction.png" alt="Under Construction" title="Under Construction" /></label><br /><input ' . self::checked('under_construction', $options['theme']) . ' type="radio" id="layout-3" name="' . UCP_OPTIONS_KEY . '[theme]" value="under_construction" /> Under Construction</div>
|
608 |
|
|
|
|
|
609 |
<div class="ucp-thumb"><a href="https://twitter.com/intent/tweet?text=' . urlencode('@webfactoryltd I need more themes for Under Construction #wordpress plugin. When are they coming out?') . '&url=https://wordpress.org/plugins/under-construction-page/" target="_blank"><img src="' . $img . 'more_coming_soon.png" alt="Need more themes?" title="Need more themes?" /></a><br />Click for More Themes</div>
|
610 |
</td></tr>';
|
611 |
|
@@ -643,7 +679,7 @@ class UCP {
|
|
643 |
echo '</td></tr>';
|
644 |
|
645 |
echo '<tr valign="top">
|
646 |
-
<th scope="row"><label for="social_twitter">Twitter
|
647 |
<td><input id="social_twitter" type="url" class="regular-text code" name="' . UCP_OPTIONS_KEY . '[social_twitter]" value="' . $options['social_twitter'] . '" placeholder="Twitter profile URL">';
|
648 |
echo '<p class="description">Complete URL, with http prefix, to Twitter profile page.</p>';
|
649 |
echo '</td></tr>';
|
@@ -653,6 +689,24 @@ class UCP {
|
|
653 |
<td><input id="social_google" type="url" class="regular-text code" name="' . UCP_OPTIONS_KEY . '[social_google]" value="' . $options['social_google'] . '" placeholder="Google+ page URL">';
|
654 |
echo '<p class="description">Complete URL, with http prefix, to Google+ page.</p>';
|
655 |
echo '</td></tr>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
656 |
|
657 |
echo '<tr valign="top" id="whitelisted-roles">
|
658 |
<th scope="row">Whitelisted User Roles</th>
|
4 |
Plugin URI: https://wordpress.org/plugins/under-construction-page/
|
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.24
|
8 |
Author URI: http://www.webfactoryltd.com/
|
9 |
Text Domain: under-construction-page
|
10 |
Domain Path: lang
|
274 |
return $string;
|
275 |
} // parse_vars
|
276 |
|
277 |
+
|
278 |
+
// generate HTML from social icons
|
279 |
+
static function generate_social_icons($options, $template_id) {
|
280 |
+
$out = '';
|
281 |
+
|
282 |
+
if (!empty($options['social_facebook'])) {
|
283 |
+
$out .= '<a href="' . $options['social_facebook'] . '" target="_blank"><i class="fa fa-facebook-square fa-3x"></i></a>';
|
284 |
+
}
|
285 |
+
if (!empty($options['social_twitter'])) {
|
286 |
+
$out .= '<a href="' . $options['social_twitter'] . '" target="_blank"><i class="fa fa-twitter-square fa-3x"></i></a>';
|
287 |
+
}
|
288 |
+
if (!empty($options['social_google'])) {
|
289 |
+
$out .= '<a href="' . $options['social_google'] . '" target="_blank"><i class="fa fa-google-plus-square fa-3x"></i></a>';
|
290 |
+
}
|
291 |
+
if (!empty($options['social_linkedin'])) {
|
292 |
+
$out .= '<a href="' . $options['social_linkedin'] . '" target="_blank"><i class="fa fa-linkedin-square fa-3x"></i></a>';
|
293 |
+
}
|
294 |
+
if (!empty($options['social_youtube'])) {
|
295 |
+
$out .= '<a href="' . $options['social_youtube'] . '" target="_blank"><i class="fa fa-youtube-square fa-3x"></i></a>';
|
296 |
+
}
|
297 |
+
if (!empty($options['social_pinterest'])) {
|
298 |
+
$out .= '<a href="' . $options['social_pinterest'] . '" target="_blank"><i class="fa fa-pinterest-square fa-3x"></i></a>';
|
299 |
+
}
|
300 |
+
|
301 |
+
return $out;
|
302 |
+
} // generate_social_icons
|
303 |
+
|
304 |
|
305 |
// returnes parsed template
|
306 |
static function get_template($template_id) {
|
316 |
$vars['heading1'] = self::parse_vars($options['heading1']);
|
317 |
$vars['content'] = nl2br(self::parse_vars($options['content']));
|
318 |
$vars['description'] = get_bloginfo('description');
|
319 |
+
$vars['social-icons'] = self::generate_social_icons($options, $template_id);
|
320 |
|
321 |
ob_start();
|
322 |
require UCP_PLUGIN_DIR . 'themes/' . $template_id . '/index.php';
|
482 |
'social_facebook' => '',
|
483 |
'social_twitter' => '',
|
484 |
'social_google' => '',
|
485 |
+
'social_linkedin' => '',
|
486 |
+
'social_youtube' => '',
|
487 |
+
'social_pinterest' => '',
|
488 |
'roles' => array('administrator')
|
489 |
);
|
490 |
|
504 |
case 'social_facebook':
|
505 |
case 'social_twitter':
|
506 |
case 'social_google':
|
507 |
+
case 'social_linkedin':
|
508 |
+
case 'social_youtube':
|
509 |
+
case 'social_pinterest':
|
510 |
$options[$key] = trim($value);
|
511 |
break;
|
512 |
} // switch
|
549 |
} // checked
|
550 |
|
551 |
|
552 |
+
// helper function for saving options, mostly checkboxes
|
553 |
static function check_var_isset($values, $variables) {
|
554 |
foreach ($variables as $key => $value) {
|
555 |
if (!isset($values[$key])) {
|
640 |
|
641 |
<div class="ucp-thumb"><label for="layout-3"><img src="' . $img . 'under_construction.png" alt="Under Construction" title="Under Construction" /></label><br /><input ' . self::checked('under_construction', $options['theme']) . ' type="radio" id="layout-3" name="' . UCP_OPTIONS_KEY . '[theme]" value="under_construction" /> Under Construction</div>
|
642 |
|
643 |
+
<div class="ucp-thumb"><label for="layout-4"><img src="' . $img . 'dark.png" alt="Things Went Dark" title="Things Went Dark" /></label><br /><input ' . self::checked('dark', $options['theme']) . ' type="radio" id="layout-4" name="' . UCP_OPTIONS_KEY . '[theme]" value="dark" /> Things Went Dark</div>
|
644 |
+
|
645 |
<div class="ucp-thumb"><a href="https://twitter.com/intent/tweet?text=' . urlencode('@webfactoryltd I need more themes for Under Construction #wordpress plugin. When are they coming out?') . '&url=https://wordpress.org/plugins/under-construction-page/" target="_blank"><img src="' . $img . 'more_coming_soon.png" alt="Need more themes?" title="Need more themes?" /></a><br />Click for More Themes</div>
|
646 |
</td></tr>';
|
647 |
|
679 |
echo '</td></tr>';
|
680 |
|
681 |
echo '<tr valign="top">
|
682 |
+
<th scope="row"><label for="social_twitter">Twitter Profile</label></th>
|
683 |
<td><input id="social_twitter" type="url" class="regular-text code" name="' . UCP_OPTIONS_KEY . '[social_twitter]" value="' . $options['social_twitter'] . '" placeholder="Twitter profile URL">';
|
684 |
echo '<p class="description">Complete URL, with http prefix, to Twitter profile page.</p>';
|
685 |
echo '</td></tr>';
|
689 |
<td><input id="social_google" type="url" class="regular-text code" name="' . UCP_OPTIONS_KEY . '[social_google]" value="' . $options['social_google'] . '" placeholder="Google+ page URL">';
|
690 |
echo '<p class="description">Complete URL, with http prefix, to Google+ page.</p>';
|
691 |
echo '</td></tr>';
|
692 |
+
|
693 |
+
echo '<tr valign="top">
|
694 |
+
<th scope="row"><label for="social_linkedin">LinkedIn Profile</label></th>
|
695 |
+
<td><input id="social_linkedin" type="url" class="regular-text code" name="' . UCP_OPTIONS_KEY . '[social_linkedin]" value="' . $options['social_linkedin'] . '" placeholder="LinkedIn profile page URL">';
|
696 |
+
echo '<p class="description">Complete URL, with http prefix, to LinkedIn profile page.</p>';
|
697 |
+
echo '</td></tr>';
|
698 |
+
|
699 |
+
echo '<tr valign="top">
|
700 |
+
<th scope="row"><label for="social_youtube">YouTube Profile Page or Video</label></th>
|
701 |
+
<td><input id="social_youtube" type="url" class="regular-text code" name="' . UCP_OPTIONS_KEY . '[social_youtube]" value="' . $options['social_youtube'] . '" placeholder="YouTube page or video URL">';
|
702 |
+
echo '<p class="description">Complete URL, with http prefix, to YouTube page or video.</p>';
|
703 |
+
echo '</td></tr>';
|
704 |
+
|
705 |
+
echo '<tr valign="top">
|
706 |
+
<th scope="row"><label for="social_pinterest">Pinterest Profile</label></th>
|
707 |
+
<td><input id="social_pinterest" type="url" class="regular-text code" name="' . UCP_OPTIONS_KEY . '[social_pinterest]" value="' . $options['social_pinterest'] . '" placeholder="Pinterest profile URL">';
|
708 |
+
echo '<p class="description">Complete URL, with http prefix, to Pinterest profile.</p>';
|
709 |
+
echo '</td></tr>';
|
710 |
|
711 |
echo '<tr valign="top" id="whitelisted-roles">
|
712 |
<th scope="row">Whitelisted User Roles</th>
|