70
rated 0 times
[
75]
[
5]
/ answers: 1 / hits: 25303
/ 10 Years ago, wed, january 28, 2015, 12:00:00
I want to add more than one external javascript files in wordpress theme, I have found code for adding one file, but I need to add more javascript files.
How can I do it?
function wpTan_scripts() {
wp_register_script('app', '/js/app.js', false);
wp_enqueue_script( 'app' );
}
add_action('wp_enqueue_scripts', 'wpTan_scripts');
More From » wordpress