Support » Plugins and Hacks » BE Subpages Widget » [Resolved] [Plugin: BE Subpages Widget] Set Order

[Resolved] [Plugin: BE Subpages Widget] Set Order

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Bill Erickson


    Try adding this to your theme’s functions.php file: https://gist.github.com/2779046

    Excellent! Thanks so much for your help!

    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


    In the next version (which you can download here: 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.

    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 ‘[Resolved] [Plugin: BE Subpages Widget] Set Order’ is closed to new replies.
Skip to toolbar