Get a free trial // Grow your CSS skills // Land your dream job

Adding “onload” to WordPress Body Tag

  • # October 25, 2012 at 4:58 am

    H all

    Title says it all really – is there a way this can be done?

    Basically I’m looking for a way to add _onload=”createGridder()”_ to the body tag so it looks like this:

    I’d like this to be done by editing a functions.php file as opposed to editing a template.

    Thank you in advance, Richard

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed