It should be good, I have not find any issues with that. Not sure what others think.<span></span><br><br>On Friday, August 1, 2014, Sami Keijonen <<a href="mailto:sami.keijonen@foxnet.fi">sami.keijonen@foxnet.fi</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Emil, is you example loading parent and child theme style.css allowed in .org? It's seems handy way of loading parent theme's style.min.css file.<div class="gmail_extra">
<br><br><div class="gmail_quote">
On 16 July 2014 22:36, Emil Uzelac <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','emil@uzelac.me');" target="_blank">emil@uzelac.me</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div style="font-family:arial,helvetica,sans-serif">Empties are ugly and not really needed. </div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">
This is what I do for my clients:</div><div style="font-family:arial,helvetica,sans-serif"><br></div><div><div><font face="arial, helvetica, sans-serif"> // Parent theme style.</font></div>
<div><font face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap"> </span>wp_enqueue_style( 'my-style', get_template_directory_uri() . '/style.css', array(), null );</font></div>
<div><span style="white-space:pre-wrap"><font face="arial, helvetica, sans-serif"> </font></span></div><div><font face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap"> </span>// Child theme style.<span style="white-space:pre-wrap"> </span></font></div>
<div><font face="arial, helvetica, sans-serif"> if ( is_child_theme() ) {</font></div><div><font face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap"> </span>wp_enqueue_style( 'my-child-style', get_stylesheet_uri(), array(), null );</font></div>
<div><font face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap"> </span>}</font></div></div><div style="font-family:arial,helvetica,sans-serif"><br></div>
<div style="font-family:arial,helvetica,sans-serif">Parent style.css remains at the usual place and when child is active it will add it's own stylesheet :)</div><div style="font-family:arial,helvetica,sans-serif">
<br></div><div style="font-family:arial,helvetica,sans-serif">And of course no @imports either ;)</div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div><div dir="ltr"><div><div><div><br></div></div></div></div>
<br></div></div><div>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="javascript:_e(%7B%7D,'cvml','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></div></blockquote></div><br></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="javascript:_e(%7B%7D,'cvml','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><br clear="all"><div><br></div>-- <br><div dir="ltr">Sami Keijonen<br>Fox Holding Oy<br><a href="javascript:_e(%7B%7D,'cvml','sami.keijonen@foxnet.fi');" target="_blank">sami.keijonen@foxnet.fi</a><br>
<a href="http://foxnet.fi" target="_blank">foxnet.fi</a><div>
<a href="http://foxnet-themes.fi" target="_blank">foxnet-themes.fi</a></div></div>
</div></div>
</blockquote>