about the sidebar subpages widget , it lists all subpages of the current parent page , currently it looks like this on parent page sidebar
Parent Page
Sub Page 1
Sub Page 2
Sub Page 3
and on subpages it looks like this
Sub Page 1
Sub Page 2
Sub Page 3
whereas i want the subpages to also show the parent page like this
Parent Page
Sub Page 1
Sub Page 2
Sub Page 3
i tried searching on net , and came to this conclusion that somewhere this code has to be edited
<?php
if($post->post_parent)
$children = wp_list_pages("title_li=&sort_column=menu_order&child_of=".$post->post_parent."&echo=0");
else
$children = wp_list_pages("title_li=&sort_column=menu_order&child_of=".$post->ID."&echo=0");
if ($children) { ?>
<div class="widget widget_pages">
<h3>Sub-Navigation</h3>
-
<?php echo $children; ?>
</div>
<?php }














