Good morning Themeco! I’m trying to use loopers + dynamic content to loop through and list out the options for a custom select dropdown I’ve made in ACF. The select dropdown is “State” and the choices in the State are all of the states. I’d like to somehow loop through all of these options and display them, ideally only if they have a posts with the specific state.
For better understanding… in our use-case, we have a directory of businesses within all 52 states/territories. We’re looking to create a dynamic list with only states that have businesses within them.
I was initially thinking something like this {{dc:acf:post_field_setting field="state" key="label"}}
would work, but I’m unsure exactly how to loop through all of the custom terms.
Thanks for your continued support!