WordPress.org

Forums

BE Subpages Widget
[resolved] Set order - children still alpha sorted (2 posts)

  1. M One
    Member
    Posted 2 years ago #

    Bill - installed the pending release version.

    The first level pages follow menu order as expected HOWEVER their child pages are still listing alphabetically rather than in menu order.

    Is there a quick fix for this - ie so all pages and their children are listed in menu order?

    Many thanks.

    http://wordpress.org/extend/plugins/be-subpages-widget/

  2. indyjoey
    Member
    Posted 2 years ago #

    Add this to your function.php file.

    add_filter( 'be_subpages_widget_args', 'be_subpages_menu_order' );
    
    function be_subpages_menu_order( $args ) {
    	$args['sort_column'] = 'menu_order';
    	return $args;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BE Subpages Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.