I have created a .js file in the JS folder of the theme.
I put this code
function my_scripts_method() {
wp_register_script( 'my-js-file',
get_template_directory_uri() . '/js/my-js.js',
array( 'jquery' ),
'1.0',
false );
wp_enqueue_script( 'my-js-file' );
}
add_action( 'wp_enqueue_scripts', 'my_scripts_method' );
In the functions.php file and added
<?php wp_enqueue_script("myUi","https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"); ?>
In the header.php file of the theme.
All of which breaks the slider and blog carousel.
I have tried it in other themes and it seems to work.