Good morning.
I would like to add Chosen style in Wordpress Frontend Select. I've enqueue CSS and JS in a specific page:
function enqueue_chosen() {
if ( is_page( 'my-page' ) ) {
wp_enqueue_style( 'chosen_css', plugins_url('chosen/chosen.css') );
wp_enqueue_script( 'chosen_js', plugins_url('chosen/chosen.jquery.js'), array('jquery'), '', true );
}
}
add_action( 'wp_enqueue_scripts', 'enqueue_chosen' );
File is enqueued correctly. Now how I can apply chosen style in my select box?
Thanks for help!