Home › Forums › Backend Issues (wp-admin) › ACF Relationship Search by SKU › Reply To: ACF Relationship Search by SKU
Yes, this topic comes up a lot, but generally it has to do with ACF fields. The issue is that ACF uses the standard WP search to find posts, meaning it only searches title and content. In order to include something else you need to modify the search query to include what you want to add. Here is a link that explains doing this https://adambalee.com/search-wordpress-by-custom-fields-without-a-plugin/
In order to add this to ACF what you need to do is to create an acf/fields/relationship/query filter. In this filter you would add the other filters that will make the changes to the query.
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’re reaching out to our multilingual users to ask for help in translating ACF 6.1. Help make sure the latest features are available in your language here: https://t.co/TkEc2Exd6U— Advanced Custom Fields (@wp_acf) May 22, 2023
© 2023 Advanced Custom Fields.