You use wp_enqueue_script
for Javascript files in your theme functions.php
files. I suggest wrapping up all the requests in a function and hook it like so
add_action( 'wp_enqueue_scripts', 'script_enqueuer' );
You use wp_enqueue_script
for Javascript files in your theme functions.php
files. I suggest wrapping up all the requests in a function and hook it like so
add_action( 'wp_enqueue_scripts', 'script_enqueuer' );