WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a page that lists all sub pages of the current page. Each page has been assigned an order number in the wordpress editor but they aren't ordering for some reason.

I'm set up like this:







my query_posts looks like this:


But the output comes out like:


How do I simply order pages with the built in page order field? I thought this was default...

share|improve this question
I'm dumb, its &orderby=menu_order. Feel free to answer this for some free points. – wesbos Sep 28 '11 at 16:22
up vote 2 down vote accepted

I was going to suggest using &orderby=menu_order, but you already pointed it out in your comment. :)

p.s. you can answer your own question, I think. Since you found the answer to your question, just post your own answer. I think it's kosher to accept your own answer?

share|improve this answer
Yeah, I do a lot over at stack overflow and after about a day you can accept your own answer. I've been in the WP community for years and I see your name all over the place, so I dont mind giving you a few extra points :) – wesbos Sep 28 '11 at 16:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.