TOP NEWS

Thank you for visiting my blog. Any activities 'copy and paste' material are permitted provided must state taken from this blog. This site contains personal stuff, trend and lifestyle, make over, shopping alert, printing, beauty by seewed, design website and telco product.

--->...We serve U Better...Our Service is..<---

Thursday, 8 November 2012

How To Change Max Number Of Posts in Blogger Label Page

Blogger has set a default maximum 20 blog posts in its label page (category page). This may or may not suit your preference or your purpose in setting up the label page. You may want to decrease it to increase download time. Alternatively, you may want to increase the maximum number of posts to show all posts with the same label (category).

If you want to change this default maximum number of post, you will have to edit the template.

Step 1:
Backup your blog template (Dashboard > Template > Backup (at the top right corner) > Download full template > All files)

Step 2:
Now you got to open the template editor (Dashboard > Template > Edit HTML). Tick [ ] Expand Widget Templates

Step 3:
Now use ctrl+F to help you find the following codes:

expr:href='data:label.url'


Step 4:
Replace the above with the following (I used the number 150 because I want all posts to be displayed in the label page. You may use other numbers in place of 150):

expr:href='data:label.url + "?max-results=150"'


Step 5:

Repeat this for all instances of expr:href='data:label.url' that you can find. I think for the Simple template, there will be 3 instances, so the above will have to be repeated 3 times.

Step 6:
When done, save template and exit. 


p/s:This article is from my old blog --> http://perjalananlifeaku.blogspot.com

0 comments:

Please leave a message, email or phone number to be contacted.