Custom Posts Per Page Plugin

By default, WordPress 1.5 puts the same number of posts on archive pages as it does on the front page. Given that I only want four posts on the front page, and an entire year’s worth on the yearly archive pages, some hackery is required.

Custom Posts Per Page plugin.

Note that it’s uploaded exactly as I use it; the exact post counts and the order=ASC stuff for some views should be changed to personal preference. It was a five minute thing, and I’m only posting about it now because the issue addresses keeps coming up over and over. Maybe some people will find this via Google.

   
This entry was posted on Sunday, March 13th, 2005, in the categories “”, “WordPress” and “plugins”.

Thus far, 3 responses.

Said Cool:

Awesome. You saved me. I was about to go over the edge! That is one sweet plugin my friend.

Supposed Ash Haque:

Cool plugin, I am currently using it on my site @ http://basketball2k.com

Supposed toofargone:

Hey thanks a bunch. I really appreciate it–and did find via google.

Leave a Reply