WordPress 3.2.1. I want to query several specific posts that are part of a custom taxonomy. This is what my query looks like for retrieving one post, using the id for that post.
$args = array( 'post_type'=> 'portfolio', 'skill-type' => 'the-letter-d, food, kids-meal', 'p' => 56 ); query_posts( $args );
This works for just getting one post, but I'm looking to get multiple posts. I've tried using 'post_in' => array(56,40,7...etc) in place of 'p'=> 56 and it didn't work. I'm assuming that doesn't work with custom post taxonomies or else I am just doing it wrong?
I've also tried using the following, removing the terms list since it's not really needed.
$args = array( 'post_type'=> 'portfolio', 'post_in' => array(56,40,7) ); query_posts( $args );