// Register Script
Add this to your functions.php file, and it will then load the file, in this case a javascript file called calc.js.
This should be the full url
1 2 3 4 5 6 7 8 9 |
function calculator() { wp_register_script( 'calculator', 'http://aq.gthex.co.uk:10000/js/calc.js', array( 'jquery' ), '1.1', false ); wp_enqueue_script( 'calculator' ); } add_action( 'wp_enqueue_scripts', 'calculator' ); |