$parent
);
$pages = get_pages($args);
if ($pages) {
$pageids = array();
foreach ($pages as $page) {
$pageids[]= $page->ID;
}

$args=array(
‘title_li’ => ” . $parent,
‘include’ => $parent . ‘,’ . implode(“,”, $pageids)
);
wp_list_pages($args);
}
?>