Filters can be rendered to screen using any of the following form element styles:
- Range Slider
- Checkbox
- Radio
- Select & Multi-Select
- Text Input
- Date Picker
Below are common questions regarding the Filters add-on. If you have a question and don’t see an answer here, please visit the support page and submit your request.
Filters can be rendered to screen using any of the following form element styles:
You can create filters based on any of the following WordPress query parameters:
Note: Each supported query parameter directly relates to an Ajax Load More shortcode parameter.
When a filter is saved or modified it is stored as an option in the WordPress Options table.
All filters are prefixed with the alm_filter_prefix in the options table.
No, once a filter has been deleted it is gone for good.
Using Select2 inside a Filters instance will require you to manually dispatch change events so the add-on can respond to the event.
$('.alm-filters select').on('select2:select', function() {
var e = this;
var val = e.options[e.selectedIndex].value;
var selectChange = new Event('change');
e.dispatchEvent(selectChange);
});
JavaScript$("#taxonomy-select-1").selectmenu({
change: function(event, ui) {
var e = this;
var val = ui.item.value;
var selectChange = new Event('change');
e.dispatchEvent(selectChange);
}
});
JavaScriptTo adjust the order of terms you can use the available term ordering hooks or create your own term listing using the alm_filters_{id}_{key} hook.
This is a common issue and in most cases the problem is core Ajax Load More shortcode parameters.
The core ALM shortcode requires a filters and target parameter to be set, these value link the shortcodes together – this is outlined here.
Example Shortcode[ajax_load_more target="search_filters" filters="true" id="alm_search_results"]
Yes! Version 1.13.0
of the add-on introduced support for multiple Filters on the same page.
Yes, Filters can be exported or imported into another site via JSON by visiting the Tools section of the Ajax Load More Filters dashboard.
On the tools page you can select the filters to be exported, or select a filters JSON file to be imported.