Common steps to write a WordPress Plugin

  1. Create a php file which name same as plugin name.
  2.  Add Standard Plugin header information in top of the file. This header information help wordpress to active ,load plugin and run its functionality. Without header information your plugin will never run and work in WordPress.
  3.  Write plugin code logic in file. Add plugin code for action and filters.
  4. Add admin panel for your plugin. this step is not neccessory but useful when you have plugin setting and want to save and retrive plugin settings from database.
  5. Plugin is ready to use in WordPress.

1 thought on “Common steps to write a WordPress Plugin”

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s