Add multiple JavaScript files to template header [duplicate]
You can’t have <script> elements within your PHP like that. Either take them out of the PHP delimiters (<?php ?>) or use wp_register_script() and wp_enqueue_script() to get your scripts within WordPress. Update how can i use wp_enqueue_script() with multiple scripts ? wp_register_script( ‘jquery-1.8.2’, get_template_directory_uri() . “https://wordpress.stackexchange.com/scripts/jquery-1.8.2.min.js” ); wp_register_script( ‘contact’, get_template_directory_uri() . ‘/scripts/contact.js’ ); wp_register_script( ‘easing-1.3’, … Read more