I've written a custom template to pull 2 listings categories into a page, premium and standard. Now I also need to add anther category for each, so the top would pull listings in premium AND bread, an the bottom would pull standard AND bread. I'm trying to use
<?php $args = array( 'post_type' => 'directory_listing', 'category__and' => array(447,448), ); $wp_query = new WP_Query($args);
What I had before that worked pulled all listings from either category was:
<?php $args = array( 'post_type' => 'directory_listing', 'listing_category' => 'premium', 'listing_category' => 'bread', );
I'm wondering if category__and can work without the 'listing_category' or if when I look at the cat Ids I am seeing the right numbers? I'm hovering over the cat title in teh listigns cat page and is says xxxxx&tag_ID=447, thta is teh number I'm using...