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 Show or Hide Widgets in Static Pages

The following conditional tags marked with blue just before and after to hide the widget from Static Pages in Blogger. For instance, if you want: Data View is indicating the...Read more !

What are the benefits of blogging?

Benefits of Blogging Blog gives you an opportunity to talk on any topic and express your opinion. If you are fond of writing, then you can fulfill this hobby through...Read more !

Apart from blogging, how many other ways can online money be made?

Everyone wants that free time to earn some money and to increase their income. Today we will talk about this, there are ways through which cones can be earned from...Read more !

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 !

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.