Wordpress Pros? Onload command

Discussion in 'Web Design' started by crosscheck, Jul 13, 2013.

  1. crosscheck

    crosscheck Regular Member

    Joined:
    Aug 12, 2010
    Messages:
    418
    Likes Received:
    221
    Occupation:
    The Boss
    Location:
    West Coast EH
    I have a script that I want to place on the top of every page of a wordpress site. It requires the code in the Head, a onload command in the body and a piece of code in the area I want to place it.

    How do I get the onload code into the body in WordPress?

    Any help much appreciated :)
     
  2. SEOWhat

    SEOWhat Regular Member

    Joined:
    Feb 7, 2013
    Messages:
    272
    Likes Received:
    75
    Occupation:
    Web designer, We Developer, SEO
    Location:
    EU
    all you have to do is place it inside footer.php file of your template, right before </body> tag
     
    • Thanks Thanks x 1