Version Description
- moved some inline css in css file.
Download this release
Release Info
Developer | chandrashekharsahu |
Plugin | Site Offline Or Coming Soon Or Maintenance Mode |
Version | 1.2.5 |
Comparing to | |
See all releases |
Code changes from version 1.2.4 to 1.2.5
- assets/css/backend.css +82 -0
- backend/content.php +10 -97
- backend/pro.php +6 -12
- backend/sidebar.php +6 -9
- functions/script.php +14 -14
- readme.txt +9 -7
- site-offline.php +1 -1
assets/css/backend.css
CHANGED
@@ -455,4 +455,86 @@ font-size: 40px;
|
|
455 |
transition: all ease 0.5s;
|
456 |
padding-left: 22px;
|
457 |
padding-right: 22px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
458 |
}
|
455 |
transition: all ease 0.5s;
|
456 |
padding-left: 22px;
|
457 |
padding-right: 22px;
|
458 |
+
}
|
459 |
+
|
460 |
+
.sahu_acc_hi{
|
461 |
+
-webkit-box-shadow: 0px 13px 21px -10px rgba(128,128,128,1);
|
462 |
+
-moz-box-shadow: 0px 13px 21px -10px rgba(128,128,128,1);
|
463 |
+
box-shadow: 0px 13px 21px -10px rgba(128,128,128,1);
|
464 |
+
padding-top: 20px;
|
465 |
+
margin-left: -20px;
|
466 |
+
font-family: Myriad Pro ;
|
467 |
+
cursor: pointer;
|
468 |
+
text-align: center;
|
469 |
+
background-image: -moz-linear-gradient( 135deg, rgba(248,80,96,.9) 0%, rgba(255,152,0,.9) 100%);
|
470 |
+
background-image: -webkit-linear-gradient( 135deg, rgba(248,80,96,.9) 0%, rgba(255,152,0,.9) 100%);
|
471 |
+
background-image: -ms-linear-gradient( 135deg, rgba(248,80,96,.9) 0%, rgba(255,152,0,.9) 100%);
|
472 |
+
}
|
473 |
+
.sahu_acc_hi .sahu_acc_hb{
|
474 |
+
color: white;
|
475 |
+
font-size: 30px;
|
476 |
+
font-weight: bolder;
|
477 |
+
padding: 0 0 15px 0;
|
478 |
+
}
|
479 |
+
.sahu_acc_hi .sahu_acc_hb .dashicons{
|
480 |
+
font-size: 40px;
|
481 |
+
position: absolute;
|
482 |
+
margin-left: -45px;
|
483 |
+
margin-top: -10px;
|
484 |
+
}
|
485 |
+
.wpsm_ac_h_small{
|
486 |
+
font-weight: bolder;
|
487 |
+
color: white;
|
488 |
+
font-size: 18px;
|
489 |
+
padding: 0 0 15px 15px;
|
490 |
+
}
|
491 |
+
|
492 |
+
.sahu_acc_hi a{
|
493 |
+
text-decoration: none;
|
494 |
+
}
|
495 |
+
@media screen and ( max-width: 600px ) {
|
496 |
+
.sahu_acc_hi{ padding-top: 60px; margin-bottom: -50px; }
|
497 |
+
.sahu_acc_hi .WlTSmall { display: none; }
|
498 |
+
}
|
499 |
+
.texture-layer {
|
500 |
+
background: rgba(0,0,0,0);
|
501 |
+
padding-top: 0px;
|
502 |
+
padding: 0px 0 23px 0;
|
503 |
+
}
|
504 |
+
.sahu_acc_hi ul{
|
505 |
+
padding:0px 20px 0px 20px;
|
506 |
+
}
|
507 |
+
.sahu_acc_hi li {
|
508 |
+
text-align:left;
|
509 |
+
color:#fff;
|
510 |
+
font-size: 20px;
|
511 |
+
line-height: 1.3;
|
512 |
+
font-weight: 600;
|
513 |
+
|
514 |
+
}
|
515 |
+
.sahu_acc_hi li i{
|
516 |
+
margin-right:10px ;
|
517 |
+
margin-bottom:10px;
|
518 |
+
}
|
519 |
+
|
520 |
+
.sahu_acc_hi .btn-danger{
|
521 |
+
font-size: 29px;
|
522 |
+
background-color: #000000;
|
523 |
+
border-radius:1px;
|
524 |
+
margin-right:10px;
|
525 |
+
margin-top: 0px;
|
526 |
+
border-color:#000;
|
527 |
+
|
528 |
+
}
|
529 |
+
.sahu_acc_hi .btn-success{
|
530 |
+
font-size: 28px;
|
531 |
+
border-radius:1px;
|
532 |
+
background-color: #ffffff;
|
533 |
+
border-color: #ffffff;
|
534 |
+
color:#000;
|
535 |
+
}
|
536 |
+
.btn-danger {
|
537 |
+
color: #fff;
|
538 |
+
background-color: #000000 !important;
|
539 |
+
border-color: #000000 !important;
|
540 |
}
|
backend/content.php
CHANGED
@@ -14,94 +14,13 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
14 |
#TB_iframeContent{
|
15 |
width:100% !important;
|
16 |
}
|
|
|
17 |
</style>
|
18 |
<div>
|
19 |
-
<style>
|
20 |
-
.wpsm_ac_h_i{
|
21 |
-
background:url('<?php echo SAHU_SO_PLUGIN_URL.'assets/img/slideshow-01.jpg'; ?>') 50% 0 repeat fixed;
|
22 |
-
-webkit-box-shadow: 0px 13px 21px -10px rgba(128,128,128,1);
|
23 |
-
-moz-box-shadow: 0px 13px 21px -10px rgba(128,128,128,1);
|
24 |
-
box-shadow: 0px 13px 21px -10px rgba(128,128,128,1);
|
25 |
-
|
26 |
-
margin-left: -20px;
|
27 |
-
font-family: Myriad Pro ;
|
28 |
-
cursor: pointer;
|
29 |
-
text-align: center;
|
30 |
-
}
|
31 |
-
.wpsm_ac_h_i .wpsm_ac_h_b{
|
32 |
-
color: white;
|
33 |
-
font-size: 30px;
|
34 |
-
font-weight: bolder;
|
35 |
-
padding: 0 0 15px 0;
|
36 |
-
}
|
37 |
-
.wpsm_ac_h_i .wpsm_ac_h_b .dashicons{
|
38 |
-
font-size: 40px;
|
39 |
-
position: absolute;
|
40 |
-
margin-left: -45px;
|
41 |
-
margin-top: -10px;
|
42 |
-
}
|
43 |
-
.wpsm_ac_h_small{
|
44 |
-
font-weight: bolder;
|
45 |
-
color: white;
|
46 |
-
font-size: 18px;
|
47 |
-
padding: 0 0 15px 15px;
|
48 |
-
}
|
49 |
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
@media screen and ( max-width: 600px ) {
|
54 |
-
.wpsm_ac_h_i{ padding-top: 60px; margin-bottom: -50px; }
|
55 |
-
.wpsm_ac_h_i .WlTSmall { display: none; }
|
56 |
-
}
|
57 |
-
.texture-layer {
|
58 |
-
background: rgba(0,0,0,0);
|
59 |
-
padding-top: 0px;
|
60 |
-
padding: 0px 0 23px 0;
|
61 |
-
}
|
62 |
-
.wpsm_ac_h_i ul{
|
63 |
-
padding:0px 20px 0px 20px;
|
64 |
-
}
|
65 |
-
.wpsm_ac_h_i li {
|
66 |
-
text-align:left;
|
67 |
-
color:#fff;
|
68 |
-
font-size: 20px;
|
69 |
-
line-height: 1.3;
|
70 |
-
font-weight: 600;
|
71 |
-
|
72 |
-
}
|
73 |
-
.wpsm_ac_h_i li i{
|
74 |
-
margin-right:10px ;
|
75 |
-
margin-bottom:10px;
|
76 |
-
}
|
77 |
-
|
78 |
-
.wpsm_ac_h_i .btn-danger{
|
79 |
-
font-size: 29px;
|
80 |
-
background-color: #000000;
|
81 |
-
border-radius:1px;
|
82 |
-
margin-right:10px;
|
83 |
-
margin-top: 0px;
|
84 |
-
border-color:#000;
|
85 |
-
|
86 |
-
}
|
87 |
-
.wpsm_ac_h_i .btn-success{
|
88 |
-
font-size: 28px;
|
89 |
-
border-radius:1px;
|
90 |
-
background-color: #ffffff;
|
91 |
-
border-color: #ffffff;
|
92 |
-
color:#000;
|
93 |
-
}
|
94 |
-
.btn-danger {
|
95 |
-
color: #fff;
|
96 |
-
background-color: #000000 !important;
|
97 |
-
border-color: #000000 !important;
|
98 |
-
}
|
99 |
-
|
100 |
-
</style>
|
101 |
-
<div class="wpsm_ac_h_i ">
|
102 |
-
<div class="texture-layer">
|
103 |
-
|
104 |
-
<div class="wpsm_ac_h_b"><a class="btn btn-danger btn-lg " href="https://wpshopmart.com/plugins/coming-soon-pro/" target="_blank">Buy Coming Soon Pro Now</a><a class="btn btn-success btn-lg " href="https://wpshopmart.com/coming-soon-pro-demo-page/" target="_blank">View Demo</a></div>
|
105 |
<div style="overflow:hidden;display:block;width:100%;text-align:center">
|
106 |
<h1 style="color:#fff;font-size:30px;text-transform:uppercase;margin-bottom:20px;">Check Pro version Features</h1>
|
107 |
</div>
|
@@ -118,8 +37,8 @@ margin-bottom:10px;
|
|
118 |
|
119 |
</ul>
|
120 |
</div>
|
121 |
-
<div class="col-md-3">
|
122 |
-
|
123 |
|
124 |
<li> <i class="fa fa-check"></i>Countdown Auto Launch </li>
|
125 |
<li> <i class="fa fa-check"></i>5+ Additional Pages </li>
|
@@ -127,8 +46,7 @@ margin-bottom:10px;
|
|
127 |
<li> <i class="fa fa-check"></i>Service Section with 10+ services </li>
|
128 |
<li> <i class="fa fa-check"></i>About Us Section </li>
|
129 |
<li> <i class="fa fa-check"></i>Team Section </li>
|
130 |
-
<li> <i class="fa fa-check"></i>500+ Google Font integrated</li>
|
131 |
-
|
132 |
|
133 |
</ul>
|
134 |
</div>
|
@@ -156,8 +74,7 @@ margin-bottom:10px;
|
|
156 |
<li> <i class="fa fa-check"></i>All Wordpress Themes Supported</li>
|
157 |
<li> <i class="fa fa-check"></i>High Priority Support</li>
|
158 |
</ul>
|
159 |
-
</div>
|
160 |
-
|
161 |
|
162 |
</div>
|
163 |
|
@@ -165,14 +82,13 @@ margin-bottom:10px;
|
|
165 |
|
166 |
</div>
|
167 |
<div style="display:block;width:100%;padding-top: 25px;">
|
168 |
-
<h2 style="padding-left: 32px;
|
169 |
-
|
170 |
font-size: 45px;
|
171 |
text-transform: uppercase;
|
172 |
font-weight: 400;
|
173 |
display: inline-block;
|
174 |
letter-spacing: 0.02em;
|
175 |
-
margin-right: 10px;">Site Offline Or Coming Soon</h2
|
176 |
</div>
|
177 |
<div class="col-md-8">
|
178 |
<div class="sahu-wp-panel">
|
@@ -305,9 +221,6 @@ margin-bottom:10px;
|
|
305 |
</div>
|
306 |
|
307 |
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
</div>
|
312 |
<div class="col-md-4 cssahu_sidebar">
|
313 |
<?php require_once('sidebar.php'); ?>
|
14 |
#TB_iframeContent{
|
15 |
width:100% !important;
|
16 |
}
|
17 |
+
|
18 |
</style>
|
19 |
<div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
+
<div class="sahu_acc_hi ">
|
22 |
+
<div class="texture-layer">
|
23 |
+
<div class="sahu_acc_hb"><a class="btn btn-danger btn-lg " href="https://goo.gl/4rSmH6" target="_blank">Buy Coming Soon Pro Now</a><a class="btn btn-success btn-lg " href="https://goo.gl/E6J2Tp" target="_blank">View Demo</a></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
<div style="overflow:hidden;display:block;width:100%;text-align:center">
|
25 |
<h1 style="color:#fff;font-size:30px;text-transform:uppercase;margin-bottom:20px;">Check Pro version Features</h1>
|
26 |
</div>
|
37 |
|
38 |
</ul>
|
39 |
</div>
|
40 |
+
<div class="col-md-3">
|
41 |
+
<ul>
|
42 |
|
43 |
<li> <i class="fa fa-check"></i>Countdown Auto Launch </li>
|
44 |
<li> <i class="fa fa-check"></i>5+ Additional Pages </li>
|
46 |
<li> <i class="fa fa-check"></i>Service Section with 10+ services </li>
|
47 |
<li> <i class="fa fa-check"></i>About Us Section </li>
|
48 |
<li> <i class="fa fa-check"></i>Team Section </li>
|
49 |
+
<li> <i class="fa fa-check"></i>500+ Google Font integrated</li>
|
|
|
50 |
|
51 |
</ul>
|
52 |
</div>
|
74 |
<li> <i class="fa fa-check"></i>All Wordpress Themes Supported</li>
|
75 |
<li> <i class="fa fa-check"></i>High Priority Support</li>
|
76 |
</ul>
|
77 |
+
</div>
|
|
|
78 |
|
79 |
</div>
|
80 |
|
82 |
|
83 |
</div>
|
84 |
<div style="display:block;width:100%;padding-top: 25px;">
|
85 |
+
<h2 style="padding-left: 32px;
|
|
|
86 |
font-size: 45px;
|
87 |
text-transform: uppercase;
|
88 |
font-weight: 400;
|
89 |
display: inline-block;
|
90 |
letter-spacing: 0.02em;
|
91 |
+
margin-right: 10px;">Site Offline Or Coming Soon</h2>
|
92 |
</div>
|
93 |
<div class="col-md-8">
|
94 |
<div class="sahu-wp-panel">
|
221 |
</div>
|
222 |
|
223 |
|
|
|
|
|
|
|
224 |
</div>
|
225 |
<div class="col-md-4 cssahu_sidebar">
|
226 |
<?php require_once('sidebar.php'); ?>
|
backend/pro.php
CHANGED
@@ -5,21 +5,15 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
5 |
<table class="form-table">
|
6 |
<tr>
|
7 |
<td>
|
8 |
-
<div style="text-align:center"><a class="portfolio_read_more_btn " title="detail" href="
|
9 |
-
|
10 |
-
|
11 |
-
<a href="
|
12 |
<img src="<?php echo SAHU_SO_PLUGIN_URL.'assets/images/pro.jpg'; ?>" style="width:100%;height:auto" />
|
13 |
-
</a>
|
14 |
-
|
15 |
</td>
|
16 |
-
</tr>
|
17 |
-
|
18 |
-
|
19 |
</table>
|
20 |
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
|
25 |
|
5 |
<table class="form-table">
|
6 |
<tr>
|
7 |
<td>
|
8 |
+
<div style="text-align:center"><a class="portfolio_read_more_btn " title="detail" href="https://goo.gl/4rSmH6" target="_blank">Purchase Now Only In $19</a> <a class="portfolio_demo_btn" title="demo" href="https://goo.gl/E6J2Tp" target="_blank">View Demos </a> <a class="portfolio_demo_btn2" title="https://goo.gl/WLjV2k" target="_blank">Pre Sale Query</a></div>
|
9 |
+
<br />
|
10 |
+
<br />
|
11 |
+
<a href="https://goo.gl/4rSmH6" target="_blank">
|
12 |
<img src="<?php echo SAHU_SO_PLUGIN_URL.'assets/images/pro.jpg'; ?>" style="width:100%;height:auto" />
|
13 |
+
</a>
|
|
|
14 |
</td>
|
15 |
+
</tr>
|
|
|
|
|
16 |
</table>
|
17 |
|
|
|
|
|
|
|
18 |
|
19 |
|
backend/sidebar.php
CHANGED
@@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
17 |
<a class="portfolio_read_more_btn thickbox preview-button" href="<?php echo home_url(); ?>?sahu_cs_preview=true&TB_iframe=true&width=900&height=80" ><?php _e('Live Preview','SAHU_SO_TEXT_DOMAIN'); ?></a>
|
18 |
</div>
|
19 |
<div class="col-md-6">
|
20 |
-
<a class="portfolio_read_more_btn preview-button" href="https://
|
21 |
</div>
|
22 |
</div>
|
23 |
</div>
|
@@ -50,19 +50,16 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
50 |
<div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
|
51 |
<div class="panel-body text-center">
|
52 |
<div class="SAHU_SO_h_i ">
|
53 |
-
<div class="SAHU_SO_h_b"><a class="btn btn-danger btn-lg " href="
|
54 |
<div style="overflow:hidden;display:block;width:100%">
|
55 |
-
<h2 class="text-center">Get 8 Premium Design Templates In Coming Soon Pro</h2>
|
56 |
|
57 |
-
<a href="
|
58 |
<img src="<?php echo SAHU_SO_PLUGIN_URL.'assets/images/temp.jpg'; ?>" style="width:100%;height:auto" />
|
59 |
-
</a>
|
60 |
-
|
61 |
-
|
62 |
|
63 |
</div>
|
64 |
-
</div>
|
65 |
-
|
66 |
|
67 |
</div>
|
68 |
</div>
|
17 |
<a class="portfolio_read_more_btn thickbox preview-button" href="<?php echo home_url(); ?>?sahu_cs_preview=true&TB_iframe=true&width=900&height=80" ><?php _e('Live Preview','SAHU_SO_TEXT_DOMAIN'); ?></a>
|
18 |
</div>
|
19 |
<div class="col-md-6">
|
20 |
+
<a class="portfolio_read_more_btn preview-button" href="https://goo.gl/MejH5S" style="background:#d95b95;border: 1px solid #d43b6d;" ><?php _e('Get Support','SAHU_SO_TEXT_DOMAIN'); ?></a>
|
21 |
</div>
|
22 |
</div>
|
23 |
</div>
|
50 |
<div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
|
51 |
<div class="panel-body text-center">
|
52 |
<div class="SAHU_SO_h_i ">
|
53 |
+
<div class="SAHU_SO_h_b"><a class="btn btn-danger btn-lg " href="https://goo.gl/4rSmH6" target="_blank">Try Pro Version Before Buy</a><a class="btn btn-success btn-lg " href="https://goo.gl/E6J2Tp" target="_blank">View Demos</a></div>
|
54 |
<div style="overflow:hidden;display:block;width:100%">
|
55 |
+
<h2 class="text-center">Get 8 Premium Design Templates In Site OFFline/Coming Soon Pro</h2>
|
56 |
|
57 |
+
<a href="https://goo.gl/4rSmH6" target="_blank">
|
58 |
<img src="<?php echo SAHU_SO_PLUGIN_URL.'assets/images/temp.jpg'; ?>" style="width:100%;height:auto" />
|
59 |
+
</a>
|
|
|
|
|
60 |
|
61 |
</div>
|
62 |
+
</div>
|
|
|
63 |
|
64 |
</div>
|
65 |
</div>
|
functions/script.php
CHANGED
@@ -31,11 +31,11 @@ function sahu_site_offline_wp_script()
|
|
31 |
wp_enqueue_script('sahu_so-dialogFx',SAHU_SO_PLUGIN_URL.'assets/js/dialog/dialogFx.js');
|
32 |
|
33 |
}
|
34 |
-
add_action( 'admin_notices', '
|
35 |
-
function
|
36 |
|
37 |
// Verify that we can do a check for reviews.
|
38 |
-
$review = get_option( '
|
39 |
$time = time();
|
40 |
$load = false;
|
41 |
if ( ! $review ) {
|
@@ -43,7 +43,7 @@ function wpsm_siteoff_line_review() {
|
|
43 |
'time' => $time,
|
44 |
'dismissed' => false
|
45 |
);
|
46 |
-
add_option('
|
47 |
//$load = true;
|
48 |
} else {
|
49 |
// Check if it has been dismissed or not.
|
@@ -86,8 +86,8 @@ function wpsm_siteoff_line_review() {
|
|
86 |
}
|
87 |
|
88 |
$.post( ajaxurl, {
|
89 |
-
action: '
|
90 |
-
|
91 |
});
|
92 |
|
93 |
$('.wpsm-siteoff-line-review-notice').hide();
|
@@ -99,8 +99,8 @@ function wpsm_siteoff_line_review() {
|
|
99 |
var wpsm_rate_data_val = "2";
|
100 |
|
101 |
$.post( ajaxurl, {
|
102 |
-
action: '
|
103 |
-
|
104 |
});
|
105 |
|
106 |
$('.wpsm-siteoff-line-review-notice').hide();
|
@@ -113,28 +113,28 @@ function wpsm_siteoff_line_review() {
|
|
113 |
<?php
|
114 |
}
|
115 |
|
116 |
-
add_action( '
|
117 |
-
function
|
118 |
if ( ! $review ) {
|
119 |
$review = array();
|
120 |
}
|
121 |
|
122 |
-
if($_POST['
|
123 |
$review['time'] = time();
|
124 |
$review['dismissed'] = false;
|
125 |
|
126 |
}
|
127 |
-
if($_POST['
|
128 |
$review['time'] = time();
|
129 |
$review['dismissed'] = false;
|
130 |
|
131 |
}
|
132 |
-
if($_POST['
|
133 |
$review['time'] = time();
|
134 |
$review['dismissed'] = true;
|
135 |
|
136 |
}
|
137 |
-
update_option( '
|
138 |
die;
|
139 |
}
|
140 |
?>
|
31 |
wp_enqueue_script('sahu_so-dialogFx',SAHU_SO_PLUGIN_URL.'assets/js/dialog/dialogFx.js');
|
32 |
|
33 |
}
|
34 |
+
add_action( 'admin_notices', 'sahu_siteoff_line_review' );
|
35 |
+
function sahu_siteoff_line_review() {
|
36 |
|
37 |
// Verify that we can do a check for reviews.
|
38 |
+
$review = get_option( 'sahu_siteoff_line_review' );
|
39 |
$time = time();
|
40 |
$load = false;
|
41 |
if ( ! $review ) {
|
43 |
'time' => $time,
|
44 |
'dismissed' => false
|
45 |
);
|
46 |
+
add_option('sahu_siteoff_line_review', $review);
|
47 |
//$load = true;
|
48 |
} else {
|
49 |
// Check if it has been dismissed or not.
|
86 |
}
|
87 |
|
88 |
$.post( ajaxurl, {
|
89 |
+
action: 'sahu_siteoff_line_dismiss_review',
|
90 |
+
sahu_rate_data_siteoff_line : wpsm_rate_data_val
|
91 |
});
|
92 |
|
93 |
$('.wpsm-siteoff-line-review-notice').hide();
|
99 |
var wpsm_rate_data_val = "2";
|
100 |
|
101 |
$.post( ajaxurl, {
|
102 |
+
action: 'sahu_siteoff_line_dismiss_review',
|
103 |
+
sahu_rate_data_siteoff_line : wpsm_rate_data_val
|
104 |
});
|
105 |
|
106 |
$('.wpsm-siteoff-line-review-notice').hide();
|
113 |
<?php
|
114 |
}
|
115 |
|
116 |
+
add_action( 'wp_ajax_sahu_siteoff_line_dismiss_review', 'sahu_siteoff_line_dismiss_review' );
|
117 |
+
function sahu_siteoff_line_dismiss_review() {
|
118 |
if ( ! $review ) {
|
119 |
$review = array();
|
120 |
}
|
121 |
|
122 |
+
if($_POST['sahu_rate_data_siteoff_line']=="1"){
|
123 |
$review['time'] = time();
|
124 |
$review['dismissed'] = false;
|
125 |
|
126 |
}
|
127 |
+
if($_POST['sahu_rate_data_siteoff_line']=="2"){
|
128 |
$review['time'] = time();
|
129 |
$review['dismissed'] = false;
|
130 |
|
131 |
}
|
132 |
+
if($_POST['sahu_rate_data_siteoff_line']=="3"){
|
133 |
$review['time'] = time();
|
134 |
$review['dismissed'] = true;
|
135 |
|
136 |
}
|
137 |
+
update_option( 'sahu_siteoff_line_review', $review );
|
138 |
die;
|
139 |
}
|
140 |
?>
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: chandrashekharsahu
|
|
3 |
Donate link: http://www.freehtmldesigns.com
|
4 |
Tags: admin, coming soon, coming soon page, coming soon wp, coming soon wordPress plugin, construction, countdown timer, email, gmail, landing page, launch, launch page, maintenance, maintenance mode, message, newsletter, notify, offline, offline mode, offline, page, preview, site offline, site is offline, website offline, subscriber, ultimate coming soon page, ultimate landing page, unavailable, under construction, underconstruction, under construction page, wordpress coming soon, wordpress landing page, wordpress maintenance mode, wordpress maintenance mode plugin, wordpress under construction, wordpress under construction page
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to: 4.9.
|
7 |
-
Stable tag: 1.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -19,10 +19,10 @@ https://www.youtube.com/watch?v=fQnl0X9PVxw
|
|
19 |
|
20 |
### Check Demo
|
21 |
|
22 |
-
* [Site Offline Demo](
|
23 |
|
24 |
-
* [Pro Plugin - Live Demos](https://
|
25 |
-
* [Upgrade To Pro Now](https://
|
26 |
|
27 |
|
28 |
|
@@ -88,8 +88,8 @@ https://www.youtube.com/watch?v=fQnl0X9PVxw
|
|
88 |
|
89 |
### Check Demos
|
90 |
|
91 |
-
* [Pro Plugin - Live Demos](https://
|
92 |
-
* [Upgrade To Pro Now](https://
|
93 |
|
94 |
|
95 |
= Translators =
|
@@ -137,6 +137,8 @@ Please use WordPress support forum to ask any query regarding any issue.
|
|
137 |
|
138 |
== Changelog ==
|
139 |
|
|
|
|
|
140 |
|
141 |
= 1.2.4 =
|
142 |
* minor css bug resolved.
|
3 |
Donate link: http://www.freehtmldesigns.com
|
4 |
Tags: admin, coming soon, coming soon page, coming soon wp, coming soon wordPress plugin, construction, countdown timer, email, gmail, landing page, launch, launch page, maintenance, maintenance mode, message, newsletter, notify, offline, offline mode, offline, page, preview, site offline, site is offline, website offline, subscriber, ultimate coming soon page, ultimate landing page, unavailable, under construction, underconstruction, under construction page, wordpress coming soon, wordpress landing page, wordpress maintenance mode, wordpress maintenance mode plugin, wordpress under construction, wordpress under construction page
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 4.9.4
|
7 |
+
Stable tag: 1.2.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
19 |
|
20 |
### Check Demo
|
21 |
|
22 |
+
* [Site Offline Demo](https://goo.gl/nYwgVY)
|
23 |
|
24 |
+
* [Pro Plugin - Live Demos](https://goo.gl/E6J2Tp)
|
25 |
+
* [Upgrade To Pro Now](https://goo.gl/4rSmH6)
|
26 |
|
27 |
|
28 |
|
88 |
|
89 |
### Check Demos
|
90 |
|
91 |
+
* [Pro Plugin - Live Demos](https://goo.gl/E6J2Tp)
|
92 |
+
* [Upgrade To Pro Now](https://goo.gl/4rSmH6)
|
93 |
|
94 |
|
95 |
= Translators =
|
137 |
|
138 |
== Changelog ==
|
139 |
|
140 |
+
= 1.2.5 =
|
141 |
+
* moved some inline css in css file.
|
142 |
|
143 |
= 1.2.4 =
|
144 |
* minor css bug resolved.
|
site-offline.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Site Offline
|
4 |
-
* Version: 1.2.
|
5 |
* Description: Site Offline plugin manage your WordPress website when it's under construction or maintenance mode or coming soon.
|
6 |
* Author: Chandra Shekhar Sahu
|
7 |
* Author URI: http://www.freehtmldesigns.com
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Site Offline
|
4 |
+
* Version: 1.2.5
|
5 |
* Description: Site Offline plugin manage your WordPress website when it's under construction or maintenance mode or coming soon.
|
6 |
* Author: Chandra Shekhar Sahu
|
7 |
* Author URI: http://www.freehtmldesigns.com
|