WordPress.org

Forums

WP 2.1 wp_list_pages "depth" not working (2 posts)

  1. Simon Blackbourn
    Member
    Posted 8 years ago #

    i've just upgraded to WP2.1 and it seems that using wp_list_pages with the argument 'depth=-1' to prevent child pages being shown no longer works.

    has anyone else had the same problem?

  2. publicityship
    Member
    Posted 8 years ago #

    Yes. Changing it to depth=1 shows just the first level of menus.

Topic Closed

This topic has been closed to new replies.

About this Topic