I have a custom post type and am placing in custom meta boxes. How do I change the ordering of the fields of a custom page in the admin?

For example, I have a custom field called subtitle.
How do I place this between the title and description rich textbox in the admin of the custom post type page?


You can't, really. When setting your boxes you can determine whether they appear below the post editor or on the side, and what their order is, but the title field and post editor are fixed in their location.

| improve this answer | |
  • 3
    Well, I guess you can place anything anywhere you want using some Javascript to change the DOM of the page, but that would probably not be so future-proof. – Jan Fabry Nov 5 '10 at 21:32
  • @Jan in theory, yes, but then you're most likely getting into changing core files. – Norcross Nov 6 '10 at 3:08
  • 1
    Hmm, I think it should be possible with an extra JS file. Now you got me intrigued, I'll try whether I can achieve it! – Jan Fabry Nov 6 '10 at 10:09
  • 1
    It should be possible as well by just sorting the array that lines the boxes up. That would be possible as a plugin on the server-side so no need to mess with Javascript. My 2 cents. – hakre Nov 6 '10 at 17:23

use this http://farinspace.com/wpalchemy-metabox/ (amazing!!) and set your metabox to

'hide_title' => true,
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy