function list_subpages( $query = '' ) {
global $wpdb, $post;
parse_str($query, $q);
if ( empty($q['child_of']) && empty($post->ID) )
return;
$defaults = array(
'child_of' => $post->ID,
'echo' => 1,
'title_li' => '',
'depth' => 0,
'include' => '',
'exclude' => ''
);
$options = array_merge($defaults, $q);
it’s part of the list_subpages plugin . i remember asking somebody about it at school and getting the response that it put the dynamic content immediately into a list but i just wanted to get some more info on it and how i could use it.