Blogger shows by default 20 posts per page when you click specific label from your labels widget. But maybe you want to show less because page loads too long... or you want to show maximum (which is 100)?!

Go to Dashboard > Layout > Page Elements > Edit Html > Expand Widgets

Search for this:

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


And replace it with this:

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


Note: the red "5" determins number of your posts before Blogger shows "Read older posts" link. It could be anything between 1 and 100.

5 comments

  1. kiran // 6 November 2010 13:30  

    Thankyou

  2. Yo Movies // 28 November 2010 15:06  

    not working :(

    only 25 posts showing

    http://www.yomovies.net/search/label/Hollywood?max-results=100

  3. web designing company // 6 May 2011 12:18  

    Thanks for sharing this information..

  4. Mark // 20 August 2011 11:10  

    informative !

    istartus web design service engineers and consultants are seasoned and highly skilled professionals offering nation-wide application development, technical support, and software customization.
    istartus.net

  5. Anonymous // 20 May 2012 06:47  

    I am using the same template - Ads theme blogger.
    I have done following changes in my template:

    1. Showing only post titles in archive and label result.

    2. Disabled showing labels with each post (I had to remove the code from the template).

    3. Manually set label links in sidebar as - http://myblog.blogspot.com/search/label/Awesome?max-results=100

    Now, my problem is:

    1. My archives are not showing all the post titles in result. Say, if there are 60 posts, the archive result shows only 42 posts.

    2. I tried showing archives as label like this - http://myblog.blogspot.com/search/label/Archive May 2012?max-results=100 . I thought it will work because I have set my label results to max 100. But it did not work.

    I don't want readers to go to older page or newer page link (there is nothing wrong, I just don't want them to scroll the page for more results).

    I tried setting max-result=100 in template as well but that also did not work. (The result was archive was disabled completely on the blog.)

    Is there any solution for this problem? Please help me.

Take a look on my other postings: