Use the MailChimp List Subscribe plugin to quickly add a MailChimp signup form widget to your WordPress 2.8 or higher site.
After installation, you’ll log in with your API key, select your MailChimp list, choose merge fields and groups, and add the widget to your site. Typically, installation and setup will take about 5-10 minutes, and absolutely everything can be done via the WordPress Setting GUI, with no file editing at all.
WordPress.com compatibility is limited to Business tier users only. How to add a signup form if you have a WordPress.com site.
If you are upgrading to version 1.2.1 and you used the widget in your sidebar previously, all you need to do is drag the
MailChimp Widget back into the sidebar, visit the MailChimp settings page (which will have maintained your prior settings), click the “Update List” button, and you’re done!
Currently we have the plugin configured so it can be easily translated and the following languages supported:
- bg_BG – Bulgarian in Bulgaria (thanks to SiteGround for contributing)
- cs_CZ – Czech in the Czech Republic (thanks to Peter Kahoun for contributing)
- da_DK – Danish in Denmark (thanks to Jan Lund for contributing)
- de_DE – German in Germany (thanks to Michael Jaekel for contributing)
- el_GR – Modern Greek in Greece (thanks to Ιωάννης Δημοφέρλιας (John Dimoferlias) for contributing)
- en_US – English in the U.S.
- es_CL – Spanish in Chile (thanks to Tomás Nader for contributing)
- es_ES – Spanish in Spain (thanks to Claudia Mansilla for contributing)
- et_ET – Estonian in Estonia (thanks to Helen Urbanik for contributing)
- fr_FR – French in France (thanks to Maxime Toulliou for contributing)
- he_IL – Hebrew in Israel (thanks to שגיב בית for contributing)
- hu_HU – Hungarian in Hungary (thanks to Okostobi for contributing)
- it_IT – Italian in Italy (thanks to Stefan Des for contributing)
- ko_KR – Korean (thanks to 백선기 (SK Baek) for contributing)
- nb_NO – Norwegian (thanks to Alexander Roterud aka Defrag for contributing)
- nl_BE – Dutch (thanks to Filip Stas for contributing)
- pt_BR – Portuguese in Brazil (thanks to Maria Manoela Porto for contributing)
- pt_PT – Portuguese in Portugal (thanks to Tiago Faria for contributing)
- ro_RO – Romanian in Romania (thanks to Alexandru Armin Roșu for contributing)
- ru_RU – Russian in the Russian Federation (thanks to Илья for contributing)
- sv_SE – Swedish in Sweden (thanks to Sebastian Johnsson for contributing)
- tr_TR – Turkish in Turkey (thanks to Hakan E. for contributing)
If your language is not listed above, feel free to create a translation. Here are the basic steps:
- Copy “mailchimp_i18n-en_US.po” to “mailchimp_i18n-LANG_COUNTRY.po” – fill in LANG and COUNTRY with whatever you use for WPLANG in wp-config.php
- Grab a transalation editor. POedit works for us
- Translate each line – if you need some context, just open up mailchimp.php and search for the line number or text
- Fork the repository on github
- Clone the develop branch
- Add the appropriately named files to the /po/ directory and edit the /readme.txt to include how you’d like to be attributed
- Make a pull request
Ảnh màn hình
This section describes how to install the plugin and get started using it.
- Unzip our archive and upload the entire mailchimp directory to your
- Activate the plugin through the Plugins menu in WordPress
- Navigate to Settings click MailChimp Setup.
- Enter your MailChimp API Key and let the plugin verify it.
- Select the list where you want to send new MailChimp subscribers.
- Optional: turn MonkeyRewards on or off.
- Optional: Turn Merge Fields and Groups on or off. Navigate to Appearance, and click Widgets. Drag the MailChimp Widget into one of your Widget Areas.
If you have a custom coded sidebar or bells and whistles that prevent enabling widgets through the WordPress GUI, complete these steps instead.
WordPress v2.8 or higher:
If you are adding it inside a php code block, pop this in:
Or, if you are dropping it in between a bunch of HTML, use this:
<?php mailchimpSF_signup_form(); ?>
Where ever you want it to show up.
Note: in some environments you will need to install the Exec_PHP plugin to use that method of display. It can be found here: https://wordpress.org/extend/plugins/exec-php/
Người đóng góp & Lập trình viên
“MailChimp List Subscribe Form” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.Những người đóng góp
Muốn tham gia phát triển?
Nhật ký thay đổi
- Fix undefined variable notice.
- Fix HTML submission message.
- Fixes short array notation which caused a fatal error in older PHP versions.
- Fix timeout error on activation.
- Set optional value for API wrapper.
- Fix PHP7 compatibility issue
- Cut down on size of API requests for users with large lists.
- Fix CSS issue on removing MailChimp style.
- General bugfixes for merge fields.
- When reinitializing, update merge field values.
- Bugfix for fatal error in MailChimp lib
- Upgrade to MailChimp API v3.0
- Remove OAuth2 middle layer and use MailChimp API keys
- Include double/single opt-in toggle.
- Update styles to be compatible with upcoming 3.8 wp-admin changes
- Developer Mode “Kitchen Sink” takes over plugin for local development
- Developer Mode has filters of changable content
- Fix bug related to required US phone validation
- Now using OAuth flow for user authentication
- Admin UI refresh
- Add link to edit profile within error when duplicate signup occurs
- Fixed bug preventing address fields from submitting correctly.
- Update spanish language files (es_ES and es_MX)
- Fixed bug where multiple checkbox type interest groups were returning an invalid error
- Fixed bug where assets were not enqueueing properly if the plugin directory was not set to ‘mailchimp’. Now supports any directory name.
- Fixed bug where entire phone numbers were only being deposited in the area code portion
- CSS should now always load correctly on the front end
- Adding Hebrew and Romanian language support
- Updating translation contribution instructions
- Tested version is now 3.3.1
- Fixed bug with “Settings” link appearing on all plugins (props Jason Lane)
- Resolved issue with unnecessary calls to the MailChimp API during upgrade check
- Resolved PHP warning when there weren’t any interest groups
- Field formatting based on type
- Support for multiple interest groups (a data upgrade procedure must be run by visiting the WordPress dashboard)
- Added jQuery datepicker option to be used with dates.
- Added a handful of new translations
- Fixing various PHP notices and deprecated functions (props Jeffry Ghazally)
- Version bump for proper listing on wordpress.org
- Change mailchimpSF_where_am_i() to use plugins_url() in place of WP_PLUGIN_URL to take SSL into account when delivering assets (props John LeBlanc)
- Update MCAPI wrapper to bring back PHP4 support (note: PHP 5.2 to be required starting with WordPress 3.2)
- Change MCAPI wrapper to use a more unique class name, v1.3 of the API, and a much lighter client library
- Fixed internationalization path bug.
- Fixed instances where i18n functions weren’t necessary in admin.
- Added more strings to be translated.
- Recommended Upgrade, please see “Upgrading” section of readme.
- Security and various other improvements