I have three different custom post types that all share the same set of categories. I need to set up a loop that pulls up a particular post type, but then also a category. So for example tell it to find all posts under the custom post type "Pineapple", and also all posts under the category "Dog Sledding".
But I want to to show posts if they are in either, not necessarily both. Did I explain that ok? I have this right now:
<?php $paged=(get_query_var('paged')) ? get_query_var('paged') : 1; query_posts(array('post_type'=>pineapple, 'category' => 'dog-sledding', 'showposts'=>10, 'posts_per_page' => 1, 'caller_get_posts' => 1, 'paged' => $paged )); ?>
But I think that will only show posts if they are in both the post type and category.
Does anyone know how to can adjust it so that the loop will pull up all posts under a post type, and also all posts under a category? Thanks!