Making Wordpress Plugins
I am going to teach you to make a wordpress plugin in 5 easy steps
1.To make a wordpress plugin you first need to write some information under /**/ comment like
Plugin Name: Custom Upload
Plugin URI:
Description: Category-wise upload files
Version: 1.0
Author: Sandipan
Author URI: http://www.sandipan4uonly@gmail.com
*/
2. Now you need to write a function which fulfill your requirement like
//your codes goes here
Echo “hello World”;
}
3. To assign the plugin into the menu you need to write another wordpress function like
{
add_options_page(“Demo”, “demo”, 1, “demo”, “demo”);
}
4. But it is still not ready yet , to activate this function you need to write another wordpress function like
Now you can see demo menu is add under ‘settings’ menu in
wp-admin (wordpress admin section).
5. Now activate this plugin & enjoy………
It is now ready to use
Latest posts by Sandipan Bhattacharjee
- Dynamically Styling Modules and Blocks in Drupal 6 - September 22nd, 2011
- How to make a lightbox in a very simple way - August 19th, 2011
- How to Create Drupal Sub-themes from scratch - July 12th, 2011
- Zend framework step by step tutorial (Folder structure) - March 21st, 2011
- Zend Framework variables - March 21st, 2011
