WordPress.org

Ready to get started?Download WordPress

Forums

Sorting Pages (2 posts)

  1. arjohnson
    Member
    Posted 5 years ago #

    I'm trying to sort my website pages under page order, but nothing is pulling through. I have all the pages organized 1-8 and that's showing up on my 'edit pages' tab under administration but the order is not pulling across to the webpages.

    Any ideas?

    Thanks

    A

  2. MichaelH
    Member
    Posted 5 years ago #

    With the template tag, wp_list_pages(), you can use the sort_column=menu_order argument:

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

Topic Closed

This topic has been closed to new replies.

About this Topic