wordpress sub pages
wordpress sub pages
Out of context: Reply #1
- Started
- Last post
- 5 Responses
- EdTheDuck1010
This will get you a list of children, but you can re-use it to pull what you want through I would think.
<?php
$children = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0');
if ($children) { ?><ul>
<?php echo $children; ?>
</ul>
<?php } ?>