Wordpress - Theme Structure and Basics
What will happen if you add this code to
functions.php?
function load_custom_scripts() {
wp_enqueue_script('custom-js', get_template_directory_uri() . '/js/custom.js');
}
add_action('wp_enqueue_scripts', 'load_custom_scripts');