Unnamed
public php v1 · immutable<?php if(get_the_title($post->post_parent) != get_the_title()){ wp_list_pages("title_li=&child_of=".$post->ID.""); } else { wp_list_pages("title_li=&child_of=".$post->post_parent.""); } ?> <?php if(get_the_title($post->post_parent) != get_the_title()){ wp_list_pages("title_li=&child_of=".$post->ID.""); } else { wp_list_pages("title_li=&child_of=".$post->post_parent.""); } ?>