Home › Forums › WP RESIDENCE – Real Estate WordPress Theme FORUM › property_categories.php from dropdown single select to multiple › Reply To: property_categories.php from dropdown single select to multiple
By adding multiple you allow only for multiple selects on that particular select. But that does not mean it is saved into database with multiple values, or is interpreted as multiple values in the same page.
The code is not working probably because the post variable is now an Array and you need to save it like one. Then you need to check every category and see if is inside the array you just saved and marked as selected. In the same page you should do a print of the variable and see if it saved correctly.
It’s possible this development link will help with more technical steps: http://wordpress.stackexchange.com/questions/170316/multiple-checkboxes-metabox