Skip to Content

How to add a sign-up form to your WordPress site

This article describes how to add a MailChimp subscription form to your WordPress site. We presuppose that you have both a MailChimp account and a WordPress site.

If you run into trouble with any of the steps, contact us for help!

mailchimp and wordpress logos combined

1. Add your MailChimp API key to WordPress.

  • Navigate to your WordPress site’s administrative dashboard.
  • Click on “MC4WP” from the left sidebar. (MC4WP stands for “Mailchimp for WordPress”.)
  • Click on the “Get your API key here” link. You’ll be taken to a MailChimp sign-in page.
  • Once you have signed in to MailChimp, you should have the ability to add a new API key. Do that.
  • Copy your key and go back to the “MC4WP” page. Paste in the API key.
  • Click “Save Changes.”

2. Create a sign up form in WordPress.

  • Click “Form” under “MC4WP” to begin creating a form.
  • Type the form title, then click “add new form”.
New Form for Mailchimp
  • Copy the following HTML code into the “Form code” field.
  <label for="form-email">Email Address <span class="red">*</span></label>
    <input type="email" name="EMAIL" id="form-email" required>
    <label>First Name</label>
    <input type="text" name="FNAME">
    <label>Last Name</label>
    <input type="text" name="LNAME">
<p><span class="red">*</span> = required field</p>
    <input class="button success postfix" type="submit" value="Subscribe">
  • Click “Save Changes.”

3. Add your sign-up form to your sidebar or footer

  • Click “Customize” from the dashboard’s “Appearance” menu.
  • Click “Widgets” from the menu.
  • You can choose between adding the widget to your sidebar or footer. Up to you.
  • Click “Add a Widget” and then “Mailchimp Sign-up Form.”
  • Click “Publish” at the top.

Hopefully, this post has been helpful! If you have trouble reach out to us at .