FIX NUMBER OF POSTS ON BLOGGER LABEL SEARCH PAGE |
1. Login to Blogger with your ID.
2. Click Template.
3. Click tab Edit HTML > Proceed > Select Expand Widget Templates.
4. Find Code
expr:href='data:label.url'
5. You may find the above code at more than one places. So replace the above code with following code at all the places.
expr:href='data:label.url + "?max-results=10"'
6. You can change max-results=10 for the number of posts you want to display on label search page.
7. Click SAVE TEMPLATE buttons, and wait until your template saved. Now check blogger.
8. You can manually set label links in sidebar/menu as - http://musicrootz.blogspot.com/search/label/YOUTUBE?max-results=10
Another Way
2. Click Template.
3. Click tab Edit HTML > Proceed > Select Expand Widget Templates.
4. Find Below Code
<a expr:dir='data:blog.languageDirection' expr:href='data:label.url'>
<data:label.name/>
</a>
</b:if>
<span dir='ltr'>(<data:label.count/>)</span>
5. Then Replace It With Below Code
<a expr:dir='data:blog.languageDirection' expr:href='data:label.url + "?max-results=10"'>
<data:label.name/>
</a>
</b:if>
<span dir='ltr'>(<data:label.count/>)</span>
6. You can change max-results=10 for the number of posts you want to display on label search page.
7. Click SAVE TEMPLATE buttons, and wait until your template saved. Now check blogger.
No comments:
Post a Comment