I can't find <head><head/> to insert ad code

Discussion in 'HTML & Website Design' started by Mokey, Mar 26, 2009.

  1. #1
    Hi,

    I am totally confused! I need to insert some ad code in the <head><head/> section of every page, but I have no clue how to go about finding/doing this! I'm not even sure it's possible when I'm using an automated Wordpress blog. Obviously, I'm a noob...

    Any help you could give me...in the simplest of terms would be greatly appreciated.

    Thanks,
    Monique
     
    Mokey, Mar 26, 2009 IP
  2. rhoula

    rhoula Well-Known Member

    Messages:
    875
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    145
    #2
    I will be more than happy to help you please Pm the link to the pages you are trying to change and we will go from there.

    Thank you
     
    rhoula, Mar 26, 2009 IP
  3. Tuomas

    Tuomas Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I'll help too. Never worked with Wordpress code, so it'd be a good experience for me - though I shouldn't be admitting this here since it turns you away from asking me for help - though rhoula probably already helped since I'm two days late ^_^;
     
    Tuomas, Mar 28, 2009 IP
  4. nontemplates

    nontemplates Peon

    Messages:
    782
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Its in the header.php file.
     
    nontemplates, Mar 28, 2009 IP
  5. edjackiel

    edjackiel Active Member

    Messages:
    36
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    95
    #5
    Yup. Login to your Wordpress control panel, look on the left sidebar and find "Editor" under the Appearance menu. Click the "Editor" link. You'll see a link to edit "Header (header.php)" on the right side now.

    Add the ad code to the <head></head> section you'll see in the code box there.

    Rep appreciated if this helped you.
     
    edjackiel, Mar 28, 2009 IP
  6. nontemplates

    nontemplates Peon

    Messages:
    782
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Should have added that you only need to do it once for all the pages since the header.php file is loaded every time a page is called (at least unless your theme is nonstandard). As in all cases. Make a back up before you make changes.
     
    nontemplates, Mar 28, 2009 IP
  7. anildewani

    anildewani Peon

    Messages:
    1,132
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Just edit the header.php file of the theme, and see if it has an <head></head> tag

    now if it does not have, just add it at last by yourself and add your code in between. :)
     
    anildewani, Mar 29, 2009 IP
    RightMan and Digital_shubhi like this.