Need to disable auto-loading of jquery/jquery-ui

Homepage Community Forums Epik Theme Support Need to disable auto-loading of jquery/jquery-ui

Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #15837
    TrishaM
    Customer

      I was just notified that a number of jquery functions our site uses have stopped working, and when I went to investigate I discovered that both the Genesis Theme and the Epik Theme I use were both updated, even though I have auto-updating disable in my wp-config.php file (using instructions I found in the WP forums, my understanding is that this turned off ALL auto-updating, including Themes and Plugins).

      I have been ignoring the “theme update” notices because the last time I updated, this happened and it took me two days to roll-back to the prior versions to get things working again. Several necessary functions do NOT work with more current versions of jquery and jquery-ui, so we do NOT want to update anything until these functions can be rewritten.

      This morning it looks like a new version of jquery-ui is being called, via this line in the HEAD:
      <link rel="stylesheet" id="jquery-ui-smoothness-css" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.min.css?ver=1.10.4" type="text/css" media="all"><!--formatted-->

      I have spent the last few hours searching, and cannot find where this is being called so I can comment it out – I have no idea if this is coming from Genesis or Epik……

      Can you please help? Tell me if this is being added by Genesis or Epik and where I can find it? What is the best way to stop this from loading? Just comment it out, or add a “deregister” function to my functions? I tried adding a deregister script function that deregisters both jquery and jquery-ui, but this did not work.

      I also need to know how to STOP the Epik theme from updating……I have no idea how they got updated, I am the only one with administrator access, and I would not have done it. On the Genesis Theme, I *once again* unchecked the box for enabling theme updates (I am 100% certain I did this before and don’t know how it got checked again, but I’ll be watching it closely from now on)…..how do I stop Epik from updating?

      Any help would be very gratefully appreciated!

      #15838
      Eric
      Customer

        The Epik theme is a Child theme and it doesn’t have the “Auto Update” feature. Only the Genesis Framework Auto Updates. That’s the reason the Child theme and the framework are separate so that Genesis can be updated without it affecting your Child theme and any changes you’ve added. So Genesis is the only thing that is updating if that’s what’s happening.

        As for the jquery, I’m guessing that is coming from either Genesis or another plugin that you are using. I’ve checked the files in Epik as well as the Epik demo and I didn’t see that code show up. Are you using any plugins?


        I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

        #15841
        TrishaM
        Customer

          Hi Eric,

          Thanks for responding so quickly……we do use around a dozen plugins, no more, but none of them have been updated recently, and none added……

          SO my guess is that somehow when Genesis updated, the update must be including a new version of jquery-ui.

          I’ve been searching for how to deregister this call to jquery-ui from Genesis, without success – the few code snippets I’ve found don’t work, my guess is because it’s using “link” rather than script, so technically it’s not a script that can be deregistered (? this is just a guess).

          #15843
          TrishaM
          Customer

            Well, after more investigation it turns out that it was a plugin – arconix faq plugin (a truly great faq plugin, by the way), and after commenting out their code that calls the incompatible jquery-ui, our custom functions started working again…..so I will get with the plugin developer on how to come up with a permanent fix.

            #15845
            Eric
            Customer

              That’s good to know, hopefully they can figure out how to fix it.


              I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

            Viewing 5 posts - 1 through 5 (of 5 total)
            • The topic ‘Need to disable auto-loading of jquery/jquery-ui’ is closed to new replies.