[theme-reviewers] Enque-ing
Paul Appleyard
paul at spacecat.com
Tue Feb 21 13:24:01 UTC 2012
Hmm, that's not specifically stated in theme review codex - where should
that be added?
On 21/02/2012 12:58 AM, Chip Bennett wrote:
> 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 after_setup_theme.
>
> Chip
>
> On Mon, Feb 20, 2012 at 1:45 AM, Paul Appleyard <paul at spacecat.com
> <mailto: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.
>
>
>
> _______________________________________________
> 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/20120221/03606712/attachment.htm>
More information about the theme-reviewers
mailing list