query_posts that have custom taxonomy and limiting what shows based on the taxonomy
You have lot of issues here; Never ever use query_posts, it breaks the main query and page functionalities. You are breaking and nullifying the main query even before query_posts can have a change to do it in this line $wp_query= null As this is a shortcode (taken from your comments) and with this line, ‘posts_per_page’ … Read more