https://github.com/barryceelen/wp-simplechimp
Basic MailChimp subscription form for WordPress.
https://github.com/barryceelen/wp-simplechimp
mailchimp wordpress wordpress-plugin
Last synced: 2 months ago
JSON representation
Basic MailChimp subscription form for WordPress.
- Host: GitHub
- URL: https://github.com/barryceelen/wp-simplechimp
- Owner: barryceelen
- Created: 2013-10-07T13:59:24.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2019-08-11T12:54:55.000Z (almost 7 years ago)
- Last Synced: 2026-03-25T23:49:44.737Z (3 months ago)
- Topics: mailchimp, wordpress, wordpress-plugin
- Language: PHP
- Homepage:
- Size: 51.8 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
SimpleChimp
===========
Basic [MailChimp](http://mailchimp.com) subscription form for WordPress.
The plugin has no settings page. To specify your Mailchimp API key and list id, add a filter to 'simplechimp_options', eg. via the [SimpleChimp Options](https://gist.github.com/barryceelen/7619021) plugin.
// Filter simplechimp options.
add_filter( 'simplechimp_options', 'myprefix_filter_simplechimp_options' );
/**
* Filter simplechimp options.
*
* @param array $options Options for the Simplechimp plugin.
* @return array Filtered options.
*/
function myprefix_filter_simplechimp_options( $options ) {
$options['list_id'] = 'yourlistid';
$options['api_key'] = 'yourapikey';
return $options;
}
## Display the subscription form
SimpleChimp adds an [action hook](http://codex.wordpress.org/Glossary#Action) which displays the subscription form.
**Note:** No styles are added, you are on your own.
``