Version Description
- Automatic force for black background-color when background image selected
- Few performance improvements
- Fixed known theme conflicts
Download this release
Release Info
Developer | ceylonsystems |
Plugin | IgniteUp – Coming Soon and Maintenance Mode |
Version | 1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.2
- igniteup.php +1 -1
- includes/class-coming-soon-creator.php +3 -1
- includes/css/front.css +3 -0
- includes/templates/believe.php +2 -2
- includes/templates/believe/believe.php +30 -27
- includes/templates/launcher.php +4 -3
- includes/templates/launcher/launcher.php +88 -85
- includes/templates/offline.php +6 -8
- includes/templates/offline/offline.php +26 -23
- readme.txt +31 -5
igniteup.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: IgniteUp
|
5 |
Plugin URI: http://plugins.ceylonsystems.com
|
6 |
Description: IgniteUp is a powerful plugin which allows you to keep your site on launchpad till ignite-up and to build amazing coming soon pages.
|
7 |
-
Version: 1.0.
|
8 |
Author: Ceylon Systems
|
9 |
Author URI: http://ceylonsystems.com
|
10 |
License: GPLv2 or later
|
4 |
Plugin Name: IgniteUp
|
5 |
Plugin URI: http://plugins.ceylonsystems.com
|
6 |
Description: IgniteUp is a powerful plugin which allows you to keep your site on launchpad till ignite-up and to build amazing coming soon pages.
|
7 |
+
Version: 1.0.2
|
8 |
Author: Ceylon Systems
|
9 |
Author URI: http://ceylonsystems.com
|
10 |
License: GPLv2 or later
|
includes/class-coming-soon-creator.php
CHANGED
@@ -61,8 +61,9 @@ class CSComingSoonCreator {
|
|
61 |
add_submenu_page('cscs_templates', 'Options', __('Options', CSCS_TEXT_DOMAIN), 'manage_options', 'cscs_options', array('CSAdminOptions', 'optionsPage'));
|
62 |
}
|
63 |
|
64 |
-
public function loadThemeScripts(){
|
65 |
do_action('cscs_theme_scripts_' . CSCS_DEFAULT_TEMPLATE);
|
|
|
66 |
}
|
67 |
|
68 |
public function myThemeRedirect($original_template) {
|
@@ -237,4 +238,5 @@ class CSComingSoonCreator {
|
|
237 |
public function load_languages() {
|
238 |
load_plugin_textdomain(CSCS_TEXT_DOMAIN, false, dirname(plugin_basename(CSCS_FILE)) . '/localization/');
|
239 |
}
|
|
|
240 |
}
|
61 |
add_submenu_page('cscs_templates', 'Options', __('Options', CSCS_TEXT_DOMAIN), 'manage_options', 'cscs_options', array('CSAdminOptions', 'optionsPage'));
|
62 |
}
|
63 |
|
64 |
+
public function loadThemeScripts() {
|
65 |
do_action('cscs_theme_scripts_' . CSCS_DEFAULT_TEMPLATE);
|
66 |
+
wp_enqueue_style('igniteup-front', plugin_dir_url(CSCS_FILE) . 'includes/css/front.css');
|
67 |
}
|
68 |
|
69 |
public function myThemeRedirect($original_template) {
|
238 |
public function load_languages() {
|
239 |
load_plugin_textdomain(CSCS_TEXT_DOMAIN, false, dirname(plugin_basename(CSCS_FILE)) . '/localization/');
|
240 |
}
|
241 |
+
|
242 |
}
|
includes/css/front.css
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
body::before{
|
2 |
+
background: none !important;
|
3 |
+
}
|
includes/templates/believe.php
CHANGED
@@ -16,14 +16,14 @@ $options = array(
|
|
16 |
'label' => 'Background Color',
|
17 |
'def' => '#28BB9B',
|
18 |
'placeholder' => '#28BB9B',
|
19 |
-
'description' => 'This will be the background color',
|
20 |
),
|
21 |
'bg_image' => array(
|
22 |
'type' => 'image',
|
23 |
'label' => 'Background Image',
|
24 |
'def' => '',
|
25 |
'placeholder' => '',
|
26 |
-
'description' => 'Page background image. (Recommended size:
|
27 |
),
|
28 |
'font_color' => array(
|
29 |
'type' => 'color-picker',
|
16 |
'label' => 'Background Color',
|
17 |
'def' => '#28BB9B',
|
18 |
'placeholder' => '#28BB9B',
|
19 |
+
'description' => 'This will be the background color.',
|
20 |
),
|
21 |
'bg_image' => array(
|
22 |
'type' => 'image',
|
23 |
'label' => 'Background Image',
|
24 |
'def' => '',
|
25 |
'placeholder' => '',
|
26 |
+
'description' => 'Page background image. (Recommended size: 1920px x 1080px)',
|
27 |
),
|
28 |
'font_color' => array(
|
29 |
'type' => 'color-picker',
|
includes/templates/believe/believe.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
<title> <?php echo (!empty($the_cs_template_options["general_cs_page_title"]) ? $the_cs_template_options["general_cs_page_title"] : 'Almost Ready we are ready to launch.'); ?> </title>
|
5 |
<meta charset="UTF-8">
|
6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7 |
-
|
8 |
<style>
|
9 |
a{
|
10 |
color:<?php echo $the_cs_template_options['font_color']; ?>;
|
@@ -13,21 +13,24 @@
|
|
13 |
a:hover{
|
14 |
color:<?php echo $the_cs_template_options['link_color']; ?>;
|
15 |
}
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
29 |
</style>
|
30 |
-
|
31 |
</head>
|
32 |
<body style="background: <?php echo $the_cs_template_options['bg_color']; ?> ; color:<?php echo $the_cs_template_options['font_color']; ?> ">
|
33 |
<div class="container-fluid main-container">
|
@@ -53,8 +56,8 @@
|
|
53 |
$pinterest = $the_cs_template_options['social-pinterest'];
|
54 |
$gplus = $the_cs_template_options['social-gplus'];
|
55 |
$has_youtube = (isset($the_cs_template_options['social-youtube']) ? TRUE : FALSE);
|
56 |
-
if($has_youtube)
|
57 |
-
|
58 |
?>
|
59 |
<div class="social">
|
60 |
<ul>
|
@@ -72,16 +75,16 @@
|
|
72 |
</div>
|
73 |
<div class="row">
|
74 |
<div class="col-sm-6 col-sm-offset-3">
|
75 |
-
<?php
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
<div class="<?php echo $class
|
84 |
-
|
85 |
</div>
|
86 |
</div>
|
87 |
</div>
|
4 |
<title> <?php echo (!empty($the_cs_template_options["general_cs_page_title"]) ? $the_cs_template_options["general_cs_page_title"] : 'Almost Ready we are ready to launch.'); ?> </title>
|
5 |
<meta charset="UTF-8">
|
6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7 |
+
<?php wp_head(); ?>
|
8 |
<style>
|
9 |
a{
|
10 |
color:<?php echo $the_cs_template_options['font_color']; ?>;
|
13 |
a:hover{
|
14 |
color:<?php echo $the_cs_template_options['link_color']; ?>;
|
15 |
}
|
16 |
+
<?php if (!empty($the_cs_template_options['bg_image'])): ?>
|
17 |
+
body::after{
|
18 |
+
content: '';
|
19 |
+
background: url('<?php echo $the_cs_template_options['bg_image']; ?>');
|
20 |
+
opacity: 0.5;
|
21 |
+
top: 0px;
|
22 |
+
left: 0px;
|
23 |
+
bottom: 0px;
|
24 |
+
right: 0px;
|
25 |
+
position: absolute;
|
26 |
+
z-index: -1;
|
27 |
+
}
|
28 |
+
body{
|
29 |
+
background: #000 !important;
|
30 |
+
}
|
31 |
+
<?php endif; ?>
|
32 |
</style>
|
33 |
+
|
34 |
</head>
|
35 |
<body style="background: <?php echo $the_cs_template_options['bg_color']; ?> ; color:<?php echo $the_cs_template_options['font_color']; ?> ">
|
36 |
<div class="container-fluid main-container">
|
56 |
$pinterest = $the_cs_template_options['social-pinterest'];
|
57 |
$gplus = $the_cs_template_options['social-gplus'];
|
58 |
$has_youtube = (isset($the_cs_template_options['social-youtube']) ? TRUE : FALSE);
|
59 |
+
if ($has_youtube)
|
60 |
+
$youtube = $the_cs_template_options['social-youtube'];
|
61 |
?>
|
62 |
<div class="social">
|
63 |
<ul>
|
75 |
</div>
|
76 |
<div class="row">
|
77 |
<div class="col-sm-6 col-sm-offset-3">
|
78 |
+
<?php
|
79 |
+
$powered_by = $the_cs_template_options['general_powered_by'];
|
80 |
+
if ($powered_by == 1) {
|
81 |
+
$class = "visible";
|
82 |
+
} else {
|
83 |
+
$class = "hidden";
|
84 |
+
}
|
85 |
+
?>
|
86 |
+
<div class="<?php echo $class; ?> text-center" id="powered-by">
|
87 |
+
Powered by IgniteUp
|
88 |
</div>
|
89 |
</div>
|
90 |
</div>
|
includes/templates/launcher.php
CHANGED
@@ -9,13 +9,14 @@ $cscs_templates['launcher'] = array(
|
|
9 |
'type' => 'date',
|
10 |
'label' => 'Launch Date',
|
11 |
'placeholder' => 'mm/dd/yyyy',
|
12 |
-
'def' => date('m/d/Y
|
13 |
'description' => 'Add the date when you are going to launch the site',
|
14 |
),
|
15 |
'launch_time' => array(
|
16 |
'type' => 'text',
|
17 |
'label' => 'Launch Time',
|
18 |
'placeholder' => 'hh:mm:ss',
|
|
|
19 |
'description' => 'Note: Enter time in hh:mm:ss format.',
|
20 |
),
|
21 |
'bg_color' => array(
|
@@ -23,14 +24,14 @@ $cscs_templates['launcher'] = array(
|
|
23 |
'label' => 'Background Color',
|
24 |
'def' => '#28BB9B',
|
25 |
'placeholder' => '#28BB9B',
|
26 |
-
'description' => 'This will be the background color',
|
27 |
),
|
28 |
'bg_image' => array(
|
29 |
'type' => 'image',
|
30 |
'label' => 'Background Image',
|
31 |
'def' => '',
|
32 |
'placeholder' => '',
|
33 |
-
'description' => 'Page background image. (Recommended size:
|
34 |
),
|
35 |
'font_color' => array(
|
36 |
'type' => 'color-picker',
|
9 |
'type' => 'date',
|
10 |
'label' => 'Launch Date',
|
11 |
'placeholder' => 'mm/dd/yyyy',
|
12 |
+
'def' => date('m/d/Y', strtotime('Next Monday')),
|
13 |
'description' => 'Add the date when you are going to launch the site',
|
14 |
),
|
15 |
'launch_time' => array(
|
16 |
'type' => 'text',
|
17 |
'label' => 'Launch Time',
|
18 |
'placeholder' => 'hh:mm:ss',
|
19 |
+
'def' => '12:12:12',
|
20 |
'description' => 'Note: Enter time in hh:mm:ss format.',
|
21 |
),
|
22 |
'bg_color' => array(
|
24 |
'label' => 'Background Color',
|
25 |
'def' => '#28BB9B',
|
26 |
'placeholder' => '#28BB9B',
|
27 |
+
'description' => 'This will be the background color.',
|
28 |
),
|
29 |
'bg_image' => array(
|
30 |
'type' => 'image',
|
31 |
'label' => 'Background Image',
|
32 |
'def' => '',
|
33 |
'placeholder' => '',
|
34 |
+
'description' => 'Page background image. (Recommended size: 1920px x 1080px)',
|
35 |
),
|
36 |
'font_color' => array(
|
37 |
'type' => 'color-picker',
|
includes/templates/launcher/launcher.php
CHANGED
@@ -24,6 +24,9 @@
|
|
24 |
position: absolute;
|
25 |
z-index: -1;
|
26 |
}
|
|
|
|
|
|
|
27 |
<?php endif; ?>
|
28 |
</style>
|
29 |
</head>
|
@@ -40,24 +43,24 @@
|
|
40 |
<div class="text-center text-uppercase sub-text">
|
41 |
<?php echo $the_cs_template_options['title']; ?>
|
42 |
</div>
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
|
|
57 |
</div>
|
58 |
</div>
|
59 |
-
|
60 |
-
<?php endif; ?>
|
61 |
<p class="text-center">
|
62 |
<?php echo $the_cs_template_options['paragraph']; ?>
|
63 |
</p>
|
@@ -135,74 +138,74 @@
|
|
135 |
</div>
|
136 |
<script type="text/javascript">
|
137 |
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
|
147 |
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
}
|
178 |
}
|
|
|
179 |
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
}
|
184 |
-
else {
|
185 |
-
jQuery("#min-s").removeClass('hidden');
|
186 |
-
}
|
187 |
}
|
188 |
-
|
189 |
-
|
190 |
-
jQuery("#hrs-s").addClass('hidden');
|
191 |
-
}
|
192 |
-
else {
|
193 |
-
jQuery("#hrs-s").removeClass('hidden');
|
194 |
-
}
|
195 |
}
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
|
|
|
|
|
|
|
|
|
|
203 |
}
|
204 |
-
|
205 |
-
|
|
|
|
|
|
|
|
|
206 |
jQuery('#secs').countdown($countdown).on('finish.countdown', function () {
|
207 |
jQuery('#countdown').hide();
|
208 |
jQuery(".main-container").css('margin-top', '120px');
|
@@ -214,17 +217,17 @@
|
|
214 |
jQuery('#rocket').addClass('bounceInUp');
|
215 |
}, 3000);
|
216 |
});
|
217 |
-
|
218 |
-
|
219 |
|
220 |
-
|
|
|
|
|
|
|
|
|
221 |
subscribe();
|
222 |
-
}
|
223 |
-
|
224 |
-
if (e.which == 13) {
|
225 |
-
subscribe();
|
226 |
-
}
|
227 |
-
});
|
228 |
|
229 |
function subscribe() {
|
230 |
jQuery.ajax({
|
24 |
position: absolute;
|
25 |
z-index: -1;
|
26 |
}
|
27 |
+
body{
|
28 |
+
background: #000 !important;
|
29 |
+
}
|
30 |
<?php endif; ?>
|
31 |
</style>
|
32 |
</head>
|
43 |
<div class="text-center text-uppercase sub-text">
|
44 |
<?php echo $the_cs_template_options['title']; ?>
|
45 |
</div>
|
46 |
+
<?php if (!empty($the_cs_template_options['launch_date']) || !empty($the_cs_template_options['launch_time'])): ?>
|
47 |
+
<div class="container-fluid" id="countdown">
|
48 |
+
<div class="row text-uppercase">
|
49 |
+
<div class="col-sm-3 countdown-time">
|
50 |
+
<span id="days" class="time">00</span><span class="time-name">d<span class="hidden-sm">ay<span id="day-s">s</span></span></span>
|
51 |
+
</div>
|
52 |
+
<div class="col-sm-3 countdown-time">
|
53 |
+
<span id="hrs" class="time">00</span><span class="time-name">h<span class="hidden-sm">our<span id="hrs-s">s</span></span></span>
|
54 |
+
</div>
|
55 |
+
<div class="col-sm-3 countdown-time">
|
56 |
+
<span id="mins" class="time">00</span><span class="time-name">m<span class="hidden-sm">in<span id="min-s">s</span></span></span>
|
57 |
+
</div>
|
58 |
+
<div class="col-sm-3 countdown-time">
|
59 |
+
<span id="secs" class="time">00</span><span class="time-name">s<span class="hidden-sm">ec<span id="sec-s">s</span></span></span>
|
60 |
+
</div>
|
61 |
</div>
|
62 |
</div>
|
63 |
+
<?php endif; ?>
|
|
|
64 |
<p class="text-center">
|
65 |
<?php echo $the_cs_template_options['paragraph']; ?>
|
66 |
</p>
|
138 |
</div>
|
139 |
<script type="text/javascript">
|
140 |
|
141 |
+
$countdown = "<?php
|
142 |
+
echo $the_cs_template_options['launch_date'];
|
143 |
+
echo ' ';
|
144 |
+
echo $the_cs_template_options['launch_time'];
|
145 |
+
?>";
|
146 |
+
jQuery("#secs").countdown($countdown, function (event) {
|
147 |
+
jQuery(this).text(event.strftime('%S'));
|
148 |
+
checkSeconds(jQuery(this).text());
|
149 |
|
150 |
|
151 |
+
});
|
152 |
+
jQuery("#mins")
|
153 |
+
.countdown($countdown, function (event) {
|
154 |
+
jQuery(this).text(
|
155 |
+
event.strftime('%M')
|
156 |
+
);
|
157 |
+
checkMins(jQuery(this).text());
|
158 |
+
});
|
159 |
+
jQuery("#hrs")
|
160 |
+
.countdown($countdown, function (event) {
|
161 |
+
jQuery(this).text(
|
162 |
+
event.strftime('%H')
|
163 |
+
);
|
164 |
+
checkHours(jQuery(this).text());
|
165 |
+
});
|
166 |
+
jQuery("#days")
|
167 |
+
.countdown($countdown, function (event) {
|
168 |
+
jQuery(this).text(
|
169 |
+
event.strftime('%D')
|
170 |
+
);
|
171 |
+
checkDays(jQuery(this).text());
|
172 |
+
});
|
173 |
|
174 |
+
function checkSeconds(sec) {
|
175 |
+
if (sec === '01') {
|
176 |
+
jQuery("#sec-s").addClass('hidden');
|
177 |
+
}
|
178 |
+
else {
|
179 |
+
jQuery("#sec-s").removeClass('hidden');
|
|
|
180 |
}
|
181 |
+
}
|
182 |
|
183 |
+
function checkMins(min) {
|
184 |
+
if (min === '01') {
|
185 |
+
jQuery("#min-s").addClass('hidden');
|
|
|
|
|
|
|
|
|
186 |
}
|
187 |
+
else {
|
188 |
+
jQuery("#min-s").removeClass('hidden');
|
|
|
|
|
|
|
|
|
|
|
189 |
}
|
190 |
+
}
|
191 |
+
function checkHours(hrs) {
|
192 |
+
if (hrs === '01') {
|
193 |
+
jQuery("#hrs-s").addClass('hidden');
|
194 |
+
}
|
195 |
+
else {
|
196 |
+
jQuery("#hrs-s").removeClass('hidden');
|
197 |
+
}
|
198 |
+
}
|
199 |
+
function checkDays(days) {
|
200 |
+
if (days === '01') {
|
201 |
+
jQuery("#day-s").addClass('hidden');
|
202 |
}
|
203 |
+
else {
|
204 |
+
jQuery("#day-s").removeClass('hidden');
|
205 |
+
}
|
206 |
+
}
|
207 |
+
jQuery(document).ready(function () {
|
208 |
+
<?php if (!empty($the_cs_template_options['launch_date']) || !empty($the_cs_template_options['launch_time'])): ?>
|
209 |
jQuery('#secs').countdown($countdown).on('finish.countdown', function () {
|
210 |
jQuery('#countdown').hide();
|
211 |
jQuery(".main-container").css('margin-top', '120px');
|
217 |
jQuery('#rocket').addClass('bounceInUp');
|
218 |
}, 3000);
|
219 |
});
|
220 |
+
<?php endif; ?>
|
221 |
+
});
|
222 |
|
223 |
+
jQuery('.subscribe-btn').on('click', function () {
|
224 |
+
subscribe();
|
225 |
+
});
|
226 |
+
jQuery('#cs_email').on('keypress', function (e) {
|
227 |
+
if (e.which == 13) {
|
228 |
subscribe();
|
229 |
+
}
|
230 |
+
});
|
|
|
|
|
|
|
|
|
231 |
|
232 |
function subscribe() {
|
233 |
jQuery.ajax({
|
includes/templates/offline.php
CHANGED
@@ -4,7 +4,7 @@ global $cscs_templates;
|
|
4 |
$cscs_templates['offline'] = array(
|
5 |
'name' => 'Offline',
|
6 |
'folder_name' => 'offline',
|
7 |
-
|
8 |
'logo' => array(
|
9 |
'type' => 'image',
|
10 |
'label' => 'Logo (Transparent)',
|
@@ -16,14 +16,14 @@ $cscs_templates['offline'] = array(
|
|
16 |
'label' => 'Background Color',
|
17 |
'def' => '#303030',
|
18 |
'placeholder' => '#28BB9B',
|
19 |
-
'description' => 'This will be the background color',
|
20 |
),
|
21 |
-
|
22 |
'type' => 'image',
|
23 |
'label' => 'Background Image',
|
24 |
'def' => '',
|
25 |
'placeholder' => '',
|
26 |
-
'description' => 'Page background image.',
|
27 |
),
|
28 |
'font_color' => array(
|
29 |
'type' => 'color-picker',
|
@@ -46,7 +46,6 @@ $cscs_templates['offline'] = array(
|
|
46 |
'placeholder' => 'Website is offline',
|
47 |
'description' => 'Text above the main title',
|
48 |
),
|
49 |
-
|
50 |
'paragraph' => array(
|
51 |
'type' => 'textarea',
|
52 |
'label' => 'Paragraph Text',
|
@@ -68,11 +67,10 @@ $cscs_templates['offline'] = array(
|
|
68 |
'placeholder' => 'contact@email.com',
|
69 |
'description' => 'Your email address',
|
70 |
),
|
71 |
-
|
72 |
-
)
|
73 |
);
|
74 |
|
75 |
-
function cscs_offline_theme_scripts(){
|
76 |
wp_enqueue_style('bootstrap', plugins_url('includes/css/bootstrap.min.css', CSCS_FILE));
|
77 |
wp_enqueue_style('offline', plugins_url('offline/css/main.css', __FILE__));
|
78 |
}
|
4 |
$cscs_templates['offline'] = array(
|
5 |
'name' => 'Offline',
|
6 |
'folder_name' => 'offline',
|
7 |
+
'options' => array(
|
8 |
'logo' => array(
|
9 |
'type' => 'image',
|
10 |
'label' => 'Logo (Transparent)',
|
16 |
'label' => 'Background Color',
|
17 |
'def' => '#303030',
|
18 |
'placeholder' => '#28BB9B',
|
19 |
+
'description' => 'This will be the background color.',
|
20 |
),
|
21 |
+
'bg_image' => array(
|
22 |
'type' => 'image',
|
23 |
'label' => 'Background Image',
|
24 |
'def' => '',
|
25 |
'placeholder' => '',
|
26 |
+
'description' => 'Page background image. (Recommended size: 1920px x 1080px)',
|
27 |
),
|
28 |
'font_color' => array(
|
29 |
'type' => 'color-picker',
|
46 |
'placeholder' => 'Website is offline',
|
47 |
'description' => 'Text above the main title',
|
48 |
),
|
|
|
49 |
'paragraph' => array(
|
50 |
'type' => 'textarea',
|
51 |
'label' => 'Paragraph Text',
|
67 |
'placeholder' => 'contact@email.com',
|
68 |
'description' => 'Your email address',
|
69 |
),
|
70 |
+
)
|
|
|
71 |
);
|
72 |
|
73 |
+
function cscs_offline_theme_scripts() {
|
74 |
wp_enqueue_style('bootstrap', plugins_url('includes/css/bootstrap.min.css', CSCS_FILE));
|
75 |
wp_enqueue_style('offline', plugins_url('offline/css/main.css', __FILE__));
|
76 |
}
|
includes/templates/offline/offline.php
CHANGED
@@ -12,19 +12,22 @@
|
|
12 |
a:hover{
|
13 |
color:<?php echo $the_cs_template_options['link_color']; ?>;
|
14 |
}
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
|
|
|
|
|
|
28 |
</style>
|
29 |
</head>
|
30 |
<body style="background: <?php echo $the_cs_template_options['bg_color']; ?>; color:<?php echo $the_cs_template_options['font_color']; ?>;">
|
@@ -53,16 +56,16 @@
|
|
53 |
</div>
|
54 |
<div class="row">
|
55 |
<div class="col-sm-6 col-sm-offset-3">
|
56 |
-
<?php
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
<div class="<?php echo $class
|
65 |
-
|
66 |
</div>
|
67 |
</div>
|
68 |
</div>
|
12 |
a:hover{
|
13 |
color:<?php echo $the_cs_template_options['link_color']; ?>;
|
14 |
}
|
15 |
+
<?php if (!empty($the_cs_template_options['bg_image'])): ?>
|
16 |
+
body::after{
|
17 |
+
content: '';
|
18 |
+
background: url('<?php echo $the_cs_template_options['bg_image']; ?>');
|
19 |
+
opacity: 0.5;
|
20 |
+
top: 0px;
|
21 |
+
left: 0px;
|
22 |
+
bottom: 0px;
|
23 |
+
right: 0px;
|
24 |
+
position: absolute;
|
25 |
+
z-index: -1;
|
26 |
+
}
|
27 |
+
body{
|
28 |
+
background: #000 !important;
|
29 |
+
}
|
30 |
+
<?php endif; ?>
|
31 |
</style>
|
32 |
</head>
|
33 |
<body style="background: <?php echo $the_cs_template_options['bg_color']; ?>; color:<?php echo $the_cs_template_options['font_color']; ?>;">
|
56 |
</div>
|
57 |
<div class="row">
|
58 |
<div class="col-sm-6 col-sm-offset-3">
|
59 |
+
<?php
|
60 |
+
$powered_by = $the_cs_template_options['general_powered_by'];
|
61 |
+
if ($powered_by == 1) {
|
62 |
+
$class = "visible";
|
63 |
+
} else {
|
64 |
+
$class = "hidden";
|
65 |
+
}
|
66 |
+
?>
|
67 |
+
<div class="<?php echo $class; ?> text-center" id="powered-by">
|
68 |
+
Powered by IgniteUp
|
69 |
</div>
|
70 |
</div>
|
71 |
</div>
|
readme.txt
CHANGED
@@ -4,16 +4,37 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: coming soon, coming soon page, construction, landing page, launch, launch page, maintenance, maintenance mode, newsletter, subscribe, offline, unavailable, under construction, wordpress coming soon, wordpress maintenance mode, wordpress under construction, igniter
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.2.2
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
Display Coming Soon
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
== Installation ==
|
19 |
|
@@ -46,11 +67,16 @@ Activated template won't see roles ticked on "Skip Page For" option and in defau
|
|
46 |
|
47 |
== Changelog ==
|
48 |
|
|
|
|
|
|
|
|
|
|
|
49 |
= 1.0.1 =
|
50 |
-
* Fixed title not showing for empty values
|
51 |
|
52 |
= 1.0 =
|
53 |
-
* Initial Release
|
54 |
|
55 |
== About Us ==
|
56 |
|
4 |
Tags: coming soon, coming soon page, construction, landing page, launch, launch page, maintenance, maintenance mode, newsletter, subscribe, offline, unavailable, under construction, wordpress coming soon, wordpress maintenance mode, wordpress under construction, igniter
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.2.2
|
7 |
+
Stable tag: 1.0.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
Display Coming Soon, Under Constructions & Maintenance Mode pages for your site visitors.
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
Create decent pages to let users know the site is in Coming Soon, Maintenance Mode or Under Construction mode. IgniteUp comes with simple but more customizable templates. You can change everything in the theme according to your needs.
|
16 |
|
17 |
+
= Live Demo Pages =
|
18 |
+
|
19 |
+
* [Live Demo 1 »](http://plugins.ceylonsystems.com/igniteup-demo-1/)
|
20 |
+
* [Live Demo 2 »](http://plugins.ceylonsystems.com/igniteup-demo-2/)
|
21 |
+
* [Live Demo 3 »](http://plugins.ceylonsystems.com/igniteup-demo-3/)
|
22 |
+
* [Live Demo 4 »](http://plugins.ceylonsystems.com/igniteup-demo-4/)
|
23 |
+
|
24 |
+
= Features =
|
25 |
+
|
26 |
+
* Active Support for Your Questions
|
27 |
+
* Supporting almost every WordPress theme. Let us know if you found any conflicts
|
28 |
+
* 100% Mobile Responsive
|
29 |
+
* Fully Customizable Themes
|
30 |
+
* Email Subscription Form Available in Launcher Template
|
31 |
+
* Translation Ready
|
32 |
+
* Multisite Support
|
33 |
+
* More New Themes Coming Soon with Future Updates
|
34 |
+
|
35 |
+
= Included Languages =
|
36 |
+
|
37 |
+
* Sinhala (si_LK)
|
38 |
|
39 |
== Installation ==
|
40 |
|
67 |
|
68 |
== Changelog ==
|
69 |
|
70 |
+
= 1.0.2 =
|
71 |
+
* Automatic force for black background-color when background image selected
|
72 |
+
* Few performance improvements
|
73 |
+
* Fixed known theme conflicts
|
74 |
+
|
75 |
= 1.0.1 =
|
76 |
+
* Fixed title not showing for empty values
|
77 |
|
78 |
= 1.0 =
|
79 |
+
* Initial Release
|
80 |
|
81 |
== About Us ==
|
82 |
|