Home › Forums › Backend Issues (wp-admin) › Relationship Field: search by ID › Reply To: Relationship Field: search by ID
Searching by anything other than post title/content in WP is difficult. ACF basically uses the built in WP admin search the same way that WP uses it when, for example you search for posts on the list of posts. You can’t just add the post ID into the s
argument and expect this to work.
I recently replied to another similar topic and this is what I found then https://wordpress.stackexchange.com/questions/99849/search-that-will-look-in-custom-field-post-title-and-post-content
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.