How to add mail chimp optin wordpress

Adding a Mailchimp opt-in form to your WordPress website is a relatively straightforward process. Here's a step-by-step guide to help you get started:

Method 1: Using a Plugin

  1. Install and activate the Mailchimp for WordPress plugin. You can find it in the WordPress plugin directory or by searching for it in the WordPress plugin search bar.
  2. Go to the plugin settings page by clicking on Mailchimp in the WordPress admin menu.
  3. Enter your Mailchimp API key and select the list you want to subscribe users to.
  4. Choose the opt-in form type: Simple Form, Popup, or Slide-in.
  5. Customize the form settings, such as the form title, description, and fields (e.g., name, email).
  6. Click Save Changes to save your settings.
  7. Go to the Appearance > Widgets page and drag the Mailchimp Optin widget to your desired location (e.g., sidebar, footer).
  8. Configure the widget settings, such as the form type and fields.
  9. Click Save to save your widget settings.

Method 2: Using Shortcode

  1. Install and activate the Mailchimp for WordPress plugin (if you haven't already).
  2. Go to the Mailchimp settings page and enter your API key and select the list you want to subscribe users to.
  3. Click Get Shortcode to generate a shortcode for your opt-in form.
  4. Copy the shortcode and paste it into your WordPress page or post where you want the opt-in form to appear.
  5. Customize the form settings, such as the form title and fields, by adding parameters to the shortcode (e.g., [mailchimp-form title="Subscribe to our newsletter" fields="email"]).

Method 3: Using a Theme

  1. Check if your WordPress theme has built-in support for Mailchimp opt-in forms. Some themes, like Astra and GeneratePress, have a built-in Mailchimp integration.
  2. If your theme has a Mailchimp integration, follow the theme's documentation to set up the opt-in form.

Additional Tips