Support » Requests and Feedback » Request: Exclude Subpages but not Parent

  • A simple feature for the list of pages on the site, to be able to show subpages of a certain page, but not the “certain page” itself.

    currently the _exclude_ parameter also excludes all subpages of given page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can use the child_of parameter to display only children Pages of a Page. Does that help?

    Thread Starter fo3nix

    (@fo3nix)

    not really no. what I want to do is this:

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

    but this just shows me the children of item 37.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Request: Exclude Subpages but not Parent’ is closed to new replies.