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'd like to change the title field of a post in admin panel. I'd like this field was "textarea" instead of being "input type='text'".

Would it be possible through any hook in functions.php?

Thanks in advance!

share|improve this question
Is this a default field or a custom field? – mor7ifer Feb 5 '12 at 12:38
It's a default field – Vogod Feb 6 '12 at 12:34
up vote 0 down vote accepted

as this is a default field, i don't think it is possible to achieve what you want with the help function hooks, however you can do this by editing edit-form-advanced.php file inside wp-admin folder,

the code you may want to edit is located in line # 291,

this is the input type for title field

    <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo esc_attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />

Do this at your own risk as you are going to edit wordpress core file, once you edit this you might not able to update your wordpress automatically

share|improve this answer
I have already thought of this option, but I didn't want to modify original code. Anyway, thank you very much. – Vogod Feb 6 '12 at 12:35

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.