
This tutorial explains how to display specific number of posts in Blogger Labels page
Please Note: Before Editing your Template, Save a copy of your current template by clicking ‘Download Full Template’ in ‘Edit HTML’ page of the Blogger ‘Layout’ Window and ‘Preview’ the changes before Saving.
Steps
- Go to Blogger Design page – Edit HTML – and click Expand Widget Templates.
- Then Search(Ctrl+F) the following line in your template:
data:label.url
(normally appear at 3 places)
- Now replace all occurrence of the above code with:
data:label.url + "?max-results=5"
(replace 5 with the number of posts you want to display)
- Save the template. Done!
Share the tutorial to your friends!
You May Also Like:

Article by
Shafar.
About the Author: Tech Freak, Android Lover, Wordpress Addict, Social Media Junkie and the Founder of TipsBlogger.
To submit guest posts to TipsBlogger, please read the Guidelines.
Leave a Reply
thanks i did not see the post here and so i have asked you
it is not working for fresh brown template http://blogger-templates2010.blogspot.com/2009/05/blogger-template-fresh-brown.html please help me
@Ritesh Kawadkar1) My current template is the same Fresh Brown you mentioned here. This hack is 100% working fine in this template! Make sure that you checked 'Expand Widget Templates'.2) You can refer the following hack to get such kind of 'blue containers' to display in your blog posts!
http://www.techieblogger.com/2008/08/display-css-codes-and-scripts-in-unique.htmlRegards..
Thanks, it worked
Now, how would you configure archives? I tried this but it didn't work: data:i.url + "?max-results=10"
@David BergeronHey it's working perfectly for Archive pages too! You need to replace EVERY occurrence of data:i.url Try again!
I Have Explained This Hack in More Simple And Perfect Way . Check Out..Limiting Number Of Post Showing In Labels
@PLaYeRNot bad!
It don’t work. plz help
Hi friend. I am still quite noob in blog and the entire aspects about this field. There are various jargons I still can’t understand. I’m not even sure I will be able to write half decent to yours. I am gonna read the whole site perhaps I will be able to learn your blogging style a little.
yeahh..this really work in my blog.
Thanks
i didn’t work for me..and even worse I’ve lost all my posts in the main page…even though i have saved the template..;(((((((((((((((((((((((((((((( i can’t make it right
((((((((
@Bea
Sorry for that. The ‘quotes’ in the code created the problem. Made changes, try again now. Do backup the template!