i have creaed a form using Contact Form 7 , i have placed Date Field in that.
i used DatePicker Plugin to enable date picker on that field.

But i am getting a Fastclick console warning in that file. i tried to resolve that using function.php by using below code.

    if ( is_page('marketing') ){
     wp_deregister_script('jquery');
wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"), false, '1.10.1');
        wp_register_script( 'fastclick','https://cdnjs.cloudflare.com/ajax/libs/fastclick/1.0.6/fastclick.js', array('jquery'), false, true );
        wp_enqueue_script( 'fastclick' );
     }

After this JQuery issues are coming.
Uncaught TypeError: $ is not a function

how can i fix this .? i tried with different WordPress versions.

Read more here: WordPress Date Picker not coming in Contact Form 7


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: