adding the "if" for single blog posts, how?

Discussion in 'Blogging' started by Lorelei, May 10, 2007.

  1. #1
    I'd like to add an adsense ad at the end of each post on my blog entries, but only if a single post is viewed, not when the list of posts in category is viewed or when the front page is opened. How do i do it? anyone has the <if> code for it?

    thanks in advance
     
    Lorelei, May 10, 2007 IP
  2. ahkip

    ahkip Prominent Member

    Messages:
    9,205
    Likes Received:
    647
    Best Answers:
    0
    Trophy Points:
    310
    #2
    just put adsense code in the singlepost.php in the template
     
    ahkip, May 10, 2007 IP
  3. Lorelei

    Lorelei Notable Member

    Messages:
    1,789
    Likes Received:
    166
    Best Answers:
    0
    Trophy Points:
    205
    #3
    thanks for ur replay!
    that is the problem, i dont have it, i am using rounded-v2-blue-edition theme for my blog, so there is only main index page where all the post configurations are defined...
     
    Lorelei, May 10, 2007 IP