WP Manifestindependent plugin directory
manifest / email / wp-simplechimp

SimpleChimp

Basic MailChimp subscription form for WordPress.

by Barry Ceelen · github.com/barryceelen/wp-simplechimp · website

1stars
1forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/barryceelen/wp-simplechimp/archive/refs/heads/master.zip

Readme

SimpleChimp

Basic MailChimp 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 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 which displays the subscription form.

Note: No styles are added, you are on your own.

<?php do_action( 'simplechimp' ); ?>

Read the full README on GitHub →