Why Adsense code not found in subcategories/posts

Discussion in 'Blogging' started by Jalpari, Jan 6, 2008.

  1. #1
    I have put my adsense code in sidebar.php file of template but adsense ads r displayed only at homepage. Plz have a look at my blog and let me know whats wrong with it. http://thebeautyonline.com/blog

    (In the past i put adsense code by using same trick that time it was working at every page of my blog)
     
    Jalpari, Jan 6, 2008 IP
  2. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #2
    Your Blogroll and Meta aren't on the other pages either. I'd venture a guess that you've fat fingered some code in your sidebar.php...
     
    mizaks, Jan 6, 2008 IP
  3. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #3
    now what to do? Do i need to reinstall sidebar.php file
     
    Jalpari, Jan 7, 2008 IP
  4. nofullstop

    nofullstop Peon

    Messages:
    1,393
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    0
    #4
    yeah you need to or else if you got the original copy of the theme (which everyone must keep with them) than compare the codes and correct it. There seems to be no reason why ads will display on homepage and not on single post page considering you using only 1 ad unit!
     
    nofullstop, Jan 7, 2008 IP
  5. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #5
    I have re-install the file but its not working. I think its designer mistake. Its a free template
     
    Jalpari, Jan 10, 2008 IP
  6. nofullstop

    nofullstop Peon

    Messages:
    1,393
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    0
    #6
    than it should be..but what kind of mistake is this??

    I mean the single post page will call the sidebar.php file and the homepage will also call the same sidebar.php file

    how come the single post page isn't displaying the ad??

    can you understand some php?
     
    nofullstop, Jan 10, 2008 IP
  7. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #7
    I can understand basic php well however i tried to find the problembut can't get it however i have change my template into new one have a look ...... Its better
     
    Jalpari, Jan 11, 2008 IP
  8. nofullstop

    nofullstop Peon

    Messages:
    1,393
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    0
    #8
    looks great but that large square adsense ad seems soo disturbing.

    The one just below header and just above the heading! Better have that ad below the heading and before the text starts. And that too only in the single post page. You can check my blog CompuWorld (link in signature) to understand what I mean.

    And if you would like to subscribe to new blog theSenorita.com where every Sunday I will write articles about girls :)
     
    nofullstop, Jan 11, 2008 IP