Query by current post taxonomy term
-
Hi,
I am trying to do a custom query based on the current posts custom taxonomy term.
So I first need to get the taxonomy term of the current post and then query all posts from that taxonomy term.
So something like:
$term = get current post taxonomy term query_posts( 'term=($term)' );
Any ideas?
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Query by current post taxonomy term’ is closed to new replies.