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

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 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.
updatedThe given email address is not subscribed.
unsubscribedYou were successfully unsubscribed.

For example,

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

Top ↑

Redirect Unsubscribers 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 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"]

Have questions?   How can we Help?
Updated on
 

User Contributed Notes