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 want to add new whole section of custom fields in admin UI of

  • new post page
  • edit post page

Could somebody suggest any nice code example?

share|improve this question
up vote 1 down vote accepted

I think you'll find this a simple and useful tutorial to do what you want: http://wefunction.com/2009/10/revisited-creating-custom-write-panels-in-wordpress/

share|improve this answer
looks like add_meta_box is what I was looking for. Thank you – Radek Oct 18 '10 at 3:55
Your welcome! If this is the answer to your question please tick the check mark and select it as the chosen answer. Thanks! – Ash G Oct 18 '10 at 6:21

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.