- This topic is empty.
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.