Home › Forums › ACF PRO › Making ACF data available to wp_search? › Reply To: Making ACF data available to wp_search?
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
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.