Conditionally load CSS
-
Great plugin. Love how simple and fast it is!
Once very important suggestion.
I would recommend tweaking it so that the CSS file only loads if the shortcode is present or the code is selected to load (is_single etc).
You can very easily adapt some of the methods described here http://scribu.net/wordpress/optimal-script-loading.html
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Conditionally load CSS’ is closed to new replies.