Control the number of posts Blogger label pages

I hope you know that in Blogger , the label pages contains all posts. That is , If I am giving a label Firefox , and if there is 20 posts labeled with Firefox , all these posts will appear on a single page . So this method would help you to control the number of posts per label page .

Open your Blogger template’s edit HTML Click on expand widget templates .Now search for this <b:widget id=’Label1′ locked=’false’ title=’Labels’ type=’Label’> section.Before searching , make sure that you have added labels in Blogger .Scroll down through your template and find out the following code , which is should be located inside the label widget itself .

<a expr:dir='data:blog.languageDirection' expr:href='data:label.url'><></a></b:if><span dir='ltr'>(<data:label.count/>)</span>

Delete this section and replace with this code .

<a expr:dir='data:blog.languageDirection' expr:href='data:label.url   &quot;?max-results=5&quot;'><><span dir='ltr'>(<data:label.count/>)</span></a></b:if>

Now you have total control over the number of posts inlabel pages . You can control the number of posts in Blogger label pages by changing the value of max-results=5 .

This entry was posted in Uncategorized by . Bookmark the permalink.

2 thoughts on “Control the number of posts Blogger label pages

  1. Hi Dears,
    I followed all the steps as discribed above in order to control the number of posts that appear in the labels but without success, every time it shows on the firs page a diferent number of posts. My blog is
    Could you help me to find where could be a problem in order to solve it.

    Thanks in advance

  2. I tried the above so many times but everytime when i did the above instructions, the label would disappeared. My blog is can someone help by a video tutorial? Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *