wp_query post type customn 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'); ?>