WordPress.org

Support

Support » How-To and Troubleshooting » 2.1’s wp_list_pages ‘depth=-1’ not working?

2.1’s wp_list_pages ‘depth=-1’ not working?

  • Hi

    I was developing a theme under the last WP release and it works all fine and dandy. The code:

    wp_list_pages(‘title_li=&depth=-1’);

    Does as I expect it to do, under 2.0: Not show any links to subpages of pages in its generated list. I did a clean deployment of 2.1 on another server, set it all up, and uploaded the theme and the 2.1 deployment now shows all the subpages in the list on the blog sidebar, despite ‘depth=-1’.

    Is this a bug? I understand this was a problem in a previous beta version but was resolved.

  • The topic ‘2.1’s wp_list_pages ‘depth=-1’ not working?’ is closed to new replies.
Skip to toolbar