[WordPress] 外掛分享: Archive Posts Sort Customize

WordPress 外掛 Archive Posts Sort Customize 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Archive Posts Sort Customize」是 2013-04-11 上架。
  • 目前有 700 個安裝啟用數。
  • 上一次更新是 2015-09-24,距離現在已有 3510 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.3 以上版本才可以安裝。
  • 有 14 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

gqevu6bsiz |

外掛標籤

sort | posts | archive | Frontend | customize |

內容簡介

本外掛可輕鬆設置首頁、日期文章存檔、分類/標籤/分類法文章存檔和搜尋區的介面和可用排序。

排序項目

文章日期
文章標題
文章作者
文章評論數
文章 ID
文章最後修改日期
文章順序(頁面屬性/菜單順序)
文章自訂欄位

針對標題排序

可針對文章標題排序時,忽略開頭的字詞。

例如:
* The
* A

針對自訂欄位排序

可自動判斷排序欄位是否為數字(meta_key_num)或字串(meta_key)而排序。

動作/過濾器

你可以在本外掛之前和之後執行動作。

add_action( 'apsc_before_sort' , 'custom_apsc_before_sort' , 10 , 2 );

function custom_apsc_before_sort( $wp_query , $setting_data ) {

//print_r($wp_query);
//print_r($setting_data);

}

add_action( 'apsc_after_sort' , 'custom_apsc_after_sort' , 10 , 2 );

function custom_apsc_after_sort( $wp_query , $setting_data ) {

//print_r($wp_query);
//print_r($setting_data);

}

除錯

啟用Debug Bar外掛後可查看除錯資訊。

原文外掛簡介

Easily settings interface and available sort to home, date archives, category/tag/taxonomy archives, search.
Sort Items

Post Date
Post Title
Post Author
Post Comments Count
Post ID
Post Last Modified
Post Order (page attributes/menu_order)
Custom Field of Post

For sort order to title
Available to ignore words of beginning of the title for post title of sort.
e.g.)
* The
* A
For sort order to custom fields
Available to automatically whether sort to number (meta_key_num) or sort to string(meta_key).
For Action/Filter
You will possible to action before and after the this plugin.
add_action( 'apsc_before_sort' , 'custom_apsc_before_sort' , 10 , 2 );

function custom_apsc_before_sort( $wp_query , $setting_data ) {

//print_r($wp_query);
//print_r($setting_data);

}

add_action( 'apsc_after_sort' , 'custom_apsc_after_sort' , 10 , 2 );

function custom_apsc_after_sort( $wp_query , $setting_data ) {

//print_r($wp_query);
//print_r($setting_data);

}

For Debug
You will possible to see the debug information after activate the Debug Bar plugin.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Archive Posts Sort Customize」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 | 1.1 | 1.2 | 1.4 | 1.5 | 1.6 | 1.1.1 | 1.2.1 | 1.2.2 | 1.2.3 | 1.2.4 | 1.3.1 | 1.5.1 | 1.6.1 | trunk | 1.2.4.1 | 1.2.4.2 |

延伸相關外掛(你可能也想知道)

  • Custom Product Tabs for WooCommerce 》此外掛擴充了 WooCommerce 功能,允許商店擁有者針對產品添加自訂選項卡。這些選項卡顯示在每個產品頁面上,出現在預設的「描述」選項卡右側。, 個別產品選項...。
  • Theme My Login 》曾經希望您的 WordPress 登入頁面與網站的其餘部分相匹配嗎?現在您的願望成真了!「Theme My Login」讓您可以繞過預設的 WordPress 標誌登入頁面,該頁面與...。
  • Visual CSS Style Editor 》Style your WordPress site visually. Discover the most popular front-end design plugin! Try live demo., , Visual CSS Editor, The plugin allows you t...。
  • Login Logo 》這個外掛可以讓您自訂 WordPress 登入畫面上的標誌。此外掛完全不需要設定,您只需要將標誌檔案放入 WordPress 內容目錄,並將其命名為login-logo.png,此外...。
  • WP Custom Admin Interface 》WP Custom Admin Interface 可以輕鬆地自訂 WordPress 後台功能表、工具列和管理介面。此插件不僅提供完全免費的超棒後台自訂功能,還提供了很多其他插件需要...。
  • Remove "Powered by WordPress" 》移除「Proudly powered by WordPress」外掛, 此外掛針對想要使用預設主題建立網站,但又不希望每個人都知道使用了 WordPress 來建構的人,可將「Proudly powe...。
  • Microthemer Lite – Visual Editor to Customize CSS 》Microthemer是一個輕量級且功能強大的視覺編輯器,可以自訂網站的CSS樣式,從Google字體到響應式佈局,它適用於程式開發人員和非程式開發人員,並與Elementor...。
  • Styles 》WordPress擁有許多漂亮的佈景主題,但個性化設計可能會很困難且耗時。Styles外掛能改變這點,提供一致的使用者介面-WordPress佈景主題自訂器。Styles能讓你...。
  • Options for Twenty Seventeen 》Twenty Seventeen 的選項, 本外掛適用於 Twenty Seventeen 主題,請查看我們針對 Twenty Nineteen、Twenty Twenty 和 Twenty Twenty-One 的其他外掛。, , 本...。
  • WooCommerce HookMeUp 》HookMeUp 是一個 WordPress 外掛,可協助非開發人員在任何 WooCommerce 主題的關鍵區域插入額外內容、橫幅和短碼,而不需要更改主題的程式碼。探索和使用頁面...。
  • SysBasics Customize My Account for WooCommerce 》Customize My Account for WooCommerce, 自訂你的預設「我的帳戶」(My Account) 頁面。重新排序它們,隱藏現有的核心端點 (endpoints),還能更改預設端點。, ...。
  • Customizer Reset 》一鍵重設 WordPress 客製化 (Customizer) 的佈景主題設定。適用於 99% 的佈景主題,包括WPZOOM佈景主題以及知名的佈景主題,如Divi、Astra。, 此外掛可移除...。
  • Options for Twenty Twenty-One 》Twenty Twenty-One 的選項, 此外掛適用於 Twenty Twenty-One 主題,請參見我們針對 Twenty Seventeen、Twenty Nineteen 和 Twenty Twenty 的其他外掛程式。, ...。
  • Styles: TwentyFourteen 》這個外掛可以在 Twenty Fourteen 主題中,為 Styles 外掛 添加支援。, 此外掛的功能包括:, , 即時預覽, 文字大小, Google 字型, 文字顏色, 邊框顏色, 背景顏...。
  • Customize Login Image 》此外掛允許您自訂 WordPress 登入畫面的圖像和外觀。您可以更改: 徽標、徽標的鏈接和背景顏色。, 這裡有三個我們喜歡的功能:, 1) 如果沒有上傳徽標,預設的 W...。

文章
Filter
Apply Filters
Mastodon