[support] Where to add items to the <head> section for all pages?
Dotan Cohen
dotancohen at gmail.com
Sun Sep 16 09:58:24 UTC 2012
On Sun, Sep 16, 2012 at 12:24 AM, Cory Gilliam <imaaxa at gmail.com> wrote:
> Hey Dotan,
>
> Find the folder of your them and open the [theme-name].into file
> Add the line: scripts[] = [path]/[file-name].js
> Clear the them cache by going to: http://[site-name]/admin/appearance
>
> Done.
>
> This should be done only to your sub theme and not core. If you do an
> update on your theme later, this will be replace.
>
Great, thanks. Done!
In addition to the .js files, there is one bit of Javascript that I
would prefer to actually appear in the page itself. How should I add
it, other than hacking the HTML template file?
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
More information about the support
mailing list