Si può risolvere cosà¬:
<?php if(is_page('23') || $post->post_parent=="23") {?>
Pippo
<?php } ?>
dove 23 è l'id della pagina alla quale facciamo riferimento..
possiamo decidere che la parola "pippo" piuttosto che qualsiasi altra cosa.. una sidebar,
appaia nella pagina id 23 e nelle sue figlie.
Oppure solo nelle figlie:
<?php if($post->post_parent=="23") {?>
Pippo
<?php } ?>
Lieto di poter essere utile a chi a distanza di 2 anni ancora si imbatte in questo quesito.
(Tipo me)`