The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Using Google jquery in WordPress

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #31123

    I’m wondering…
    What are the advantages/disadvantages of using code in the functions.php to call, use and hopefully eliminate potential jquery conflicts by using Google jquery versus using a plugin like “Use Google Libraries”

    If a plugin is the way to go… is “UGL” the one to use? Any better than others?

    Inquiring minds and all of that!



    I suppose it’s the same as cooking your own food, rather than getting a takeaway – you know what ingredients went into the dish.

    If you add the lines to your functions template, you have guaranteed the correct version of jQuery is loaded for your theme. If you rely on a plugin and you distribute your theme, the results may vary – if the end user doesn’t have the same plugin.

    On the flipside, the plugin may be well maintained. Updates could be automatic, in a set-and-forget kind of way.


Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.