Description
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.
Screenshots
Installation
- Upload the entire archive-posts-sort-customize folder to the /wp-content/plugins/ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- You will find ‘Archive Posts Sort Customize’ menu in your WordPress admin panel.
FAQ
- Q. For found the bug
-
A. Please contact the Support Forum.
https://wordpress.org/support/plugin/archive-posts-sort-customize - Q. Can I change the setting authority of the plugin?
-
A. Yes, You will be able to plugin authority. Please try the filter hook.
add_filter( 'apsc_capability' , 'custom_apsc_capability' ); function custom_apsc_capability( $capability ) { //var_dump($capability); $capability = 'edit_posts'; return $capability; }
Reviews
Contributors & Developers
“Archive Posts Sort Customize” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Archive Posts Sort Customize” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Change log
1.6.1
- Fxied: Show error when not installed debug bar plugin.
1.6
- Added: Support archives for Yearly/Daily.
- Added: Some actions before and after sort.
- Updated: Taxonomies archives settings.
1.5.1
- Security enhancement: Escape to add_query_arg/remove_query_arg.
1.5
- Added: Order field of Page Attributes of the Sort Target.
- Added: Ignore words of Post Title order of Sort.
1.4
- Added: Custon Taxonomies.
- Fixed: Get data mistake when category settings.
1.3.1
- Fixed: Javascript toggle miss.
1.3
- Updated: Settings for per Categories.
- Changed: Data version.
1.2.4.2
- Fixed: Data update way.
1.2.4.1
- Updated: Screen shots.
- BUg Fixed: Monthly archive link on settings screen.
1.2.4
- Changed: Data save process.
- Supported: Compatible to 3.8-RC1.
- Added: Customize sort for Monthly archive.
- Bug Fixed: Empty setting when order by is custom field.
1.2.3
- Added: Last modified of Sort target(orderby).
- Updated: Translations.
1.2.2
- Support for SSL.
- Check to 3.6.
1.2.1
- Added a confirmation of Nonce field.
1.2
- Added Search support.
1.1.1
- Some translation fixed.
1.1
Made it possible to sort of home.
1.0
This is the initial release.