Removing the Label Count on Your Blog

When you are using blogger platform, the default setting for the label is that the count of post of every label was included on the display. However, this can be eliminated by implementing a simple tweak on your template.

How to remove label count on blog

Step 1. Open your template by going to edit html, then check the expand widget box to reveal your entire template html code.Step 2. Before you implement this tweak, download first your template for backup just in case you want to bring back your old template when something goes wrong.
Step 3. Search for the following code:

<b:widget id='Label1' locked='false' title='' type='Label'>
<b:includable id='main'>
<b:if cond='data:title'>
<h2><data:title/></h2>
</b:if>
<div class='widget-content'>
<ul>
<b:loop values='data:labels' var='label'>
<li>

<b:if cond='data:blog.url == data:label.url'>
<data:label.name/>
<b:else/>
<a expr:href='data:label.url'><data:label.name/></a>
</b:if>
(<data:label.count/>)
</li>
</b:loop>
</ul>

Step 4. Look for the code <data:label.count/> and delete this code.
Step 5. Preview the result, then select OK when the result is desirable.
Step 6. Save your template.

Feel free to comment of what you think about this simple tweak removing the label count on your blog.

No comments:

Post a Comment