Home › Forums › Front-end Issues › ACF Search in Post Object › Reply To: ACF Search in Post Object
Since you are using a post object field, you could use a select field for your search where the value of each option is $post->ID
and the value of the field is $post->post-title
and then you can do a meta query on the post object field using the post ID instead of the post title.
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.