Adding a newsletter sign-up form to Redwood
Please note: This FAQ Article is specifically for the Redwood theme.
Redwood comes with pre-stylings included for the Mailchimp for WordPress plugin. In order to add a MailChimp newsletter sign-up form widget to your sidebar, you can follow the instructions below. We'll need to create a MailChimp Account, install the necessary plugin, and then set up your newsletter widget.
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 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".
3. SETTING UP THE NEWSLETTER WIDGET
Lastly, navigate to WP Dashboard > Appearance > Widgets.
A new widget titled "MailChimp Sign-Up Form" will have appeared. Drag and drop this widget into your Sidebar area.
To customize your newsletter form, you can navigate to WP Dashboard > MailChimp for WP > Forms.
On this screen, you can determine just how your newsletter form displays.
Want your newsletter sign-up form to look just like the Redwood demo?
If you would like your newsletter sign-up form to look just like Redwood's demo, you can navigate to WP Dashboard > Appearance > Widgets, select the newsletter widget, and delete the "Title" text.
Then, go to WP Dashboard > MailChimp for WP > Forms.
In the big text box, replace the code you see within with the following code 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>
Be sure to save changes when you're finished.