[wp-hackers] Custom Taxonomy WP_Query for All Terms in a Taxonomy
Mike Schinkel
mikeschinkel at newclarity.net
Sat Nov 6 16:53:28 UTC 2010
On Nov 6, 2010, at 11:28 AM, David Morris wrote:
> Thanks Mike! That worked. The only catch is that sticky posts
> sneak in there regardless of their taxonomy terms.
Well they are "sticky", right? :)
It's weird behavior, I think, but if you use "caller_get_posts=1" and they should go away:
http://codex.wordpress.org/Function_Reference/query_posts#Sticky_Post_Parameters
Hope this helps.
-Mike
P.S. Still trying to figure out where they got the name "caller_get_posts=1" (i.e. why not "sticky_posts=0?"), but it is what it is.
More information about the wp-hackers
mailing list