Meta Box
Support › General › STD in metabox RADIO
Not working?
Can you please send me your meta box code? So I can fix it for you.
array( 'name' => __( 'Mais Destinos EM ou NO ?', '_cmb_' ), 'id' => "{$prefix}mais_destinos_em_no", 'type' => 'radio', 'std' => 'em', // Array of 'value' => 'Label' pairs for radio options. // Note: the 'value' is stored in meta field, not the 'Label' 'options' => array( 'em' => __( 'Em', '_cmb_' ), 'no' => __( 'No', '_cmb_' ), 'na' => __( 'Na', '_cmb_' ), 'da' => __( 'Da', '_cmb_' ), 'de' => __( 'De', '_cmb_' ), ), ),
Hi catarinacarraro,
I've just tested with your code and I see the std value works, the radio with value "Em" is checked by default:
std