As you may already know, you can set the limit for the number of posts you want to show on your homepage manually from the Blogger Posts Settings, but no such feature is available for label pages. Blogger shows around 10 posts on a label page by default.

Limit number of posts in label pages on Blogger

There are some advantages and disadvantages of showing so many posts on a single label page. The advantage is that it creates a very good user experience (UX) on your website. Users can easily check your label posts without repeatedly visiting the next page.

Now if we talk about the disadvantages, the first thing is that it will reduce the loading time of your website. Apart from that, it will also decrease your pageviews which in turn can affect your revenue.

In this guide, we have shared 2 ways to set the limit for the number of the posts you want to show in label pages on Blogger. In the first method, we will show you how to edit the label link in the Blogger template, while in the second, we will discuss how you can set posts limit in the label page link manually.

Set label posts limit in Blogger template


By going to the HTML editor of your Blogger template, you can edit the label tag (expr:href=’data:label.url’) and set the posts limit on it. This step-by-step guide will show you how to do it -
  1. Go to Blogger website and login to your account. Select the blog you want to edit.
  2. Next, go to Theme > Edit HTML.
  3. Click anywhere in the HTML editor and press CTRL+F shortcut keys to open the Search box. Then search the following code:
    expr:href=’data:label.url’
  4. There will be more than 1 occurrence of this code in your Blogger template. Edit each and replace them with this code:
    expr:href=’data:label.url + “?max-results=5” ‘
    Here max-results=5 means that your label pages will show 5 posts per page. You can change this number to set any other post limit.
    Limit label posts in Blogger template
  5. Once you have edited all label tags, click the Save Theme option and then go to your website/blog to check out the changes you have made.

Set posts limit in label page link manually


Now let's see how you can set the posts limit in a particular label link manually. This can be used for label links that you have added in your website menu, posts, and pages.

So all you have to do is add ?max-results=5 next to the label link like this: https://www.yourblogurl.com/search/labelname?max-results=5

Search for label links in your Blogger template, menu, widgets, posts, and pages. You have to edit each one of them manually. If you want to change the posts limit, then you can change max-results value. Save the changes once you have edited the label link. So that's how you can limit the number of posts in label pages on your Blogger website/blog. We will recommend you to set the limit as 5 posts per page as it is good for both user experience and pageviews. If you are facing any problem in this tutorial, let us know in the comments below.