Home › Forums › Pre-purchase Questions › Filter pages using ACF fields › Reply To: Filter pages using ACF fields
There are built in ways in WP for adding things like Products and Brands. These would be custom post type and custom taxonomy. Most filtering can be done using custom taxonomies for things like brands and product categories. I would start there.
ACF is great for things that would be difficult to manage using a custom taxonomy. For example, the number in stock or something like a part number associated with each product. Or for that matter, any value that would be unique, or even semi unique for each product.
You can create filters using ACF, but most of the work of building the filter/search form and the queries that display the posts for the search would need to be coded by you.
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.