How to add onload code INSIDE tag
-
Hi,
I’m trying to add a google forwarding number to a wordpress website. This requires adding a code snippet directly in the <body> tag, like this:<body onload="_googWcmGet('number', '1-800-123-4567')"> <span class="number">1-800-123-4567</span> </body>
I can’t figure out a way to do this… The only way I know how to do this would be to add the code directly to the template (make a child theme), but i’d like to avoid that.
Any help appreciated.
Thx
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How to add onload code INSIDE tag’ is closed to new replies.