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

Wordpress Pros? Onload command

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

  1. crosscheck

    crosscheck Regular Member

    Joined:
    Aug 12, 2010
    Messages:
    413
    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:
    247
    Likes Received:
    73
    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