Version Description
- Fixed CSS issue and added cache control
Download this release
Release Info
Developer | seedprod |
Plugin | Coming Soon Page & Maintenance Mode by SeedProd |
Version | 5.0.8 |
Comparing to | |
See all releases |
Code changes from version 5.0.7 to 5.0.8
- README.txt +7 -1
- coming-soon.php +2 -2
- inc/class-seed-csp4.php +23 -0
- themes/default/functions.php +2 -2
- themes/default/index.php +9 -6
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.seedprod.com
|
|
4 |
Tags: maintenance mode, coming soon page, coming soon, under construction, launch page, launch, maintenance, construction, offline, unavailable, under construction page, landing page
|
5 |
Requires at least: 3.5.1
|
6 |
Tested up to: 4.7.2
|
7 |
-
Stable tag: 5.0.
|
8 |
Text Domain: coming-soon
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -113,6 +113,9 @@ This is always a caching issue. Go to the caching plugin's setting page and clea
|
|
113 |
4. Design Page
|
114 |
|
115 |
== Changelog ==
|
|
|
|
|
|
|
116 |
= 5.0.6 =
|
117 |
* Added wp review request
|
118 |
|
@@ -173,6 +176,9 @@ This is always a caching issue. Go to the caching plugin's setting page and clea
|
|
173 |
* Initial Commit
|
174 |
|
175 |
== Upgrade Notice ==
|
|
|
|
|
|
|
176 |
= 5.0.5 =
|
177 |
* Disable REST API while in coming soon and maintenance mode
|
178 |
|
4 |
Tags: maintenance mode, coming soon page, coming soon, under construction, launch page, launch, maintenance, construction, offline, unavailable, under construction page, landing page
|
5 |
Requires at least: 3.5.1
|
6 |
Tested up to: 4.7.2
|
7 |
+
Stable tag: 5.0.8
|
8 |
Text Domain: coming-soon
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
113 |
4. Design Page
|
114 |
|
115 |
== Changelog ==
|
116 |
+
= 5.0.8 =
|
117 |
+
* Fixed CSS issue and added cache control
|
118 |
+
|
119 |
= 5.0.6 =
|
120 |
* Added wp review request
|
121 |
|
176 |
* Initial Commit
|
177 |
|
178 |
== Upgrade Notice ==
|
179 |
+
= 5.0.8 =
|
180 |
+
* Fixed CSS issue and added cache control
|
181 |
+
|
182 |
= 5.0.5 =
|
183 |
* Disable REST API while in coming soon and maintenance mode
|
184 |
|
coming-soon.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Coming Soon Page & Maintenance Mode by SeedProd
|
4 |
* Plugin URI: http://www.seedprod.com
|
5 |
* Description: The #1 Coming Soon Page, Under Construction & Maintenance Mode plugin for WordPress.
|
6 |
-
* Version: 5.0.
|
7 |
* Author: SeedProd
|
8 |
* Author URI: http://www.seedprod.com
|
9 |
* Text Domain: coming-soon
|
@@ -21,7 +21,7 @@ define( 'SEED_CSP4_SHORTNAME', 'seed_csp4' ); // Used to reference namespace fun
|
|
21 |
define( 'SEED_CSP4_SLUG', 'coming-soon/coming-soon.php' ); // Used for settings link.
|
22 |
define( 'SEED_CSP4_TEXTDOMAIN', 'coming-soon' ); // Your textdomain
|
23 |
define( 'SEED_CSP4_PLUGIN_NAME', __( 'Coming Soon Page & Maintenance Mode by SeedProd', 'coming-soon' ) ); // Plugin Name shows up on the admin settings screen.
|
24 |
-
define( 'SEED_CSP4_VERSION', '5.0.
|
25 |
define( 'SEED_CSP4_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); // Example output: /Applications/MAMP/htdocs/wordpress/wp-content/plugins/seed_csp4/
|
26 |
define( 'SEED_CSP4_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); // Example output: http://localhost:8888/wordpress/wp-content/plugins/seed_csp4/
|
27 |
define( 'SEED_CSP4_TABLENAME', 'seed_csp4_subscribers' );
|
3 |
* Plugin Name: Coming Soon Page & Maintenance Mode by SeedProd
|
4 |
* Plugin URI: http://www.seedprod.com
|
5 |
* Description: The #1 Coming Soon Page, Under Construction & Maintenance Mode plugin for WordPress.
|
6 |
+
* Version: 5.0.8
|
7 |
* Author: SeedProd
|
8 |
* Author URI: http://www.seedprod.com
|
9 |
* Text Domain: coming-soon
|
21 |
define( 'SEED_CSP4_SLUG', 'coming-soon/coming-soon.php' ); // Used for settings link.
|
22 |
define( 'SEED_CSP4_TEXTDOMAIN', 'coming-soon' ); // Your textdomain
|
23 |
define( 'SEED_CSP4_PLUGIN_NAME', __( 'Coming Soon Page & Maintenance Mode by SeedProd', 'coming-soon' ) ); // Plugin Name shows up on the admin settings screen.
|
24 |
+
define( 'SEED_CSP4_VERSION', '5.0.8'); // Plugin Version Number. Recommend you use Semantic Versioning http://semver.org/
|
25 |
define( 'SEED_CSP4_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); // Example output: /Applications/MAMP/htdocs/wordpress/wp-content/plugins/seed_csp4/
|
26 |
define( 'SEED_CSP4_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); // Example output: http://localhost:8888/wordpress/wp-content/plugins/seed_csp4/
|
27 |
define( 'SEED_CSP4_TABLENAME', 'seed_csp4_subscribers' );
|
inc/class-seed-csp4.php
CHANGED
@@ -194,6 +194,29 @@ class SEED_CSP4{
|
|
194 |
}
|
195 |
}
|
196 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
197 |
// render template tags
|
198 |
if(empty($html)){
|
199 |
$template = $this->get_default_template();
|
194 |
}
|
195 |
}
|
196 |
|
197 |
+
// Prevetn Plugins from caching
|
198 |
+
// Disable caching plugins. This should take care of:
|
199 |
+
// - W3 Total Cache
|
200 |
+
// - WP Super Cache
|
201 |
+
// - ZenCache (Previously QuickCache)
|
202 |
+
if(!defined('DONOTCACHEPAGE')) {
|
203 |
+
define('DONOTCACHEPAGE', true);
|
204 |
+
}
|
205 |
+
if(!defined('DONOTCDN')) {
|
206 |
+
define('DONOTCDN', true);
|
207 |
+
}
|
208 |
+
if(!defined('DONOTCACHEDB')) {
|
209 |
+
define('DONOTCACHEDB', true);
|
210 |
+
}
|
211 |
+
if(!defined('DONOTMINIFY')) {
|
212 |
+
define('DONOTMINIFY', true);
|
213 |
+
}
|
214 |
+
if(!defined('DONOTCACHEOBJECT')) {
|
215 |
+
define('DONOTCACHEOBJECT', true);
|
216 |
+
}
|
217 |
+
header('Cache-Control: max-age=0; private');
|
218 |
+
|
219 |
+
|
220 |
// render template tags
|
221 |
if(empty($html)){
|
222 |
$template = $this->get_default_template();
|
themes/default/functions.php
CHANGED
@@ -85,7 +85,7 @@ function seed_csp4_head() {
|
|
85 |
|
86 |
/* Background Style */
|
87 |
html{
|
88 |
-
|
89 |
<?php if ( !empty( $bg_image ) ): ;?>
|
90 |
<?php if ( isset( $bg_cover ) && in_array( '1', $bg_cover ) ) : ?>
|
91 |
background: <?php echo $bg_color;?> url('<?php echo $bg_image; ?>') no-repeat top center fixed;
|
@@ -287,7 +287,7 @@ function seed_csp4_append_html() {
|
|
287 |
$output = '';
|
288 |
|
289 |
if ( !empty( $append_html) ) {
|
290 |
-
$output .= '<div id="coming-soon-custom-html">'
|
291 |
}
|
292 |
|
293 |
return $output;
|
85 |
|
86 |
/* Background Style */
|
87 |
html{
|
88 |
+
|
89 |
<?php if ( !empty( $bg_image ) ): ;?>
|
90 |
<?php if ( isset( $bg_cover ) && in_array( '1', $bg_cover ) ) : ?>
|
91 |
background: <?php echo $bg_color;?> url('<?php echo $bg_image; ?>') no-repeat top center fixed;
|
287 |
$output = '';
|
288 |
|
289 |
if ( !empty( $append_html) ) {
|
290 |
+
$output .= '<div id="coming-soon-custom-html">'.$append_html.'</div>';
|
291 |
}
|
292 |
|
293 |
return $output;
|
themes/default/index.php
CHANGED
@@ -11,18 +11,21 @@
|
|
11 |
{CustomCSS}
|
12 |
</head>
|
13 |
<body>
|
|
|
14 |
<div class="row">
|
15 |
<div class="col-md-12">
|
16 |
-
<div id="seed-csp4-content">
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
</div><!-- / #seed-csp4-content -->
|
21 |
-
</div
|
|
|
22 |
{Append_HTML}
|
23 |
{Credit}
|
24 |
|
25 |
{Footer}
|
|
|
26 |
</body>
|
27 |
</html>
|
28 |
|
11 |
{CustomCSS}
|
12 |
</head>
|
13 |
<body>
|
14 |
+
<div id="seed-csp4-page">
|
15 |
<div class="row">
|
16 |
<div class="col-md-12">
|
17 |
+
<div id="seed-csp4-content">
|
18 |
+
{Logo}
|
19 |
+
{Headline}
|
20 |
+
{Description}
|
21 |
+
</div><!-- / #seed-csp4-content -->
|
22 |
+
</div>
|
23 |
+
</div>
|
24 |
{Append_HTML}
|
25 |
{Credit}
|
26 |
|
27 |
{Footer}
|
28 |
+
</div>
|
29 |
</body>
|
30 |
</html>
|
31 |
|