跳到内容

Archive Posts Sort Customize

v1.6.1

gqevu6bsiz · 2013年4月12日 上架

Customize the display order of the list of Archive Posts.

正在使用
500+
评分
4.9 / 5
累计下载
1.9 万
最近更新
2015年9月24日
14 条评价需要 WordPress 4.3+已测试到 4.3.34

贡献者

截图

Settings Interface
Settings Interface
Support the ignore words for title order sort.
Support the ignore words for title order sort.
Support the custom fields order sort.
Support the custom fields order sort.
Support the individual term sort settings.
Support the individual term sort settings.

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums