The following example displays a list of active filters above the Ajax Load More listing.
When using the Filters add-on for Ajax Load More you can easily render selected filters anywhere on the screen by adding the following HTML element to your template or page.
<ul id="alm-selected-filters"></ul>
HTMLMake a selection below:
Categories
- Announcement
- Open Source
- Release Notes
- Thoughts
- Tutorial
Tags
- Accessibility
- ACF
- Add-on
- AdSense
- Ajax Load More
- DFP
- Easy Query
- Elementor
- Facets
- Filters
- GA4
- Github
- Google Analytics
- Google Tag Manager
- Help
- How To
- Infinite Scroll
- Instant Images
- JavaScript
- Marketing
- Masonry
- News
- Openverse
- Plugins
- Release Notes
- Repeater Templates
- REST API
- Security
- SEO
- Sticky Posts
- Stock Photos
- WooCommerce
- WordPress
-
-
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.
The Shortcodes
The following shortcodes were used in the above example.
Filters Shortcode[ajax_load_more_filters id="selected_filters" target="alm_selected_filters"]
Ajax Load More Shortcode[ajax_load_more id="alm_selected_filters" filters="true" target="selected_filters" preloaded="true" post_type="post" posts_per_page="4" scroll="false" button_label="Load More"]