I am trying to load jquery-ui using wp_enqueue_script. I can check that jquery is loaded. jquery-ui is registered i.e. output of var_dump( wp_script_is( 'jquery-ui-tabs', 'registered' ) ); is bool(true) which indicates it is registered but it does not get included to the page.
I am using wordpress version 3.3.1
What is going wrong?
I am attaching the relavant snippet from functions.php from my theme.
<?php
function my_scripts_method() {
wp_register_script('jquery');
wp_register_script('jquery-ui-core');
wp_register_script('jquery-ui-tabs');
}
add_action('wp_enqueue_scripts', 'my_scripts_method');
?>