
內容簡介
總結:這個 WordPress 外掛在 Gutenberg 的查詢循環分頁區塊中加入了一個“載入更多”選項,讓使用者可以在不刷新頁面的情況下載入更多文章。
1. 這個外掛在 Gutenberg 的哪個區塊中新增了功能?
- 在查詢循環分頁區塊中。
2. 如何啟用這個外掛的功能?
- 首先將查詢循環區塊新增到文章內容中。
- 在查詢循環區塊中新增分頁區塊。
- 在分頁區塊設定中啟用“載入更多”選項。
- 設定載入文本參數和按鈕文本。
- 根據需要自訂對齊和箭頭選項。
3. 這個外掛的載入更多功能有什麼好處?
- 使用者可以透過點擊“載入更多”按鈕而不需刷新頁面來載入更多文章。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
This WordPress plugin adds a load more option to the Query Loop Pagination block in Gutenberg, allowing users to load more posts without refreshing the page. It replaces the traditional Previous Next and numbered pagination, with a customizable, Load More button.
Instructions
To use this plugin, you must first add the Query Loop block into your post content, then add the Pagination block inside the Query Loop. When working with the Pagination block, you will see new options to enable load more on the block.
The load more option allows you to set a loading text parameter and also the button text. The load more button works with the alignment options and arrow options of the pagination block.
Here is how to enable the load more option:
Add the Query Loop block to your post content.
Inside the Query Loop block, add the Pagination block.
In the Pagination block settings, enable the “Load More” option.
Set the loading text parameter and the button text.
Customize the alignment and arrow options if desired.
That’s it! Your visitors can now load more posts by clicking the load more button without refreshing the page.
Customization Options
Alignment: Use standard block editor settings to set the alignment of the load more button
Button: Choose the button option for users to click to load more posts
Button Text: Customize the load more button text
Loading Text: Customize the text for the post loading state
Infinite Scroll: Choose this option to allow new posts to load automatically when users reach the bottom of the feed
Color: Customize the color of the load more button and the loading state icon when using the infinite scroll option
Update URL: Choose this option to update the browser’s URL when loading more posts
