[theme-reviewers] Enque-ing

Chip Bennett chip at chipbennett.net
Mon Feb 20 14:58:52 UTC 2012

There seems to be some... latitude from higher-ups regarding leaving the
wp_enqueu_script( 'comment-reply' ) in header.php (can't say I agree, but
it's not worth fighting over at this point). But other than that, all
enqueues should be in functions.php, hooked intp wp_enqueue_scripts. Any
calls to add_theme_support() must be in functions.php, hooked into


On Mon, Feb 20, 2012 at 1:45 AM, Paul Appleyard <paul at spacecat.com> wrote:

> Hi again
> Is it required that scripts be enqueued in functions.php (or an included
> settings file)? Obviously it's best practice (as well as grouping them in a
> function)
> Author has an add_theme_support() in header.php and a wp_enqueue_script()
> as well.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20120220/1926f0c3/attachment.htm>

More information about the theme-reviewers mailing list