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 would like to sort items by the "order" field of the page attributes (see pic).

enter image description here

I've come across all kinds of "custom tag" solutions but not one listing all of the already available fields you can use with orderby. I'd like to use the "order" field as shown in the editor. I'd tried replacing the orderby field in the template with "order" but I don't see any results.

I'm currently using:

share|improve this question

Try menu_order, like so:


Vaguely related reference:

share|improve this answer
The issues here is, I am not using menus, and all the pages are in "Projects", so they don't appear as menu options. – Diodeus Jul 27 '11 at 11:57

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.