Query Loop Example
Displaying Query Loop content via infinite scroll with Ajax Load More
The Query Loop add-on is used to render Query Loop content via infinite scroll.
The browser URL is updated as new posts are loaded and come into view and when landing on a paged URL Ajax Load More will display a Previous Posts button which will allow users to load content in a reverse load more.
-
-
-
Tracking Pageviews with Google Analytics 4
Measuring page views automatically with GA4 and Ajax Load More.
The following shortcode was used to create the Query Loop Example example.
[ajax_load_more pause_override="true" button_label="Load More" button_loading_label="Loading..." prev_button_label="Load Previous Posts" prev_button_loading_label="Loading..."]
The following Repeater Template was used to create the Query Loop Example example.