Version Description
- Changed text on credit and added and tweaked inline optin for free bg images.
Download this release
Release Info
Developer | seedprod |
Plugin | Coming Soon Page & Maintenance Mode by SeedProd |
Version | 5.0.15 |
Comparing to | |
See all releases |
Code changes from version 5.0.14 to 5.0.15
- README.txt +12 -3
- coming-soon.php +2 -2
- framework/framework.php +11 -0
- inc/config-settings.php +11 -1
- themes/default/functions.php +14 -1
- themes/default/images/seedprod-credit-new.png +0 -0
README.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: seedprod
|
|
3 |
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 |
-
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
|
@@ -96,10 +96,13 @@ Create a simple Coming Soon Page or Maintenance Mode Page. Work on your site in
|
|
96 |
== Frequently Asked Questions ==
|
97 |
= What's the difference between Coming Soon Page Mode and Maintenance Mode? =
|
98 |
|
99 |
-
Coming Soon Page Mode
|
100 |
|
101 |
Maintenance Mode returns a http status code 503 and should be used when you are doing short term maintenance on an existing site. This will let search engines know your site is under going maintenance and should return in 1 day when maintenance mode is finished.
|
102 |
|
|
|
|
|
|
|
103 |
= Disabled Coming Soon Plugin and it still shows =
|
104 |
|
105 |
This is always a caching issue. Go to the caching plugin's setting page and clear the cache.
|
@@ -113,6 +116,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.14 =
|
117 |
* Fixed a PHP 7 compatibility warning
|
118 |
|
@@ -191,6 +197,9 @@ This is always a caching issue. Go to the caching plugin's setting page and clea
|
|
191 |
* Initial Commit
|
192 |
|
193 |
== Upgrade Notice ==
|
|
|
|
|
|
|
194 |
= 5.0.14 =
|
195 |
* Fixed a PHP 7 compatibility warning
|
196 |
|
3 |
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.9.0
|
7 |
+
Stable tag: 5.0.15
|
8 |
Text Domain: coming-soon
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
96 |
== Frequently Asked Questions ==
|
97 |
= What's the difference between Coming Soon Page Mode and Maintenance Mode? =
|
98 |
|
99 |
+
Coming Soon Page Mode returns a http status 200 and allows your site to be indexed by Google and other searching engine while under construction. You should always using Coming Soon Page mode when your site is under construction.
|
100 |
|
101 |
Maintenance Mode returns a http status code 503 and should be used when you are doing short term maintenance on an existing site. This will let search engines know your site is under going maintenance and should return in 1 day when maintenance mode is finished.
|
102 |
|
103 |
+
= Who can see the website while it's under construction? =
|
104 |
+
Only logged in visitors can see the website while you website is under construction. Logged out visitors will see the coming soon page or maintenance mode page depending on which mode you have selected.
|
105 |
+
|
106 |
= Disabled Coming Soon Plugin and it still shows =
|
107 |
|
108 |
This is always a caching issue. Go to the caching plugin's setting page and clear the cache.
|
116 |
4. Design Page
|
117 |
|
118 |
== Changelog ==
|
119 |
+
= 5.0.15 =
|
120 |
+
* Changed text on credit and added and tweaked inline optin for free bg images.
|
121 |
+
|
122 |
= 5.0.14 =
|
123 |
* Fixed a PHP 7 compatibility warning
|
124 |
|
197 |
* Initial Commit
|
198 |
|
199 |
== Upgrade Notice ==
|
200 |
+
= 5.0.15 =
|
201 |
+
* Changed text on credit and added and tweaked inline optin for free bg images.
|
202 |
+
|
203 |
= 5.0.14 =
|
204 |
* Fixed a PHP 7 compatibility warning
|
205 |
|
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.15
|
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.15'); // 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' );
|
framework/framework.php
CHANGED
@@ -374,6 +374,17 @@ class SEED_CSP4_ADMIN
|
|
374 |
</div>
|
375 |
</div>
|
376 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
377 |
|
378 |
<!-- <div class="postbox like-postbox">
|
379 |
<div class="handlediv" title="Click to toggle"><br /></div>
|
374 |
</div>
|
375 |
</div>
|
376 |
</div>
|
377 |
+
|
378 |
+
<form id="seed-bg-form" style="display:none" action="https://www.getdrip.com/forms/39621858/submissions" method="post" data-drip-embedded-form="39621858" target="_blank">
|
379 |
+
<div>
|
380 |
+
<label for="drip-email">Email Address</label><br />
|
381 |
+
<input type="email" id="drip-email" name="fields[email]" value="" />
|
382 |
+
</div>
|
383 |
+
<div>
|
384 |
+
<input id="drip-submit" type="submit" name="submit" value="Sign Up" data-drip-attribute="sign-up-button" />
|
385 |
+
</div>
|
386 |
+
</form>
|
387 |
+
|
388 |
|
389 |
<!-- <div class="postbox like-postbox">
|
390 |
<div class="handlediv" title="Click to toggle"><br /></div>
|
inc/config-settings.php
CHANGED
@@ -184,7 +184,17 @@ function seed_csp4_get_options(){
|
|
184 |
$seed_csp4_options[ ] = array(
|
185 |
"type" => "upload",
|
186 |
"id" => "bg_image",
|
187 |
-
"desc" =>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
"label" => __( "Background Image", 'coming-soon' ),
|
189 |
);
|
190 |
|
184 |
$seed_csp4_options[ ] = array(
|
185 |
"type" => "upload",
|
186 |
"id" => "bg_image",
|
187 |
+
"desc" => '
|
188 |
+
Looking for free background images? Confirm that\'s your email and click the button below.<br>
|
189 |
+
<div id="seed-bg-images-form"><input type="email" id="seed-bg-images-email" value="'.get_option('admin_email').'" /><button id="seed-bg-images-btn" class="button-primary">Send Me FREE Background Images</button></div>
|
190 |
+
<script>
|
191 |
+
jQuery( "#seed-bg-images-btn" ).click(function(e) {
|
192 |
+
e.preventDefault();
|
193 |
+
jQuery("#drip-email").val(jQuery("#seed-bg-images-email").val());
|
194 |
+
jQuery("#drip-submit").click();
|
195 |
+
});
|
196 |
+
</script>
|
197 |
+
',
|
198 |
"label" => __( "Background Image", 'coming-soon' ),
|
199 |
);
|
200 |
|
themes/default/functions.php
CHANGED
@@ -307,7 +307,20 @@ function seed_csp4_credit() {
|
|
307 |
|
308 |
if ( !empty( $footer_credit ) ) {
|
309 |
$output = '<div id="seed-csp4-credit">';
|
310 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
311 |
$output .= '</div>';
|
312 |
}
|
313 |
|
307 |
|
308 |
if ( !empty( $footer_credit ) ) {
|
309 |
$output = '<div id="seed-csp4-credit">';
|
310 |
+
if($status == 2){
|
311 |
+
$output .= '<a style="font-size:11px;color:#f5f5f5" target="_blank" href="https://www.seedprod.com/">WordPress Maintenance Mode</a> <span style="font-size:11px;color:#f5f5f5">by</span><img style="vertical-align:top;padding-top:1px" src="'.plugins_url('coming-soon',dirname('.')).'/themes/default/images/seedprod-credit-new.png">';
|
312 |
+
}else{
|
313 |
+
$domain = wp_parse_url(home_url());
|
314 |
+
$domain = $domain['host'];
|
315 |
+
if($domain[0] > 'i' && $domain[0] <= 'p'){
|
316 |
+
$output .= '<a style="font-size:11px;color:#f5f5f5" target="_blank" href="https://www.seedprod.com/">WordPress Coming Soon Page</a> <span style="font-size:11px;color:#f5f5f5">by</span><img style="vertical-align:top;padding-top:1px" src="'.plugins_url('coming-soon',dirname('.')).'/themes/default/images/seedprod-credit-new.png">';
|
317 |
+
}elseif($domain[0] > 'p'){
|
318 |
+
$output .= '<a style="font-size:11px;color:#f5f5f5" target="_blank" href="https://www.seedprod.com/">Under Construction Page</a> <span style="font-size:11px;color:#f5f5f5">by</span><img style="vertical-align:top;padding-top:1px" src="'.plugins_url('coming-soon',dirname('.')).'/themes/default/images/seedprod-credit-new.png">';
|
319 |
+
}else{
|
320 |
+
$output .= '<a style="font-size:11px;color:#f5f5f5" target="_blank" href="https://www.seedprod.com/">Coming Soon Page</a> <span style="font-size:11px;color:#f5f5f5">by</span><img style="vertical-align:top;padding-top:1px" src="'.plugins_url('coming-soon',dirname('.')).'/themes/default/images/seedprod-credit-new.png">';
|
321 |
+
}
|
322 |
+
}
|
323 |
+
|
324 |
$output .= '</div>';
|
325 |
}
|
326 |
|
themes/default/images/seedprod-credit-new.png
ADDED
Binary file
|