[wp-hackers] Hi!

Andy Skelton skeltoac at hotmail.com
Sat Jun 18 13:47:41 GMT 2005

>From: Max Winde <max.winde at projekt-brot.de>
>Change it or simply switch to  "show 10 posts"?

Most users don't require such fine-grained control in the admin interface. A 
plugin could be written to alter the wp-query before the theme is loaded. 
Like this:

function custom_post_count() {
if (is_archive()) // Customize the query with LIMIT=10
if (is_search()) // ...or a WHERE clause to limit dates.

Or something like that... don't quote me. :)


FREE pop-up blocking with the new MSN Toolbar – get it now! 

More information about the wp-hackers mailing list