[WordPress] 外掛分享: Intuitive Custom Post Order

首頁外掛目錄 › Intuitive Custom Post Order
WordPress 外掛 Intuitive Custom Post Order 的封面圖片
400,000+
安裝啟用
★★★★
4.4/5 分(139 則評價)
184 天前
最後更新
問題解決
WordPress 3.5.0+ v3.2.0 上架:2012-10-20

內容簡介

在 WordPress 的設定選單中,從「直覺式 CPO」選單中選擇可排序的項目。
使用直覺式的拖曳排序 JavaScript 直覺地排序項目(文章、頁面、自訂文章類型、自訂分類法、網站)。
在您的佈景主題中使用參數(orderby = menu_order,order = ASC)。

您也可以覆寫自動轉換的參數(orderby和order)。
注意:只有當您使用 'get_posts()' 重新覆寫回預設順序時(orderby = date,order = DESC),您需要使用自己的自訂參數 'orderby = default_date'。

此外掛程式已發佈在 GitHub 上。

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.2.0) 或搜尋安裝

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

原文外掛簡介

Intuitively reorder Posts, Pages, Custom Post Types, Taxonomies, and Sites with a simple drag-and-drop interface.
Intuitive Custom Post Order lets you reorder items with simple drag and drop in the WordPress admin.
You can sort Posts, Pages, Custom Post Types, Taxonomies, and (on Multisite) Sites.
Go to Settings → Intuitive CPO and select which content types you want to make sortable.
Once enabled, just drag and drop items in the list tables—no extra setup is required.
If you create custom queries in your theme or plugins, set orderby=menu_order and order=ASC to respect the drag-and-drop order.
To keep the default WordPress order (by date), explicitly set orderby=date and order=DESC.
Source code and development are available on GitHub.

延伸相關外掛

文章
Filter
Mastodon