Minimal Coming Soon & Maintenance Mode - Version 1.35

Version Description

  • 2017-09-03
  • minor improvements
  • better default options
Download this release

Release Info

Developer WebFactory
Plugin Icon 128x128 Minimal Coming Soon & Maintenance Mode
Version 1.35
Comparing to
See all releases

Code changes from version 1.30 to 1.35

framework/admin/js/admin.js CHANGED
@@ -136,14 +136,14 @@ function getUploader( $text, $target ) {
136
  e.preventDefault();
137
 
138
  $( this ).parent().parent().find( 'input' ).val( '' );
139
- $( this ).parent().parent().find( '.signals-preview-area' ).html( 'Select or upload via WP native uploader' );
140
  $( this ).hide();
141
 
142
  } );
143
 
144
  // on dom ready
145
  $( document ).ready( function() {
146
-
147
  $( document ).on( 'click', '#mm_subscribe', function(e) {
148
  e.preventDefault();
149
 
@@ -151,7 +151,7 @@ function getUploader( $text, $target ) {
151
  alert('Oh come on! The are only two fields. Fill them ;)');
152
  return;
153
  }
154
-
155
  $.get(ajaxurl, {'action': 'csmm_subscribe', 'name': $('#mm_name').val(), 'email': $('#mm_email').val()}, function(data){
156
  if (data.success == true) {
157
  alert('Everything is looking good! Expect free stuff soon ;)');
@@ -159,16 +159,16 @@ function getUploader( $text, $target ) {
159
  alert('Something is not right :( Please try again in a few moments.');
160
  }
161
  });
162
-
163
  return false;
164
  } );
165
-
166
  $( document ).on( 'click', '#mm_subscribe_cancel', function(e) {
167
  e.preventDefault();
168
-
169
  $('#collect_emails').hide();
170
  $.get(ajaxurl, {'action': 'csmm_subscribe_hide'}, function(){});
171
-
172
  return false;
173
  } );
174
 
136
  e.preventDefault();
137
 
138
  $( this ).parent().parent().find( 'input' ).val( '' );
139
+ $( this ).parent().parent().find( '.signals-preview-area' ).html( 'Select an image or upload a new one' );
140
  $( this ).hide();
141
 
142
  } );
143
 
144
  // on dom ready
145
  $( document ).ready( function() {
146
+
147
  $( document ).on( 'click', '#mm_subscribe', function(e) {
148
  e.preventDefault();
149
 
151
  alert('Oh come on! The are only two fields. Fill them ;)');
152
  return;
153
  }
154
+
155
  $.get(ajaxurl, {'action': 'csmm_subscribe', 'name': $('#mm_name').val(), 'email': $('#mm_email').val()}, function(data){
156
  if (data.success == true) {
157
  alert('Everything is looking good! Expect free stuff soon ;)');
159
  alert('Something is not right :( Please try again in a few moments.');
160
  }
161
  });
162
+
163
  return false;
164
  } );
165
+
166
  $( document ).on( 'click', '#mm_subscribe_cancel', function(e) {
167
  e.preventDefault();
168
+
169
  $('#collect_emails').hide();
170
  $.get(ajaxurl, {'action': 'csmm_subscribe_hide'}, function(){});
171
+
172
  return false;
173
  } );
174
 
framework/admin/settings.php CHANGED
@@ -148,7 +148,7 @@ function csmm_admin_settings() {
148
 
149
  // Grab options from the database
150
  $signals_csmm_options = get_option( 'signals_csmm_options' );
151
-
152
 
153
 
154
  // Grabbing admin_email from the database
148
 
149
  // Grab options from the database
150
  $signals_csmm_options = get_option( 'signals_csmm_options' );
151
+
152
 
153
 
154
  // Grabbing admin_email from the database
framework/admin/views/settings-design.php CHANGED
@@ -23,7 +23,7 @@
23
  <?php if ( ! empty( $signals_csmm_options['logo'] ) ) : // If the image url is present, show the image. Else, show the default upload text ?>
24
  <span class="signals-preview-area"><img src="<?php echo esc_attr( $signals_csmm_options['logo'] ); ?>" /></span>
25
  <?php else : ?>
26
- <span class="signals-preview-area"><?php _e( 'Select or upload via WP native uploader', 'signals' ); ?></span>
27
  <?php endif; ?>
28
 
29
  <input type="hidden" name="signals_csmm_logo" id="signals_csmm_logo" value="<?php esc_attr_e( $signals_csmm_options['logo'] ); ?>">
@@ -44,7 +44,7 @@
44
  <?php if ( ! empty( $signals_csmm_options['favicon'] ) ) : // If the image url is present, show the image. Else, show the default upload text ?>
45
  <span class="signals-preview-area"><img src="<?php echo esc_attr( $signals_csmm_options['favicon'] ); ?>" /></span>
46
  <?php else : ?>
47
- <span class="signals-preview-area"><?php _e( 'Select or upload via WP native uploader', 'signals' ); ?></span>
48
  <?php endif; ?>
49
 
50
  <input type="hidden" name="signals_csmm_favicon" id="signals_csmm_favicon" value="<?php esc_attr_e( $signals_csmm_options['favicon'] ); ?>">
@@ -65,7 +65,7 @@
65
  <?php if ( ! empty( $signals_csmm_options['bg_cover'] ) ) : // If the image url is present, show the image. Else, show the default upload text ?>
66
  <span class="signals-preview-area"><img src="<?php echo esc_attr( $signals_csmm_options['bg_cover'] ); ?>" /></span>
67
  <?php else : ?>
68
- <span class="signals-preview-area"><?php _e( 'Select or upload via WP native uploader', 'signals' ); ?></span>
69
  <?php endif; ?>
70
 
71
  <input type="hidden" name="signals_csmm_bg" id="signals_csmm_bg" value="<?php esc_attr_e( $signals_csmm_options['bg_cover'] ); ?>">
@@ -90,7 +90,7 @@
90
  <div class="signals-double-group signals-clearfix">
91
  <div class="signals-form-group">
92
  <label for="signals_csmm_width" class="signals-strong"><?php _e( 'Content Width (in px)', 'signals' ); ?></label>
93
- <input type="text" name="signals_csmm_width" id="signals_csmm_width" value="<?php esc_attr_e( $signals_csmm_options['content_width'] ); ?>" placeholder="<?php _e( 'Set content width for the page', 'signals' ); ?>" class="signals-form-control">
94
 
95
  <p class="signals-form-help-block"><?php _e( 'Set maximum width of the content (in pixels) for the maintenance page. Provide only numeric value. Example: Entering 400 will set the width of the content to 400px. Defaults to 440px.', 'signals' ); ?></p>
96
  </div>
23
  <?php if ( ! empty( $signals_csmm_options['logo'] ) ) : // If the image url is present, show the image. Else, show the default upload text ?>
24
  <span class="signals-preview-area"><img src="<?php echo esc_attr( $signals_csmm_options['logo'] ); ?>" /></span>
25
  <?php else : ?>
26
+ <span class="signals-preview-area"><?php _e( 'Select an image or upload a new one', 'signals' ); ?></span>
27
  <?php endif; ?>
28
 
29
  <input type="hidden" name="signals_csmm_logo" id="signals_csmm_logo" value="<?php esc_attr_e( $signals_csmm_options['logo'] ); ?>">
44
  <?php if ( ! empty( $signals_csmm_options['favicon'] ) ) : // If the image url is present, show the image. Else, show the default upload text ?>
45
  <span class="signals-preview-area"><img src="<?php echo esc_attr( $signals_csmm_options['favicon'] ); ?>" /></span>
46
  <?php else : ?>
47
+ <span class="signals-preview-area"><?php _e( 'Select an image or upload a new one', 'signals' ); ?></span>
48
  <?php endif; ?>
49
 
50
  <input type="hidden" name="signals_csmm_favicon" id="signals_csmm_favicon" value="<?php esc_attr_e( $signals_csmm_options['favicon'] ); ?>">
65
  <?php if ( ! empty( $signals_csmm_options['bg_cover'] ) ) : // If the image url is present, show the image. Else, show the default upload text ?>
66
  <span class="signals-preview-area"><img src="<?php echo esc_attr( $signals_csmm_options['bg_cover'] ); ?>" /></span>
67
  <?php else : ?>
68
+ <span class="signals-preview-area"><?php _e( 'Select an image or upload a new one', 'signals' ); ?></span>
69
  <?php endif; ?>
70
 
71
  <input type="hidden" name="signals_csmm_bg" id="signals_csmm_bg" value="<?php esc_attr_e( $signals_csmm_options['bg_cover'] ); ?>">
90
  <div class="signals-double-group signals-clearfix">
91
  <div class="signals-form-group">
92
  <label for="signals_csmm_width" class="signals-strong"><?php _e( 'Content Width (in px)', 'signals' ); ?></label>
93
+ <input type="number" name="signals_csmm_width" id="signals_csmm_width" value="<?php esc_attr_e( $signals_csmm_options['content_width'] ); ?>" placeholder="<?php _e( 'Set content width for the page', 'signals' ); ?>" class="signals-form-control">
94
 
95
  <p class="signals-form-help-block"><?php _e( 'Set maximum width of the content (in pixels) for the maintenance page. Provide only numeric value. Example: Entering 400 will set the width of the content to 400px. Defaults to 440px.', 'signals' ); ?></p>
96
  </div>
framework/admin/views/settings-form.php CHANGED
@@ -12,7 +12,7 @@
12
  <div class="signals-tile" id="form">
13
  <div class="signals-tile-body">
14
  <div class="signals-tile-title"><?php _e( 'FORM', 'signals' ); ?></div>
15
- <p><?php _e( 'Form design settings for the plugin. These settings affect the appearance of the Mail Chimp subscription form. You can customize styles for the input field and button.', 'signals' ); ?></p>
16
 
17
  <div class="signals-section-content">
18
  <div class="signals-double-group signals-clearfix">
12
  <div class="signals-tile" id="form">
13
  <div class="signals-tile-body">
14
  <div class="signals-tile-title"><?php _e( 'FORM', 'signals' ); ?></div>
15
+ <p><?php _e( 'Form design settings for the plugin. These settings affect the appearance of the MailChimp subscription form. You can customize styles for the input field and button.<br>In order for the form to show up on the site, please configure MailChimp under the "Email" tab settings.', 'signals' ); ?></p>
16
 
17
  <div class="signals-section-content">
18
  <div class="signals-double-group signals-clearfix">
framework/admin/views/settings-preview.php DELETED
@@ -1,21 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Preview view for the plugin
5
- *
6
- * @link http://www.webfactoryltd.com
7
- * @since 1.0
8
- */
9
-
10
- ?>
11
-
12
- <div class="signals-tile" id="preview">
13
- <div class="signals-tile-body">
14
- <div class="signals-tile-title"><?php _e( 'PREVIEW', 'signals' ); ?></div>
15
- <p><?php _e( 'You can preview the maintenance page to see how it will look once the maintenance mode is turned on. Clicking the button below will open the preview in a new window.', 'signals' ); ?></p>
16
-
17
- <div class="signals-section-content">
18
- <a href="<?php echo SIGNALS_CSMM_URL; ?>/framework/admin/preview.php" class="signals-btn" target="_blank"><strong><?php _e( 'Preview Maintenance Page', 'signals' ); ?></strong></a>
19
- </div>
20
- </div>
21
- </div><!-- #preview -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
framework/admin/views/settings.php CHANGED
@@ -20,13 +20,13 @@ require_once 'header.php';
20
  if ( isset( $signals_csmm_err ) ) {
21
  echo $signals_csmm_err;
22
  }
23
-
24
  $user = wp_get_current_user();
25
-
26
  if (!get_transient('csmm_subscribe_hide')) {
27
- echo '<div id="collect_emails"><p><b>Get new templates &amp; premium updates straight to your inbox - for FREE!</b></p><p><input id="mm_name" value="' . $user->display_name . '" placeholder="How shall we call you?" type="text"> <input value="' . $user->user_email . '" id="mm_email" placeholder="Your best email address" type="email"><a href="#" id="mm_subscribe" class="button button-primary">Give me the free stuff</a> <a href="#" id="mm_subscribe_cancel"><span class="dashicons dashicons-no"></span></a></p></div>';
28
  } // if not hidden
29
-
30
  ?>
31
 
32
  <div class="signals-float-left">
@@ -42,7 +42,6 @@ require_once 'header.php';
42
  <li><a href="#design"><?php _e( 'Design', 'signals' ); ?></a></li>
43
  <li><a href="#form"><?php _e( 'Form', 'signals' ); ?></a></li>
44
  <li><a href="#advanced"><?php _e( 'Advanced', 'signals' ); ?></a></li>
45
- <li><a href="#preview"><?php _e( 'Preview', 'signals' ); ?></a></li>
46
  <li><a href="#support"><?php _e( 'Support', 'signals' ); ?></a></li>
47
  </ul>
48
  </div><!-- .signals-float-left -->
@@ -56,15 +55,15 @@ require_once 'header.php';
56
  require_once 'settings-design.php'; // design
57
  require_once 'settings-form.php'; // form
58
  require_once 'settings-advanced.php'; // advanced
59
- require_once 'settings-preview.php'; // preview
60
  require_once 'settings-support.php'; // support
61
  ?>
62
  </div><!-- .signals-float-right -->
63
 
64
  <div class="signals-fixed-save-btn">
65
  <div class="signals-tile-body">
66
- <p class="signals-form-help-block" style="margin: 0; padding: 0 20px 0 10px">
67
  <button type="submit" name="signals_csmm_submit" class="signals-btn signals-btn-red"><strong><?php _e( 'Save Changes', 'signals' ); ?></strong></button>
 
68
  </p>
69
  </div><!-- .signals-tile-body -->
70
  </div><!-- .signals-fixed-save-btn -->
20
  if ( isset( $signals_csmm_err ) ) {
21
  echo $signals_csmm_err;
22
  }
23
+
24
  $user = wp_get_current_user();
25
+
26
  if (!get_transient('csmm_subscribe_hide')) {
27
+ echo '<div id="collect_emails"><p><b>Get new templates &amp; premium updates straight to your inbox - for FREE!</b></p><p><input id="mm_name" value="' . $user->display_name . '" placeholder="How shall we call you?" type="text"> <input value="' . $user->user_email . '" id="mm_email" placeholder="Your best email address" type="email"><a href="#" id="mm_subscribe" class="button button-primary">Give me the free stuff</a> <a href="#" id="mm_subscribe_cancel"><span class="dashicons dashicons-no"></span></a></p></div>';
28
  } // if not hidden
29
+
30
  ?>
31
 
32
  <div class="signals-float-left">
42
  <li><a href="#design"><?php _e( 'Design', 'signals' ); ?></a></li>
43
  <li><a href="#form"><?php _e( 'Form', 'signals' ); ?></a></li>
44
  <li><a href="#advanced"><?php _e( 'Advanced', 'signals' ); ?></a></li>
 
45
  <li><a href="#support"><?php _e( 'Support', 'signals' ); ?></a></li>
46
  </ul>
47
  </div><!-- .signals-float-left -->
55
  require_once 'settings-design.php'; // design
56
  require_once 'settings-form.php'; // form
57
  require_once 'settings-advanced.php'; // advanced
 
58
  require_once 'settings-support.php'; // support
59
  ?>
60
  </div><!-- .signals-float-right -->
61
 
62
  <div class="signals-fixed-save-btn">
63
  <div class="signals-tile-body">
64
+ <p class="signals-form-help-block" style="margin: 0; padding: 0 20px 0 10px;">
65
  <button type="submit" name="signals_csmm_submit" class="signals-btn signals-btn-red"><strong><?php _e( 'Save Changes', 'signals' ); ?></strong></button>
66
+ <a style="margin: 0 0 0 15px;" href="<?php echo SIGNALS_CSMM_URL; ?>/framework/admin/preview.php" class="signals-btn" target="_blank"><strong><?php _e( 'Preview Maintenance Page', 'signals' ); ?></strong></a>
67
  </p>
68
  </div><!-- .signals-tile-body -->
69
  </div><!-- .signals-fixed-save-btn -->
framework/langs/en_US.po CHANGED
@@ -278,7 +278,7 @@ msgstr ""
278
  #: framework/admin/views/settings-design.php:27
279
  #: framework/admin/views/settings-design.php:48
280
  #: framework/admin/views/settings-design.php:69
281
- msgid "Select or upload via WP native uploader"
282
  msgstr ""
283
 
284
  #: framework/admin/views/settings-design.php:31
278
  #: framework/admin/views/settings-design.php:27
279
  #: framework/admin/views/settings-design.php:48
280
  #: framework/admin/views/settings-design.php:69
281
+ msgid "Select an image or upload a new one"
282
  msgstr ""
283
 
284
  #: framework/admin/views/settings-design.php:31
framework/public/css/public.css CHANGED
@@ -120,6 +120,7 @@ a:focus {
120
  }
121
  .logo-container {
122
  line-height: 0;
 
123
  }
124
  .logo {
125
  display: inline-block;
120
  }
121
  .logo-container {
122
  line-height: 0;
123
+ text-align: center;
124
  }
125
  .logo {
126
  display: inline-block;
framework/public/img/mm-favicon.png ADDED
Binary file
framework/public/img/mm-logo.jpg ADDED
Binary file
framework/public/img/mountain-bg.jpg ADDED
Binary file
framework/public/include/styles.php CHANGED
@@ -97,7 +97,7 @@ if ( ! empty( $options['content_overlay'] ) || ! empty( $options['content_width'
97
 
98
  // content overlay for background images
99
  if ( '1' == $options['content_overlay'] ) {
100
- echo 'background-image:url("' . SIGNALS_CSMM_URL . '/framework/public/img/overlay.png");padding:30px;border-radius:10px;box-shadow:0 0 10px 0 rgba(0, 0, 0, 0.33);';
101
  }
102
 
103
  // content width
97
 
98
  // content overlay for background images
99
  if ( '1' == $options['content_overlay'] ) {
100
+ echo 'padding:30px;border-radius:10px;box-shadow:0 0 10px 0 rgba(0, 0, 0, 0.33); background-color: rgba(0,0,0,0.55); ';
101
  }
102
 
103
  // content width
framework/public/init.php CHANGED
@@ -45,8 +45,15 @@ function csmm_plugin_init() {
45
  $signals_csmm_options['custom_login_url'] = NULL;
46
  }
47
 
 
 
 
 
 
 
 
48
  if (defined('WP_CLI') && WP_CLI) {
49
- return;
50
  }
51
 
52
  // Not for the backend
45
  $signals_csmm_options['custom_login_url'] = NULL;
46
  }
47
 
48
+ // just to be on the safe side
49
+ if (defined('DOING_CRON') && DOING_CRON) {
50
+ return false;
51
+ }
52
+ if (defined('DOING_AJAX') && DOING_AJAX) {
53
+ return false;
54
+ }
55
  if (defined('WP_CLI') && WP_CLI) {
56
+ return false;
57
  }
58
 
59
  // Not for the backend
minimal-coming-soon-maintenance-mode.php CHANGED
@@ -1,16 +1,16 @@
1
  <?php
2
 
3
  /**
4
- * Plugin Name: Minimal Coming Soon & Maintenance Mode
5
- * Plugin URI: https://wordpress.org/plugins/minimal-coming-soon-maintenance-mode/
6
- * Description: Simply awesome coming soon & maintenance mode plugin for your WordPress blog. Try it to know why there is no other plugin like this one.
7
- * Version: 1.30
8
- * Author: WebFactory
9
- * Author URI: http://www.webfactoryltd.com
10
- * License: GPLv3
11
- * License URI: http://www.gnu.org/licenses/gpl-3.0.txt
12
- * Text Domain: signals
13
- * Domain Path: /framework/langs/
14
  *
15
  *
16
  * Minimal Coming Soon & Maintenance Mode Plugin
@@ -47,7 +47,7 @@ define( 'SIGNALS_CSMM_PATH', plugin_dir_path( __FILE__ ) );
47
  * For the plugin activation & de-activation.
48
  * We are doing nothing over here.
49
  */
50
-
51
  function csmm_plugin_activation() {
52
 
53
  // Checking if the options exist in the database
@@ -56,9 +56,9 @@ function csmm_plugin_activation() {
56
  // Default options for the plugin on activation
57
  $default_options = array(
58
  'status' => '2',
59
- 'title' => 'Maintenance Mode',
60
- 'header_text' => 'Maintenance Mode',
61
- 'secondary_text' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla pharetra eu felis quis lobortis. Proin vitae rutrum nisl, ut ullamcorper quam. Praesent faucibus ligula ac nisl varius dictum. Maecenas iaculis posuere orci, sed consectetur augue.',
62
  'antispam_text' => 'And yes, we hate spam too!',
63
  'custom_login_url' => '',
64
  'show_logged_in' => '1',
@@ -73,11 +73,11 @@ function csmm_plugin_activation() {
73
  'message_wrong' => 'Oops! Something went wrong.',
74
  'message_done' => 'Thank you! We\'ll be in touch!',
75
 
76
- 'logo' => '',
77
- 'favicon' => '',
78
- 'bg_cover' => '',
79
- 'content_overlay' => '2',
80
- 'content_width' => '440',
81
  'bg_color' => 'ffffff',
82
  'content_position' => 'center',
83
  'content_alignment' => 'left',
@@ -85,17 +85,17 @@ function csmm_plugin_activation() {
85
  'secondary_font' => 'Karla',
86
  'header_font_size' => '28',
87
  'secondary_font_size' => '14',
88
- 'header_font_color' => '0e0f04',
89
- 'secondary_font_color' => '0e0f04',
90
  'antispam_font_size' => '13',
91
  'antispam_font_color' => 'bbbbbb',
92
 
93
- 'input_text' => 'Enter your email address..',
94
  'button_text' => 'Subscribe',
95
- 'ignore_form_styles' => '2',
96
  'input_font_size' => '13',
97
  'button_font_size' => '12',
98
- 'input_font_color' => '0e0f04',
99
  'button_font_color' => 'ffffff',
100
  'input_bg' => '',
101
  'button_bg' => '0f0f0f',
@@ -159,6 +159,6 @@ require SIGNALS_CSMM_PATH . 'framework/public/init.php';
159
 
160
  function csmm_get_plugin_version() {
161
  $plugin_data = get_file_data(__FILE__, array('version' => 'Version'), 'plugin');
162
-
163
  return $plugin_data['version'];
164
  } // csmm_get_plugin_version
1
  <?php
2
 
3
  /**
4
+ * Plugin Name: Minimal Coming Soon & Maintenance Mode
5
+ * Plugin URI: https://wordpress.org/plugins/minimal-coming-soon-maintenance-mode/
6
+ * Description: Simply awesome coming soon & maintenance mode plugin for WordPress. Super-simple to use. MailChimp support built-in.
7
+ * Version: 1.35
8
+ * Author: WebFactory
9
+ * Author URI: http://www.webfactoryltd.com
10
+ * License: GPLv3
11
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.txt
12
+ * Text Domain: signals
13
+ * Domain Path: /framework/langs/
14
  *
15
  *
16
  * Minimal Coming Soon & Maintenance Mode Plugin
47
  * For the plugin activation & de-activation.
48
  * We are doing nothing over here.
49
  */
50
+
51
  function csmm_plugin_activation() {
52
 
53
  // Checking if the options exist in the database
56
  // Default options for the plugin on activation
57
  $default_options = array(
58
  'status' => '2',
59
+ 'title' => 'Site is under maintenance',
60
+ 'header_text' => 'Sorry, we\'re doing some maintenance',
61
+ 'secondary_text' => 'We are doing some maintenance on our site. It won\'t take long, we promise. Come back and visit us again in a few days. Thank you for your patience!',
62
  'antispam_text' => 'And yes, we hate spam too!',
63
  'custom_login_url' => '',
64
  'show_logged_in' => '1',
73
  'message_wrong' => 'Oops! Something went wrong.',
74
  'message_done' => 'Thank you! We\'ll be in touch!',
75
 
76
+ 'logo' => SIGNALS_CSMM_URL . '/framework/public/img/mm-logo.jpg',
77
+ 'favicon' => SIGNALS_CSMM_URL . '/framework/public/img/mm-favicon.png',
78
+ 'bg_cover' => SIGNALS_CSMM_URL . '/framework/public/img/mountain-bg.jpg',
79
+ 'content_overlay' => 1,
80
+ 'content_width' => '600',
81
  'bg_color' => 'ffffff',
82
  'content_position' => 'center',
83
  'content_alignment' => 'left',
85
  'secondary_font' => 'Karla',
86
  'header_font_size' => '28',
87
  'secondary_font_size' => '14',
88
+ 'header_font_color' => 'FFFFFF',
89
+ 'secondary_font_color' => 'FFFFFF',
90
  'antispam_font_size' => '13',
91
  'antispam_font_color' => 'bbbbbb',
92
 
93
+ 'input_text' => 'Enter your best email address',
94
  'button_text' => 'Subscribe',
95
+ 'ignore_form_styles' => 1,
96
  'input_font_size' => '13',
97
  'button_font_size' => '12',
98
+ 'input_font_color' => 'ffffff',
99
  'button_font_color' => 'ffffff',
100
  'input_bg' => '',
101
  'button_bg' => '0f0f0f',
159
 
160
  function csmm_get_plugin_version() {
161
  $plugin_data = get_file_data(__FILE__, array('version' => 'Version'), 'plugin');
162
+
163
  return $plugin_data['version'];
164
  } // csmm_get_plugin_version
readme.txt CHANGED
@@ -2,12 +2,13 @@
2
  Contributors: WebFactory
3
  Tags: coming soon, coming soon page, launch page, maintenance mode, mailchimp
4
  Requires at least: 4.0
 
5
  Tested up to: 4.8
6
- Stable tag: 1.30
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
10
- Simple and flexible Coming Soon & Maintenance Mode plugin for any WordPress site. MailChimp support built-in.
11
 
12
 
13
  == Description ==
@@ -30,12 +31,12 @@ It's simple + flexible and works with any WordPress theme & plugin, plus you'll
30
  * Visible to only non logged in users so you can build your site while visitors see the "Coming Soon" page. Configurable via options panel
31
  * Supports Custom Login URL
32
  * Track visitors with support for Google Analytics
33
- * Integrated with Google Fonts
34
  * Stretch Background Image to Cover the Entire Browser
35
  * Uses HTML5 & CSS3
36
  * Translation Ready, i18n Support
37
  * Powerful Options Panel
38
- * Get support from within the options panel
39
 
40
 
41
  == Installation ==
@@ -58,6 +59,9 @@ Please use the <a href="https://wordpress.org/support/plugin/minimal-coming-soon
58
 
59
  Make sure that the name field in MailChimp (FNAME) is not mandatory. Configure it to an optional one.
60
 
 
 
 
61
 
62
  == Screenshots ==
63
 
@@ -70,6 +74,11 @@ Make sure that the name field in MailChimp (FNAME) is not mandatory. Configure i
70
 
71
  == Changelog ==
72
 
 
 
 
 
 
73
  = 1.30 =
74
  * 2017-06-20
75
  * bug fixes
@@ -125,4 +134,4 @@ Make sure that the name field in MailChimp (FNAME) is not mandatory. Configure i
125
  * Fix: Translation file.
126
 
127
  = 0.1 =
128
- * Initial release
2
  Contributors: WebFactory
3
  Tags: coming soon, coming soon page, launch page, maintenance mode, mailchimp
4
  Requires at least: 4.0
5
+ Requires PHP: 5.2
6
  Tested up to: 4.8
7
+ Stable tag: 1.35
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
+ Simple & flexible Coming Soon & Maintenance Mode plugin - sets up in under a minute. MailChimp support built-in.
12
 
13
 
14
  == Description ==
31
  * Visible to only non logged in users so you can build your site while visitors see the "Coming Soon" page. Configurable via options panel
32
  * Supports Custom Login URL
33
  * Track visitors with support for Google Analytics
34
+ * Over 700 Google Fonts available to fit any design
35
  * Stretch Background Image to Cover the Entire Browser
36
  * Uses HTML5 & CSS3
37
  * Translation Ready, i18n Support
38
  * Powerful Options Panel
39
+ * Get support from within the options panel - send a message directly to support agents
40
 
41
 
42
  == Installation ==
59
 
60
  Make sure that the name field in MailChimp (FNAME) is not mandatory. Configure it to an optional one.
61
 
62
+ = Is the plugin WP-MU compatible? =
63
+
64
+ Yes and no. When activated it enables itself across the entire WP-MU network.
65
 
66
  == Screenshots ==
67
 
74
 
75
  == Changelog ==
76
 
77
+ = 1.35 =
78
+ * 2017-09-03
79
+ * minor improvements
80
+ * better default options
81
+
82
  = 1.30 =
83
  * 2017-06-20
84
  * bug fixes
134
  * Fix: Translation file.
135
 
136
  = 0.1 =
137
+ * Initial release