Forums

[resolved] Change Page order. (6 posts)

  1. disposition
    Member
    Posted 4 years ago #

    Hi,
    How do I change the page order, I don't see anything to do that in admin.

    Thanks!

    http://www.blindfaithandenvy.com/blog

    you can see on my pages where it reads "Pages" I want the links to be in a different order.

  2. jbbrwcky
    Member
    Posted 4 years ago #

    That would be in the sidebar.php code of that theme. You're looking for wp_list_pages()

    To find how to change the page order take a look here http://codex.wordpress.org/Template_Tags/wp_list_pages and you're looking for sort_column near the bottom which lists how you can sort/display the links.

  3. disposition
    Member
    Posted 4 years ago #

    thanks for your help!

  4. charissaproctor
    Member
    Posted 3 years ago #

    Why does this not work for me? All of my pages are assigned a page order number. I have put the code into my sidebar:

    <h3>Pages</h3>

      <?php wp_list_pages('sort_column=menu_order'); ?>

    And still - they will only sort by alphabetical order....
    HELP!

  5. Gustav2nd
    Member
    Posted 3 years ago #

    I have the same problem as charissaproctor.

    The pages are ordered nicely according to number in the
    Dashboard>edit pages. It is not a cache problem, because I can make changes in to the pages and this is updated on the web.

  6. Gustav2nd
    Member
    Posted 3 years ago #

    Dough!
    The solution was pretty obvious:
    In the dashboard, go to 'apearence', 'widget', and 'edit' under pages. Change the drop down to 'sort by: page order'. Remember to click 'save settings'.

    This was probably the first place I should have looked.

Topic Closed

This topic has been closed to new replies.

About this Topic