WordPress.org

Ready to get started?Download WordPress

Forums

Change the order of pages (2 posts)

  1. Trunks7j
    Member
    Posted 7 years ago #

    I just want to change the order that my pages appear in the navbar--they seem to be automatically sorting alphabetically when pulled from the database. I looked through the code but I can't figure out how I can change this?

  2. rudolf45
    Member
    Posted 7 years ago #

    I don't know what kind of code did you "look through"... but you can always read the documentation before posting:
    http://codex.wordpress.org/Template_Tags/wp_list_pages
    See the parameters, especially "sort_column".
    You have seven different ways to order your Pages.

Topic Closed

This topic has been closed to new replies.

About this Topic