• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

How to insert code into the body tag

RobinHood

Well-known member
#1
I've got some code snippets I'd like to insert into my site, they request that they're inserted before the closing </body> tag.

I'm not sure which template I should be digging around in to find this, any ideas please?

Thanks
 
R

ragtek

Guest
#3
You should use the template hooks for this.
If you edit the templates, and you need to revert the template after a xenforo upgrade, you'll need to insert all the changes again....

(also if you install a second style, you'll need to edit the templates once again for the new style, that's also not necessary if you use template hooks! )