Loop for custom post types filtered by a taxonomy
I’ve figured out the answer using the WordPress forum. Solution below: <?php query_posts( array( ‘country’ => ‘event-england’ ) ); ?> <?php if( is_tax() ) { global $wp_query; $term = $wp_query->get_queried_object(); $title = $term->name; } ?> <ul> <span class=”tax-title”><?php echo($title); ?></span> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <li><a href=”https://wordpress.stackexchange.com/questions/17046/<?php … Read more