How to Remove Message : Showing Posts With Label

Once you’ve activated LABELS in your blog, by default you’ll get a message like this whenever you click on a label link:


For me it’s a pretty useless and quite an annoying message. If you wish to have this message removed from your blog, this is what you should do.

Step 1
Go to your blogger dashboard and click on TEMPLATE of the blog you wish to modify.


Step2
In your template page click on EDIT HTML


Step 3
Click any place inside the template code. Press CTRL+F to activate the search function.
Type or copy this code into the search block and press enter.

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

After you found the code (it will be highlighted) click on the arrow on the left hand side.
This is to expand the rest of the code.



Step 4

Replace this original 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>

with the following new code:

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

The easiest way is to copy the new code from this blog and paste it into your blog’s HTML to replace the old code.

Old code

New code


Step 5

Save your template.


No comments:

Post a Comment