Directory / plugin
Weblazer Infinite Scroll for Block Themes
v1.0.2 · by WEB LAZER
High-performance infinite scroll for WordPress. Native JS, SEO-friendly with URL synchronization. Optimized for Block Themes and the Query Loop block.
About this plugin
Weblazer Infinite Scroll provides a way to add infinite scrolling to your WordPress archives. Built with performance in mind, it is written in Vanilla JS and relies on the native Intersection Observer API for efficient scroll detection.
This plugin is specifically optimized for modern WordPress block themes and the Query Loop block, ensuring seamless integration with the Site Editor. It also features URL synchronization, which updates the browser address bar as users scroll through different pages.
For Developers
You can hook into the event when new posts are loaded to re-run your custom scripts:
document.addEventListener('weblazer:infinite-scroll:posts-loaded', (e) => {
console.log('Page loaded:', e.detail.page);
console.log('URL:', e.detail.url);
});