First, make sure that you have installed MailChimp for WordPress plugin. After this navigate to MailChimp for WP and enter your API key from MailChimp, click on the Get Your API key link if you need to create a new API key. Here is the code reference for the newsletter form:
1 2 3 4 5 6 7 8 9 |
<p> <label>Email address: <input type="email" name="EMAIL" placeholder="Your email address" required /> </label> </p> <p> <input type="submit" value="Sign up" /> </p> |