-
Notifications
You must be signed in to change notification settings - Fork 0
MailChimp Newsletter Sign Up Form
GeorgieKie edited this page Sep 7, 2012
·
22 revisions
###How to Add MailChimp Sign Up Form?
- Install Contact Form 7 plugin (http://wordpress.org/extend/plugins/contact-form-7/ More info at http://contactform7.com/)
- Install CF7 Autoresponder Addon (http://wordpress.org/extend/plugins/contact-form-7-autoresponder-addon-plugin/)
- Create a subscription form with just an email text field and subscribe button.
3.1 Enter following code under "Form":
<label for="mc-sign-up-email">Your Email</label>
[email* your-email id:mc-sign-up-email akismet:author_email]
[submit id:mc-sign-up-button "Subscribe"]
3.2 Change up info, alert and error messages in "Messages" tab.
- Copy the shortcode and enter it on line 20 in the sidebar.php file
- Get an API Code from Mailchimp and enter it under Settings -> CF7 AutoResp Addon along with the list name you want the visitors to subscribe to.
- Make sure "Enable Mailchimp List Insertion" is checked.
###NOTE: To omit MailChimp Subscription in any other CF7 form on the site follow these steps:
- Add checkbox to the form in this way
<div id="mc-cb-subscribe">[checkbox mc-subscribe "Subscribe"]</div>
- Add
#mc-cb-subscribe {display: none}
to your style sheet
This makes sure that the email from a form will not be added to MailChimp