I'm working on a child theme for a base theme that mixes equal parts of <link>
CSS and wp_enqueue_style()
CSS. This base theme has me thinking - I don't see any advantages to using <link>
, other than that it may it's a simpler solution for very simple themes. (for example, using <link>
can be done without a functions.php
file)
As far as I can tell, <link>
is less flexible than wp_enqueue_style()
, and using a combination of <link>
and wp_enqueue_style()
just makes things downright convoluted. Am I missing something?
wp_enqueue_style()
over<link>
, but as you can see, this question is a little different than that. Thanks for stopping by!<!--[if lt IE 9]><link ... /><![endif]-->
)