Support » Plugin: Advanced Sidebar Menu » Ascending Descending?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mat Lipe

    (@mat-lipe)

    Hi Bert,

    Version 6.1.0 (released just now) includes a filter which allows you to change this order.

    If you add the following to your active theme’s functions.php file it should have the desired result.

    add_filter('advanced_sidebar_menu_list_pages_args','change_list_page_args', 10, 2);
    function change_list_page_args( $args, $class ){
           $args[ 'sort_order' ] = 'DESC';
           return $args;
    }

    Cheers

    Hi Mat,

    Great! Thanks for your immediate and positive answer!

    Bert

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Ascending Descending?’ is closed to new replies.