Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.