[WordPress] 外掛分享: Infinite Scroll Reloaded

首頁外掛目錄 › Infinite Scroll Reloaded
WordPress 外掛 Infinite Scroll Reloaded 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
全新外掛
安裝啟用
尚無評分
316 天前
最後更新
問題解決
WordPress 5.0+ v2.0 上架:2017-02-28

內容簡介

Nr Infinite Scroll Posts 外掛可用於控制顯示文章或自訂文章類型的文章。
該外掛提供了一個 shortcode,利用捲動網頁滾動條的方式顯示文章。

簡碼:
[NR_INIFINITE_SCROLL]
您可以將此簡碼用於任何頁面,或者
您可以直接在 PHP 檔案中使用 do_shortcode(‘[NR_INIFINITE_SCROLL]’); 進行呼叫。

簡碼參數:

post_type=”Custom Post Type” 或預設文章
posts_per_page=數字型別的文章數量,預設一頁顯示 5 篇文章
author_label = ‘true’ 或 ‘false’,預設值為 true
comments_label = ‘true’ 或 ‘false’,預設值為 true
date_label = ‘true’ 或 ‘false’,預設值為 true
以下是包含所有參數的完整簡碼:

[NR_INIFINITE_SCROLL post_type=”post” posts_per_page=’10’ author_label=’true’ comments_label=’true’ date_label=’true’ ]

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Infinite Scroll Reloaded」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

A lightweight plugin to add infinite scroll and load more functionality using a shortcode or widget. Display posts from any post type with flexible settings.
Usage
Shortcode Example:
[infscroll post_type=”post” scroll_type=”loadmore” view=”list”]
Parameters:

post_type – (string) The post type to display. Default: “post”.
Example: post_type="product" to show WooCommerce products.

posts_per_page – (int) Number of posts to load initially and per scroll. Default: 5.
Example: posts_per_page="10"

scroll_type – (string) The scroll behavior. Options:

"loadmore" – Adds a Load More button
"infinite" – Loads automatically as the user scrolls
Default: "loadmore"

view – (string) Display layout. Currently supports:

"list" – Posts appear in a vertical list
Default: "list"

Example:
Load custom post type with 10 items per scroll:
[infscroll post_type=”event” posts_per_page=”10″ scroll_type=”infinite”]

延伸相關外掛

文章
Filter
Apply Filters
Mastodon