The following example preselects a group of filterable checkboxes.
The Filters add-on for Ajax Load More can preselect form input values on page load by setting the preselected value option of a filter – this feature is available for the Radio, Checkbox and Select input types.
Example
Filter by Category
- Announcement
- Release Notes
- Tutorial
-
-
-
Tracking Pageviews with Google Analytics 4
Measuring page views automatically with GA4 and Ajax Load More.
-
Ajax Load More 5.6
A release focused on new features, facet filtering and extending existing functionality.
Shortcodes
The following shortcodes were used in the above example.
Filters Shortcode[ajax_load_more_filters id="preselected_filters" target="alm_preselected_filters"]
Ajax Load More Shortcode[ajax_load_more id="alm_preselected_filters" filters="true" target="preselected_filters" preloaded="true" post_type="post" category="announcement,release-notes,tutorial"]
Filter Group
The screenshot below illustrates how to set up Preselected Values in the Ajax Load More Filters admin.
