Add Mailchimp list choice to WP registration form

List choice a user gets subscribed to, can be selected from “MC4WP > Checkboxes”. However with few lines of code you can also provide the option to your end user to select which list they wish to subscribe to.

Follow these steps to add List choice to your Registration form:

Login to your WordPress Dashboard.

Go to MC4WP > Forms and click on Create New Form.

From the Add new field option, select List Choice. This will immediately show the code required to display the List options.

Copy the generated HTML code and paste it inside a function like the one below. Make sure you replace ListIDgoeshere with your own List ID!