wp_query to get custom post type list code example
Example: wp_query custom post type
//WordPress: Query a custom post type
//For example, query all Case Study post types
<?php query_posts('post_type=case_studies'); ?>
//WordPress: Query a custom post type
//For example, query all Case Study post types
<?php query_posts('post_type=case_studies'); ?>