Easily settings interface and available sort to home, date archives, category/tag/taxonomy archives, search.
Available to ignore words of beginning of the title for post title of sort.
e.g.)
* The
* A
Available to automatically whether sort to number (meta_key_num) or sort to string(meta_key).
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);
}
You will possible to see the debug information after activate the Debug Bar plugin.