I see a few issues:<div><br></div><div>1) Styles should be enqueued and *hooked* in; front-end styles should be hooked into 'wp_print_styles'.</div><div><br></div><div>2) 'MyStyle' is too generic of a name. This is another instance where something should be theme-slug prefixed.</div>
<div><br></div><div>3) Is the URL an external resource? I can't readily imagine a viable reason that a CSS file can't/shouldn't be bundled with the Theme.</div><div><br></div><div>Chip<br><br><div class="gmail_quote">
On Fri, Jun 3, 2011 at 1:22 AM, Vicky Arulsingam <span dir="ltr"><<a href="mailto:vicky.arulsingam@gmail.com">vicky.arulsingam@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Is is appropriate to use wp_enqueue_style() within the header.php? <div>Example: <?php wp_enqueue_style('MyStyle', '<a href="http://domain.com/some-other-style.css'" target="_blank">http://domain.com/some-other-style.css'</a>); ?><br clear="all">
<br>-----<div>Vicky Arulsingam</div><br>
</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>