query_posts 'cat' excluding everything
I’m attempting to include only posts from category 13 & 14. I’ve tried the following method as well as excluding posts from all other categories and using category__and => array (13, 14). With both methods, I end up with nothing showing.
query_posts (array( 'post_type' => 'theme_portfolio', 'showposts' => $portfolio_items_num, 'paged'=>$page, 'order'=> 'ASC', 'cat'=>13, 14));
Any ideas would be greatly appreciated!
- The topic ‘query_posts 'cat' excluding everything’ is closed to new replies.