이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

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.

블록

이 플러그인은 3(을)를 제공합니다.

  • No More Posts Contains the elements that are displayed when there are no more posts to fetch (optional block).
  • Loading Posts Contains the elements that are displayed while loading posts (optional block).
  • Infinite Scroll Implements inifnite scroll functionality. The number of posts loaded when triggered is equivalent to the Query Loops 'Items Per Page' setting.

후기

2024년 11월 12일
New:ish to Wordpress and especially to FSE and Gutenberg block editor. Easy way to get infinite scroll working in your FSE theme. Cheers!
2024년 11월 1일
It works but it interferes with w3 total cache lazy load images. I could only make it load the posts properly by disabling the image lazy load from the W3 total cache settings, which is not ideal, but it is the ONLY infinite loop block that actually works.
2024년 8월 5일
This plugin and the new block you created works so well. FINALLY, a plugin that doesn’t reinvent the wheel, just upgrades the rims!!! Made my day.One funny thing I noticed that has nothing to do with functionality – if I don’t have your plugin loaded and I hit the [+] button in the editor and type Infinite, your plugin comes up under a different name – I think it said “No more posts” hahahahah … but same icon, same ratings.
2022년 12월 14일 답글 1개
Very good extension, works well in most cases, but I found an issue with list blocks. Some times, the list flows out of the post article. I have a blog page, with 2 columns and 4 items per page. When there is a list block in post number 5, the list flows out. It’s ok if there is a list block in post number 4. I hope this will help you. Thanks
2022년 11월 21일
Love the simplicity of this plugin. Works perfectly within Site Editor themes. Nice work 🚀
모든 6 평가 읽기

기여자 & 개발자

“Infinite Scroll Block”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Infinite Scroll Block”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0.1

  • Fixed issue where a list element inside of a posts content would be stripped out and placed into the query block list

1.1.0

  • Fixed issue where sticky posts would we included in every single fetch request
  • Fixed infinite loop where sticky posts would continue to load even after all posts have been loaded
  • Removed throbber editor panel because it was not intuitive to use (kept styles for backwards compatibility)