Tagged Questions
0
votes
1answer
76 views
Move jQuery to the bottom of the page whilst keeping the WordPress jQuery
I wish to move jQuery to the bottom of the page on my theme, to speed up loading times.
Previously I was doing this by replacing it with Google's CDN version but I have been told that is a bad thing ...
0
votes
1answer
333 views
Register google jquery gets overwritten by plugin
I'm currently using a plugin, which includes jquery version 1.6.4 like this:
function thethe_image_slider_head_scripts(){
wp_deregister_script( 'jquery' );
wp_register_script( 'jquery', ...
0
votes
1answer
142 views
Need help with adding jQuery script to WP and calling script to page
I've written a pretty simple jQuery script, and I don't know how to call it. It's in its own directory.
First, how do I register it, and then how do I enqueue it?
I assume that's the order it's done ...
1
vote
1answer
290 views
Question about the way that wp_register_script works
Ok so I'm using the Roots Theme for WordPress (https://github.com/retlehs/roots), which, is sort of a starter theme or theme framework.
I'm confused about the way that it deregisters the WordPress ...