Support » Plugin: Blog Posts Order » Great Plugin, One Recommendation, Sort Ascending

  • This is a great app, albeit very simple. Does EXACTLY what I need it to do. Because of the complexities of my site and the number of admins I have to deal with a drag and drop tool would not work. Many of my posts have multiple categories. I needed a simple way to order/weight them.

    One recommendation: I really wanted to sort posts Ascending. (Default is Descending) I think that makes things more intuitive. Recommended code change (Add the line: $query->set( ‘order’, ‘ASC’ ); in the location indicated below.)

    [code]if ( $query->is_main_query() )
    $query->set( ‘orderby’, ‘menu_order’);
    $query->set( ‘order’, ‘ASC’ ); // default sort is DESC

    The simplicity of this tool taught me how to write plug-ins! Many thanks to the plugin author, Gagan S Goraya.

  • The topic ‘Great Plugin, One Recommendation, Sort Ascending’ is closed to new replies.