[theme-reviewers] enqueuing style.css

Kirk Wight kwight at kwight.ca
Fri Feb 3 17:07:10 UTC 2012


I met a fellow last night that said a theme reviewer told him style.css had
to be linked directly in header.php, and couldn't be enqueued through
wp_enqueue_scripts, like this:

add_action('wp_enqueue_scripts', 'themeslug_enqueue_scripts_styles');

function themeslug_enqueue_scripts_styles() {
   wp_enqueue_style( 'themeslug-styles', get_stylesheet_uri() );
}


Is this the case?..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20120203/9eb68b7f/attachment.htm>


More information about the theme-reviewers mailing list