Place Ad on single blogger post page

Discussion in 'Google' started by Packer, Aug 18, 2008.

  1. #1
    I know the title of the thread is bit confusing, here I have mentioned my problem in detail.
    I have planned to put all the links I exchange on a separate page in blogger. To do so I create a post dated post(so that it do not show on the home page) and put exchanged links into it. But doing so also shows the ad which I am showing on the individual post page. I don't want ads to be shown on this link page. Is there any way to check for the URL of the individual post page such that I can prevent the ads showing on the page containing the links? I hope I have explained the situation clearly. can anyone help me please?
     
    Packer, Aug 18, 2008 IP
  2. yonghoshin

    yonghoshin Peon

    Messages:
    70
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It's a bit confusing to follow, but if you're just asking for a way to check a page's URL:

    <?php echo $_SERVER['SCRIPT_NAME']; ?>
     
    yonghoshin, Aug 18, 2008 IP
  3. dominating_seo

    dominating_seo Active Member

    Messages:
    64
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Your post if very confusing, either you didn't explain properly or I didn't get it perfectly.

    But however from whatever i can understand from this post, I can say that publishing post-dated post wont help it out. The header, sidebar & footer are common for all page in a blog (either its post or a page), so if you have putted links on any among these three, I don't see a way out to get rid of it (except manually coding things).

    I look forward you to explain things in more detail.

    Regards,
    DS
     
    dominating_seo, Aug 18, 2008 IP
  4. Packer

    Packer Member

    Messages:
    69
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    48
    #4
    My apologies for not explaining the matter properly.

    The blogger allows us to place our links on the sidebar with the help of link list gadget. I want to place my links in a separate page altogether. To create a new page, I create a new post and date it back earlier in time such that it do not show on the home page. I place my links on the page and it shows up well but the problem is that the ad which I want to show along each post, also shows up along side. I show my ads in the post body by placing the following code in the template file after the tag <data: post.body/>

    <b:if cond='data:blog.pageType == "item"'>
    My parsed ad code
    </b:if>

    The above if condition makes sure that the ads appear only on individual post page. I want to know if there is a way to find the URL of the post page being shown so that I can use another if condition to make sure that the ads get displayed on all post pages except on this link page which is also a post page. Hence the new code on the template file will be;

    <b:if cond='data:blog.pageType == "item"'>
    <b:if IT IS NOT THE LINK POST PAGE URL>
    My parsed ad code
    </b:if>
    </b:if>

    I hope this post from me makes more sense now.
     
    Packer, Aug 19, 2008 IP
  5. Bohol

    Bohol Peon

    Messages:
    2,680
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Can you give us the url of your site so that we can see how it looks like.
     
    Bohol, Aug 19, 2008 IP
  6. Packer

    Packer Member

    Messages:
    69
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    48
    #6
    here is the link to the post page

    http://greenenviromentnews.blogspot.com/2008/08/test-link-post-page.html

    This is how I want my links to appear except for the image adsense which comes on the left of links. Actually this ad comes on all the individual post page but in the present scenario I don't want it to come. Hence the ad should come on all individual post pages except on this one.
     
    Packer, Aug 19, 2008 IP