nyla’s solution works almost perfectly. I’m just not getting results for Post Object titles.
For example, if a page has a Post Object field with a Post titled “Today”, doing a search for “Today” doesn’t return the page. However, if I search for the ID of the post, the page is output in the search results.
Even though the “Return Format” for the Post Object is Post Object and not Post ID.
Shouldn’t the Post Title get picked up?
Does anyone have an idea?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users