Deactivate select2 on member directory filter
-
Hello,
I’m having issues with select2 dropdowns. I was able to get the dropdown to display on the edit profile page using this code from another topic:add_filter( ‘um_extend_field_classes’, ‘um_121520_extend_field_classes’, 10, 3);
function um_121520_extend_field_classes( $classes, $key, $data ){if( $key == ‘primarymedium’ ){
$classes = str_replace(“um-s1”, “”, $classes);
}
return $classes;
}`However I need to also display this “primarymedium” dropdown on my member directory filter. I have the field added in the directory settings but it still shows as hidden. Any ideas? Thanks in advance!
The page I need help with: [log in to see the link]
- The topic ‘Deactivate select2 on member directory filter’ is closed to new replies.