Hey,
open up sidebar.php and move following code:
/*
* Display a subnavigation for pages that is automatically generated, so the users doesnt need to work with widgets
*/
if($subNav && isset($post) && is_object($post) && !empty($post->ID))
{
global $post;
$subNav = false;
$parent = $post->ID;
if (!empty($post->post_parent))
{
$ancestors = get_post_ancestors($post->ID);
$root = count($ancestors)-1;
$parent = $ancestors[$root];
}
$children = wp_list_pages("title_li=&child_of=". $parent ."&echo=0");
if ($children)
{
$default_sidebar = false;
echo "<div class='widget widget_nav_menu'><ul class='nested_nav'>";
echo $children;
echo "</ul></div>";
}
}
- i.e. put it before:
//default dummy sidebar