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 new API key. Here is the code reference for newsletter form:
1 2 3 4 5 6 7 |
<div class="deo-field-group deo-field-type-input"> <input type="email" name="EMAIL" placeholder="Your email address" required /> </div> <div class="deo-field-group deo-field-type-submit"> <input type="submit" value="Sign up" /> </div> |