It's from: http://www.bloggersentral.com/ :
1. Changing the code for in-post and Labels
gadget labels.
1.
Login
to your Blogger account.
2.
Go to
Dashboard > Design > Edit HTML.
4.
Tick
the Expand Widget Templates check box on top right of the HTML window.
5.
Look
for following line in your HTML code:
1
|
expr:href='data:label.url'
|
You
may find more than one instances. Replace them with the following:
1
|
expr:href='data:label.url +
"?max-results=5"'
|
2.
Changing the code for labels menu tabs
If
you use menu tabs to link to label pages, the links you use are probably look
like this:
1
|
http://YOURBLOGNAME.blogspot.com/search/label/YOURLABEL
|
to
limit the number of posts shown, just append ?max-results=5 to the link, like this:
1
|
http://YOURBLOGNAME.blogspot.com/search/label/YOURLABEL?max-results=5
|
The
codes above limits the list to 5 posts. (You change the number with your own
limit).
Once
the code is altered, your label pages will only show 5 posts. To view the next
set of 5 posts, just click the Older Posts link at the bottom of the page.
No comments:
Post a Comment
Feel Free to tell us your what you think