[WordPress] 外掛分享: Custom Posts Per Page

首頁外掛目錄 › Custom Posts Per Page
WordPress 外掛 Custom Posts Per Page 的封面圖片
900+
安裝啟用
★★★★
4.8/5 分(12 則評價)
4115 天前
最後更新
問題解決
WordPress 4.0+ v1.7.1 上架:2011-10-06

內容簡介

「Custom Posts Per Page」允許您根據您當前的視圖指定每頁顯示多少篇文章。一旦設置更改,閱讀選單中的「顯示最多篇數」設置將被忽略。

可用設置如下:

首頁(索引)頁面

只要視圖設置為部落格文章,而不是靜態頁面即可。

分類頁面
標籤頁面
作者頁面
存檔頁面
搜尋頁面
預設頁面(未包含在以上設置中的任何頁面)
自訂文章類型存檔頁面

所有自訂文章類型均會自動偵測。

以上每個設置都可以針對顯示的第一頁和後續頁面視圖設置不同的值。

「Custom Posts Per Page」可以輕鬆管理您的內容如何顯示給讀者,尤其是當不同的視圖有不同的佈局時,而不是依賴閱讀選單中的單一設置或在自訂佈景主題中硬編碼選項。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.7.1) 或搜尋安裝

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

原文外掛簡介

Custom Posts Per Page allows you to specify how many posts are displayed per page depending on your current view. Once settings are changed, the Blog pages show at most setting in the Reading menu will be ignored.
Settings are available for:

Home (Index) Page

As long as view is set to blog posts, not static page.

Category Pages
Tag Pages
Author Pages
Archive Pages
Search Pages
Default Page (Any page not covered above.)
Custom Post Type archive pages

All Custom Post Types are detected automatically.

Each of the above settings can have a different value for the first page displayed and subsequent paged views.
Custom Posts Per Page makes it easy to manage exactly how your content is displayed to your readers, especially when different views have different layouts, rather than relying on the single setting in the Reading menu or having to hard code options in your custom theme.

延伸相關外掛

文章
Filter
Mastodon