How to control number of post displayed in Label

In Blogger , the label pages contains all posts. That is , If I am giving a label wallpaper , and if there is 20 posts labeled with Wallpaper , 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
 data:label.url
and replace With this instead:
data:label.url   "?max-results=5"
where "5" is the number of posts you would like to display on label pages. An easy way to search for all these phrases is to key CTRL+F. You may also like to copy all of the expanded template to Notepad (or your favorite text editor) and change these phrases using the "replace" function instead. Then you would need to paste the modified template over the existing template.

Once you've done this, save your template and click on a label to see the change in the number of posts which are displayed.

Share this

Related Posts

Previous
Next Post »

Your comment are Welcome