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

tttttt
YYY

If you want to get the posts with certain label in any blog, you click the link of the label. In default blogger layout you will see "showing posts with label ....show all posts." message on every archive page of that label. Since many bloggers don't like to have this message displayed on their blogs, I m going to give you simple tips to remove it from your blog.


Here is the instruction.
How to remove "Showing post with label...show all posts"

Before changing any codes on your XML, dont forget to backup your template first.

Step 1.
If you are using the old Blogger interface:
Go to Dashboard - Design - Edit HTML - Expand Widget Template (make a backup)

If you are using the new Blogger interface:
Go to Dashboard - Template - Edit HTML - Proceed - Expand Widget Template (make a backup)

Step 2. Now find these codes in your template. use (CTRL+F).

<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>


Step 3. Replace this with this code

<b:includable id='status-message'>
<b:if cond='data:navMessage'>
<div>
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>

Save the template and check if the message has been removed or not by clicking any label of the blog.
CHEERS!!

Post a Comment

.