Pages

Posts

true) ) as $post_type ) { if ( in_array( $post_type, array('post','page','attachment') ) ) continue; $pt = get_post_type_object( $post_type ); echo '

'.$pt->labels->name.'

'; echo '
    '; query_posts('post_type='.$post_type.'&posts_per_page=-1'); while( have_posts() ) { the_post(); echo '
  • '.get_the_title().'
  • '; } echo '
'; } ?>