Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1301339
    j0hnlucas
    Participant

    Hi guys

    I’ve seen a few posts on this, but could you confirm and explain exactly how to remove the double opt-in for mailchimp on your plugin please?

    Thanks!
    Elise

    #1301395
    Lely
    Moderator

    Hello Elise,

    Thanks for posting in.
    Please check this thread:https://community.theme.co/forums/topic/mailchimp-disable-double-optin-and-send-a-welcome-message-instead/

    Hope this helps.

    #1306568
    j0hnlucas
    Participant

    Hi Lely

    I’m afraid I’m still a little confused!

    Can you confirm that this is the process please:

    Step 1
    Take a look at this file
    /email-mailchimp/functions/provider.php

    You will see this on line 256:

    $send_welcome = ( ‘yes’ == $this->plugin->options->get(‘mc_send_welcome’) || $double_optin == false );

    Try removing this part: || $double_optin == false

    Step 2
    Go to Email Forms > General Settings and set Opt-In New Users to Yes

    Thanks so much for your help!

    #1306782
    Rad
    Moderator

    Hi there,

    You don’t need to edit the files directly. Please add this code to your child theme’s functions.php

    add_filter('x_email_mailchimp_skip_double_opt_in','__return_true');

    Then proceed to Step 2 ( Go to Email Forms > General Settings and set Opt-In New Users to Yes ).

    Choose the list.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1301339 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>