Home › Forums › Backend Issues (wp-admin) › Search for category fields › Reply To: Search for category fields
I’m not sure I understand what you mean by category search field.
How difficult it is to search categories by a specific acf field depends on if you’re using ACF4 or ACF5.
In ACF 5 you can use get_terms() with a meta_query for the custom fields just like the meta query used for WP_Query().
In ACF 4 it is a lot more difficult. You’d need to get all the categories on your site and then loop through them and check the value the ACF field for each. If your time is worth anything then I’d suggest buying ACF5.
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.