Hi everybody, trying to find a solution. Brief description:
Post type “educational_course”, each has several custom fields:
These custom fields are dates in DD.MM.YYYY format, each field can be empty of filled.
Now I need to echo all dates and titles. U can see, several posts can be present multiple times in query according it has zero, one or several dates filled up.
How to construct the query? Is it possible to do something similar to “select all posts with this date” AND “select all posts with another date” AND “sort all data according to DATE ascendent?”
I know only solution for “select all posts with THIS AND THESE”, but not “THIS OR THESE”.
Sorry for my english 🙂 and thanks for help.
- The topic ‘WP_query – joining multiple custom fields’ is closed to new replies.