Thursday, August 23, 2012

CONTROL THE NUMBER OF LABEL POSTS

Every one know that if we click on a label we will redirect to this label page
and we will see the all post of this label. Now I am gonna tell you the secret of
controlling this number of posts .

Now Follow the steps:

1. Go to   Dashboard > Template> Edit html
2. Find out


<a expr:dir='data:blog.languageDirection' expr:href='data:label.url'>


3.Now simply replace


<a expr:dir='data:blog.languageDirection' expr:href='data:label.url'>


with

<a expr:dir='data:blog.languageDirection' expr:href='data:label.url + &quot;?max-results=5&quot;'>


5 stand for the number of posts per a label. Change it to any number
( number of posts that you are willing to show in the label page )
Now save your template.

No comments:

Post a Comment