How To Change the Order of Your WordPress Pages

Ongoing WordPress Support

Do You Need Help With Your WordPress Site?

Click through to the next page and learn more about our ongoing WordPress care plans.

Date

Sometimes the default order of WordPress pages will not do, here's how to change that order.

By default your WordPress pages are displayed in alphabetical order.  Sometimes this is not what a blogger wants, here is a quick hack to change the order of your pages.

Why Change the Order of Your Pages?

You may want to change the order of your pages to make more important pages stand out, for example on my site, I want hire me to be on the right so it is more prominent or you may want to improve your sites usability by clustering like pages together.

Sometimes you just want to rebel, the OCD of developers may get you down, ordering everything and indexing and categorising can overwhelm the more free spirited.

The Out of the Box Hack

Here is how you can modify the order that your pages are displayed.

From the edit pages section, select one of your pages and you will see the following attribute box on the right of your page copy:

pageorder

As you can see their is a numeric option for the page order.  By default all pages are set to zero, but if you set a value for each page you can control the order.  e.g. about =1, contact =2, testimonials =3 and this order will be displayed on your page layout.

As it says above, this is a little bit “janky” if you add new pages you will need to  modify the order again.  If you want a simple page order change this hack does exactly what it says on the tin.

Mirror Mirror on the Wall What’s the Best Page Order Process of All

You oh Dude tell everyone the out of the box hack which is fine, but lo what’s this I see, a plugin is more fair than thee.

If you are looking for something a little more polished then why not check out the My Page Order Plugin http://wordpress.org/extend/plugins/my-page-order/

You Are A Free Spirit

Don’t let the “Man” tell you which order your pages should be in.  Go out make a stand and break their structured universe 🙂

9 thoughts on “How To Change the Order of Your WordPress Pages”

  1. Ok… that hack works for pages, but what about for the categories. I have four basic categories and I am working for a very clean feel and look to the home page. I want those four categories to be in a non alphabetical order. Can that be done by a newbie, or do I have to dive into the code?

    Thanks!!

  2. I use one called PageMash. You drag & drop pages in a tree structure and when you’re done, click Update and it’s good to go 🙂 – it’s so easy compared to what WordPress provides!

  3. Hi Neil,
    I am using a theme that does NOT contain the “wp_list_pages” code in the header. Instead, there is “echo listPages”.

    Result? The pages ONLY appear in numerical order by Page ID…not too practical! I have not figured a way to fix this, since all solutions seem to use the “wp_list_pages” line that isn’t there.

    Out-o-tha-box: FAIL
    Plugin: FAIL

    Any ideas?

  4. I may come out sounding completely ignorant (okay blogwise I probably am), but is it okay to download the page orderer thing with a mac? Am I downloading it onto my computer or into wordpress? Have no idea how it works.

    Thanks!

    1. Hi Susie,

      This would be a plugin you install onto your wordpress installation, the link allows you to download it then upload it to you blog.

      I guess you are using the hosted version of wordpress at newdaynewlesson.wordpress.com, I don’;t think you can add this plugin so the first method of chanfing the page order would be best for you.

      Neil

Comments are closed.

Ongoing WordPress Support

Do You Need Help With Your WordPress Site?

Click through to the next page and learn more about our ongoing WordPress care plans.

More
articles