I’m trying to load a custom stylesheet (for the front-end, not admin area) via plugin. As near as I can tell, I’m doing things the way the Codex says is correct, but my CSS doesn’t get loaded. This is what I have:
/*
* Load stylesheets, etc.
*/
function cl_chanimal_scripts() {
//Register CSS
wp_register_style('cl-chanimal-styles', plugins_url('css/cl-chanimal-styles.css', __FILE__));
//Use it!
wp_enqueue_style ( 'cl-chanimal-styles' );
}
add_action( 'wp_enqueue_scripts', 'cl_chanimal_scripts' );
Am I using the wrong action hook? It is possible to load front-end styles via plugin, is it not?