=== MailChimp for WordPress === Contributors: Ibericode, DvanKooten, hchouhan, lapzor Donate link: https://mc4wp.com/#utm_source=wp-plugin-repo&utm_medium=mailchimp-for-wp&utm_campaign=donate-link Tags: mailchimp, mc4wp, email, marketing, newsletter, subscribe, widget, mc4wp, contact form 7, woocommerce, buddypress, ibericode, mailchimp forms, mailchimp integrations Requires at least: 4.1 Tested up to: 4.7 Stable tag: 4.0.12 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html MailChimp for WordPress, the absolute best. Subscribe your WordPress site visitors to your MailChimp lists, with ease. == Description == #### MailChimp for WordPress *Adding sign-up methods for your MailChimp lists to your WordPress site should be easy. With this plugin, it finally is.* MailChimp for WordPress helps you add more subscribers to your MailChimp lists using various methods. You can create good looking opt-in forms or integrate with any other form on your site, like your comment, contact or checkout form. [youtube https://www.youtube.com/watch?v=fZCYPnFybqU] #### Some of the MailChimp for WordPress features - Connect with your MailChimp account in seconds. - Sign-up forms which are good looking, user-friendly and mobile optimized. You have complete control over the form fields and can send anything you like to MailChimp. - Seamless integration with the following plugins: - Default WordPress Comment Form - Default WordPress Registration Form - Contact Form 7 - WooCommerce - Ninja Forms - BuddyPress - MemberPress - Events Manager - Easy Digital Downloads - A multitude of available add-on plugins: - [MailChimp for WordPress Premium](https://mc4wp.com/) - [MailChimp Top Bar](https://wordpress.org/plugins/mailchimp-top-bar/) - [MailChimp Activity](https://wordpress.org/plugins/mc4wp-activity/) - [MailChimp User Sync](https://wordpress.org/plugins/mailchimp-sync/) - [Boxzilla Pop-ups](https://wordpress.org/plugins/boxzilla/) - [Captcha](https://wordpress.org/plugins/mc4wp-captcha/) - Third Party: - [WPBruiser](https://wordpress.org/plugins/goodbye-captcha/) - Well documented. Our [knowledge base](https://mc4wp.com/kb/) is updated daily. - Developer friendly. MailChimp for WordPress is built to be extensible, and comes with a [code reference for developers](http://developer.mc4wp.com/).

Become a Premium user

MailChimp for WordPress has a Premium add-on which comes with several additional benefits.

View more Premium features

#### What is MailChimp? MailChimp is a newsletter service that allows you to send out email campaigns to a list of email subscribers. MailChimp is free for lists up to 2000 subscribers, which is why it is the newsletter-service of choice for thousands of businesses. This plugin acts as a bridge between your WordPress site and your MailChimp account, connecting the two together. If you do not yet have a MailChimp account, [creating one is 100% free and only takes you about 30 seconds](http://mailchimp.com/monkey-rewards/?utm_source=freemium_newsletter&utm_medium=email&utm_campaign=monkey_rewards&aid=a2d08947dcd3683512ce174c5&afl=1). == Installation == #### Installing the plugin 1. In your WordPress admin panel, go to *Plugins > New Plugin*, search for **MailChimp for WordPress** and click "*Install now*" 1. Alternatively, download the plugin and upload the contents of `mailchimp-for-wp.zip` to your plugins directory, which usually is `/wp-content/plugins/`. 1. Activate the plugin 1. Set [your MailChimp API key](https://admin.mailchimp.com/account/api) in the plugin settings. #### Configuring Sign-Up Form(s) 1. Go to *MailChimp for WP > Forms* 2. Select at least one MailChimp list to subscribe people to. 3. *(Optional)* Add more fields to your form using the **add MailChimp field** dropdown. 4. Embed a sign-up form in pages or posts by using the `[mc4wp_form]` shortcode. 5. Show a sign-up form in your widget areas using the "MailChimp Sign-Up Form" widget. 6. Show a sign-up form from your theme files by using the following PHP function. ` Widgets** and use the **MailChimp for WP Form** widget that comes with the plugin. #### Where can I find my MailChimp API key? [You can find your MailChimp API key here](http://kb.mailchimp.com/accounts/management/about-api-keys#Find-or-Generate-Your-API-Key) #### How to add a sign-up checkbox to my Contact Form 7 form? Use the following shortcode in your CF7 form to display a MailChimp sign-up checkbox. ` [mc4wp_checkbox "Subscribe to our newsletter?"] ` #### The form shows a success message but subscribers are not added to my list(s)? If the form shows a success message, there is no doubt that the sign-up request succeeded. MailChimp could have a slight delay sending the confirmation email though, please just be patient and make sure to check your SPAM folder. When you have double opt-in disabled, new subscribers will be seen as *imports* by MailChimp. They will not show up in your daily digest emails or statistics. [We always recommend leaving double opt-in enabled](http://blog.mailchimp.com/double-opt-in-vs-single-opt-in-stats/). #### How can I style the sign-up form? You can use custom CSS to style the sign-up form if you do not like the themes that come with the plugin. The following selectors can be used to target the various form elements. ` .mc4wp-form { ... } /* the form element */ .mc4wp-form p { ... } /* form paragraphs */ .mc4wp-form label { ... } /* labels */ .mc4wp-form input { ... } /* input fields */ .mc4wp-form input[type="checkbox"] { ... } /* checkboxes */ .mc4wp-form input[type="submit"] { ... } /* submit button */ .mc4wp-alert { ... } /* success & error messages */ .mc4wp-success { ... } /* success message */ .mc4wp-error { ... } /* error messages */ ` You can add your custom CSS to your theme stylesheet or (easier) by using a plugin like [Simple Custom CSS](https://wordpress.org/plugins/simple-custom-css/#utm_source=wp-plugin-repo&utm_medium=mailchimp-for-wp&utm_campaign=after-css-link) #### I'm getting an "HTTP Error" when trying to connect to MailChimp If you're getting an `HTTP Error` when trying to connect to your MailChimp account, please contact your webhost and ask them if they have PHP CURL installed and updated to the latest version (7.40.x). Also, please ask them to allow requests to `https://api.mailchimp.com/`. #### How do I show a sign-up form in a pop-up? We recommend the [Boxzilla pop-up plugin](https://wordpress.org/plugins/boxzilla/) for this. You can use the form shortcode in your pop-up box to show a sign-up form. #### My question is not listed Please head over to the [MailChimp for WordPress knowledge base](https://mc4wp.com/kb/#utm_source=wp-plugin-repo&utm_medium=mailchimp-for-wp&utm_campaign=faq) for more detailed documentation. == Other Notes == #### Support Use the [WordPress.org plugin forums](https://wordpress.org/support/plugin/mailchimp-for-wp) for community support where we try to help all of our users. If you found a bug, please create an issue on Github where we can act upon them more efficiently. If you're a premium user, please use the email address inside the plugin for support as that will guarantee a faster response time. Please take a look at the [MailChimp for WordPress knowledge base](https://mc4wp.com/kb/#utm_source=wp-plugin-repo&utm_medium=mailchimp-for-wp&utm_campaign=description) as well. #### Add-on plugins There are several [add-on plugins for MailChimp for WordPress](https://mc4wp.com/add-ons/#utm_source=wp-plugin-repo&utm_medium=mailchimp-for-wp&utm_campaign=description), which help you get even more out of your site. #### Translations The plugin is translated using Transifex. If you want to help out, please head over to the [translation project on Transifex](https://www.transifex.com/projects/p/mailchimp-for-wordpress/). #### Development MailChimp for WordPress is being developed on GitHub. If you want to collaborate, please look at [ibericode/mailchimp-for-wordpress](https://github.com/ibericode/mailchimp-for-wordpress). == Screenshots == 1. A static sign-up form in the sidebar of the Twenty Fifteen theme. 2. Highly effective 1-click subscribe option in your comment, registration or other forms. 3. Use your own fields or use our Field Builder. 4. Integrations for many popular plugins. 5. Don't know CSS? No worries, our Styles Builder will do the heavy lifting for you! **(Pro Feature)** 6. Detailed statistics on which methods are generating the most subscribers. **(Pro Feature)** == Changelog == #### 4.0.12 - January 16, 2017 **Fixes** - Don't call `stripslashes` on POST data twice. **Improvements** - Plugin review notice is now dismissible over AJAX. - Improved formatting of birthday fields. - Updated Polish translations, thanks to Mateusz Lomber. - Updated German translations, thanks to Sven de Vries. **Additions** - Add `update_ecommerce_store_product` method to API class. - Throw form specific JavaScript events, like `15.subscribed` to hook into "subscribed" events for form with ID 15. #### 4.0.11 - December 9, 2016 **Fixes** - Unescaped request variable on integration settings page, allowing for authenticated XSS. Thanks to [dxwsecurity](https://security.dxw.com/) for responsibly disclosing. **Improvements** - Add `$args` parameter to `API::get_lists_activity` method. Relates to the [MailChimp Activity](https://wordpress.org/plugins/mc4wp-activity/) plugin. #### 4.0.10 - December 6, 2016 **Improvements** - You can now enable or disable debug logging from the "Other" settings page. - No longer using deprecated function in Contact Form 7, thanks to [stodorovic](https://github.com/stodorovic). - Improved UI for adding hidden interest groupings fields to a form. #### 4.0.9 - November 23, 2016 **Fixes** - Issue with escaped HTML when using form tags introduced by previous update. #### 4.0.8 - November 23, 2016 **Improvements** - Improved handling of large debug logs. - Improved error messages when writing exceptions to debug log. - Show notice when form is missing required MailChimp fields. - Custom form integration now handles arrays with 1-level depth. Thanks to [Mardari Igor](https://github.com/GarryOne). - You can now use nested tags in your form code, eg `{data key="utm_source" default="{current_path}"}` **Additions** - Add `data-hide-if` attribute logic to forms. See [conditionally hide form fields](https://mc4wp.com/kb/conditional-fields-elements/). Thanks to [Kurt Zenisek](http://kurtzenisek.com/). - Add hooks for delayed BuddyPress sign-up. Thanks to [Christian Wach](https://profiles.wordpress.org/needle). #### 4.0.7 - October 25, 2016 **Improvements** - Obfuscate all email addresses in debug log. Thanks [Sauli Lepola](https://twitter.com/SJLfi). - Ask for confirmation before disabling double opt-in, which we do not recommend. - Allow vertical resizing of debug log. - Failsafe against including JavaScript file twice. - No longer wrapping CF7 checkbox in paragraph tags. **Additions** - Added `mc4wp_form_api_error` action hook for API errors encountered by forms. - Added `element_class` argument to `[mc4wp_form]` shortcode for adding CSS classes. #### 4.0.6 - October 10, 2016 **Fixes** - Issue with lists not showing when using W3 Total Cache with APCu object cache enabled. **Improvements** - We're no longer stripping newlines from text fields. **Additions** - Added missing e-commerce related API methods to API class. #### 4.0.5 - September 29, 2016 **Fixes** - Allow checkbox option for the List Choice field (again). **Improvements** - Fetch MailChimp lists over AJAX, to speed up perceived performance (especially when your account has many lists). - Periodically fetch MailChimp lists, so cache is always fresh. - Improved `