Home › Forums › Front-end Issues › Query posts for a relationship value fallback issues › Reply To: Query posts for a relationship value fallback issues
As far as I know there isn’t any way to do an ‘OR’ on meta_query OR tax_query. Also, as far as I know this would be an ‘AND’ relationship.
Your meta query should not return results if there are not matches.
You would need to do 2 queries. If the first does not return results than do a second with the tax_query.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.