MailChimp List Subscribe Form
Inserting the plugin into the header of a page? (3 posts)

  1. PGrizz
    Posted 5 years ago #

    I've used a "plugin in page" plugin to insert the mailchimp plugin within one of my pages, but I was wondering if I can take custom code and place that within my header.php to generate a 1 field form that allows people to submit their email address. I've tried to do some custom coding, not sure this is the best way, don't think this is actually linked to mailchimp, but i've inserted this in my header:

    <div id="mc_signup">
    		<form id="mc_signup_form" action="#mc_signup" method="post">
    <input type="hidden" value="js" name="mc_submit_type" id="mc_submit_type">
    <input type="hidden" value="mc_submit_signup_form" name="mcsf_action">
    <input type="hidden" value="06eaa2a36f" name="_mc_submit_signup_form_nonce" id="_mc_submit_signup_form_nonce">
    <input type="text" class="mc_input" id="mc_mv_EMAIL" name="mc_mv_EMAIL" value="" size="18">
    <input type="submit" class="button" value="Subscribe" id="mc_signup_submit" name="mc_signup_submit">
  2. PGrizz
    Posted 5 years ago #

    it looks like the form works, but is there a way i can do it better and make it so that once the email is entered it gives a confirmation like the real plugin does?

  3. mc_jesse
    Posted 5 years ago #

    Include the javascript that the plugin generates, too. If you're doing all this, though, you may want to either edit your own custom version of the plugin or grab the embed code form for your list since we can't support what you're suggesting doing.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MailChimp List Subscribe Form
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic