跳到内容

Infinite Scroll Block

v1.1.0

Patrick · 2022年11月18日 上架

Adds an infinite scroll block to the full site editor that can be placed inside a Query Loop to replace classic pagination.

正在使用
300+
评分
5.0 / 5
累计下载
5,040
最近更新
2024年3月30日
6 条评价已测试到 6.4.15

贡献者

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums