I am trying to set up a View that will display on a page. On the initial page load, the page will show all Partners. But there will be filters on this page for two taxonomies to allow end users to filter the results by their chosen taxonomy options.
I have this working as desired here:
hidden link
The filtering is working. The problem I have now is I do not want the filter to be a drop-down that only allows a single option to be selected. I'd like the options to display as checkboxes that the user selects to allow multiple options to be selected before they hit the Submit button.
I'd also like these filters to appear as a left side column on the page instead of above the results output. The page we are trying to emulate is here:
hidden link
Note that on this page we only have one taxonomy filter for Activities. The way we are setting this up on the new site is to have two taxonomies for Activities and Amenities. Can you show me how to make the options be shown as checkboxes and how to display them in a left sidebar to the side of the results? Any assistance you can provide or steer me to here will be greatly appreciated.
Languages: English (English )Chinese (Simplified) (简体中文 )
Timezone: Asia/Hong_Kong (GMT+08:00)
Hello,
You can find and select those two taxonomy filter fields, and change the option "Type of control" to "Set of checkboxes", see my screenshot checkboxes1.JPG
Languages: English (English )Chinese (Simplified) (简体中文 )
Timezone: Asia/Hong_Kong (GMT+08:00)
With classic editor, you can edit the post view, in section "Search and Pagination", select the taxonomy filter shortcode [wpv-control-post-taxonomy ...], click button "Edit filter", and change the option "Type of control" to: Set of checkboxes
See my screenshot checkboxes2.JPG
I highlighted the filter shortcode and clicked Edit filter and it did not take me to the screen in your screenshot. I remember that screen when I set up the filter initially though and now know I have to pick the correct option from there.
Since I couldn't get there, I tried changing the type=select to type=checkboxes and that worked. It's now displaying the options as checkboxes here:
hidden link
Now how do I get these options to display as a left sidebar instead of above the output?
OK, that was an easy one. I didn't realize that Output Editor was the place to do this. Now that you've shown me that, obtaining the desired results was easy.