外掛說明
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);
});
安裝方式
- Upload the plugin directory to your
/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- The plugin will automatically detect post lists on your archive pages that use standard WordPress pagination classes.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.0.2 – 2026-04-16
- ✅ Verified compatibility with WordPress 7.0.
- 🚀 Maintenance release.
1.0.1
- Renamed plugin to Weblazer Infinite Scroll for Block Themes to meet WordPress repository requirements.
- Cleaned up marketing language in readme.
- Improved prefixing for better compatibility.
- Added support for custom events.
1.0.0
- Initial public release.
