• I try to list only children pages on my side bar.
    And I try with this

    <?php wp_list_pages(‘depth=-1&title_li=&sort_column=post_date&sort_order=DESC’); ?>

    In documentation is written that depth=-1
    shows no child pages.
    But it seems that depth=-1 does not work well.

    Anybody tried this already?

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