ID);// Current Post
//Sélectionne les pages soeurs
$pages = get_pages(array(
'child_of' => $post->post_parent,
'exclude' => $posts_to_exclude,
'parent' => $post->post_parent
));
//var_dump($pages);
//If Sister Page
if (count($pages)>0){
$return = " ";
foreach ($pages as $page){
$return .= '- '.$page->post_title."
";
}
$return .= "";
}else{
$return = "";
}
return $return;
}
?>
ID.'&echo=0&depth=1' );
//RESSOURCES PARAMETRE : https://developer.wordpress.org/reference/functions/wp_list_pages/
if ( $children) : ?>