[theme-reviewers] stylesheet import vs enqueue
Emil Uzelac
emil at themeid.com
Wed Oct 19 20:39:16 UTC 2011
yeah, but when using Child Themes @import is the only way. I did so many
testings with @import and it's not that bad for page speed. Take look here
http://gtmetrix.com/reports/themeid.com/3lPMJoNz priority is medium and not
critical at all ;)
*----*
*Emil Uzelac* | ThemeID | T: 224-444-0006 | Twitter: @EmilUzelac | E:
emil at themeid.com | http://themeid.com
Make everything as simple as possible, but not simpler. - Albert Einstein
On Wed, Oct 19, 2011 at 3:32 PM, Otto <otto at ottodestruct.com> wrote:
> BTW, @import is bad and should generally be avoided for speed reasons.
> There's some good reasons to use it at certain times, and some very
> good reasons not to the rest of the time.
>
> More: http://www.stevesouders.com/blog/2009/04/09/dont-use-import/
>
> -Otto
>
>
>
> On Thu, Oct 20, 2011 at 2:26 PM, Justin Tadlock
> <justin at justintadlock.com> wrote:
> > That's perfectly fine.
> >
> > The stylesheets that must be enqueued are additional stylesheets other
> than
> > the main style.css if you're adding them to the header.
> wp_enqueue_style()
> > should be used as opposed to adding <link rel="stylesheet"> directly to
> > header.php.
> >
> > On 10/19/2011 2:32 PM, Paul de Wouters wrote:
> >
> > Hi
> > In the theme review guide by Chip, it says stylesheets must be enqueued,
> so
> > does that mean that if the main stylesheet is empty except for 3 @import
> > declarations, the theme isn't valid?
> >
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20111019/905b1a02/attachment-0001.htm>
More information about the theme-reviewers
mailing list