Thread Starter
sergis
(@sergiselvas)
Resolve, more or less. I use this:
<?php
if($post->post_parent)
$children = wp_list_pages(“title_li=&child_of=”.$post->post_parent.”&echo=0″);
else
$children = wp_list_pages(“title_li=&child_of=”.$post->ID.”&echo=0″);
if ($children) { ?>
<?php echo $children; ?>
<?php } ?>
But now, if I’m reading a subpage the parent is not showing actived. There is any solution for this?
Cheers
Thread Starter
sergis
(@sergiselvas)