Home › Forums › General Issues › meta_query not working and stopping all results › Reply To: meta_query not working and stopping all results
Exactly, WP forces this
post_title, post_content
AND
(custom_field_1 OR custom_field_2 …) ?
You must add code to alter the WHERE portion of the query as in the link provided to get this
post_title, post_content
OR
(custom_field_1 OR custom_field_2 …) ?
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.