Forums

Combining depth and specifc pages in wp_list_pages (3 posts)

  1. nathan12343
    Member
    Posted 8 months ago #

    I am using wp_list_pages('include=2,4,6') to build a specific navigation bar. What I want to do now is also show depth=2 so that I can manage a drop down list from this pages where there are children. But of course because I'm specifing particular pages at the top level the function is ignoring the depth.

    Can anyone think of a way around this without having to code in every relevant child ID?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 8 months ago #

    Why not create a custom menu instead?

  3. nathan12343
    Member
    Posted 8 months ago #

    I couldn't get this to run to depth 2 automatically. As it happens this is the route I have opted for, but I would much prefer to select the top level and let the system generate the rest. Do you know if this is possible?

Reply

You must log in to post.

About this Topic