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.
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the theme-reviewers