Home » Blogger Tutorials, Tricks and Hacks » Blogger Labels Tricks » Reduce Number Of Posts Displayed In Labels Menu Tab

Welcome to our AllBlogTools.com v.3 new version, We are still in beta, please contact us to report an error.

|| View All Tutorials ||

Reduce Number Of Posts Displayed In Labels Menu Tab

Reduce Number Of Posts Displayed In Labels Menu Tab

1 Star2 Stars3 Stars4 Stars5 Stars

Report Error


Too many posts displayed in your Labels menu can definitely slow down your blog site’s loading time. This happens when you’ve already reached a high number of posts in your blog. The problem is Blogger doesn’t have a feature that allows you to limit the number of posts to be displayed on the list. Fortunately, a blogger named Tito came up with a hack to fix that.

Follow the instructions below to reduce number of posts under a specific label menu tab.

  • Blogger dashboard > Design > Template >Edit HTML.
  • Check Expand Widget Templates box.
  • Using Ctrl+F, search for expr:href=’data:label.url.

NOTE: There is more than one instance of this throughout the code depending on how many labels you have.

Replace it with the following:

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

The ‘5’ is the number of posts to be displayed. You can adjust this to any number you want.

  • Save the template.

You should now see only 5 pages listed under that specific label. To see more posts, just click on ‘Older posts’.

Liked It ? Please Share

Comments will be closed off on this post 365 days (1 year) after it is published. Apologies to this, but it's all about avoiding a growing comment spam problem. See our most recent posts where you can comment here