Hello Danny,
I recently added the MailChimp for WordPress plugin (Version 2.3.17) and I would like to disable the scroll function after a user submits the form. I also edited our theme’s functions.php file with your code from above:
add_filter( ‘mc4wp_form_animate_scroll’, ‘__return_false’ );
Since it is a custom WP theme, I am using the shortcode in our footer.php file with the following line, <?php echo do_shortcode('[mc4wp_form_animate_scroll]'); ?>
, but that still doesn’t disable the scrollTo function (I’m hoping to find a fix similar to what kdamken mentioned above). I’m unable to post a link to our development site, but if you have any suggestions on where I might be going wrong I would greatly appreciate it. Thank you.