06/22/2016 at 9:40 am
#380321
Keymaster
@ Carolin
re: is it possible to turn this into a multiple selector rather than a single selector drop-down?
This, well, is possible but much more difficult because it will be both the widget and content block because both are designed to show the value, not multiple. Perhaps using the Hobbies extension instead would be better since it is designed to show multiple options and values.
You could “swap out” the hobby options with your education options using a filter like so:
add_filter( 'cn_education_level_options', 'cn_change_hobby_to_edu_lvl' ) );
function cn_change_hobby_to_edu_lvl( $options ) {
$options = array(
'Education Choice One',
'Education Choice Two',
'Education Choice Three',
'Education Choice Four',
'Education Choice Five',
);
return $options;
}
Hope that helps!
