[Plugin: Custom Field Template] output of checkboxes
-
Using checkboxes like in the example :
[Favorite Fruits]
type = checkbox
value = apple # orange # banana # grape
default = orange # grapeI try do display the selected items, but only the first checked one (for instance “apple”) appears in html.
I call the field like this :
<?php echo get_post_meta($post->ID, 'Favorite Fruits', true); ?>
something wrong ?
(I’m not a php guy, only html/css and wp template tags…)
Thanks !
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: Custom Field Template] output of checkboxes’ is closed to new replies.