[Resolved] wp_list_pages tag broken in WP 2.8.6??
I was wondering if anyone new if the use of wp_list_pages along with its various parameters is broken in 2.8.6.
I’ve been reading a lot about it today, but not a lot of definitive answers on whether this is a true bug or not.
Mainly, because I can’t find a scenario being written about that’s close to mine.
Mine is very simple really.
I use the following to include only certain pages for a nav at the top of my site.
- /” >Home
<?php wp_list_pages(‘sort_column=menu_order&hierarchical=0&include=2&title_li=’); ?>
The first list item displays “home” which is not an actual page.
The wp_list_pages expression includes an “about” page next to “home”.
I’ve altered the “include=x” paramter many times to include certain pages to see if it works. I’ve also checked the page order field to make sure all pages have a page order number to work with.
Funny thing is, the numeral entered into the “include=x” argument does not always produce accurate results. Sometimes, another page shows up that is not even near the same page order number as assigned when creating the page.
Most of the examples with wp_list_pages have to do with troubleshooting of child trees, parents, etc.
I’m using the most simple presentation of the tag and have followed the codex on the subject closely and carefully.
Is there another area outside of my header.php file that could be causing the wp_list_pages not to display properly?
Any help or advice on this issue would be greatly appreciated.
Thanks in advance.
- The topic ‘[Resolved] wp_list_pages tag broken in WP 2.8.6??’ is closed to new replies.