Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi Elena,

    You’re probably right. To test, deactivate all other plugins except Events Manager and your slider plugin and switch to the default theme to see if that fixes the problem.

    Thread Starter grafica.villcom

    (@graficavillcom)

    I have already do that. The problem it’s Events Manager. Do you know how can I fix that?

    Plugin Support angelo_nwl

    (@angelo_nwl)

    I think the problem is that your theme is loading another version of jquery “jQuery JavaScript Library v1.6.1” vs. wordpress default jquery libarary – maybe you can ask you theme provider about this.

    Thread Starter grafica.villcom

    (@graficavillcom)

    I asked them… But they are very slow. Can you tell me how can I update jquery libraries?

    The best way to fix the problem would be to find the point in the theme where jQuery is loaded and delete or comment out that line of code.

    That will make Events Manager load jQuery and it’ll work with both the plugin and your theme.

    You’ll probably find the code that loads jQuery in the header.php, functions.php or footer.php file of your theme.

    Thread Starter grafica.villcom

    (@graficavillcom)

    Ok, I think I found the code in functions.php…The situation is this now:

    <?php function my_init() {
    	if (!is_admin()) {
    		// comment out the next two lines to load the local copy of jQuery
    		//wp_deregister_script('jquery');
    		//wp_register_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js', false, '1.6.1');
    		wp_enqueue_script('jquery');
    	}

    As you see I commented out the two lines. Then I updated Event Manager but nothing changed, my slider always stop working. Any idea? Is that wrong?

    Thx.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    this link might help you out – https://msyk.es/blog/prevent-jquery-wordpress-theme/

    Thread Starter grafica.villcom

    (@graficavillcom)

    Thank you. That post explains very well but it describes what I’ve already done.
    Maybe there is another type of compatibility problem… I’m going on searching solutions…

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘jquery compatibility problem’ is closed to new replies.