[wp-hackers] wp_list_pages(), No LIMIT?
Leonid Mamchenkov
leonid at mamchenkov.net
Mon Jun 25 06:35:16 GMT 2007
Hi,
On 6/25/07, Matt <speedboxer at gmail.com> wrote:
> I was wanting to use wp_list_pages() (or maybe there's a better function for
> the job) to display the 10 latest pages. But, looking at the documentation,
> it appears that there is no way to limit the amount of pages to list. Should
> there not be a way to limit the amount of pages to be listed?
wp_list_pages() is a wrapper function around get_pages(). get_pages()
provides better control of what you and how you get. Check how it's
defined in wp-includes/post.php .
--
Leonid Mamchenkov
More information about the wp-hackers
mailing list