$post_type, "$tax" => $tax_term->slug, 'post_status' => 'publish', 'posts_per_page' => -1, 'orderby' => 'title', 'order' => 'ASC', 'caller_get_posts'=> 1 ); // END $args $my_query = null; $my_query = new WP_Query($args); if( $my_query->have_posts() ) { echo 'List of '.$post_type . ' where the taxonomy '. $tax . ' is '. $tax_term->name .''; while ($my_query->have_posts()) : $my_query->the_post(); ?>