WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Archive Posts Sort Customize

Customize the display order of the list of Archive Posts.

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.

Requires: 4.3 or higher
Compatible up to: 4.3.6
Last Updated: 1 year ago
Active Installs: 1,000+

Ratings

4.9 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1