Elegant shows a form to subscribe to your newsletter, above the fold, in the right section of every article. Increased visibility is said to increase number of subscribers.

You need to put your Mailchimp form action URL in MAILCHIMP_FORM_ACTION in your configuration file.

To customize user experience you can also define,

  1. EMAIL_SUBSCRIPTION_LABEL,
  2. EMAIL_FIELD_PLACEHOLDER and
  3. SUBSCRIBE_BUTTON_TITLE

You can see Mailchimp Form in action in the sidebar. It’s a working example. Enter your email address so that we can send you news of new Elegant releases in your inbox.

Mailchimp subscriber
form

Show Mailchimp Form by default

Just set MAILCHIMP_FORM_ACTION variable.

Hide Mailchimp Form by default

Unset MAILCHIMP_FORM_ACTION variable.

This is the default setting.

Hide Mailchimp Form by default. Show on Selected

  1. Set MAILCHIMP_FORM_ACTION
  2. Set MAILCHIMP_FILTER to True

This will hide Mailchimp form on all pages.

Now to show Mailchimp form on selected posts, in article metadata set

mailchimp_filter: off

Show Mailchimp Form by default. Hide on Selected

  1. Set MAILCHIMP_FORM_ACTION
  2. Remove MAILCHIMP_FILTER or set it to False which is its default value

This will hide Mailchimp form on all pages.

Now to hide Mailchimp form on selected posts, in article metadata set

mailchimp_filter: on

Like this post? Share on: TwitterFacebookEmail


Talha Mansoor Avatar Talha Mansoor is the creator and lead developer of Elegant theme.

Keep Reading


Published

Last Updated

Category

Connecting With Your Readers

Tags

Stay in Touch

Get New Release Alert