wp_list_pages
will only output hierarchical post types. If we look at the function in source, we'll see that it calls get_pages
to load pages for output. If we look at get_pages
function in source, we'll see:
// Make sure the post type is hierarchical
$hierarchical_post_types = get_post_types( array( 'hierarchical' => true ) );
if ( !in_array( $post_type, $hierarchical_post_types ) )
return false;
The default post
post type is not hierarchical, so the function outputs nothing. If your event
post type is also not hierarchical then that would explain why it also outputs nothing.