Image Image Image Image Image Image Image

Show Specific Number of Posts in Blogger Labels Page

Friday, July 03, 2009 Things 222
Post views: counter

Please Note: Before Editing your Template, Save a copy of your current template by clicking 'Download Full Template' in 'Edit HTML' page of the Blogger 'Layout' Window and 'Preview' the changes before Saving.


This post explains how to display specific number of posts in Blogger Labels page (controlling the number of posts displayed when the visitor clicks Labels):

1. Go to Blogger Layout - Edit HTML - and click Expand Widget Templates.
Show Specific Number of Posts in Blogger Labels Page



2. Then Search(Ctrl+F) the following piece of code in your template:
data:label.url


(This code normally occur 3 times)

3. Now Replace(every occurrence) the above code with:
data:label.url + "?max-results=n "


(where n is the number of posts to be displayed)

4. Save the template. Finished!

You may even like these posts



0 comments: Show Specific Number of Posts in Blogger Labels Page