• Hi,

    I am current using the following code to grab all subpages fro ma parent page…

    <?php wp_list_pages('depth=1&title_li=&child_of=' . $post->ID); ?>

    It works great, but I need more then the title of each subpage. Is there a way of getting custom field values/featured images etc?

    I tried “get_pages” but couldn’t get it to only grab level 1 children(depth=1)

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘get subpage content’ is closed to new replies.