Support » Plugin: Contact Form 7 » [Plugin: Contact Form 7] Deregister script?

  • With the latest update and usage of the more up to date jquery.form.js I can no longer deregister the script like I had it before.

    I noticed this:

    function wpcf7_enqueue_scripts() {
    	// jquery.form.js originally bundled with WordPress is out of date and deprecated
    	// so we need to deregister it and re-register the latest one
    	wp_deregister_script( 'jquery-form' );
    	wp_register_script( 'jquery-form', wpcf7_plugin_url( 'jquery.form.js' ),
    		array( 'jquery' ), '3.08', true );

    If anyone has any ideas it would be greatly appreciated as I only need this script running on the contact page. Thanks.

Viewing 1 replies (of 1 total)
  • Ok, it seems like I can still do it on several of my other sites. Just having issues with a new install. If anyone has any ideas, I’m still open for suggestions.


Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Contact Form 7] Deregister script?’ is closed to new replies.