Support » Fixing WordPress » List Child Pages Only

  • Hello,
    I’ve been working with the template tags, specifically the wp_list_pages() .

    I was glad to find the argument of depth, to show only parent pages.

    But, I have found the need to list just the Child Pages of a Specific Parent Page on a page. I was hoping there was another argument that I could pass in the wp_list_pages() tag to specify what parent page to use.

    I would imagine it would look something like this:
    wp_list_pages(‘sort_column=menu_order&title_li=&parent_id=5’);

    It would be really nice to have this ability.

    Any info would be greatly appreciated!
    James

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘List Child Pages Only’ is closed to new replies.