WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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 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?

share|improve this question

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.

share|improve this answer

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

'hide_title' => true,
'view' => WPALCHEMY_VIEW_ALWAYS_OPENED,
'lock' => WPALCHEMY_LOCK_AFTER_POST_TITLE 
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.
{"cc_re__cc_re__cc_by_sa_3_0": ["                    <li><a href=\"//area51.stackexchange.com\" title=\"proposing new sites in the Stack Exchange network\">Area 51</a></li>\r\n                        <li><a href=\"//careers.stackoverflow.com\">Stack Overflow Careers</a></li>\r\n                    \r\n                </ol>\r\n            </td>\r\n    </tr>\r\n</table>\r\n                </div>\r\n            </div>\r\n            <div id=\"copyright\">\r\n                site design / logo &#169; 2016 Stack Exchange Inc; user contributions licensed under <a href=\"https://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc by-sa 3.0</a> \r\n                with <a href=\"http://blog.stackoverflow.com/2009/06/attribution-required/\" rel=\"license\">attribution required</a>\r\n            </div>\r\n            <div id=\"svnrev\">\r\n                rev 2016.5.27.3620\r\n            </div>\r\n                <div id=\"additional-notices\">\r\n                    WordPress is a trademark of the WordPress Foundation, registered in the US and other countries. This site is not affiliated with the WordPress Foundation in any way.\r\n         "], "copyright__copyright__copyright": ["ine 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.\n\nshare|improve this answer\n\nuse this http://farinspace.com/wpalchemy-metabox/ (amazing!!) and set your metabox to\n\n'hide_title' => true,\n'view' => WPALCHEMY_VIEW_ALWAYS_OPENED,\n'lock' => WPALCHEMY_LOCK_AFTER_POST_TITLE \nshare|improve this answer\n\nYour Answer\n\n\u00a0\ndiscard\n\nBy posting your answer, you agree to the privacy policy and terms of service."]}