Jquery ui implementation
-
Hi,
I have register the jquery ui in function file as i dont want it directly in header.php
function my_jquery_ui() {
// register your script location, dependencies and version
wp_register_script(‘jquery-ui-1.8.16’,
get_template_directory_uri() . ‘/js/jquery-ui-1.8.16.js’,
array(‘jquery’),
‘1.8.16’ );
// enqueue the script
wp_enqueue_script(‘jquery-ui-1.8.16’);
}
add_action(‘wp_enqueue_scripts’, ‘my_jquery_ui’);The jquery are registered as in firebug shows
<script src=”https://www.vmjconsulting.com/wordpress01/wp-content/themes/scania_infotech2/js/jquery-ui-1.8.16.js?ver=1.8.16″ type=”text/javascript”>im trying to create tabs which you can see at
https://www.vmjconsulting.com/wordpress01/testing/#tabs-1
pleace adivce
- The topic ‘Jquery ui implementation’ is closed to new replies.