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 use a custom meta box to build the UI for the post title, instead of the usual field 'title' supplied on WordPress post screens.

I've build the meta box, the question is now how to save that field as the post_title. Anyone has done this before?

share|improve this question
I recommend against this. Use the standard title field rather than a nonstandard version – Tom J Nowell Aug 20 '12 at 16:20
Why do you want to create a new/separate UI for the post title? What are you trying to accomplish? Multi-line titles? Title/subtitle combinations? We need to know what you're doing in order to be able to answer this question. – Chip Bennett Aug 20 '12 at 16:24
I wanted to give it the appearance of a meta box, that's the main reason. But I could also think of a few other scenarios, like having HTML in the title. – drtanz Aug 20 '12 at 17:14
Is it maybe possible to Change the "Enter Title Here" text? – drtanz Aug 20 '12 at 17:24
I would also like to hide the slug and view post button that appear beneath the title by default. – drtanz Aug 21 '12 at 8:10
up vote 0 down vote accepted

Is it really necessary to override default Wordpress title filed? instead I'd recommend using a different meta key such as - my_the_title to store the title into database.

And then use wordpress function - get_post_meta() to show it, instead of the_title() function.

share|improve this answer

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.