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 need to add a custom field in admin section (below the title field) which insert the values of that custom field in the db table.

but all this i want to do through coding like

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

This is for the text box title I need the same one for age, one for country, and one for date of birth below the title field without using any plugin

I'm really very confused

thanx for help

share|improve this question

Why not just use custom field post meta data and save yourself a lot of trouble?

share|improve this answer
yup you are right but i want to put my self in trouble infact i want to learn it from core that why want to do it can u help me according to my wish as i mentioned above – kashif Dec 9 '11 at 9:39

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.