Home › Forums › General Issues › meta_query not working and stopping all results › Reply To: meta_query not working and stopping all results
Thanks for the input John.
A search for a string that does not exist does not return results – as expected. Or am I missing something here?
The term can be in the title OR
content OR
any custom field defined in meta_query.
Are you saying WordPress forces an AND
to it.
WordPress forces
post_title, post_content AND
(custom_field_1 OR custom_field_2 …) ?
But I want
post_title, post_content OR
(custom_field_1 OR custom_field_2 …) ?
thanks, D.
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.