Hi Everyone
I am trying to use a submenu each time there are children pages. I'm using this:
<?php $children = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0&depth=1'); if ($children) { ?>
<?php echo $children; ?><? } ?>
Chilndre pages menu is showing well, but when I click a children page on that submenu, it desapear from the submenu.
Sorry for my english, I'm trying my best, what I need is show the submenu always unless I click on another page
Thanks everyone for your help!