Support » Fixing WordPress » wp_list_pages NOT exclude subpages

  • hi,

    I wish to exclude certain pages from the list, but not their subpages.

    Using the exclude parameter also excludes the subpages.. any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • try child_of, and turn off the all. Child_of automatically hides the parent if all is set to 0.

    I don’t quite follow… you mean something like this?:

    wp_list_pages(‘exclude=5,43&child_of=37&child_of=38&child_of=8&sort_column=menu_order&title_li= ‘ );

    what do you mean by “turn off the all”?

    no-one have a solution to this problem?

    I’m sure there’s something simple that must be possible, just cant figure it out :/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp_list_pages NOT exclude subpages’ is closed to new replies.