Display results as :

Rechercher Advanced Search

Latest topics
» Water Bottle Flip 2 | Dude Perfect - 10 Million Views in 2 days
Thu Nov 23, 2017 9:05 pm by Admin

» Binging with Babish: Rachel's Trifle from Friends
Thu Nov 23, 2017 9:01 pm by Admin

» $1,977 Japanese Grapes - About 4 million views in 4 days
Thu Nov 23, 2017 8:58 pm by Admin

» Superman-Batman Vol. 5 [2017]
Thu Nov 23, 2017 8:53 pm by Admin

» BluffTitler Ultimate v13.6.0.2 Multilingual
Thu Nov 23, 2017 8:44 pm by Admin

» Ultra HD 3840×2160 Wallpaper Pack 192
Thu Nov 23, 2017 8:38 pm by Admin

» Weather Station v3.4.8
Thu Nov 23, 2017 8:36 pm by Admin

» Photography Week – 23 November 2017
Thu Nov 23, 2017 8:31 pm by Admin

» CCleaner v1.23.101 [Professional]
Thu Nov 23, 2017 8:23 pm by Admin

RSS feeds


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

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 : 2774
Join date : 2012-06-08

View user profile

Back to top Go down

Back to top

- Similar topics

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