Showing values from a checkbox
-
Hello,
I don’t manage to do a simple thing… I finded all the morning but nothing. I’d like to show values (taxonomy) in my single.php from a checkbox.
How you do that ? I tried that for example an nothing :
$field_obj = get_field_object('type_metier'); $metiers = get_field('type_metier'); // array of selected color values foreach($metiers as $val) { print $val; }Thanks for you help,
Jonathan
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Showing values from a checkbox’ is closed to new replies.