Ive tried a lot of versions of doing this I have found on SO and the net but none have worked for me.
I am running version 3.4.2. Perhaps there is a different way of doing it for this version?
My code is:
<?php
function my_scripts_method() {
wp_enqueue_script( 'jquery', '//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js' );
wp_enqueue_script( 'jquery-ui', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.8/jquery-ui.min.js' );
}
add_action( 'wp_enqueue_scripts', 'my_scripts_method' );
?>
I have this just above the </head>
tag.
Can anyone help me out and tell me where I am going wrong?