Quantcast
Channel: Topic Tag: footer | WordPress.org
Viewing all articles
Browse latest Browse all 13552

Jose on "Loading jQuery & javascript in footer"

$
0
0

You could try:

function load(){
    wp_enqueue_script( 'jquery', '', '', '', true );
    wp_enqueue_script( 'bootstrap-js', get_template_directory_uri() . '/js/bootstrap.min.js', array( 'jquery' ), null, true );
}

As you said it may cause some issues with plugins. That's one way I can think of but I haven't tried it yet. :)


Viewing all articles
Browse latest Browse all 13552

Trending Articles