Hi guys
I’m using Jaredatch’s Custom Meta Box class to create a multicheck metabox (https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress).
I’ve created a few options and would like to display on the front end whichever options have been checked.
I usually display custom meta using something like:
<?php if ( get_post_meta(get_the_ID(), ‘_cmb_mymeta’, true) ) {
echo get_post_meta(get_the_ID(), “_cmb_mymeta”, true); } ?>
But in this instance, it only displays the first option that is checked, not all of them.
What I really want to do is display each option that has been checked as a
Thanks, Martin