How can I add script code to the body tag - sitewide - and not have it overwritten during upgrades?
How can I add script code to the body tag - sitewide - and not have it overwritten during upgrades?
+1, I'd also like to know :D
Hi,
Please have a check with this formula:
<sourcecode>
</sourcecode>
[spam link moderated]
Oh, I think my question is slightly different. I'm trying to add a custom 'onLoad=""' attribute to the <body> tag itself. I'm guessing you can do this with a filter perhaps, though I haven't looked into it.
@on_edge & @jabalsad:
Have you people found a solution? I am looking for the same thing.
It seems that nobody can find the body tag. Did anyone of you add Google Analytics to a blog?
How does it works!
The best way to add google analytics is to use the plugin - google analyticator
It will do if for you automatically
emmmm.....you are trying to put this above the body closing tag. check your footer.php in wp-contents -> themes -> default or classic (whichever one you are using). There's no need for the plugin.
This topic has been closed to new replies.