Title: Desactivate Datepicker from code
Last modified: August 21, 2016

---

# Desactivate Datepicker from code

 *  Resolved [bagui](https://wordpress.org/support/users/bagui/)
 * (@bagui)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/desactivate-datepicker-from-code/)
 * Hello,
    It is possible to desactivate Datepicker from events manager front-office
   from the code source ? And how ? Thank you
 * [https://wordpress.org/plugins/events-manager/](https://wordpress.org/plugins/events-manager/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/desactivate-datepicker-from-code/#post-5117184)
 * am afraid that this is not possible at the moment however can I know why you’ve
   wanted to do this?
 *  Thread Starter [bagui](https://wordpress.org/support/users/bagui/)
 * (@bagui)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/desactivate-datepicker-from-code/#post-5117190)
 * Hello thanks for your response. I want to desactive Datepicker from the code 
   because Datepicker Events Manager doesn’t works in fromt form “Submit your event”.
   I desactive all extensions but the problem continue.
    The Extension Manager is
   install with the theme Rounder WordPress Theme of Themeforest. I do not know 
   what to do. Thanks
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/desactivate-datepicker-from-code/#post-5117225)
 * It sounds like your theme is causing a jQuery conflict. Does the datepicker work
   with the default WordPress theme?
 *  Thread Starter [bagui](https://wordpress.org/support/users/bagui/)
 * (@bagui)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/desactivate-datepicker-from-code/#post-5117230)
 * yes the Datepicker work width the default theme.
    That is the error width my 
   theme : $.datepicker.setDefaults is not defined
 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/desactivate-datepicker-from-code/#post-5117259)
 * maybe your theme is loading another version jquery core and/or ui library which
   is conflicting to default wordpress jquery library? you can asked your theme 
   provider for confirmation.
 *  Thread Starter [bagui](https://wordpress.org/support/users/bagui/)
 * (@bagui)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/desactivate-datepicker-from-code/#post-5117261)
 * Hello
    The version of jquery is jQuery v1.10.2 Thanks
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/desactivate-datepicker-from-code/#post-5117265)
 * Which version of WordPress do you have?
 * Assuming you’re using 3.9, it looks like your theme isn’t loading jQuery in the
   correct way because that’s an old version of jQuery.
 * This article might help you locate the loading problem and provide a fix:
    [http://msyk.es/blog/prevent-jquery-wordpress-theme/](http://msyk.es/blog/prevent-jquery-wordpress-theme/)
 *  Thread Starter [bagui](https://wordpress.org/support/users/bagui/)
 * (@bagui)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/desactivate-datepicker-from-code/#post-5117266)
 * ok I reas this article but I’m french.
    This is my domain site : [http://www.chinon-vienne-loire.fr](http://www.chinon-vienne-loire.fr)
   thanks
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/desactivate-datepicker-from-code/#post-5117293)
 * A quick fix should be to find the point in your theme where it loads jQuery (
   probably in the header, footer or functions file) and remove it.
 * That should make Events Manager load jQuery correctly and solve the problem.
 *  Thread Starter [bagui](https://wordpress.org/support/users/bagui/)
 * (@bagui)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/desactivate-datepicker-from-code/#post-5117319)
 * I desactivate jQuery theme and activate jQuery Google last version but the problem
   persist and I have this error :
    Uncaught TypeError: Cannot read property ‘length’
   of undefined
 * after I desactivate jQuery theme and no activate jQuery Google last version and
   the problem persist.
 * I have always this error :
    Uncaught TypeError: Cannot read property ‘setDefaults’
   of undefined
 * Thanks
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/desactivate-datepicker-from-code/#post-5117320)
 * Try it without using the Google version of jQuery – stop your theme from loading
   jQuery completely.
 * When Events Manager finds jQuery isn’t loaded it will tell WordPress to load 
   it correctly.
 *  Thread Starter [bagui](https://wordpress.org/support/users/bagui/)
 * (@bagui)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/desactivate-datepicker-from-code/#post-5117321)
 * Ok I desactive all jQuery Load. I haven’t this error (Uncaught TypeError: Cannot
   read property ‘setDefaults’ of undefined) but now I have this error.
    It’s normal,
   them dont load any jQuery : Uncaught ReferenceError: jQuery is not defined
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/desactivate-datepicker-from-code/#post-5117326)
 * I think this is an issue you’ll need to take up with your theme provider, since
   there is no problem when using the default WordPress theme.
 * My guess is that it uses additional code to unload jQuery and load in a specific
   version, making it incompatible with plugins that need to use jQuery.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Desactivate Datepicker from code’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 13 replies
 * 3 participants
 * Last reply from: [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/desactivate-datepicker-from-code/#post-5117326)
 * Status: resolved