Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    am afraid that this is not possible at the moment however can I know why you’ve wanted to do this?

    Thread Starter bagui

    (@bagui)

    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

    It sounds like your theme is causing a jQuery conflict. Does the datepicker work with the default WordPress theme?

    Thread Starter bagui

    (@bagui)

    yes the Datepicker work width the default theme.
    That is the error width my theme : $.datepicker.setDefaults is not defined

    Plugin Support angelo_nwl

    (@angelo_nwl)

    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

    (@bagui)

    Hello
    The version of jquery is jQuery v1.10.2
    Thanks

    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:
    https://msyk.es/blog/prevent-jquery-wordpress-theme/

    Thread Starter bagui

    (@bagui)

    ok I reas this article but I’m french.
    This is my domain site : https://www.chinon-vienne-loire.fr
    thanks

    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

    (@bagui)

    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

    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

    (@bagui)

    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

    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.