Infinite Scroll Block
Adds an infinite scroll block to the full site editor that can be placed inside a Query Loop to replace classic pagination.
Overview
Compatibility
Customer support & learning resources
Changelog
Main benefits
Infinite scroll functionality
Replaces classic pagination
Detects user proximity
Includes loading posts block
Includes no more posts block
About this plugin
Author: Patrick
Categories: Content Management
Version: 1.1.0
Last updated: 30-03-2024
WordPress version: false
Tested up to: 6.4.5
PHP version required: false
Languages:
Tags:
Overview
The Infinite Scroll Block plugin enhances the full site editor in WordPress by introducing an infinite scroll feature, which substitutes traditional pagination within a Query Loop. When users approach 1200px (default) from the designated infinite scroll block, the frontend script automatically loads additional posts, providing a seamless browsing experience. The plugin also includes two optional blocks: the Loading Posts Block, which shows content during the loading process of new posts, and the No More Posts Block, which displays when there are no more posts to load. Users should note that using more than one Post Template Block or Infinite Scroll Block within a single Query Block may result in undefined behavior.
Infinite Scroll Block
- Replaces classic pagination with infinite scrolling.
- Detects when the user is 1200px from the block to fetch more posts.
- Best placed right after the theme template block.
Loading Posts Block
- Displays content while more posts are loading.
- Provides a visual indication that more content is being fetched.
No More Posts Block
- Displays a message when there are no more posts to load.
- Informs users that they have reached the end of the content.
Full Site Editor Integration
- Can be placed inside a Query Loop in the full site editor.
- Enhances the user experience by seamlessly integrating with the site's design.