Please note: This article is specifically for the Hemlock theme.
Hemlock comes with custom CSS stylings for the "MailChimp for WordPress" plugin. This plugin allows you to insert a newsletter sign-up form in your Sidebar area or Footer area.
When a visitor adds their email via the form, it is saved to your chosen MailChimp mailing audience list. When you're ready, you can use MailChimp's easy interface to create and send personalized newsletters to your hoards of fans!
If you would like to apply the same stylings to your newsletter form as seen on Hemlock's demo site, you can follow the steps below.
1. SIGN-UP FOR MAILCHIMP
First, please ensure you have signed up and created an account with MailChimp ( https://mailchimp.com ).
The first step you'll want to do is to create an "Audience" within your MailChimp account. This is where all of your subscribers' information will be kept.
To create a MailChimp Audience: Log into your MailChimp account > In the top menu area, click "Audience" > Click the "Current audience" drop-down > Click the "View audiences" option > and click the "Create Audience" button. Fill in the requested information like List name & the email address you will be sending your newsletter from, etc. > finalize creating your Audience.
Next you will need to have your MailChimp account generate a unique "API Key" number. This API Key is used to link your MailChimp account to your WordPress "MailChimp for WordPress" plugin which is collecting your newsletter sign-ups.
To find your MailChimp API Key: Log into your MailChimp account > Your Account Page > Extras > API Keys > Create a key.
2. INSTALL THE PLUGIN
Next, you'll need to install the "MailChimp for WordPress" ( http://wordpress.org/plugins/mailchimp-for-wp ) plugin onto your WordPress.
Installing the Mailchimp for WordPress plugin: Log into your WordPress Dashboard > Plugins > Add New > Search for term "MailChimp for WordPress" > Install Now > Activate Plugin.
Once installed, navigate to the plugin's Settings page. Here, you'll want to copy and paste your MailChimp account's API Key into the form and click "Save changes".
Navigate to WP Dashboard > MailChimp for WP > Forms.
Here, you will see the HTML code that "builds" your newsletter form. If it's not already written there, you can simply delete the code within the text box and replace it with the following instead:
<p> <label>Subscribe to my Newsletter</label> <input type="email" id="mc4wp_email" name="EMAIL" placeholder="Your email address" required=""> </p> <p> <input type="submit" value="Subscribe"> </p>
Note: If you'd like to change the text from "Subscribe to my Newsletter" to something else, you can do so on the 2nd line of the above code.
Be sure to save changes to the form when finished.
3. ADDING THE NEWSLETTER WIDGET TO YOUR SITE
To then add your newsletter sign-up form to your site, you can navigate to WP Dashboard > Appearance > Widgets and add the "MailChimp Sign-up Form" widget to your Sidebar widget area or one of your Footer widget areas on the right side of the screen.
Be sure to test your newsletter form when finished to make sure everything's working correctly on the email-side of things!