前言介紹
- 這款 WordPress 外掛「Reorder Terms」是 2015-10-03 上架。
- 目前有 1000 個安裝啟用數。
- 上一次更新是 2024-11-03,距離現在已有 181 天。
- 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
- 有 1 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
ronalfy |
外掛標籤
reorder | reorder terms |
內容簡介
we consider Reorder Terms 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.
Reorder Terms takes a different approach to term reordering. Instead of modifying core tables to achieve reordering, we do it using term meta per post type.
With the ability to add taxonomies to multiple post types, this method allows you to reorder terms within each post type attached to the same taxonomy.
This plugin treats terms like pages. Each term in a hierarchy has a term order. This allows quick reordering and deep traversing to get the exact terms and order you prefer.
As a result, you can get reordered terms with a query such as:
$query = array(
'orderby' => 'meta_value_num',
'order' => 'ASC',
'meta_query' => array(
'relation' => 'OR',
array(
'key' => 'post_order',
'compare' => 'NOT EXISTS'
),
array(
'key' => 'post_order',
'value' => 0,
'compare' => '>='
)
),
'hide_empty' => true,
'parent' => 0
);
$terms = get_terms( 'post_format', $query );
echo '
- ';
- %s ', esc_html( $term->name ) );
foreach( $terms as $term ) {
printf( '
}
echo '
While admittedly the query isn’t exactly poetry, it’s efficient, and insanely flexible.
Features
Add-on to Reorder Posts, so there is only one place to do all your reordering.
Reorder terms for each taxonomy within each post type. Very flexible.
Spread the Word
If you like this plugin, please help spread the word. Rate the plugin. Write about the plugin. Something 🙂
Development
Development happens on GitHub.
You are welcome to help us out and contribute on GitHub.
原文外掛簡介
We consider Reorder Terms 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.
Reorder Terms takes a different approach to term reordering. Instead of modifying core tables to achieve reordering, we do it using term meta per post type.
With the ability to add taxonomies to multiple post types, this method allows you to reorder terms within each post type attached to the same taxonomy.
This plugin treats terms like pages. Each term in a hierarchy has a term order. This allows quick reordering and deep traversing to get the exact terms and order you prefer.
As a result, you can get reordered terms with a query such as:
$query = array(
'orderby' => 'meta_value_num',
'order' => 'ASC',
'meta_query' => array(
'relation' => 'OR',
array(
'key' => 'post_order',
'compare' => 'NOT EXISTS'
),
array(
'key' => 'post_order',
'value' => 0,
'compare' => '>='
)
),
'hide_empty' => true,
'parent' => 0
);
$terms = get_terms( 'post_format', $query );
echo '
- ';
- %s
foreach( $terms as $term ) {
printf( '
', esc_html( $term->name ) );
}
echo '
';
While admittedly the query isn’t exactly poetry, it’s efficient, and insanely flexible.
Features
Add-on to Reorder Posts, so there is only one place to do all your reordering.
Reorder terms for each taxonomy within each post type. Very flexible.
Spread the Word
If you like this plugin, please help spread the word. Rate the plugin. Write about the plugin. Something 🙂
Development
Development happens on GitHub.
You are welcome to help us out and contribute on GitHub.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Reorder Terms」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.1.0 | 1.1.1 | trunk |
延伸相關外掛(你可能也想知道)
Simple Page Ordering 》這個外掛可以用簡單的拖放操作,讓您對頁面、樹狀自訂文章類型或是擁有「頁面屬性」的自訂文章類型進行排序,只需要使用內建的頁面列表就能完成。, 只要簡單...。
Rearrange Woocommerce Products 》重新排列Woocommerce產品( Rearrange Woocommerce Products)是一款WordPress外掛,可以讓您重新排列/重新排序Woocommerce商店頁面上產品的默認排序順序,也可...。
Reorder Posts 》此外掛可幫助您輕鬆地重新排序 WordPress 自訂文章類型的文章。它在 WordPress 管理面板中添加了拖放功能以用於文章排序,並支援自訂文章類型和常規文章。, ...。
ReOrder Posts within Categories 》由於 WordPress 核心的錯誤,導致檔案分類法查詢在前端沒有被正確排序。如果您的文章不在前端網站中被排序,請閱讀這個討論串以獲取更多資訊。, v2.3現在支援...。
pageMash > Page Management 》使用此簡單的 AJAX 拖放管理介面,自訂頁面的排序,並管理父頁面結構,還有可選擇隱藏輸出頁面的選項。是一個快速重排頁面選單的好工具。, 查看範例頁面:htt...。
Cancel order request / Return order / Repeat Order / Reorder for WooCommerce 》這個外掛可以替 WooCommerce 取消訂單按鈕加上訂單取消請求按鈕,以下是本外掛的功能:, ✅ 根據訂單狀態啟用訂單退款請求,並且取代 WooCommerce 的取...。
Terms Order WP – Categories And Taxonomies Order Plugin 》這個外掛可以幫助你排序或重新排序預設網誌類別和自訂文章型別的分類法和術語,外掛準備好使用,不需要進行任何配置。使用者友善的介面可以讓你輕鬆完成任務...。
Reorder by Term 》Reorder By Term 是一個開發者工具。如果你不知道什麼是 menu_order 或自訂查詢,那麼這個外掛可能不適合你。這是 Reorder Posts 的附加功能,需要 Reorder P...。
postMash – custom post order 》文章通常以相反的時間順序列出,因為它們經常用於刊登定期的時間導向內容。, postMash 讓您使用簡單的 Ajax 拖放管理介面自訂文章的排序方式。此外,它還提供...。
Product Rearrange for WooCommerce 》Product Rearrange for WooCommerce 是一個外掛,它可以讓您在後台使用直觀的拖曳排序方式最強大地重新排列 WooCommerce 產品。這個外掛將盡可能保存排序順序...。
PostMash Custom – custom post order 》文章通常按時間倒序列出,因為它們通常用於發佈定期時間導向的內容。, PostMash Custom 允許您使用簡單的 Ajax 拖放管理界面自定義文章列表順序,包括常規文...。
Flexible Subscriptions 》總結:, 這款「彈性訂閱」WordPress外掛是WooCommerce訂閱外掛的最佳免費替代方案。它讓你可以將商品轉換成訂閱形式,在網店中銷售線上課程和訂閱產品,處理...。
Menu Humility 》一些外掛程式(我指的是 Automattic)會將頂層導覽列置於第一個菜單群組中,在「儀表板」下方。這很煩人,因為這些項目通常比文章、頁面、評論等其他東西來得...。
Custom Posts Order 》Custom Posts Order 外掛可以藉由簡單的拖曳排序功能為文章排序。在頁面、文章、文字小工具或範本檔案中放置捷徑以顯示在前端,使用起來非常簡單。, , 快速且...。
Reorder Entry Images 》此外掛可以幫助您手動重新排序或排序貼文、自訂貼文類型或網頁所附加的圖片。安裝並啟用後,您可以選擇要在哪個貼文類型或網頁使用此功能。該特定貼文或網頁...。