Create an Unsubscribe Form - Code Parrots

Knowledge Base

Create an Unsubscribe Form

Article Last Updated: March 4, 2021

In version 6.4.2 we introduced a shortcode to generate an unsubscribe form.

[yikes-mailchimp-unsubscribe]

The form contains an email address field and a submit button. The submitted email address will be unsubscribed from the specified list.

Parameters

  • list Supply a list ID that this form is connected to. A list ID or a form ID is required.
  • form Supply a form ID that this form is connected to. A list ID or a form ID is required.
  • title The title of the form. There is no default.
  • description The description of the form. There is no default.
  • email_label The label of the email field. The default is Email Address.
  • submit_label The text shown on the submit button. The default is Unsubscribe.
  • email_placeholder The text shown as the placeholder for the email address. There is no default.

Example

[yikes-mailchimp-unsubscribe list="001aafjAs1" title="Unsubscribe" description="If you'd like to unsubscribe from our mailing list, enter your email below."]