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

Related Posts

How to earn money instantly from blogging?

Event blogging can make more money quickly. An Event Blog is a blog to target for any festival such as Hawali, Raksha Bandhan, Diwali and there are many festivals in...Read more !

What is CPC in blogging?

Blogs do not have CPC, something like CPC is used in online campaigns. Which means the cost on a click is the cost of a click on an ad. Cpc...Read more !

The 10 Fastest Free WordPress Themes (Tested)

As your site’s foundation, your theme is always going to play a large role in how quickly your site loads. The great thing about WordPress, though, is that you don’t...Read more !

Leave a Reply

Your email address will not be published. Required fields are marked *