[Resolved] wp_list_pages() – number parameter
In the documentation, it says that the number parameter for wp_list_pages was added in WordPress 2.8. However, it is my belief that this is not the case or it is not fully supported, as I’m having troubles with it.
In my template’s home.php file, I put the following:
<?php wp_list_pages('number=5&child_of=14&title_li='); ?>
Normally, it should display only 5 recent pages that are the child of the page with the ID of 14. I have more than 5 pages under that specific parent page, but only one page showed on the list.
Is anybody else experiencing this or is it just me? Either way, can anybody help?
- The topic ‘[Resolved] wp_list_pages() – number parameter’ is closed to new replies.