WPresidence theme property listing directory customization Question?
-
I’m currently working on the WPresidence theme and for some reason having trouble changing a dropdown list to a checkbox list. I need it this way so that multiple categories can be selected at the same time to populate the required property listings matching the categories selected from the checkbox options.
The file I’m working on is?directory_filters.php?(templates/directory_filters.php).
The code snippet that I’m trying to convert in the directory_filters.php is as follows:
<div class=”dropdown form-control directory-adv_category”>
<div data-toggle=”dropdown” id=”sidebar-adv_categ” class=”sidebar_filter_menu” data-value=”<?php print esc_attr($adv_categ_value1);?>”>
<?php print esc_html($adv_categ_value);?>
<span class=”caret caret_sidebar”></span>
</div>
<input type=”hidden” name=”filter_search_type[]” value=”<?php if(isset($current_adv_filter_search_category[0])){print ( esc_attr( wp_kses( $current_adv_filter_search_category[0], $allowed_html) ) );}?>”>
<ul class=”dropdown-menu filter_menu” role=”menu” aria-labelledby=”sidebar-adv_categ”>
<?php print trim($categ_select_list);?>
? ? ? ? </ul>
</div>
Anyone know how I can proceed having checkboxes instead of a dropdown list selection?
Thank you.
The page I need help with: [log in to see the link]
- The topic ‘WPresidence theme property listing directory customization Question?’ is closed to new replies.