wp_deregister_script('jquery'); making core Contact Form 7 scripts not load
-
Hi all,
I am currently using:if( !is_admin()){ wp_deregister_script('jquery'); }
in my functions.php file to deregister the WordPress core jQuery for my own, newer version. It seems when I do this though, it also takes out the necessary wp_footer scripts that Contact Form 7 uses to run the AJAX functionality. Does anyone have a suggestion on a workaround for this? The contact form is in a text-widget that is on all pages, so I cannot call it differently on a single page or anything. Thanks!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘wp_deregister_script('jquery'); making core Contact Form 7 scripts not load’ is closed to new replies.