October 25, 2020

How to Show widget only on homepage in blogger

Advertisements


1. Go to your www.blogger.com 

2. Select your blog in which you want to fix a value for the name field is required 


3. Click on Theme from Left Menu.
4. Click on Arrow my theme like bellow.


5. Click on Backup/Restore your template before doing any Changes.
6. Click on Arrow my theme on Again and click to Edit HTML.
7. Find the Widget in Which you Show only on homepage blogger


To  show widget only on homepage blogger, you need to add Following Conditional Code


<b:if cond='data:blog.url == data:blog.homepageUrl'>

</b:if>


Add the     <b:if cond='data:blog.url == data:blog.homepageUrl'>     code  just after the   <b:includable id='main'> code in That Widget




Add the   </b:if>    code  just before the      </b:includable>      code in   That Widget


Now you are successfully added the code. and your wiidget will only  Show  only on homepage blogger.





Share This Post To Social Network





0 Comments:

Post a Comment