Support » Plugin: Intuitive Custom Post Order » Sorting in ASC order

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Sykot,

    all the function is in the main php file of this plugin :

    add_filter( 'posts_orderby', 'hicpo_posts_orderby' );
    function hicpo_posts_orderby($orderBy) {
    	global $wpdb;
    	$orderBy = "{$wpdb->posts}.menu_order, {$wpdb->posts}.post_date DESC";
    	return( $orderBy );
    }

    Either you modify this file, or you add in your theme function.php a similar function

    Plugin Author hijiri

    (@hijiri)

    Hi there,
    In the lasted version(1.1.0 later), I improved.
    Please try this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sorting in ASC order’ is closed to new replies.