[theme-reviewers] (no subject)

Philip M. Hofer (Frumph) philip at frumph.net
Sat Jun 9 18:40:25 UTC 2012


Silly email didn't send the rest ;/

The reason for what I wrote as a hardcoded link is because of 'order of 
execution'.   The preferred method of having the style.css be executed first 
then additional style that may (or may not) override the style.css execute 
after that.

With enqueuing of the main style.css it has the possibility of executing 
(being placed) after other things that would override it when the end user 
wants to use it.

While its self evident that the guideline states that styles and scripts be 
registered then enqueued, this is the one instance that it's preferable that 
it is hardcoded into the header.php.



-----Original Message----- 
From: hal-android
Sent: Saturday, June 09, 2012 10:52 AM
To: theme-reviewers at lists.wordpress.org
Subject: Re: [theme-reviewers] (no subject)

Phillip
This will go to header as style.css

The output:
<link rel='stylesheet' id='krakatau_style-css'
href='http://mydomain.com/wp-content/themes/krakatau/style.css?ver=0.0.7'
type='text/css' media='all' />
_______________________________________________
theme-reviewers mailing list
theme-reviewers at lists.wordpress.org
http://lists.wordpress.org/mailman/listinfo/theme-reviewers 



More information about the theme-reviewers mailing list