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 am newbie to wordpress plugin and this is my first plugin which I am doing now. I want that when the plugin will be activate it will make some predefined fields in the database and also the same fields in the form page. So how to do that. Any help will be highly appriciable.

share|improve this question
up vote 0 down vote accepted

Read the WordPress codex, specifically http://codex.wordpress.org/Plugin_API and if you are looking to create tables read http://codex.wordpress.org/Creating_Tables_with_Plugins. Make sure you remove them if the plugin is uninstalled.

share|improve this answer
Thanks dude. :) – newbie Sep 29 '11 at 14:24

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.