I wanted to know how could i display only the children of a nav menu. ive tried a couple of things like :
if($post->post_type == "page"){
$postid = $post->ID;
print_r( get_pages(array("child_of" => $postid)) );
}
But all i get an empty array.
so what i want is something like this: http://www.isic.org/student-card/the-isic-student-card.html