Unsubscribe Forms

  • Confirmation Messages
  • Redirect Unsubscribers
  • You can use the following shortcode to create a newsletter unsubscribe form.

    [noptin is_unsubscribe=1]

    This will create a form such as the one in the image below.

    newsletter unsubscribe form

    CSS Styles

    By default, Noptin applies basic styles to your form fields.

    Sometimes, however, the applied styles might conflict with your theme styles. In such cases, use the shortcode below instead of the first shortcode.

    [noptin is_unsubscribe=1 styles=none]

    Confirmation Messages

    When an existing subscriber submits the form, Noptin will unsubscribe them from your newsletter and display a success message as shown in the example below.

    successfully unsubscribed

    In case the submitted email address does not exist, the confirmation message in the example below is shown instead.

    email not subscribed error

    These confirmation messages can be changed using the following shortcode attributes.

    AttributeDefault Value
    invalid_emailPlease provide a valid email address.
    errorOops. Something went wrong. Please try again later.
    not_subscribedShown when someone unsubscribes with an email that is not already subscribed.
    unsubscribedYou were successfully unsubscribed.

    For example,

    [noptin is_unsubscribe=1 unsubscribed="Custom unsubscribe message]

    Redirect Unsubscribers

    Noptin allows you to redirect subscribers to any URL after they unsubscribe from your form. This is useful, for example, if you want them to fill out a survey after they unsubscribe from your form.

    To do this, pass a URL to the “redirect” attribute as shown below.

    [noptin is_unsubscribe=1 redirect="http://example.com/goodbye"]

    Up your Marketing
    Join our email list to and we'll send you occasional marketing tips
    Custom CSS Slide Example
    Custom Animation Example
    Default Animation