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 8 9 10 11 12 13 14 |
<div class="form-group"> <input type="email" name="EMAIL" placeholder="Your Email" required /> </div> <div class="form-group"> <input type="submit" class="btn btn--lg btn--color btn--button btn--wide" value="Subscribe Now"> </div> <div class="deo-newsletter-gdpr-checkbox"> <label class="deo-newsletter-gdpr-checkbox__label"> <input class="deo-newsletter-gdpr-checkbox__input" name="AGREE_TO_TERMS" type="checkbox" value="1" required=""> <span class="deo-newsletter-gdpr-checkbox__text">I agree to storage of my email according to <a href="#" target="_blank">Privacy Policy</a></span> </label> </div> |