10/25/11

LIMIT NUMBER OF POST DISPLAY IN LABEL WIDGET

Advertisement

Aside from setting the number of post display in our homepage.There is also a way how to limit the number of post display in Label. Label commonly called Category in Wordpress.

You are writing about 200 post in different labels or categories.

So when we hit the label those post will probably display and it takes longer to display in your page and its boring to read all of them. In blogger only 20 post display limited to a Label. So we have once thought of this how to set limitation lower than 20 ?

Follow this step:

1. We already assume that you're already log-in to your dashboard
2. Go to Design > EDIT HTML
3. Check the "Expand Widget Templates"
4. Create a back-up of your template by pasting it your notepad editor
5. Find all this code or the occurrences.

                       expr:href=’data:label.url’

6. Replace it with

                       expr:href=’data:label.url+”?max-result=6” ‘

note: "max-result=6" is the number of post display in your Label. So you can set the limitation in your own.

7.Save Template. Done

Advertisement
If You Like This Post. Please Take 5 Seconds To Share It.

twitter delicious facebook digg stumbleupon favorites more

2 comments:

Anonymous said...

hehehe

Mobile App Developers said...

Awesome work.Just wanted to drop a comment and say I am new to your blog and really like what I am reading.Thanks for the share

Post a Comment

Related Posts Plugin for WordPress, Blogger...