MailChimp Forms by MailMunch - Version 1.0.9

Version Description

  • Faster MailChimp forms
Download this release

Release Info

Developer mailmunch
Plugin Icon 128x128 MailChimp Forms by MailMunch
Version 1.0.9
Comparing to
See all releases

Code changes from version 1.0.8 to 1.0.9

Files changed (2) hide show
  1. mailchimp-mailmunch.php +7 -8
  2. readme.txt +17 -13
mailchimp-mailmunch.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: MailChimp Forms by MailMunch
4
  Plugin URI: http://connect.mailchimp.com/integrations/mailmunch-email-list-builder
5
  Description: The MailChimp plugin allows you to quickly and easily add signup forms for your MailChimp lists. Popup, Embedded, Top Bar and a variety of different options available.
6
- Version: 1.0.8
7
  Author: MailMunch
8
  Author URI: http://www.mailmunch.co
9
  License: GPL2
@@ -14,7 +14,7 @@
14
  require_once( plugin_dir_path( __FILE__ ) . 'inc/sidebar_widget.php' );
15
 
16
  define( 'MAILCHIMP_MAILMUNCH_SLUG', "mailchimp-mailmunch");
17
- define( 'MAILCHIMP_MAILMUNCH_VER', "1.0.8");
18
  define( 'MAILCHIMP_MAILMUNCH_URL', "www.mailmunch.co");
19
 
20
  // Create unique WordPress instance ID
@@ -74,9 +74,8 @@
74
  if (is_author()) { echo "_mmunch['author'] = true;"; }
75
  if (is_tag()) { echo "_mmunch['tag'] = true;"; }
76
  if (is_attachment()) { echo "_mmunch['attachment'] = true;"; }
77
-
78
- echo "(function(){ setTimeout(function(){ var d = document, f = d.getElementsByTagName('script')[0], s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = '".$mc_mm_data["script_src"]."'; f.parentNode.insertBefore(s, f); }, 1); })();";
79
  echo "</script>";
 
80
  }
81
 
82
  add_action('init', 'mc_mm_assets');
@@ -85,12 +84,12 @@
85
  $mc_mm_data = unserialize(get_option("mc_mm_data"));
86
  if (count($mc_mm_data) == 0) return;
87
 
88
- if (function_exists('wp_footer')) {
89
- add_action( 'wp_footer', 'mc_mm_load_asset_code' );
90
- }
91
- elseif (function_exists('wp_head')) {
92
  add_action( 'wp_head', 'mc_mm_load_asset_code' );
93
  }
 
 
 
94
  }
95
 
96
  function mc_mm_add_post_containers($content) {
3
  Plugin Name: MailChimp Forms by MailMunch
4
  Plugin URI: http://connect.mailchimp.com/integrations/mailmunch-email-list-builder
5
  Description: The MailChimp plugin allows you to quickly and easily add signup forms for your MailChimp lists. Popup, Embedded, Top Bar and a variety of different options available.
6
+ Version: 1.0.9
7
  Author: MailMunch
8
  Author URI: http://www.mailmunch.co
9
  License: GPL2
14
  require_once( plugin_dir_path( __FILE__ ) . 'inc/sidebar_widget.php' );
15
 
16
  define( 'MAILCHIMP_MAILMUNCH_SLUG', "mailchimp-mailmunch");
17
+ define( 'MAILCHIMP_MAILMUNCH_VER', "1.0.9");
18
  define( 'MAILCHIMP_MAILMUNCH_URL', "www.mailmunch.co");
19
 
20
  // Create unique WordPress instance ID
74
  if (is_author()) { echo "_mmunch['author'] = true;"; }
75
  if (is_tag()) { echo "_mmunch['tag'] = true;"; }
76
  if (is_attachment()) { echo "_mmunch['attachment'] = true;"; }
 
 
77
  echo "</script>";
78
+ echo('<script data-cfasync="false" src="//s3.amazonaws.com/mailmunch/static/site.js" id="mailmunch-script" data-mailmunch-site-id="'.$mc_mm_data["site_id"].'" async></script>');
79
  }
80
 
81
  add_action('init', 'mc_mm_assets');
84
  $mc_mm_data = unserialize(get_option("mc_mm_data"));
85
  if (count($mc_mm_data) == 0) return;
86
 
87
+ if (function_exists('wp_head')) {
 
 
 
88
  add_action( 'wp_head', 'mc_mm_load_asset_code' );
89
  }
90
+ elseif (function_exists('wp_footer')) {
91
+ add_action( 'wp_footer', 'mc_mm_load_asset_code' );
92
+ }
93
  }
94
 
95
  function mc_mm_add_post_containers($content) {
readme.txt CHANGED
@@ -1,9 +1,10 @@
1
  === MailChimp Forms by MailMunch ===
2
  Contributors: mailmunch
3
- Tags: mailchimp, MailChimp form, MailChimp Newsletter form, MailChimp plugin, newsletter, newsletter form, newsletter form plugin, optin form, form, signup, signup forms, signup form, widget, email form, leads
 
4
  Requires at least: 3.0.1
5
- Tested up to: 4.1
6
- Stable tag: 1.0.8
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -11,7 +12,7 @@ The #1 MailChimp plugin to get more email subscribers. Easily add MailChimp sign
11
 
12
  == Description ==
13
 
14
- > MailChimp Forms by MailMunch allows you to painlessly add MailChimp sign up forms to your WordPress site. The form captures the lead and sends it to specific MailChimp lists automatically. You can set it to no op-in, opt-in, or double opt-in. You can add forms to posts, pages or sidebar, and also open it as a popup or top bar. Simply sign up and connect your MailChimp account into the plugin admin settings and it will pull in all your MailChimp lists. From there you can choose the lists you want to make forms for.
15
 
16
  What is [MailChimp](http://www.mailchimp.com/)? MailChimp is one of the best email marketing tools. Signup up for a [FREE Trial Account](http://www.mailchimp.com/signup/) and see for yourself!
17
 
@@ -42,23 +43,23 @@ Easily create sign-up forms for your MailChimp list and display it as a popup, e
42
  * Display multiple MailChimp forms on a single page
43
  * Easily add MailChimp forms to pages and posts with a button in the page/post editor
44
 
45
- After installation and creating your account, the plugin will guide you through connecting with MailChimp, selecting your MailChimp List from our service, and then adding the form to your site. The time from starting installation to have the form on your site should be less than 5 minutes - absolutely everything can be done via our user friendly GUI - no file editing at all!
46
 
47
  == Installation ==
48
 
49
- This section describes how to install the plugin and get started using it.
50
 
51
  = Version 2.8+ =
52
  1. Unzip our archive and upload the entire `mailchimp-mailmunch` directory to your `/wp-content/plugins/` directory
53
  2. Activate the plugin through the 'Plugins' menu in WordPress
54
  3. Look for "MailChimp" in the WordPress admin menu and click it
55
- 4. Sign up and create your first optin form
56
- 5. Choose the optin form type: Popover, Embedded or Top Bar
57
  6. Connect MailChimp and choose a list
58
  7. Start collecting user emails and growing your MailChimp subscriber list!
59
 
60
  = Advanced =
61
- If you are using Wordpress v3.0 or higher, you can use the short-code given during the optin form creation. It will look something like this:
62
  ` [mailmunch-XYZ] `
63
 
64
  == Frequently Asked Questions ==
@@ -69,7 +70,7 @@ If you are using Wordpress v3.0 or higher, you can use the short-code given duri
69
  To learn more, just check out: [MailChimp](http://mailchimp.com/features/all/)
70
 
71
  = Do I need to have a MailChimp Account? =
72
- Yes, you can register for one for free at [MailChimp](https://mailchimp.com/sign up/ "MailChimp Signup").
73
 
74
  = Do I need to have lists already set up in MailChimp? =
75
  Yes, you have to have at least 1 list set up in MailChimp.
@@ -77,7 +78,7 @@ Yes, you have to have at least 1 list set up in MailChimp.
77
  For more help, visit the MailChimp Support article [How do I create a new list?](http://kb.mailchimp.com/article/where-can-i-find-my-api-key "How do I create a new list?")
78
 
79
  = What do I do first? =
80
- The first step is to activate the plugin and sign up. Then we will guide you through the process of connecting your MailChimp account and choosing the list. This is done on the WordPress admin "MailChimp" menu page.
81
 
82
  = Do I need MailChimp's API Key? =
83
  You don't have to worry about that. We will guide you through the MailChimp flow.
@@ -86,13 +87,13 @@ You don't have to worry about that. We will guide you through the MailChimp flow
86
  After you connect your MailChimp account, the plugin will fetch all of your MailChimp list information and load it into the plugin admin. You can simply choose the MailChimp lists you want to make forms for.
87
 
88
  = How do I add the MailChimp sign up forms to my site? =
89
- We offer a variety of forms: Popups, Embedded, Top Bar, etc. You can choose which pages, posts or categories to show it on. You can also use a shortcode to add a MailChimp form to a specific area in a page or post. Everything is done visually.
90
 
91
  = Does this plugin slow down my site? =
92
  Absolutely not. MailChimp by MailMunch is designed with high performance and scalability in mind. It's completely asynchronous and hosted on Amazon's highly scalable infrastructure. Some of our customers have very high traffic websites.
93
 
94
  = How many more emails will list builder help me get? =
95
- Most people see a 100% to 500% growth in their email subscribers.
96
 
97
  == Other Notes ==
98
 
@@ -121,6 +122,9 @@ Why people use MailChimp
121
 
122
  == Changelog ==
123
 
 
 
 
124
  = 1.0.5 =
125
  * More MailChimp features
126
 
1
  === MailChimp Forms by MailMunch ===
2
  Contributors: mailmunch
3
+ Tags: mailchimp,mailchimp form,mailchimp newsletter,mailchimp plugin,newsletter,newsletter form, optin form, form, mailchimp signup, mailchimp signup forms, signup form, mailchimp widget, email form, leads, mailchimp subscribe
4
+
5
  Requires at least: 3.0.1
6
+ Tested up to: 4.2
7
+ Stable tag: 1.0.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
12
 
13
  == Description ==
14
 
15
+ > MailChimp Forms by MailMunch allows you to painlessly add MailChimp sign up forms to your WordPress site. The MailChimp form captures the lead and sends it to specific MailChimp lists automatically. You can set it to no op-in, opt-in, or double opt-in. You can add MailChimp forms to posts, pages or sidebar, and also open it as a popup or top bar. Simply sign up and connect your MailChimp account into the plugin admin settings and it will pull in all your MailChimp lists. From there you can choose the lists you want to make forms for.
16
 
17
  What is [MailChimp](http://www.mailchimp.com/)? MailChimp is one of the best email marketing tools. Signup up for a [FREE Trial Account](http://www.mailchimp.com/signup/) and see for yourself!
18
 
43
  * Display multiple MailChimp forms on a single page
44
  * Easily add MailChimp forms to pages and posts with a button in the page/post editor
45
 
46
+ After installation and creating your account, the plugin will guide you through connecting with MailChimp, selecting your MailChimp list, and then adding the MailChimp form to your site. The time from starting installation to have the form on your site should be less than 5 minutes - absolutely everything can be done via our user friendly GUI - no file editing at all!
47
 
48
  == Installation ==
49
 
50
+ This section describes how to install the MailChimp plugin and get started using it.
51
 
52
  = Version 2.8+ =
53
  1. Unzip our archive and upload the entire `mailchimp-mailmunch` directory to your `/wp-content/plugins/` directory
54
  2. Activate the plugin through the 'Plugins' menu in WordPress
55
  3. Look for "MailChimp" in the WordPress admin menu and click it
56
+ 4. Sign up and create your first MailChimp optin form
57
+ 5. Choose the MailChimp optin form type: Popover, Embedded or Top Bar
58
  6. Connect MailChimp and choose a list
59
  7. Start collecting user emails and growing your MailChimp subscriber list!
60
 
61
  = Advanced =
62
+ If you are using Wordpress v3.0 or higher, you can use the short-code given during the MailChimp form creation. It will look something like this:
63
  ` [mailmunch-XYZ] `
64
 
65
  == Frequently Asked Questions ==
70
  To learn more, just check out: [MailChimp](http://mailchimp.com/features/all/)
71
 
72
  = Do I need to have a MailChimp Account? =
73
+ Yes, you can register on MailChimp at [MailChimp](https://mailchimp.com/sign up/ "MailChimp Signup").
74
 
75
  = Do I need to have lists already set up in MailChimp? =
76
  Yes, you have to have at least 1 list set up in MailChimp.
78
  For more help, visit the MailChimp Support article [How do I create a new list?](http://kb.mailchimp.com/article/where-can-i-find-my-api-key "How do I create a new list?")
79
 
80
  = What do I do first? =
81
+ The first step is to activate the plugin and then we will guide you through the process of connecting your MailChimp account and choosing the MailChimp list. This is done on the WordPress admin "MailChimp" menu page.
82
 
83
  = Do I need MailChimp's API Key? =
84
  You don't have to worry about that. We will guide you through the MailChimp flow.
87
  After you connect your MailChimp account, the plugin will fetch all of your MailChimp list information and load it into the plugin admin. You can simply choose the MailChimp lists you want to make forms for.
88
 
89
  = How do I add the MailChimp sign up forms to my site? =
90
+ We offer a variety of MailChimp forms: Popups, Embedded, Top Bar, etc. You can choose which pages, posts or categories to show MailChimp form on. You can also use a shortcode to add a MailChimp form to a specific area in a page or post. Everything is done visually.
91
 
92
  = Does this plugin slow down my site? =
93
  Absolutely not. MailChimp by MailMunch is designed with high performance and scalability in mind. It's completely asynchronous and hosted on Amazon's highly scalable infrastructure. Some of our customers have very high traffic websites.
94
 
95
  = How many more emails will list builder help me get? =
96
+ Most people see a 100% to 500% growth in their MailChimp email subscribers.
97
 
98
  == Other Notes ==
99
 
122
 
123
  == Changelog ==
124
 
125
+ = 1.0.9 =
126
+ * Faster MailChimp forms
127
+
128
  = 1.0.5 =
129
  * More MailChimp features
130