WordPress.org

Forums

Request: Exclude Subpages but not Parent (3 posts)

  1. fo3nix
    Member
    Posted 9 years ago #

    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.

  2. moshu
    Member
    Posted 9 years ago #

    You can use the child_of parameter to display only children Pages of a Page. Does that help?

  3. fo3nix
    Member
    Posted 9 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic