Version Description
- Added option to append to the html in addition of just replacing.
Download this release
Release Info
Developer | seedprod |
Plugin | Coming Soon Page & Maintenance Mode by SeedProd |
Version | 5.0.1 |
Comparing to | |
See all releases |
Code changes from version 5.0.0 to 5.0.1
- README.txt +7 -1
- coming-soon.php +2 -2
- inc/config-settings.php +9 -1
- themes/default/functions.php +4 -0
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.seedprod.com
|
|
4 |
Tags: maintenance mode, coming soon, under construction, launch page, launch, maintenance, construction, offline, unavailable, coming soon page, under construction page, landing page
|
5 |
Requires at least: 3.5.1
|
6 |
Tested up to: 4.4.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
|
@@ -114,6 +114,9 @@ This is always a caching issue. Go to the caching plugin's setting page and clea
|
|
114 |
4. Design Page
|
115 |
|
116 |
== Changelog ==
|
|
|
|
|
|
|
117 |
= 5.0.0 =
|
118 |
* Added the ability to add custom html, dim background and help video.
|
119 |
|
@@ -154,6 +157,9 @@ This is always a caching issue. Go to the caching plugin's setting page and clea
|
|
154 |
* Initial Commit
|
155 |
|
156 |
== Upgrade Notice ==
|
|
|
|
|
|
|
157 |
= 5.0.0 =
|
158 |
* Added the ability to add custom html, dim background and help video.
|
159 |
|
4 |
Tags: maintenance mode, coming soon, under construction, launch page, launch, maintenance, construction, offline, unavailable, coming soon page, under construction page, landing page
|
5 |
Requires at least: 3.5.1
|
6 |
Tested up to: 4.4.2
|
7 |
+
Stable tag: 5.0.1
|
8 |
Text Domain: coming-soon
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
114 |
4. Design Page
|
115 |
|
116 |
== Changelog ==
|
117 |
+
= 5.0.1 =
|
118 |
+
* Added option to append to the html in addition of just replacing.
|
119 |
+
|
120 |
= 5.0.0 =
|
121 |
* Added the ability to add custom html, dim background and help video.
|
122 |
|
157 |
* Initial Commit
|
158 |
|
159 |
== Upgrade Notice ==
|
160 |
+
= 5.0.1 =
|
161 |
+
* Added option to append to the html in addition of just replacing.
|
162 |
+
|
163 |
= 5.0.0 =
|
164 |
* Added the ability to add custom html, dim background and help video.
|
165 |
|
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.1
|
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.1'); // 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/config-settings.php
CHANGED
@@ -402,7 +402,15 @@ function seed_csp4_get_options(){
|
|
402 |
"type" => "textarea",
|
403 |
"id" => "html",
|
404 |
"label" => __( "Custom HTML", 'coming-soon' ),
|
405 |
-
"desc" => __("The will replace the plugin's template with your custom html.", 'coming-soon'),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
406 |
"class" => "large-text"
|
407 |
);
|
408 |
|
402 |
"type" => "textarea",
|
403 |
"id" => "html",
|
404 |
"label" => __( "Custom HTML", 'coming-soon' ),
|
405 |
+
"desc" => __("The will replace the plugin's entire template with your custom html. Make sure to include the html, head and body tags when replacing the html.", 'coming-soon'),
|
406 |
+
"class" => "large-text"
|
407 |
+
);
|
408 |
+
|
409 |
+
$seed_csp4_options[ ] = array(
|
410 |
+
"type" => "textarea",
|
411 |
+
"id" => "append_html",
|
412 |
+
"label" => __( "Append HTML", 'coming-soon' ),
|
413 |
+
"desc" => __("The will append html to the bottom of the template using the current styles.", 'coming-soon'),
|
414 |
"class" => "large-text"
|
415 |
);
|
416 |
|
themes/default/functions.php
CHANGED
@@ -277,6 +277,10 @@ function seed_csp4_description() {
|
|
277 |
$output .= '<div id="seed-csp4-description">'.shortcode_unautop(wpautop(convert_chars(wptexturize($description)))).'</div>';
|
278 |
}
|
279 |
|
|
|
|
|
|
|
|
|
280 |
return $output;
|
281 |
}
|
282 |
|
277 |
$output .= '<div id="seed-csp4-description">'.shortcode_unautop(wpautop(convert_chars(wptexturize($description)))).'</div>';
|
278 |
}
|
279 |
|
280 |
+
if ( !empty( $append_html) ) {
|
281 |
+
$output .= '<div id="coming-soon-custom-html">'.shortcode_unautop(wpautop(convert_chars(wptexturize($append_html)))).'</div>';
|
282 |
+
}
|
283 |
+
|
284 |
return $output;
|
285 |
}
|
286 |
|