WordPress.org

Ready to get started?Download WordPress

Forums

Genesis eNews Extended
[resolved] Does it work with Mailchimp interest groups? (5 posts)

  1. davidroccato
    Member
    Posted 6 months ago #

    Hi,

    I'd like to know if I can use it with Mailchimp interests groups fields, with checkboxes that appears at the bottom of the form, or before the button Send. So that the subscriber can choose before to opt in.

    Thanks

    https://wordpress.org/plugins/genesis-enews-extended/

  2. Brandon Kraft
    Happiness Engineer
    Plugin Author

    Posted 6 months ago #

    Hi,

    You'll need to add the HTML code for those form fields yourself via the Hidden Fields field on the widget settings.

    When you follow the tutorial to grab the information requested by the plugin ( http://www.brandonkraft.com/contrib/plugins/genesis-enews-extended/install/#mailchimp ), you'd want to grab the extra code at that point.

  3. davidroccato
    Member
    Posted 6 months ago #

    Hi Brandon,

    Thank you, there is lots of code but I suppose this is the only code I should insert in the hidden fields field, right?

    <div class="mc-field-group input-group">
        <ul><li><input type="checkbox" value="1" name="group[17673][1]" id="mce-group[17673]-17673-0"><label for="mce-group[17673]-17673-0">RSS Daily</label></li>
    </ul>
    </div>
    <div class="mc-field-group input-group">
        <ul><li><input type="checkbox" value="2" name="group[17677][2]" id="mce-group[17677]-17677-0"><label for="mce-group[17677]-17677-0">RSS Weekly</label></li>
    </ul>
    </div>
    <div class="mc-field-group input-group">
        <ul><li><input type="checkbox" value="4" name="group[17685][4]" id="mce-group[17685]-17685-0"><label for="mce-group[17685]-17685-0">Newsletter</label></li>
    </ul>
    </div>

    As you know, is there a way to make one group checked by default? Because if they forget to check one, they won't be subscribed to anything.

    Thanks.

  4. Brandon Kraft
    Happiness Engineer
    Plugin Author

    Posted 6 months ago #

    Hi David,

    You can add all of that. The only required part are the <input type... and <label> tags. The rest of it are either styling assists (the divs) or to add the checkboxes as part of a list (the ul and li elements).

    You can add checked=checked on the default one, e.g.
    <input type="checkbox" value="4" name="group[17685][4]" id="mce-group[17685]-17685-0" checked="checked">

    Cheers!

  5. davidroccato
    Member
    Posted 6 months ago #

    Awesome, it works perfectly.

    I've inserted just the input codes, each one wrapped with divs, so they appear one below the other.

    Thank you.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.