[WordPress] 外掛分享: Orderli

首頁外掛目錄 › Orderli
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
200+
安裝啟用
尚無評分
5461 天前
最後更新
問題解決
WordPress 2.5+ v1.2 上架:2011-04-02

內容簡介

Orderli 在連結編輯頁面中新增了一個訂單輸入框。這個訂單編號可以讓您明確指定 wp_list_bookmarks 和 get_bookmarks 函數的順序。如果您提供了排序參數 orderby,則給連結設置了訂單編號將自動覆蓋任何排序順序。您所提供的 order 參數將根據升序或降序對連結進行排序。

另一方面,如果將所有連結都設置為相同的訂單編號,則會套用您提供的 orderby 排序選項。例如,將所有連結的訂單編號保持為零將對順序沒有影響。這讓您可以通過給一組連結設置相同的訂單編號來創建分組。然後,您可以使用 orderyby 參數在這些分組中進行排序。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Orderli adds an order input box to the links editing page. The order number lets you explicitly specify an order for the wp_list_bookmarks and get_bookmarks functions. Giving links an order number automatically overrides any sort order you provide with the orderby argument. The links are sorted in ascending or descending order depending on the order argument you provide.
On the other hand, giving links the same order number will apply whatever sort option you provided with orderby. For instance, leaving all links with an order number of zero will have no affect on ordering. This lets you create groups by giving sets of links the same order number. You can then sort within those groups with orderyby parameter.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon