Filter posts by category and custom field key and value
-
I’m trying to figure this somewhat complex function, but not having much luck.
I want to be able to have a page, or the generated category page, to show all posts that meet 3 conditions:
1. they are in a defined category number
2. they have a defined custom field key
3. they have a defined custom field valueIf they meet the 3 conditions, then the post is shown, if it doesn’t it isn’t shown.
I have the feeling that this will require a custom SQL query, so any help would be appreciated.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Filter posts by category and custom field key and value’ is closed to new replies.