ACF Checkbox true/false
-
im trying to add some code when a true/false ACF checkbox is checked, i tried this shortcode:
[if field mobile checkbox=”mobile” value=”1″]its mobile[/if]but it wont work, when the box is checked and I use this shortcode:
[field mobile]
it gives me “1”.
Apparently the problem is that i dont have the name of the checkbox, so im guessing by calling it the same way as the field, what would be the name of that true/false ACF checkbox or how would i achieve this function?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘ACF Checkbox true/false’ is closed to new replies.