This tutorial explains how to show the Blogger widgets( like links,adsense ads,etc) on your blogspot blog Homepage Only or Post Page Only or even item page only:
Usually, by default.. when we add a widget item like link units, profile, Archives, Adsense ads,Pictures,etc in Blogger blog , it will be displayed in every page of the blog including the homepage, Permalink pages,etc. In this blog there are so many widgets all over the page and every widgets are desplaying on every pages. But, what if you want to display a specific widget like a blog link,ads in only the homepage and not in the post pages and viceversa? If you want to do so, then revise the following codes for a short notice...
For Home page only:
<b:if cond='data:blog.url == data:blog.homepageUrl'>Showing in only Post Pages (Permalink pages):
<b:if cond='data:blog.pageType == "item"'>Showing Widgets on a Specific Blog Post url:
<b:if cond='data:blog.url == "Blog Post URL"'>
Installation:
Now you will need to place the code. So search for the widget that you want to hide or show according on pages but you will need to place the code just below the following code
<b:includable id='main'>
Now you will need to close the tag, So you will also place the following code
</b:if>
befor the this one
</b:includable>
0 Response to 'Widgets in HomePage Only or Post Page Only'
Post a Comment