Blogger

How to Remove Showing Posts with Label


For any default Blogger layout, Label is very useful thing which user wants to get particular category. Lot of bloggers use label gadget to split. But most of owners not like this kind of message while click any label link from default blogger templates like this


The "Showing posts with label" message shows up above the posts each time  you click on label link. As it's a pretty useless and annoying message, many people want to remove it. We can remove this message blogger uses a variable called data:navMessage for putting this message to your template. We can remove this from your template and the label message won't be there anymore. But there is a problem with this method, your custom 404 page won't show up, because Blogger uses the same data:navMessage variable for inserting your custom 404 message.

 

 If that is your wish, just follow the tutorial below:

1- Go to Dashboard  >>  Template  >>  Edit HTML
  

2- Click in the template box code and press Ctrl + F then type this code:
<b:includable id='status-message'>
3- After found it, click on the sideways arrow next to it.


4- Below is this code that need to remove - along with the first one, as well


5- Replace all the above code with the following code:
<b:includable id='status-message'>
<b:if cond='data:navMessage'>
<div>
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>


6- Save template and view your blog and click on one label.

Now you couldn't see the "Showing posts with label".

Don't forget to share this awesome tip to your friends by clicking sharing buttons below.


0 comments:

Post a Comment

Powered by Blogger.