How to show / hide Blogger widget only in post pages


The following conditional tags marked with blue just before and after to hide the widget from specific pages in Blogger. For instance, if you want:

Showing Blogger widget only in post pages


<b:if cond="data:blog.pageType == "item""></b:if>
<!-- Here Is Your Content that you want to  show on Post Pages -->
</b:if>

Another Way to Show Blogger widget only in Pages


<b:if cond="data:view.isPage"></b:if>
<!-- Here Is Your Content that you want to  show on Pages -->
</b:if>

Another Way to Show Blogger widget only in Post


<b:if cond="data:view.isPost"></b:if>
<!-- Here Is Your Content that you want to  show on Post-->
</b:if>

Hiding Blogger widget in post pages


<b:if cond='data:blog.pageType!= "item"'>
<!-- Here is your content that you want to hide on post Pages -->
</b:if>
Bloggers Buzz My Coaching

Post a Comment

0 Comments