Query multiple custom taxonomy terms in Wordpress 2.8?

Posted by thechrisvoth on Stack Overflow See other posts from Stack Overflow or by thechrisvoth
Published on 2009-07-20T19:50:23Z Indexed on 2010/06/07 11:42 UTC
Read the original article Hit count: 308

Filed under:
|
|
|

I created a custom taxonomy named 'technologies' but cannot query multiple terms like I can with categories or tags.

These querys DO work:

query_posts('tag=goldfish,airplanes');

query_posts('technologies=php');

However, neither of the following work correctly:

query_posts('technologies=php,sql');

query_posts('technologies=php&technologies=sql');

My objective: Show all posts with a technology of 'php' and all posts with a technology of 'sql'

Any ideas? Is this even possible? Thanks!

© Stack Overflow or respective owner

Related posts about php

Related posts about query