[WordPress] 外掛分享: ReOrder Posts within Categories

首頁外掛目錄 › ReOrder Posts within Categories
WordPress 外掛 ReOrder Posts within Categories 的封面圖片
7,000+
安裝啟用
★★★★
4.7/5 分(60 則評價)
831 天前
最後更新
問題解決
WordPress 4.4+ PHP 5.6+ v2.14.5 上架:2012-12-16

內容簡介

由於 WordPress 核心的錯誤,導致檔案分類法查詢在前端沒有被正確排序。如果您的文章不在前端網站中被排序,請閱讀這個討論串以獲取更多資訊。

v2.3現在支援多文章分類法。對於在多種文章類型中註冊的分類法,可以手動和分別對每種類型的項目進行排序。

如果您正在從v1.x升級,您舊的排序資料將不會受到v1.x外掛使用的自訂表格的影響。然而,在v2.x中,所有排序現在都以文章的meta方式儲存。許多使用者在升級時抱怨缺少文章或失去排名。如果是這種情況,您可以在管理介面中使用提供的重設勾選框/按鈕來為給定的項目重設其順序(見截圖#4)。這將重新載入v1.x自訂表格的排序。請閱讀常見問題解答#17以獲取更多有關如何遷移數據的資訊。

如果您的項目在v1.x表格中未排序,或您是從v2.0.x或v2.1.x升級的話,那麼重設按鈕將依照默認的WP帖子表列重新載入文章排序方式,可以使用所提供的過濾器進行更改(參見常見問題解答#7)。

ReOrder Post Within Categories可用於通過拖放介面以任何自訂順序對貼文(和自訂貼文類型)進行排序。
它的作用對應到選定的分類,每個分類可以對相同貼文進行不同的排序。

新增強版2.0採用網格佈局和多拖放介面,以便於對大量貼文進行排序。使用SortableJS外掛。 如果您將這個外掛用於商業網站,請考慮向SortableJS的作者捐贈以支持他的開發工作。

感謝

Nikita Spivak負責俄文翻譯。
Tor-Bjorn Fjellner負責翻譯並進行I18N整理。
alekseo提供插件支援。
Andrei Negrea修正了貼文刪除問題。

感謝

@maddogprod幫忙解決自訂分類前端排序的問題。
@menard1965幫助解決 get_adjacent_post的先後順序問題。
@alexjamesbishop幫忙修正「orderby」錯誤。
@pondermatic修正了最小範圍問題。
@andreicnegrea修復了偏移量警告問題。
@isinica修正了編輯文章時消失的排序文章問題。
從playimports.com.au贊助WooCommerce外掛升級的@sarahjsouris
@howdy_mcgee幫忙修正WooCommerce的數組排序指令。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.14.5) 或搜尋安裝

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

原文外掛簡介

Due to a bug in WordPress core, archive taxonomy queries are not being ranked properly on the front end. If your posts are not being ranked on your front-end site please read this thread for more information.
v2.3 is now multi-post taxonomy enabled. A taxonomy registered with multiple post types can has its term’s posts in each type ranked manually and separately.
UPGRADE NOTE if you are upgrading from v1.x, your old ranking data remains unaffected in the custom table used by the v1.x plugin. However, in v2.x all the ranking is now stored as post meta. While upgrading, some users have complained of missing posts/lost rankings. If this is the case, you can reset your order for given term using the reset checkbox/button provided in the admin page (see screenshot #4). It will reload the ranking from the v1.x custom table. Please read FAQ #17 for more information on how to migrate your data.
If your term was not sorted in the v1.x table or you are upgrading from v2.0.x or v2.1.x, then the reset button will reload the post order as per the default WP post table listing, which can be changed using the filtrs provided (see FAQ #7).
ReOrder Post Within Categories is used to sort posts (and custom post type) in any custom order by drag & drop interface.
It works with a selected category, each category can have different order of same post.
New enhanced version 2.0 with grid-layout and multi-drag interface to ease sorting of large list of posts. Makes use of SortableJS plugin. If you are using this plugin for a commercial website, please consider making a donation to the authors of the SortableJS plugin to continue its development.
Thanks to
Nikita Spivak for the Russian translation.
Tor-Bjorn Fjellner for the swedish translation and i18n clean-up.
alekseo for support for the plugin.
Andrei Negrea for post delete bug fix.
maddogprod for helping resolve custom taxonomy front-end ordering.
menard1965 for helping resolve get_adjacent_post prev/next ranked posts.
alexjamesbishop for helping fix the ‘orderby’ bug.
pondermatic for fixing the min-range bug.
andreicnegrea for fixing the offset warnings.
isinica for fixing the disappearing ranked post when editing them.
sarahjsouris from playimports.com.au for sponsoring WooCommerce plugin upgrade.
howdy_mcgee – helping fix array orderby directives for WooCommerce.
pavelkovar – helping fix html escaping issues on admin pages.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon