Why not just enqueue your own &quot;plugins&quot; stylesheet, at wp_head, with a priority of 9999?<div><br></div><div>Chip<br><br><div class="gmail_quote">On Thu, Apr 21, 2011 at 4:59 PM, Curtis McHale <span dir="ltr">&lt;<a href="mailto:curtis@curtismchale.ca">curtis@curtismchale.ca</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Funny on personal projects I put my stylesheet after wp_head so I can override the enqueued stylesheets for plugins that don&#39;t let you turn them off or are way over qualified and make it hard to write CSS rules that kill them. I know it&#39;s not best practice but it&#39;s way easier than fighting plugin CSS all day.<br clear="all">
<font color="#888888">

<br>Curtis McHale<br>PH: 604.751.3482<br><a href="http://www.curtismchale.ca" target="_blank">http://www.curtismchale.ca</a><br>Linkedin: <a href="http://www.linkedin.com/in/curtismchale" target="_blank">http://www.linkedin.com/in/curtismchale</a><br>
Twitter: <a href="http://twitter.com/curtismchale" target="_blank">twitter.com/curtismchale</a></font><div><div></div><div class="h5"><br>

<br>
<br><br><div class="gmail_quote">On Thu, Apr 21, 2011 at 2:53 PM, Chip Bennett <span dir="ltr">&lt;<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


I consider that to be by design, that the primary stylesheet, i.e. style.css, is hard-coded into the document head. That way, it&#39;s easier to override with enqueued stylesheets.<div><br></div><div>Chip<br><br><div class="gmail_quote">



On Thu, Apr 21, 2011 at 4:37 PM, Otto <span dir="ltr">&lt;<a href="mailto:otto@ottodestruct.com" target="_blank">otto@ottodestruct.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



If you&#39;re going to require wp_enqueue_style for CSS files, then you<br>
might want to provide some good examples of how to do that for things<br>
like the normal style.css file and such, since the vast majority of<br>
themes do not use the enqueue for normal styling.<br>
<br>
-Otto<br>
<br>
<br>
<br>
On Fri, Apr 22, 2011 at 4:11 PM, Justin Tadlock<br>
<div><div></div><div>&lt;<a href="mailto:justin@justintadlock.com" target="_blank">justin@justintadlock.com</a>&gt; wrote:<br>
&gt; That&#39;s fine by me.<br>
&gt;<br>
&gt; I thought we already had wp_enqueue_style() and wp_enqueue_script() in the<br>
&gt; guidelines.  Now, I see that it was just a reference to the comment reply<br>
&gt; script.<br>
&gt;<br>
&gt; On 4/21/2011 1:50 PM, Edward Caissie wrote:<br>
&gt;<br>
&gt; I agree with &quot;recommended&quot; for adding additional stylesheets via<br>
&gt; wp_enqueue_style() immediately and pushing it to required with 3.2; which<br>
&gt; seems will not be all that far off.<br>
&gt;<br>
&gt; I would also think that example, or similar ones, should be linked to so<br>
&gt; authors have something to work from if/when they adapt this &quot;new&quot; method.<br>
&gt;<br>
&gt;<br>
&gt; Cais.<br>
&gt;<br>
&gt; On Thu, Apr 21, 2011 at 2:39 PM, Chip Bennett &lt;<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I agree - but we rarely take something from a non-suggestion to *required*<br>
&gt;&gt; in one step, unless a critical need exists.<br>
&gt;&gt; The general path is to make something *recommended*, fit-test it for a<br>
&gt;&gt; while, and then bump it up to *required*.<br>
&gt;&gt; Chip<br>
&gt;&gt;<br>
&gt;&gt; On Fri, Apr 22, 2011 at 1:27 PM, Justin Tadlock &lt;<a href="mailto:justin@justintadlock.com" target="_blank">justin@justintadlock.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; This should be the *required* way.  Additional stylesheets should always<br>
&gt;&gt;&gt; be added with wp_enqueue_style().  This is what I&#39;ve been putting in my<br>
&gt;&gt;&gt; reviews, even for conditional stylesheets.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On 4/21/2011 1:22 PM, Chip Bennett wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I just found this:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; <a href="http://iamzed.com/2010/01/07/using-wordpress-wp_enqueue_style-with-conditionals/" target="_blank">http://iamzed.com/2010/01/07/using-wordpress-wp_enqueue_style-with-conditionals/</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; wp_enqueue_style(<br>
&gt;&gt;&gt;    &#39;ie7-style&#39;,<br>
&gt;&gt;&gt;    get_template_directory_uri() . &#39;/ie7.css&#39;<br>
&gt;&gt;&gt; );<br>
&gt;&gt;&gt; global $wp_styles;<br>
&gt;&gt;&gt; $wp_styles-&gt;add_data( &#39;ie7-style&#39;, &#39;conditional&#39;, &#39;lte IE 7′);<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; This might move into the Guidelines, as *Recommended* implementation of<br>
&gt;&gt;&gt; enqueueing IE-conditional stylesheets. Thoughts?<br>
&gt;&gt;&gt; Chip<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; theme-reviewers mailing list<br>
&gt;&gt;&gt; <a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
&gt;&gt;&gt; <a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; theme-reviewers mailing list<br>
&gt;&gt;&gt; <a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
&gt;&gt;&gt; <a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; theme-reviewers mailing list<br>
&gt;&gt; <a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
&gt;&gt; <a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; theme-reviewers mailing list<br>
&gt; <a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
&gt; <a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; theme-reviewers mailing list<br>
&gt; <a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
&gt; <a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
&gt;<br>
&gt;<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>
<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>
<br></blockquote></div><br>
</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></div>