I created an ACF checkbox custom field for my custom post type called Programs. I’d like to be able to conditionally hide or show columns on my Looper based on which field(s) were selected.
The checkbox is called Program Availability and there are 2 options Summer Programs or After School Programs.
What I’d like to do is display content on my looper only in the event that a specific value is given within the checkbox.
For example, when the checkbox Program Availability has the value Summer Programs, I’d like column 1 to be visible. And when the checkbox Program Availability has the value After School Programs I’d like column 2 to be visible.
What conditions do I have to set in order to make either of those columns visible based on the checkbox selection?