I’m trying to make a loop that will display posts that belong to a certain category and have a certain custom field value. I’ve been able to get the custom field part working using http://codex.wordpress.org/Displaying_Posts_Using_a_Custom_Select_Query. However, I don’t know how to get the category part working. I’ve tried a few of things, but either it gives me an error or displays 20 copies of the same post. Can someone please help me?
- The topic ‘sort by category and custom field’ is closed to new replies.