I've been looking at this old theme. I've then created a template file called taxonomy template file and post types. When querying to show only the posts in the category selected. This is the top of my template :
$args=array (
'post_type'=> array( 'events' ),
'tax_query' => array( 'taxonomy' => 'tax-cat' ),
'post_status' => array( 'future' ),
'pagination' => true,
'paged' => $paged,
'orderby' => 'post_date',
'order' => 'ASC', );
$temp = $wp_query;
$wp_query = null;
$wp_query = new WP_Query();
$wp_query->query( $args );
Which ive taken from the existing page template, but the above seems to show ALL Posts in the custom post type, rather than just the posts in the category.
taxonomy-eventcat.php
and visiting an eventcat terms archive? This would eliminate the need to create a query entirely. You can then modify the query to show thefuture
post type viapre_get_posts
, and you'd also get a speed boost as you'd no longer be replacing the main query but modifying it instead, and all your pagination code could be removed as it's no longer needed