Set the number of posts Display on each Blog Label Page

Set The Number Of Posts Shown On Labels Pages For Blogger

blog label

If we click on any Blogger label then we might see many posts are displaying on label pages. If you have more than 20 post under each blog label then by default blogger will display 20 posts per label page. This is not good for page loading speed. Because to display 20 posts per label will take extra time which will make your blog slower. Those who are not using any jump break on Blogger template then they will see the effect of loading time. Sometime image doesn’t load properly and even sometime page crash in loading time.

Generally the main aim to set the number of posts on each Blog label page to limit the number of post to display on label pages. You may selected 5 post per page on blog home page but when you click on label then it is displaying 20 posts. So to display same number of post per label we have to add a simple piece of code.

Add the code for Posts and Labels

Step 1 Log in to your Blogger account and Go to your Blogger Dashboard
Step 2 Click on -> Template -> Edit HTML

Step 3 Now Find the below code by pressing Ctrl+F 
Step 4 Now replace it by below code

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


  • To increase or decrease the number of post just change the 5 with 3 or 8 as you wish.

Changing the code for labels menu tabs

This section is for setting the number of posts for label menu. If you are using Custom Menu on your blog then you should also follow this tutorial. I am giving example by using my menu code. Suppose one of my label name News and I want to display 5 posts under News label.

For Example
Here my label name is News and I have added a code ?max-results=5 and now 5 posts will display under News label when a visitor will click on it.

Similarly in case of your blog the code will be like below-

Incase of Blogger BlogSpot
  • Name
  • Name?max-results=5
Incase of Custom Domain
  • Name
  • Name?max-results=5


  • To increase or decrease the number of post just change the 5 with 3 or 8 as you wish.
That’s it. Now you will able to limit the number of post per label. For any query drop a comment below. Thanks.  
Abdul Kadir says: 7/23/2015

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

BloggerSpice says: ADMIN 7/23/2015

you will find this code 4/6 times. so you have to change all the code---


Unknown says: 11/09/2015

It worked well but there is no "NEXT" and "PREVIOUS" like "1-2-3-4-5" on my page. Can solve this problem please?

BloggerSpice says: ADMIN 11/10/2015

Hi Mitel... there must be more than 4/5 posts per label. after that it will show "NEXT" and "PREVIOUS" button. Suppose you have 5 post under a Blog Label and you have set 5 posts to display per page, then it won't display "NEXT" and "PREVIOUS" button.

guest says: 12/09/2015

How to change the number of post from the gadget ("Labels")? The both mentioned methods does not work for it.

BloggerSpice says: ADMIN 12/09/2015

I think you didn't change the code for all label will find the below code 4/6 times. so you have to change all the code---


replace the above code by below code.

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

If you find the the code 5 times then you should replace it 5 times. And this code will work 100%.

Contact Form


Email *

Message *