Deze plugin is niet getest met de laatste 3 grotere versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

Archive Posts Sort Customize

Beschrijving

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.

Schermafdrukken

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

Installatie

  1. Upload the entire archive-posts-sort-customize folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. 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;

}

Beoordelingen

4 augustus 2017
Great way to sort posts on archives. Settings can be applied to all or just individual categories so each can be different. Way cool and easy. Thanks!!! 🙂
3 september 2016
A great plugin, but wish a widget that can allow a user to sort posts in a “real-time” manner. that is, I can operate the sorting when i browse a page. i can browse in Date, and then in Title, and then in Category, etc.
3 september 2016
Exactly what I was looking for. Searched for hours for this plugin. All the others just had a drag and drop feature. This one you can set and has lots of options.
Lees alle 14 beoordelingen

Bijdragers & ontwikkelaars

“Archive Posts Sort Customize” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

Vertaal “Archive Posts Sort Customize” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

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.