Form is the main element in the MailChimp WordPress Plugin. This MailChimp form will give our visitors the option to subscribe to our content and site. In this tutorial we will create everything we need to handle the form submission.
The last tutorial was about creating a settings page and a custom post type. In this tutorial we will extend our plugin by creating a metabox for our custom post type, add an option to refresh MailChimp lists and also to choose a MailChimp list for our form.
We are continuing on building the MailChimp WordPress plugin. Now that the base of our plugin is set we can continue on creating the settings page and a custom post type Form that will hold our list information.
MailChimp is great solution if you are starting with a newsletter and don’t have a budget for it. You can have up to 2000 subscribers for free. In this tutorial we will start a series where we will create a MailChimp WordPress plugin using React so that people can easily subscribe on our site.
When working with WordPress and other APIs, there will be times to handle WordPress errors or errors given by third party APIs. With WP_Error class you can handle both error and make your own custom error.