mercredi 3 août 2022

ACF all checkbox values list taken from admin

I have ACF checkbox field with three choices. I'm trying to generate filter for post types in my page template. and I need to show the list of all choices from the admin settings. Not only those that were checked for each post type, but all values to generate the filter on the page. Not getting which exact parameters to use to make this happen. I know how to show posts depending on the checked choices, but I need a list of all values from checkbox field to make the filter with options enter image description here




Aucun commentaire:

Enregistrer un commentaire