# according to your example:
$categories = array ( \'sit\', \'leather\', \'one person\' );
# get all id\'s by the category names
foreach ($categories as $category_name) {
$category = get_term_by( \'name\', $category_name , \'category\' );
$ids[] = $category->term_id;
}
# get all posts for the categories
query_posts( \'cat=\'.join(\',\',$ids) );
对不起,我现在不能测试,这只是明天之前的猜测。