Filter Bar comes with a number of template files that determine how the add-on looks and behaves. We call these templates views because they create the pages and elements that you see on your site.
Each template can be copied and customized in your theme folder and are located at: /wp-content/plugins/the-events-calendar-filterbar/src/views/
.
Template | What it Does |
---|---|
v2_1/filter-bar.php | The main filter bar template that calls all the other components |
| Displays the selected filters in vertical layout |
| Contains the clear button and action done button |
| Displays the filters in either the horizontal or vertical layout |
| Contains the JavaScript to setup the filter slider in horizontal layout |
| Contains the JavaScript to setup the css breakpoints |
| Displays the button to open or close the filters in horizontal layout |
| Contains the checkbox type input |
| Displays the clear button |
| Contains the dropdown type input |
| Handles finding the type of filter |
| Contains the main individual filter container |
| Contains the multiselect type input |
| Contains the template for vertical layout selections |
| Contains individual filter selections and remove button when in horizontal layout |
| Contains the radio type input |
| Contains the range type input |