WordPress.org

Ready to get started?Download WordPress

Forums

Change sort order of pages (6 posts)

  1. MTWKOL
    Member
    Posted 4 years ago #

    Okay.
    I'm trying to reorder the pages.
    I've gone into each page and numbered them 1-6
    They look fine in the backend but when I go into the site, they're still in alphabetical order. Any ideas?

  2. MichaelH
    Member
    Posted 4 years ago #

    Look at the sort_column=ID with the template tag, wp_list_pages(). Not sure on your site if you need to look in header.php or sidebar.php...

  3. MTWKOL
    Member
    Posted 4 years ago #

    I finally found this in post.php.

    'sort_column' => 'post_title', 'hierarchical' => 1
    What exactly am I supposed to be changing?

  4. MichaelH
    Member
    Posted 4 years ago #

    Depending on what you want...change

    'sort_column' => 'post_title'

    to

    'sort_column' => 'menu_order'

    or

    'sort_column' => 'ID'
  5. wlindley
    Member
    Posted 4 years ago #

    You might also try Pagemash for re-ordering pages, and the hierarchical pages widget for more control over how pages get listed.

  6. vsellis
    Member
    Posted 4 years ago #

    MTWKOL - you can also manage it manually (not hard). I did a video tutorial that might help:
    Sort Order In WordPress

Topic Closed

This topic has been closed to new replies.

About this Topic