WordPress页面父页面调用子页面的代码
<?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) { echo '<ul class="list-inline_a">'; echo $children; echo '</ul>';} ?>