Help with Adsense code insertion in Wordpress Blog

Discussion in 'Programming' started by reallykool, Feb 13, 2008.

  1. #1
    I'm using the wordpress & Adman plug for adsense on my posts on http://livingoffdividends.com.

    adsense shows up properly in the posts. However it does NOT show up on the "Pages".

    Past 2 days, my traffic was up 7 fold due to someone stumbling my "philosophy" page. But my adsense revenue was actually slightly below average. Thats when I realized that adsense isn't showing up on my "pages".

    looking at the theme editor, i can't figure out where to place the code specific to pages.

    through the wp admin console, I tried looking in the some of obvious sounding pages like 'main index template', 'single post' and 'page template' but i'm not really sure where to insert the code.

    does anyone have an idea where to place it directly in the code (which file to add it in)?

    appreciate any help.
    thanks.
     
    reallykool, Feb 13, 2008 IP
  2. elgourmet

    elgourmet Guest

    Messages:
    55
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    mhmm, i dont see any reason why your adsense shouldnt display in your pages. are you sure you used the right code?
     
    elgourmet, Feb 14, 2008 IP
  3. vegasb2k

    vegasb2k Active Member

    Messages:
    432
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    60
    #3
    You have to put the code in the single page file as well as the individual post file. (And the archive file and wherever else).
     
    vegasb2k, Feb 14, 2008 IP