[WordPress] 外掛分享: Reorder by Term

首頁外掛目錄 › Reorder by Term
WordPress 外掛 Reorder by Term 的封面圖片
1,000+
安裝啟用
★★★★★
5/5 分(5 則評價)
9 天前
最後更新
問題解決
WordPress 6.5+ v1.3.0 上架:2015-01-27

內容簡介

Reorder By Term 是一個開發者工具。如果你不知道什麼是 menu_order 或自訂查詢,那麼這個外掛可能不適合你。這是 Reorder Posts 的附加功能,需要 Reorder Posts 2.1.0 或更高版本。

WordPress 原生並不支援按分類順序重排文章。雖然有其他外掛能夠重新排序,但它們通常會建立自訂資料表(需要複雜的自訂查詢和篩選器)和/或在核心資料表中添加一列或兩列,這在 WordPress 核心決定更新其模式時將不可持續。

Reorder by Term 使用自訂欄位,這意味著您可以按每個分類法和文章類型重新排序。這非常靈活。

由於 WordPress 原生不支援此功能,因此安裝插件後,您將需要建立分類數據。對於許多文章和分類法,這可能需要一些時間,但是您可以將建立限制為文章類型和分類法,如果,例如,您不想觸及常規博客文章(帶有類別和標籤)。

特色

提供了一個方便的建立分類工具,可以將分類數據添加到現有的文章中。
當您保存文章、更改分類法標記或刪除分類法時,它會自動修改/添加分類數據。
按文章類型、分類法,再按分類重新排序。
使用自訂欄位保存數據,因此您可以使用 get_posts、WP_Query 或 pre_get_posts 正確地排序查詢。

推廣

如果您喜歡此外掛,請幫忙推廣。評價一下外掛。寫一些關於外掛的內容。做些什麼了不起的事情:)

翻譯

目前尚未有翻譯。

如果您想貢獻翻譯,請發表支援請求,附上您的翻譯連結。

開發

開發工作在 GitHub 上進行。

您可以在 GitHub 上幫助我們 貢獻。

支援

如有任何疑問,請隨時在這裡發表支援請求或在 GitHub 上創建一個問題。如果需要立即反饋,請在 Twitter 上 @回覆我,附上您的支援連結:@ronalfy。支援始終免費,除非您需要某些超出插件現有功能範圍的高級自訂。如果我們幫助了您,請對外掛進行評分/評論以表示感謝。

外掛標籤

開發者團隊

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

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

原文外掛簡介

We consider Reorder By Term a developer tool. If you do not know what menu_order or custom queries are, then this plugin is likely not for you. This is an add-on to Reorder Posts and requires Reorder Posts 2.1.0 or greater.
Out of the box, WordPress does not support the ability to reorder posts within a term. There are other plugins out there that do term ordering, but they usually create custom tables (which require crazy custom queries and filters) and/or add a column or two to core tables, which is not sustainable in the long-term should WordPress core decide to update its schema.
Reorder by Term uses custom fields, which means you can reorder by term within each taxonomy AND post type. This is insanely flexible.
Since WordPress doesn’t support this by default, when you install the plugin, you’ll have to build the term data. For a lot of posts and terms, this can take a while, but you can limit the build to post types and taxonomies if, for example, you don’t want to touch regular blog posts (with categories and tags).
Features

Provides a convenient build-terms tool to add the term data to your existing posts.
Automatically modifies/adds the term data when you save a post, change a term slug, or delete a term.
Reorder based on post type, taxonomy, and then term.
Uses custom fields to save data, so you can use get_posts, WP_Query, or pre_get_posts to order your query correctly.

Spread the Word
If you like this plugin, please help spread the word. Rate the plugin. Write about the plugin. Something 🙂
Translations
None so far.
If you would like to contribute a translation, please leave a support request with a link to your translation.
Development
Development happens on GitHub.
You are welcome to help us out and contribute on GitHub.
Support
Please feel free to leave a support request here or create an issue on GitHub. If you require immediate feedback, feel free to @reply me on Twitter with your support link: @ronalfy. Support is always free unless you require some advanced customization out of the scope of the plugin’s existing features. Please rate/review the plugin if we have helped you to show thanks for the support.

延伸相關外掛

文章
Filter
Mastodon