• I am having trouble with UberMenu clashing with my theme/plugins. I have been told by the UberMenu technical support people that my WordPress is calling multiple old versions of jQuery. Can someone tell me how to go about fixing this as i haven’t had any luck.

    The problem occurs only when i enable UberMenu. Then the slider and various other plugins stop working. Once i disable it they work fine again.

    One of the plugins is the Nivo Slider that is built into the theme. I have tried contacting the people who made the theme but they wouldn’t help.

    The website is: http://meditateincopenhagen.org/2012/.

    If someone can tell me how to solve this problem and get the site only calling one version of jQuery that would be great. I have tried telling it to only call the newest version but it didn’t help.

Viewing 15 replies - 1 through 15 (of 20 total)
  • Please help. I am trying to install Gantry Framework plug in. Installation fails because it says its is already installed but it is not on my plug in list. I need to activate it to take my website to active mode. Please help 🙁

    @helmareeves: It is impolite to interrupt another poster’s ongoing thread with a completely unrelated question of your own. Please post your own topic.

    @wonx2150: The issue could well be in your current theme. Try switching to the Twenty Eleven theme to confirm this.

    I am so sorry I am new to the site and dont know how to use it. Apologies. Just registered today.

    Thread Starter Wonx2150

    (@wonx2150)

    The problem is if switch to the Twenty Eleven theme it all breaks as such.

    The Slider is built into the theme and i cant find any of the other content to see if its working or not.

    Where did you download this theme from?

    Thread Starter Wonx2150

    (@wonx2150)

    The theme is:
    http://themeforest.net/item/limon-a-restaurant-and-spa-wordpress-theme/610441

    I tried again switching to Twenty Eleven and after a lot of messing around with the menu i got it displaying the UberMenu and the FullCalendar plugin together. FullCalendar is one of the plugins that UberMenu has been interfering with. So it points to a problem with the theme and one or all of its built in plugins.

    Although i am not sure how to solve it.

    Oh – get rid of that theme! It’s awful! It not only registers its own (pretty old) copy of jQuery but it de-registers the copy of jQuery in WordPress core – thus breaking all kinds of core & plugin functionality. I had such a terrible time trying to troubleshoot a client’s site using this theme that I wrote a post on the subject.

    Thread Starter Wonx2150

    (@wonx2150)

    Unfortunately i cant really get ride of the theme at least not at the moment. Any suggestions on how i might fix?

    Sorry – no. Not without completely re-writing the theme and removing its dependancy on an older version of jQuery.

    Thread Starter Wonx2150

    (@wonx2150)

    Oh well thank you 🙂 At least i know were i stand now.

    Thread Starter Wonx2150

    (@wonx2150)

    May this hold any answers:

    // Register and load javascripts

    function t2t_register_js() {
    	if (!is_admin()) {
    		wp_deregister_script('jquery');
    		wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"), false, '');
                    wp_register_script('jquery-ui', get_template_directory_uri() . '/javascripts/jquery-ui-1.8.14.js', 'jquery');
    	        wp_register_script('nivo-slider', get_template_directory_uri() . '/javascripts/jquery.nivo.slider.js', 'jquery');
    		wp_register_script('fancybox', get_template_directory_uri() . '/javascripts/fancybox/jquery.fancybox-1.3.4.pack.js', 'jquery');
    		wp_register_script('twitter', get_template_directory_uri() . '/javascripts/jquery.twitter.js', 'jquery');
    		wp_register_script('global', get_template_directory_uri() . '/javascripts/global.js', 'jquery', '1.0');
    
    		wp_enqueue_script('jquery');
    		wp_enqueue_script('jquery-ui');
    		wp_enqueue_script('nivo-slider');
    		wp_enqueue_script('fancybox');
    		wp_enqueue_script('global');
    
    	}
    }

    Oh – yes. That’s the offending code block. Note the wp_deregister_script('jquery');? That removes the jQuery bundles with core – thus impacting all kinds of plugins. I really think Themeforest should remove this theme altogether.

    Thread Starter Wonx2150

    (@wonx2150)

    Anything i could do to fix it? Besides obviously removing that line. Although i fear that will cause problems else where.

    Remove that line and the theme will likely fall over immediately as you’ll have 2 copies of jQuery conflicting with each other. To get it to work at all, you’d need to look at all the other scripts that are being enqueued and see if/how they can be hacked to work under the core jQuery.

    Thread Starter Wonx2150

    (@wonx2150)

    Yer might be out of my depth now. But ill have a play around and try contacting the authors again.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘jQuery problem’ is closed to new replies.