Version Description
- More tweaks to the append html section.
Download this release
Release Info
Developer | seedprod |
Plugin | Coming Soon Page & Maintenance Mode by SeedProd |
Version | 5.0.2 |
Comparing to | |
See all releases |
Code changes from version 5.0.1 to 5.0.2
- README.txt +8 -2
- coming-soon.php +2 -2
- inc/class-seed-csp4.php +1 -0
- themes/default/functions.php +9 -0
- themes/default/index.php +1 -0
README.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: seedprod
|
|
3 |
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.
|
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.1 =
|
118 |
* Added option to append to the html in addition of just replacing.
|
119 |
|
@@ -157,6 +160,9 @@ This is always a caching issue. Go to the caching plugin's setting page and clea
|
|
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 |
|
3 |
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.5.3
|
7 |
+
Stable tag: 5.0.2
|
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.2 =
|
118 |
+
* More tweaks to the append html section.
|
119 |
+
|
120 |
= 5.0.1 =
|
121 |
* Added option to append to the html in addition of just replacing.
|
122 |
|
160 |
* Initial Commit
|
161 |
|
162 |
== Upgrade Notice ==
|
163 |
+
= 5.0.2 =
|
164 |
+
* More tweaks to the append html section.
|
165 |
+
|
166 |
= 5.0.1 =
|
167 |
* Added option to append to the html in addition of just replacing.
|
168 |
|
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.2
|
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.2'); // 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
@@ -204,6 +204,7 @@ class SEED_CSP4{
|
|
204 |
'{Headline}' => seed_csp4_headline(),
|
205 |
'{Description}' => seed_csp4_description(),
|
206 |
'{Credit}' => seed_csp4_credit(),
|
|
|
207 |
);
|
208 |
echo strtr($template, $template_tags);
|
209 |
}else{
|
204 |
'{Headline}' => seed_csp4_headline(),
|
205 |
'{Description}' => seed_csp4_description(),
|
206 |
'{Credit}' => seed_csp4_credit(),
|
207 |
+
'{Append_HTML}' => seed_csp4_append_html(),
|
208 |
);
|
209 |
echo strtr($template, $template_tags);
|
210 |
}else{
|
themes/default/functions.php
CHANGED
@@ -277,6 +277,15 @@ function seed_csp4_description() {
|
|
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 |
}
|
277 |
$output .= '<div id="seed-csp4-description">'.shortcode_unautop(wpautop(convert_chars(wptexturize($description)))).'</div>';
|
278 |
}
|
279 |
|
280 |
+
return $output;
|
281 |
+
}
|
282 |
+
|
283 |
+
function seed_csp4_append_html() {
|
284 |
+
$o = seed_csp4_get_settings();
|
285 |
+
extract( $o );
|
286 |
+
|
287 |
+
$output = '';
|
288 |
+
|
289 |
if ( !empty( $append_html) ) {
|
290 |
$output .= '<div id="coming-soon-custom-html">'.shortcode_unautop(wpautop(convert_chars(wptexturize($append_html)))).'</div>';
|
291 |
}
|
themes/default/index.php
CHANGED
@@ -19,6 +19,7 @@
|
|
19 |
{Description}
|
20 |
</div><!-- / #seed-csp4-content -->
|
21 |
</div></div>
|
|
|
22 |
{Credit}
|
23 |
|
24 |
{Footer}
|
19 |
{Description}
|
20 |
</div><!-- / #seed-csp4-content -->
|
21 |
</div></div>
|
22 |
+
{Append_HTML}
|
23 |
{Credit}
|
24 |
|
25 |
{Footer}
|