Disaply Widgets In Homepage Only (blogger tips)
Saturday, January 19, 2013
- How To Display Specific Widget On Homepage
- Before going through this tutorial, you should be familiar with different type of page type. Take a quick review of different page type in blogger from here.
- How To Display Popular Post Widget In Homepage Only
- In blogger dashboard, Go to Design / Edit HTML.
- Click "Expand Widget Template".
- Download full template before making any changes in it ( more).
- Search Popular Posts in blogger template, then
- Note:
- In some cases you may find difficulty in finding Popular Posts in blogger template as it is user defined name. It may be different for your template but you can easily get it. It is a title of Popular Post widget and can be obtained on homepage. The following figure will illustrate it.

<b:widget id='PopularPosts1' locked='false' title='Popular Posts' type='PopularPosts'> <b:includable id='main'> <!--Some HTML Code Here --> </b:includable> </b:widget>
- Add the red code which is given below in above code.
<b:widget id='PopularPosts1' locked='false' title='Popular Posts' type='PopularPosts'> <b:includable id='main'> <b:if cond='data:blog.pageType == "item"'> <!--Some HTML Code Here --> </b:if> </b:includable> </b:widget>
In same way you can hide or show more widget in homepage.
How To Display Blog Archive In Homepage Only
- Search Blog Archive in blogger template, and then get the following code.
- Add the red code which is given below in above code.