Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action('wp_enqueue_scripts','enq_menu_scripts_and_styles');
- function enq_menu_scripts_and_styles() {
- // UI Core, loads jQuery as a dependancy
- wp_enqueue_script(
- 'uicore',
- 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js',
- array('jquery')
- );
- // UI Theme CSS
- //wp_enqueue_style( 'uicss', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/base/jquery-ui.css' );
- wp_enqueue_style( 'uicss', 'http://dominornovus.com/wp-content/themes/killylisscountryhouse/jquery/custom-theme/custom-killyliss.css' );
- // Selectmenu JS
- wp_enqueue_script( 'uisel', 'http://jquery-ui.googlecode.com/svn/branches/labs/selectmenu/ui.selectmenu.js' );
- // Selectmenu CSS
- wp_enqueue_style( 'uicss2', 'http://jquery-ui.googlecode.com/svn/branches/labs/selectmenu/ui.selectmenu.css' );
- }
Advertisement
Add Comment
Please, Sign In to add comment