Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #10037

    Hi! Is there any way to make the default sidebars on pages that have sub-pages NOT alphabetical order?



    You can use all parameters of the wp_list_pages function:

    Search for following line in angularincludesadminregister-widget-area.php and add your custom sort parameters (eg menu):

    wp_list_pages('title_li=&depth=-1' );


    Thank you! Could you be more specific? This is what I have in your file:

    case 2:

    echo “<div class=’widget widget_pages’>”;

    echo “<h3 class=’widgettitle’>” . __(‘Pages’,’avia_framework’) . “</h3>”;

    echo “


      wp_list_pages(‘title_li=&depth=-1′ );

      echo “


    echo “<span class=’seperator extralight-border’></span></div>”;


    And this is the code that I found on the codex page that I would like:

      <?php wp_list_pages(‘sort_column=menu_order’); ?>

    I replaced what I thought I should but it is still not working. I just want the pages to be listed in the same order that they are in the menu. THANK YOU IN ADVANCE.


    Hi wtflovelife

    You might want to try using include= with the page id’s in the order you want. If you’ve used the Menus option to make your custom menu, you could also try adding a custom menu widget to the sidebar instead.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Alphabetical Order on the left sidebar’ is closed to new replies.