By default, label pages display 25 posts assigned to that particular category (if there are enough posts filed under that label).
For those who write long posts or use many images, this can result in long page-load times for label-based blog pages.
Here is an easy way to limit the number of posts displayed on label pages:
1. Go to Layout>Edit HTML in your Blogger dashboard and ensure you have checked the “Expand widget templates” box.
2. Using the search function of your browser, find every instance of this phrase:
data:label.url
and replace this with the following line:
data:label.url + "?max-results=X"
where X is the number of posts you would like to display on labels pages. This can be any number between 1 and 100.
Credits: www.bloggingtips.com
0 comments
Post a Comment