Home Forums ACF PRO Problem with search title in PostObject Reply To: Problem with search title in PostObject

  • There isn’t a way to do the search that you are looking for, at least not easily.

    Normally when searching by post title and a meta query this is “AND” meaning that both the title AND the meta value must contain what you are searching for.

    There isn’t an easy way to do a search where the “post_title” OR the “meta_key” matches. Honestly, I haven’t a clue how to do this.

    What I would do is I would be to copy the post title to a meta value using an acf/save_post action. Then you can that meta key for searching. As far as breaking down the search string into words, I don’t know how to do that.