Support » Themes and Templates » Exclude page AND children of this page

  • Resolved curlybracket

    (@veganist)


    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 behaviour? The codex does not specify anything on this as far as i can see.

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

    Thanks for advice.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exclude page AND children of this page’ is closed to new replies.