Ready to get started?Download WordPress


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

  1. Lumpysimon
    Posted 7 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
    Posted 7 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