[WordPress] 外掛分享: Simple Custom Posts per Page

首頁外掛目錄 › Simple Custom Posts per Page
WordPress 外掛 Simple Custom Posts per Page 的封面圖片
50+
安裝啟用
尚無評分
5149 天前
最後更新
問題解決
WordPress 2.7+ v1.0 上架:2012-02-10

內容簡介

Simple Custom Posts per Page (SCPP) 允許配置 WordPress 中每個自訂文章類型要顯示的文章數量。

請參閱 截圖 以了解為什麼它被稱為“簡單”。

在 WordPress 設置選項卡的 Readme 頁面中,它為每個文章類型添加了一個選項。

禁用篩選外掛:

您可以在需要時在模板中禁用外掛篩選。也許您需要一個具有不同自訂文章每頁數目的查詢,用於特定的文章類型。

在查詢之前使用以下代碼,即可為特定的文章類型禁用篩選外掛:

<?php $GLOBALS['ado_cspp_disable']="YOUR_TYPE"; ?>

使用此代碼,您可以為循環使用個性化查詢。

更多信息:

您可以在我部落格的官方文章中找到更多信息。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Simple Custom Posts per Page (SCPP) allows to configure the number of posts displayed for every custom post registered in WordPress.
See Screenshots to known why it is called “Simple”.
In your Readme page in Setting tab of WordPress, it adds an option for every post type.
Disable Plugin in Template:
You can disable plugin filters in your template whenever you want. Maybe you need a query with a different number of custom posts per page for a specific post type.
Using this code before your query, the filter plugin will be disabled for a specific post type:

With this code, you can use your personalized query for your loop.
More:
You can find more informations in the official Post on my Blog.

延伸相關外掛

文章
Filter
Mastodon