[2.5] wp_list_pages “exclude” arg no longer works as advertised
-
I just upgraded to WP 2.5.
I am building navigation on the front page of my client’s site using wp_list_pages() with some excluded pages using the “exclude” parameter. This worked as expected in 2.3.x.
After the upgrade, the excluded pages are not showing up, but all of their sub-pages are. Additionally, they are rendering as
LIs at the same level as the top-level pages (i.e. they are not in a sub-list (ul) so are impossible to style invisible as a workaround). The docs specifically say:“Excluding a Page will also exclude all of its sub-pages from the list to be generated.”
Does anyone know of a quick workaround I could enact to fix this issue? Is it a known issue? Searches of the forums/bug DB are not returning much for me.
Thanks!
- The topic ‘[2.5] wp_list_pages “exclude” arg no longer works as advertised’ is closed to new replies.