Support

Account

Home Forums General Issues meta_query not working and stopping all results Reply To: meta_query not working and stopping all results

  • The problem with altering the search query is that the search word would need to be in:

    (title OR content) AND $custom_field

    and this is why no results are returned, because the search terms are likely not in both places.

    Here is an explanation on how to do what you’re trying to do https://adambalee.com/search-wordpress-by-custom-fields-without-a-plugin/