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 blog I need help with is: (visible only to logged in users)
-
Hi! You’ve actually reached the forum for sites that use our free-tier hosting. We’re a little different from the WordPress software itself. This article explains some of the differences.
For this, I’d recommend reaching out to WP Residence support directly. Then, going forward, you’ll want to create an account at WordPress.org so you’ll have access to the correct community for your site. Or, you’d be welcome to host here; your plan would get direct support.
I hope this helps!
- The topic ‘WPresidence theme property listing directory customization Question?’ is closed to new replies.