How to create plugin in wordpress?

To create plugin in wordpress follow below steps

Step1:
Create folder with your plugin name. Create php file with your plugin name. Now put blank index.php file for folder security.

Step2:
Write down plugin name in your plugin file as below.
/*
Plugin Name: Your plugin name
Description: Your demo plugin
Author: Shailesh
*/
Step3
Check your admin side and see plugin is listed on plugin page.

You need to avtivate the plugin.

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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