This plugin made for Eze.tech projects.
Copy ezetech-mailchimp folder to plugin folder or use composer install ezetech/wp-mailchimp command.
- Get your MailChimp API key.
- Make the template with Custom HTML Template. More info
- You should have
mc:edit='body'in the template. More info
Add to your function.php in active theme:
$api_key = 'your_mailchimp_api_key'; //required
$template_id = 123456; //required
$taxonomy = 'mailchimp_custom_taxonomy_name'; //default mailchimp_list
$email_post_type = 'email_post_type'; //default 'post'
add_theme_support('ezetech-mailchimp', $api_key, $template_id, $email_post_type, $taxonomy);