To start, create a new folder in your “wp-content/plugins” folder called “my-plugin”. Then create a new file within this folder called “myplugin.php” and place this code:
<?php /* Plugin Name: my plugin Plugin URL: http://www.boopathirajan.com Description: A simple WordPress plugin Version: 1.0 Author: Boopathi Rajan Author URI: http://www.boopathirajan.com */ ?>
If you refresh your administration panel’s plugin page, you’ll now see our plugin listed along with the other ones.Let’s go and activate our plugin by clicking Activate to the right of the plugin entry.
Have any doubt, then comment here!