WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Exclude page AND children of this page (4 posts)

  1. curlybracket
    Member
    Posted 3 years ago #

    Hi,

    I am confused. I am using the following code in a custom sidebar :

    wp_list_pages('exclude=233&title_li=');

    However, the children of the page with the id 233 still get listed.

    Is this the expected beahviour? The codex does not specify anything on this as far as i can see.

    Thanks for advice.

  2. curlybracket
    Member
    Posted 3 years ago #

    Ah yeah, and I can't use the depth parameter, as I want the children of other pages to be displayed.

  3. curlybracket
    Member
    Posted 3 years ago #

    Sorry, this should probably go to the themes forum..

  4. curlybracket
    Member
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic