*Allowed* to be hard-coded in the document head? Yes.<div><br></div><div>*Required* to be hard-coded in the document head? Er, no - at least, I don't think so.</div><div><br></div><div>There are advantages and disadvantages to both methods, (the primary advantage being that it is easier to override, since it is output before anything that gets output via `wp_print_styles` or `wp_head`), but I don't think we've established a requirement?</div>
<div><br></div><div>Chip<br><br><div class="gmail_quote">On Fri, Feb 3, 2012 at 11:07 AM, Kirk Wight <span dir="ltr"><<a href="mailto:kwight@kwight.ca">kwight@kwight.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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:<div><br></div><div><div>add_action('wp_enqueue_scripts', 'themeslug_enqueue_scripts_styles');</div>
<div><br></div><div>function themeslug_enqueue_scripts_styles() {</div><div> wp_enqueue_style( 'themeslug-styles', get_stylesheet_uri() );</div><div>}</div></div><div><br></div><div><br></div><div>Is this the case?..</div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>