plugin-icon

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.
Ratings
5
Last updated
March 30, 2024
Version
1.1.0
Active installations
300
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.

The blocks frontend script will detect when the user is 1200px (default value) from the infinite scroll block before fetching more posts so it is best to place it right after your theme template block. In addition to the Infinite Scroll Block, 2 optional blocks also are included:

  • Loading Posts Block: Container that will display its content while more posts are loading
  • No More Posts Block: Container that will display when there are no more posts to load in

Additional Notes

  • Adding more than one Post Template Block to a Query Block has undefined behavior.
  • Adding more than one Infinite Scroll Block to a Query Block has undefined behavior.
Freeon Creator plan
Active installations
300
Tested up to
6.4.5
This plugin is available for download to be used on your WordPress self-hosted installation.