[wp-hackers] query_posts with taxonomy

Rafael Ehlers rafaehlers at gmail.com
Thu Mar 24 14:38:59 UTC 2011

What Im doing wrong here?

I have 1 product in two taxonomies -> Clothing and Featured

my query is:

query_posts(array('post_type'=> 'produtcs','posts_per_page' =>
'3','tax_query' => array(array('relation' => 'IN','taxonomy' =>
'categories','field' => 'slug','terms' => 'featured')) ));

Someone help me please, that product isnt showing up!

More information about the wp-hackers mailing list