Sidebar Menu Test

post_parent) {
$children = wp_list_pages(“title_li=&child_of=”.$post->post_parent.”&echo=0″);
$titlenamer = get_the_title($post->post_parent);
}

else {
$children = wp_list_pages(“title_li=&child_of=”.$post->ID.”&echo=0″);
$titlenamer = get_the_title($post->ID);
}
if ($children) { ?>