[wp-hackers] Manipulating Posts Per Page

Ryan Boren ryan at boren.nu
Thu Aug 19 03:27:01 UTC 2004


This is a plugin I dashed off in response to a request on the forum for
the ability to have 1 post per page for the home page while having the
default posts per page setting apply to category and other archive
pages.  This provides an example of a query_string filter that makes use
of the WP_Query class.

Ryan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: custom_posts_per_page.php
Type: application/x-php
Size: 855 bytes
Desc: not available
Url : /pipermail/hackers_wordpress.org/attachments/20040818/fadf6260/custom_posts_per_page.bin


More information about the hackers mailing list