I have my home page set to display all my posts that have the 'featured' category assigned. I have it set to display all posts on the home page with -1. One of the posts is not showing though. I had this trouble a while ago and it seemed to right itself but can't figure this out.
The listing is live and appearing on other pages, just not on my home page.
This is the query on my home page:
query_posts( array( 'post_type' => 'directory_listing', 'tax_query' => array(
'taxonomy' => 'listing_category',
'field' => 'slug',
'terms' => 'featured',
),'posts_per_page' => -1,'orderby' => 'title', 'order' => 'ASC' ) );
if ( have_posts() ) : while ( have_posts() ) : the_post();
<?php locate_template( array( '/loops/loop-excerpt.php' ), true ); ?>
<?php locate_template( array( '/components/pagination.php' ), true ); ?>
<?php endwhile; endif; wp_reset_query(); ?>
Please can somebody take a look and advise?