ezetech / wp-mailchimp
WordPress插件,用于MailChimp集成
v0.1
2017-02-22 08:40 UTC
Requires
- php: >=5.6
- composer/installers: ~1.0
This package is not auto-updated.
Last update: 2024-09-23 16:27:38 UTC
README
此插件专为Eze.tech项目制作。
安装
将ezetech-mailchimp
文件夹复制到插件文件夹或使用composer install ezetech/wp-mailchimp
命令。
Mailchimp设置
使用方法
将以下代码添加到活动主题的function.php
文件中
$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);