post_parent) != get_the_title()){ wp_list_pages("title_li=&child_of=".$post->ID.""); } else { wp_list_pages("title_li=&child_of=".$post->post_parent.""); } ?>