Home › Forums › Front-end Issues › Count field selection in a WP Query › Reply To: Count field selection in a WP Query
I would create a custom taxonomy. The terms in the taxonomy would be the price brackets. Then I would create an acf/save_post filter. In this filter I would get the price entered, figure out what bracket it belongs in and add the correct term to the post. This will allow showing a list of these terms with their counts which is something built into WP. This taxonomy could also be used to easily show a list of items that are in each bracket.
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.