[theme-reviewers] Adding <style> tag to <head>, functions.php or header.php?
Yentl Bresseleers
hello at design311.com
Wed Jul 23 00:16:16 UTC 2014
Oh right the wp_head hook, of course, thanks!On 23/07/2014 02:15, Chip
Bennett wrote:
> It must be enqueued, and hooked at an appropriate action. If it's a
> stylesheet bundled with the Theme, it should be enqueued via
> wp_enqueue_style(). If it's a directly output <style>, then it should
> be in a callback, hooked into wp_head.
>
>
> On Tue, Jul 22, 2014 at 7:11 PM, Yentl Bresseleers
> <hello at design311.com <mailto:hello at design311.com>> wrote:
>
> How do you correctly add a style tag to the head, do theme authors
> use functions.php or can they add it in their header.php?
>
> Example, a theme author allows users to select a google webfont
> for titles, now this webfont needs to be added to the CSS.
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> <mailto:theme-reviewers at lists.wordpress.org>
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
>
>
> _______________________________________________
> 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/20140723/c1dde0d1/attachment-0001.html>
More information about the theme-reviewers
mailing list