[Resolved] How do I modify the loop to show only posts of a specific custom taxonomy value?
I have registered a custom taxonomy using the codex example pretty much exactly as presented, and that seems to have worked: everything shows up where it should, and so on.
By way of example, assume that the custom taxonomy is called “color” and it have a the values “red” and “green”. I’m now at the point where I want to code the equivalent of saying,
“Show me each post (up to the default number per page) where the color is red.”
I am totally stumped as to how to do this. Nothing I have tried with query_posts() has worked, and I’m not sure where to try next.
Can someone please illuminate this for me?
- The topic ‘[Resolved] How do I modify the loop to show only posts of a specific custom taxonomy value?’ is closed to new replies.