WordPress.org

Ready to get started?Download WordPress

Forums

Can I show only 1 level deep for pages? (3 posts)

  1. dmaher
    Member
    Posted 7 years ago #

    I have the pages going down my sidebar and tabbed over a bit are each of their subpages. Then tabbed over a bit more are these pages' subpages. Is there a way I can eliminate everything below the first sublevel and just show the parent pages and their immediate child pages? The only thing I can think of right now is to use code that excludes each sub-sub page individually when calling the pages.

  2. moshu
    Member
    Posted 7 years ago #

    If you use the regular wp_list_pages tag - you should take a second look at its parameters.
    (hint: depth)

  3. dmaher
    Member
    Posted 7 years ago #

    thanks again

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags