Thursday, July 05, 2012

How to change maximum number of posts in Blogger label page

Blogger has set a default maximum 20 blog posts in its label page (category page). This may or may not suit your preference or your purpose in setting up the label page. You may want to decrease it to increase download time. Alternatively, you may want to increase the maximum number of posts to show all posts with the same label (category).

If you want to change this default maximum number of post, you will have to edit the template. First, backup your blog template (Dashboard > Template > Backup (at the top right corner) > Download full template > All files)

Now you got to open the template editor (Dashboard > Template > Edit HTML). Tick [ ] Expand Widget Templates

Now use ctrl+F to help you find the following codes:

expr:href='data:label.url'

Replace the above with the following (I used the number 150 because I want all posts to be displayed in the label page. You may use other numbers in place of 150):

expr:href='data:label.url + "?max-results=150"'

Repeat this for all instances of expr:href='data:label.url' that you can find. I think for the Simple template, there will be 3 instances, so the above will have to be repeated 3 times.

When done, save template and exit.

19 comments:

  1. I've recently started a site, and the information you offer on this site has helped me greatly. Also it has excellent and very informative. After going through this great content i came to know lots of things which will help me to enrich my knowledge.

    ReplyDelete
  2. I was searching for the same post. When i click in labels all the post in those labels are shown. Thanks for sharing.

    ReplyDelete
  3. It really works thanx friend your are genius

    ReplyDelete
  4. Informative post! I like this post..Thanks for sharing!

    ReplyDelete
  5. your blog is so nice, i love your blog Best Blogging Tricks thank you for providing useful tips and tricks
    Thank You...

    ReplyDelete
  6. simple but valuable. thanks for the post.

    ReplyDelete
  7. This isn't working for me. I have one strange post (http://runningwithcertainty.blogspot.fr/2012/07/easy-10k-getting-slightly-lost-as-usual.html) which never lets me see anything beyond it. Even if I click just on the month which contains only 11 posts. Any ideas?

    ReplyDelete
  8. Thanks for sharing this post. I will look into changing my blog label numbers.
    www.internetinvestmentideas.com

    ReplyDelete
  9. Thank you so much, this really works
    http://www.makeupreviewshall.com

    ReplyDelete
  10. unable to find : expr:href='data:label.url'

    ReplyDelete
  11. okay ...thanks...There is One Question.....
    Actually I have a blog on blogger, Simple and Well n Good...
    but the problem is that when I tried to add a big HD Image (infographic ) by Blogger upload option it reduces its pixels and when I host that Image at other web blog like word-press and then add... the Google Page speedlimit reduces to about 6-10 points (below 80)...

    Is there any Solution.....?

    ReplyDelete
  12. If you click on the picture it will take you to the larger picture

    ReplyDelete
  13. its not working for my blog http://kishorkc.blogspot.com

    ReplyDelete
  14. its not working for my blog http://comptech2013.blogspot.in/

    ReplyDelete
  15. thanks it work like charm

    ReplyDelete
  16. Thank you for this useful article.

    ReplyDelete

Find help, info, instructions, tips, tricks

Tip: Use search box below or this box, labels in the first right sidebar, archive, ctrl+F for this page or sitemap to find topics