I’ve been wondering forever how to get a multi-select dropdown of my categories and finally found my answer here in the form of:
<?php $select_cats = wp_dropdown_categories( array( 'echo' => 0 ) ); $select_cats = str_replace( "name='cat' id=", "name='cat' multiple='multiple' id=", $select_cats ); echo $select_cats; ?>
Which is AMAZING. However, I need it to go one step further and have a multi-select dropdown of a custom taxonomy called regions.
How can I accomplish this?
- The topic ‘select list of CUSTOM TAXONOMY with the option multiple’ is closed to new replies.