how to Change, re-format or remove the "showing posts with label" message in Blogger

When a reader clicks on a label on your blog, they are grated with a message telling them that they are now viewing all of your published posts that are categorized under that label.Unfortunately Blogger does not provide any way to customize this message but there are another ways to remove or change this status message from your blog-spot. So, I have created tutorial for it. If you want to either remove or change the message, Today's tutorial will show you how to Change or remove this from your blog or change the text that is displayed as well as how it looks.

To remove the message completely following these quick steps. Go to Theme > Edit HTML > Jump to Widget > Blog1. 
Theme > Edit HTML > Click anywhere inside the Template code, then search for the following code ( CTRL+F )
Under this you’ll see

<b:includable id='status-message'> ... </b:includable>

Delete showing posts with label message from blogger
Click on the black arrow on the left to  spread out this code.

<b:includable id='status-message'> <b:if cond='data:navMessage'> <div class='status-msg-wrap'> <div class='status-msg-body'> <data:navMessage/> </div> <div class='status-msg-border'> <div class='status-msg-bg'> <div class='status-msg-hidden'><data:navMessage/></div> </div> </div> </div> <div style='clear: both;'/> </b:if> </b:includable>
Replace it with the following

<b:includable id='status-message'> <b:if cond='data:navMessage'> <div> </div> <div style='clear: both;'/> </b:if> </b:includable>
Save the template. Now when a reader clicks on a label, the message won’t show. 
How To Change "Showing Posts With Label ... Show All Posts"
Same as in above.Replace the Removed Code with this code:

Replace the text in bold green with your own text for label message Here 

<b><data:blog.searchLabel/></b> is the Searched label. For eg: "Showing posts related to <b><data:blog.searchLabel/></b>" and this will be show as: "Showing posts related to YourLabel". 
Replace the text in Bold Blue with your own text for searched query message Here <b><data:blog.searchQuery/></b> is the search query. For eg: "Showing results for query <b><data:blog.searchQuery/></b>" and this will be shown as: "Showing results for query YourQuery".
edit, change or re-format showing post with label message
Click on Save Template.
Now click on label link or make any search on your blog, you will see your custom message at the top of the page. For any problem/issues related to above article Please Comment Below. 
Like this post? Please share with your blogger friends.

No comments:

Post a Comment