<br>If the stylesheet is going to be enqueued, should follow this <a href="http://wpdevel.wordpress.com/2011/12/12/use-wp_enqueue_scripts-not-wp_print_styles-to-enqueue-scripts-and-styles-for-the-frontend/">http://wpdevel.wordpress.com/2011/12/12/use-wp_enqueue_scripts-not-wp_print_styles-to-enqueue-scripts-and-styles-for-the-frontend/</a><br>
<br><br><br><div class="gmail_quote">On Fri, Feb 3, 2012 at 9:18 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">
That's what I thought too. And it's just so darned easy to stick it in there with the comment-reply script, which is required to be handled that way anyways.<div><div></div><div class="h5"><div><br><br><div class="gmail_quote">
On 3 February 2012 12:13, Amy Hendrix <span dir="ltr"><<a href="mailto:sabreuse@gmail.com" target="_blank">sabreuse@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Either that reviewer was mistaken, or your acquaintance misunderstood<br>
what they were told:<br>
<br>
<a href="http://codex.wordpress.org/Theme_Review#Including_Stylesheets_and_Scripts" target="_blank">http://codex.wordpress.org/Theme_Review#Including_Stylesheets_and_Scripts</a><br>
<br>
Themes may optionally link the default stylesheet (style.css) directly<br>
in the document head, or via wp_enqueue_style()Themes are required to<br>
enqueue all stylesheets and scripts, using<br>
wp_enqueue_style()/wp_enqueue_script(), and hooked into an appropriate<br>
hook via callback function, rather than hard-coding stylesheet/script<br>
links or tags in the template.<br>
<br>
Themes are recommended to hook stylesheet and script enqueue callbacks<br>
into `wp_enqueue_scripts`<br>
<br>
Themes may optionally link the default stylesheet (style.css) directly<br>
in the document head, or via wp_enqueue_style()<br>
<div><div><br>
On Fri, Feb 3, 2012 at 12:07 PM, Kirk Wight <<a href="mailto:kwight@kwight.ca" target="_blank">kwight@kwight.ca</a>> wrote:<br>
> I met a fellow last night that said a theme reviewer told him style.css had<br>
> to be linked directly in header.php, and couldn't be enqueued through<br>
> wp_enqueue_scripts, like this:<br>
><br>
> add_action('wp_enqueue_scripts', 'themeslug_enqueue_scripts_styles');<br>
><br>
> function themeslug_enqueue_scripts_styles() {<br>
> wp_enqueue_style( 'themeslug-styles', get_stylesheet_uri() );<br>
> }<br>
><br>
><br>
> Is this the case?..<br>
><br>
</div></div><div><div>> _______________________________________________<br>
> theme-reviewers mailing list<br>
> <a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">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>
_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">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>
</div></div></blockquote></div><br></div>
</div></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>