SHOW:
|
|
- or go back to the newest paste.
1 | //include jquery-ui css | |
2 | function custom_css() { | |
3 | - | wp_enqueue_style('jquery-ui-custom-css', get_stylesheet_directory_uri() . '/js/jquery-ui-1.8.16.custom/css/ui-lightness/jquery-ui.1.8.16.custom.css'); |
3 | + | wp_register_style( 'jquery-ui-custom-css', get_template_directory_uri() . '/js/jquery-ui-1.8.16.custom/css/ui-lightness/jquery-ui.1.8.16.custom.css' ); |
4 | ||
5 | wp_enqueue_style( 'jquery-ui-custom-css' ); | |
6 | } | |
7 | add_action( 'wp_enqueue_scripts', 'custom_css' ); |