[theme-reviewers] HeadJs Question

Chip Bennett chip at chipbennett.net
Sun Jan 27 14:07:49 UTC 2013


Make that get_template_directory_uri() rather than
get_stylesheet_directory_uri(), unless you're intending for Child Themes to
bundle/override your scripts.


On Sun, Jan 27, 2013 at 7:31 AM, Shinra Web Holdings <
contact at shinraholdings.com> wrote:

> Scripts are supposed to be enqueued using *wp_enqueue_scripts()*. Also
> you should use *get_stylesheet_directory_url()* instead of *
> get_bloginfo('template_url')*.
>
>
> On Sun, Jan 27, 2013 at 2:57 AM, Satrya Bima <satryabima24 at gmail.com>
> wrote:
> >
> > Hello,
> >
> > I am wondering, if Headjs method allowed in the repository? Here's what
> I mean http://forrst.com/posts/Integrating_Head_js_with_Wordpress-ROa
> >
> > Thanks a lot :)
> > _______________________________________________
> > theme-reviewers mailing list
> > 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/20130127/fbe294da/attachment.htm>


More information about the theme-reviewers mailing list