Title: [Plugin: BE Subpages Widget] Set Order
Last modified: August 20, 2016

---

# [Plugin: BE Subpages Widget] Set Order

 *  Resolved [figmund](https://wordpress.org/support/users/figmund/)
 * (@figmund)
 * [14 years ago](https://wordpress.org/support/topic/plugin-be-subpages-widget-set-order/)
 * Hi Bill,
 * It looks like the widget lists the subpages alphabetically. Is there a way to
   have it list them using the order I’ve assigned each page instead?
 * Thanks!
 * [http://wordpress.org/extend/plugins/be-subpages-widget/](http://wordpress.org/extend/plugins/be-subpages-widget/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [14 years ago](https://wordpress.org/support/topic/plugin-be-subpages-widget-set-order/#post-2761539)
 * Try adding this to your theme’s functions.php file: [https://gist.github.com/2779046](https://gist.github.com/2779046)
 *  Thread Starter [figmund](https://wordpress.org/support/users/figmund/)
 * (@figmund)
 * [14 years ago](https://wordpress.org/support/topic/plugin-be-subpages-widget-set-order/#post-2761556)
 * Excellent! Thanks so much for your help!
 *  [DreamPress](https://wordpress.org/support/users/dreampress/)
 * (@dreampress)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-be-subpages-widget-set-order/#post-2761674)
 * Hi, ik just placed the code into the functions.php but no results yet.
 * Is there anything else i have to do in my theme files to get this function working?
   
   Maybe add some code in my page template were i use this now:
 * _[ Moderator Note: Please post code or markup snippets between backticks or use
   the code button. ]_
 *     ```
       <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar-pages') ) : ?>
           <?php endif; ?>
       ```
   
 * Maybe its an idea to implement this function in the widget itself to make it 
   more monkey proof? Like being able to choose your listing: alphabetical, on date
   or like the menu.
 * Hope to hear from you.
 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-be-subpages-widget-set-order/#post-2761675)
 * In the next version (which you can download here: [https://github.com/billerickson/BE-Subpages-Widget](https://github.com/billerickson/BE-Subpages-Widget))
   the pages will automatically be ordered by menu order. If you want to order them
   by any other means, you can use the code I linked to above.
 * I would need to see the code of your functions.php file (after adding the code)
   to determine what issue you’re having. You can post it on pastie.org and link
   back here.
 *  [m-one](https://wordpress.org/support/users/m-one/)
 * (@m-one)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-be-subpages-widget-set-order/#post-2761676)
 * Bill – installed the pending release version above.
 * 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? I ask because I really want to standardise on this plugin for 
   a lot of sites and I’m launching one as we speak.
 * Many thanks.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: BE Subpages Widget] Set Order’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/be-subpages-widget_f3f3f3.svg)
 * [BE Subpages Widget](https://wordpress.org/plugins/be-subpages-widget/)
 * [Support Threads](https://wordpress.org/support/plugin/be-subpages-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/be-subpages-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/be-subpages-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/be-subpages-widget/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [m-one](https://wordpress.org/support/users/m-one/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-be-subpages-widget-set-order/#post-2761676)
 * Status: resolved