Version Description
Download this release
Release Info
Developer | seedprod |
Plugin | Coming Soon Page & Maintenance Mode by SeedProd |
Version | 4.2.2 |
Comparing to | |
See all releases |
Code changes from version 4.2.1 to 4.2.2
- README.txt +2 -2
- coming-soon.php +2 -2
- framework/framework.php +31 -77
- inc/adminbar-style.css +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.4.
|
7 |
-
Stable tag: 4.2.
|
8 |
Text Domain: coming-soon
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
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.4.2
|
7 |
+
Stable tag: 4.2.2
|
8 |
Text Domain: coming-soon
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
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: 4.2.
|
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', '4.2.
|
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: 4.2.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', '4.2.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' );
|
framework/framework.php
CHANGED
@@ -100,7 +100,7 @@ class SEED_CSP4_ADMIN
|
|
100 |
wp_enqueue_style( 'media-upload' );
|
101 |
wp_enqueue_style( 'wp-color-picker' );
|
102 |
wp_enqueue_style( 'seed_csp4-framework-css', SEED_CSP4_PLUGIN_URL . 'framework/settings-style.css', false, $this->plugin_version );
|
103 |
-
wp_enqueue_style( 'font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.0
|
104 |
}
|
105 |
|
106 |
/**
|
@@ -176,7 +176,7 @@ class SEED_CSP4_ADMIN
|
|
176 |
}
|
177 |
echo '<a class="nav-tab seed_csp4-preview thickbox-preview" href="'.home_url().'?cs_preview=true&TB_iframe=true&width=640&height=632" title="'.__('← Close Window','coming-soon').'">'.__('Live Preview','coming-soon').'</a>';
|
178 |
if(defined('SEED_CSP_API_KEY') === false){
|
179 |
-
echo '<a class="nav-tab seed_csp4-support" style="background-color: #
|
180 |
}
|
181 |
echo '</h2>';
|
182 |
|
@@ -292,54 +292,12 @@ class SEED_CSP4_ADMIN
|
|
292 |
<div id="postbox-container-1" class="postbox-container">
|
293 |
<div id="side-sortables" class="meta-box-sortables ui-sortable">
|
294 |
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
<div class="inside">
|
300 |
-
|
301 |
-
|
302 |
-
<p data-drip-attribute="description">There's nothing more disappointing than launching a new site and not get enough visitors to support it. Find out how to build an audience before you launch in this free 5-part course.</p>
|
303 |
-
<div>
|
304 |
-
<label for="fields[email]">Email Address</label><br />
|
305 |
-
<input class="regular-text" style="width:100%" type="email" name="fields[email]" value="<?php echo get_option( 'admin_email' ); ?>" />
|
306 |
-
</div>
|
307 |
-
|
308 |
-
<div style="margin-top:10px">
|
309 |
-
<label for="fields[first_name]">First Name</label><br />
|
310 |
-
<input class="regular-text" style="width:100%" type="text" name="fields[first_name]" value="" />
|
311 |
-
</div>
|
312 |
-
|
313 |
-
<div style="margin-top:10px">
|
314 |
-
<input type="submit" name="submit" value="Subscribe Now" style="background-color:red; border-color:firebrick;" data-drip-attribute="sign-up-button" class="button-primary" />
|
315 |
-
</div>
|
316 |
-
|
317 |
-
|
318 |
-
<!-- <div class="rss-widget">
|
319 |
-
<?php
|
320 |
-
wp_widget_rss_output(array(
|
321 |
-
'url' => 'http://seedprod.com/feed/',
|
322 |
-
'title' => 'SeedProd Blog',
|
323 |
-
'items' => 3,
|
324 |
-
'show_summary' => 0,
|
325 |
-
'show_author' => 0,
|
326 |
-
'show_date' => 1,
|
327 |
-
));
|
328 |
-
?>
|
329 |
-
<ul>
|
330 |
-
<li>» <a href="http://seedprod.com/subscribe/"><?php _e('Subscribe by Email', 'ultimate-coming-soon-page') ?></a></li>
|
331 |
-
</ul>
|
332 |
-
</div> -->
|
333 |
-
</div>
|
334 |
-
</form>
|
335 |
-
|
336 |
-
|
337 |
-
</div>
|
338 |
-
<!-- <a href="http://www.seedprod.com/plugins/wordpress-coming-soon-pro-plugin/?utm_source=plugin&utm_medium=banner&utm_campaign=coming-soon-pro-in-plugin-banner" target="_blank"><img src="http://static.seedprod.com/ads/coming-soon-pro-sidebar.png" /></a>
|
339 |
-
<br><br> -->
|
340 |
-
<div class="postbox support-postbox" style="background-color:#d9edf7">
|
341 |
<div class="handlediv" title="Click to toggle"><br /></div>
|
342 |
-
<h3 class="hndle"><span
|
343 |
<div class="inside">
|
344 |
<div class="support-widget">
|
345 |
<p>
|
@@ -354,9 +312,9 @@ class SEED_CSP4_ADMIN
|
|
354 |
</div>
|
355 |
</div>
|
356 |
|
357 |
-
<div class="postbox like-postbox"
|
358 |
<div class="handlediv" title="Click to toggle"><br /></div>
|
359 |
-
<h3 class="hndle"><span
|
360 |
<div class="inside">
|
361 |
<div class="like-widget">
|
362 |
<p><?php _e('Like this plugin? Show your support by:', 'coming-soon')?></p>
|
@@ -365,9 +323,6 @@ class SEED_CSP4_ADMIN
|
|
365 |
|
366 |
<li>» <a target="_blank" href="https://wordpress.org/support/view/plugin-reviews/coming-soon?rate=5#postform"><?php _e('Rate It', 'coming-soon') ?></a></li>
|
367 |
<li>» <a target="_blank" href="<?php echo "http://twitter.com/share?url=https%3A%2F%2Fwordpress.org%2Fplugins%2Fultimate-coming-soon-page%2F&text=Check out this awesome %23WordPress Plugin I'm using, Coming Soon Page and Maintenance Mode by SeedProd"; ?>"><?php _e('Tweet It', 'coming-soon') ?></a></li>
|
368 |
-
|
369 |
-
<li>» <a href="https://www.seedprod.com/submit-site/"><?php _e('Submit your site to the Showcase', 'coming-soon') ?></a></li>
|
370 |
-
|
371 |
</ul>
|
372 |
</div>
|
373 |
</div>
|
@@ -375,29 +330,28 @@ class SEED_CSP4_ADMIN
|
|
375 |
|
376 |
|
377 |
|
378 |
-
<div class="postbox rss-postbox"
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
</div>
|
401 |
|
402 |
</div>
|
403 |
</div>
|
100 |
wp_enqueue_style( 'media-upload' );
|
101 |
wp_enqueue_style( 'wp-color-picker' );
|
102 |
wp_enqueue_style( 'seed_csp4-framework-css', SEED_CSP4_PLUGIN_URL . 'framework/settings-style.css', false, $this->plugin_version );
|
103 |
+
wp_enqueue_style( 'font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.css', false, $this->plugin_version );
|
104 |
}
|
105 |
|
106 |
/**
|
176 |
}
|
177 |
echo '<a class="nav-tab seed_csp4-preview thickbox-preview" href="'.home_url().'?cs_preview=true&TB_iframe=true&width=640&height=632" title="'.__('← Close Window','coming-soon').'">'.__('Live Preview','coming-soon').'</a>';
|
178 |
if(defined('SEED_CSP_API_KEY') === false){
|
179 |
+
echo '<a class="nav-tab seed_csp4-support" style="background-color: #444;color: #fff" href="https://www.seedprod.com/ultimate-coming-soon-page-vs-coming-soon-pro/?utm_source=coming-soon-plugin&utm_medium=banner&utm_campaign=coming-soon-link-in-plugin" target="_blank"><i class="fa fa-star"></i> '.__('Upgrade to Pro for more Professional Features','coming-soon').'</a>';
|
180 |
}
|
181 |
echo '</h2>';
|
182 |
|
292 |
<div id="postbox-container-1" class="postbox-container">
|
293 |
<div id="side-sortables" class="meta-box-sortables ui-sortable">
|
294 |
|
295 |
+
|
296 |
+
<a href="https://www.seedprod.com/ultimate-coming-soon-page-vs-coming-soon-pro/?utm_source=coming-soon-plugin&utm_medium=banner&utm_campaign=coming-soon-banner-in-plugin" target="_blank"><img src="http://static.seedprod.com/ads/coming-soon-pro-sidebar.png" /></a>
|
297 |
+
<br><br>
|
298 |
+
<div class="postbox ">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
299 |
<div class="handlediv" title="Click to toggle"><br /></div>
|
300 |
+
<h3 class="hndle"><span><i class="fa fa-question-circle"></i> <?php _e('Plugin Support', 'coming-soon') ?></span></h3>
|
301 |
<div class="inside">
|
302 |
<div class="support-widget">
|
303 |
<p>
|
312 |
</div>
|
313 |
</div>
|
314 |
|
315 |
+
<div class="postbox like-postbox">
|
316 |
<div class="handlediv" title="Click to toggle"><br /></div>
|
317 |
+
<h3 class="hndle"><span><i class="fa fa-heart"></i> <?php _e('Show Some Love', 'coming-soon') ?></span></h3>
|
318 |
<div class="inside">
|
319 |
<div class="like-widget">
|
320 |
<p><?php _e('Like this plugin? Show your support by:', 'coming-soon')?></p>
|
323 |
|
324 |
<li>» <a target="_blank" href="https://wordpress.org/support/view/plugin-reviews/coming-soon?rate=5#postform"><?php _e('Rate It', 'coming-soon') ?></a></li>
|
325 |
<li>» <a target="_blank" href="<?php echo "http://twitter.com/share?url=https%3A%2F%2Fwordpress.org%2Fplugins%2Fultimate-coming-soon-page%2F&text=Check out this awesome %23WordPress Plugin I'm using, Coming Soon Page and Maintenance Mode by SeedProd"; ?>"><?php _e('Tweet It', 'coming-soon') ?></a></li>
|
|
|
|
|
|
|
326 |
</ul>
|
327 |
</div>
|
328 |
</div>
|
330 |
|
331 |
|
332 |
|
333 |
+
<div class="postbox rss-postbox">
|
334 |
+
<div class="handlediv" title="Click to toggle"><br /></div>
|
335 |
+
<h3 class="hndle"><span><i class="fa fa-wordpress"></i> <?php _e('SeedProd Blog', 'ultimate-coming-soon-page') ?></span></h3>
|
336 |
+
<div class="inside">
|
337 |
+
|
338 |
+
<div class="rss-widget">
|
339 |
+
<?php
|
340 |
+
wp_widget_rss_output(array(
|
341 |
+
'url' => 'http://feeds.feedburner.com/seedprod/',
|
342 |
+
'title' => 'SeedProd Blog',
|
343 |
+
'items' => 3,
|
344 |
+
'show_summary' => 0,
|
345 |
+
'show_author' => 0,
|
346 |
+
'show_date' => 1,
|
347 |
+
));
|
348 |
+
?>
|
349 |
+
<ul>
|
350 |
+
|
351 |
+
</ul>
|
352 |
+
</div>
|
353 |
+
</div>
|
354 |
+
</div>
|
|
|
355 |
|
356 |
</div>
|
357 |
</div>
|
inc/adminbar-style.css
CHANGED
@@ -5,4 +5,5 @@
|
|
5 |
|
6 |
#wpadminbar .csp4-mode-active:hover > .ab-item{
|
7 |
background-color: #a30 !important;
|
|
|
8 |
}
|
5 |
|
6 |
#wpadminbar .csp4-mode-active:hover > .ab-item{
|
7 |
background-color: #a30 !important;
|
8 |
+
color:#fff !important;;
|
9 |
}
|