Display results as :

Rechercher Advanced Search

Latest topics
» APC – December 2017
Thu Nov 09, 2017 7:28 pm by Admin

» iCreate UK – November 2017
Thu Nov 09, 2017 7:25 pm by Admin

» Transformers First Strike #1 [2017]
Thu Nov 09, 2017 7:19 pm by Admin

» Batman – Lost #1 [2017]
Thu Nov 09, 2017 7:15 pm by Admin

» Movavi PDF Editor v1.0 Multilingual
Sat Oct 14, 2017 9:59 pm by Admin

» Fast Bikes – November 2017
Sat Oct 14, 2017 9:56 pm by Admin

» Success: The Psychology of Achievement by DK
Sat Oct 14, 2017 9:54 pm by Admin

» The World’s Scariest Places by The Editors of LIFE
Sat Oct 14, 2017 9:51 pm by Admin

» Hunting Pirate Heaven: In Search of Lost Pirate Utopias by Kevin Rushby
Sat Oct 14, 2017 9:50 pm by Admin

RSS feeds


How to remove "Showing posts with label" in Label posts

View previous topic View next topic Go down

How to remove "Showing posts with label" in Label posts

Post by Admin on Tue Jun 04, 2013 1:49 pm

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.
you want to keep custom 404 message option from Blogger settings, use
the first method to hide the message and if you are OK with removing 404
page, use the second method.

Method 1: Hide "Showing posts with label" message

First and always backup your template before any editing

Then go to Template > Edit HTML
In Blogger default templates, search for
<body expr:class='"loading" + data:blog.mobileClass'>
....... and in custom templates, search for

Add the below code just after above code.

<b:if cond='data:blog.pageType == "index"'>
<b:if cond='data:blog.searchLabel'>

Your new code will look like this.

Now save template and check this hack by clicking on any label link. remove label status message
Code is added just after body tag

Method 2: Remove Showing posts with label message and custom 404 page option

Go to Template > Edit HTML
Press Ctrl+F and find the following code. If you are not successful, search only the first line

<div class='status-msg-wrap'>
        <div class='status-msg-body'>
        <div class='status-msg-border'>
          <div class='status-msg-bg'>
            <div class='status-msg-hidden'><data:navMessage/></div>

Delete the entire code and Save the template, now check the result by clicking any of your labels


Posts : 2759
Join date : 2012-06-08

View user profile

Back to top Go down

View previous topic View next topic Back to top


Permissions in this forum:
You cannot reply to topics in this forum