Featured Post

Two days training on creating blogs and techniques for guaranteed earning

Are you a blogger? Is it’s your hobby? Or even trying to establish in this sector and earn money online? Are you frustrated by trying se...

Thursday, March 7, 2013

Show ads only on post pages of a blog

There may be certain limit of putting ads from certain advertising company (suppose adsense) on a page. In this case, if you put ads below the post title, it will be seen on all posts of home page. But what if you want to show ads on post pages only? Below is how you can show ads on post pages only (not on blog home page).

To show ads on blog posts only

First of all, go to your blog dashboard, click LAYOUT then  EDIT HTML and EXPAND THE WIDGET TEMPLATES.

Search for widget id link (search by widget topic)

Just below b:includable tag, add this piece of code

<b:if cond='data:blog.pageType == &quot;item&quot;'> 

 Now put your ads code and close with </b:if> code.

Example:

<b:if cond='data:blog.pageType == &quot;item&quot;'>

YOU ADS CODE GOES HERE

</b:if>

That's it. Click PREVIEW if it looks OK, click SAVE TEMPLATE.

4 comments:

  1. Hi, you make mind blowing ideas about Place your ads and a spectacular article here. Last time, when I saw your site this was a little good but today I visit the web site again and find that you are making a very smart work on the site. Today Web surfing is run very fast and a huge competition over the web is spread. So it is quite interesting. Thanks

    ReplyDelete
  2. Just amazing article. It is the one I was searching for and it helped me a lot. Thanx for such an informative article.

    ReplyDelete
  3. Sell and buy used and new goods.
    Post ads for free or get free account via Facebook Login in one click.
    More details post ad

    ReplyDelete