Home › Forums › Feature Requests › Advanced Search for custom fields › Reply To: Advanced Search for custom fields
Hi @mrdigitalau
Thanks for the question. This is within the scope and I have done it many times with ACF and WP.
WP has a get_posts function / WP_Query which accepts a meta_query argument.
This allows you to search custom field data. There is a resource article which should how to do some querying, so that would be a good place for you to start.
After that, you need to create a custom page template, or use an archive as a place to render the loop and then find a way to pass arguments to the query either by AJAX, or by url $_GET param.
Thanks
E
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.