Wednesday, 25 September 2013

Techniques of Adding New Widget Sections In Blogger On Different Places?



Adding new widget sections in blogger template is very easy task to do. There are many posts about this topic on the internet but those are very lengthy to read. Purpose of my post is to clear the concept.

If you want to add a widget which should be shown on home page of your BlogSpot blog then you have to follow these steps.

Step # 1. Go to templates section of your blog and click on html Editor.

Step # 2. Now decide where you want to add new widget section.

Step # 3. And past below code and save.


<b:if cond='data:blog.url == data:blog.homepageUrl'>
<b:section class='sidebar' id='magazine-left' showaddelement='yes' >
<b:widget id='Text51' locked='false' title='Test Title 1' type='Text'/>
</b:section> </b:if>

If you want to add a widget which should be displayed on every page of your blog then you have to past below code in the corresponding area and save the template. All other steps will remain same.



<b:section class='sidebar' id='magazine-left' showaddelement='yes' >
<b:widget id='Text51' locked='false' title='Test Title 1' type='Text'/>
</b:section>

No comments:

Post a Comment