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 10 11 12 |
<div class="newsletter"> <div class="form-group eversor-field-group eversor-field-type-input"> <input type="email" name="EMAIL" placeholder="Email" required /> </div> <div class="form-group newsletter__submit eversor-field-group eversor-field-type-submit"> <button type="submit"><svg xmlns="http://www.w3.org/2000/svg" fill="none" width="12" height="12" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" class="w-6 h-6"> <path stroke-linecap="round" stroke-linejoin="round" d="m8.25 4.5 7.5 7.5-7.5 7.5" /> </svg></button> </div> </div> |