PI Query
// WP_Query arguments $args = array( 'post_type' => array( 'reference_profile' ), 'post_status' => array( 'publish' ), 'nopaging' => true, 'posts_per_page' => '-1', 'order' => 'ASC', 'orderby' => 'title', ); // The Query $query = new WP_Query( $args );