How to create a form plugin in WordPress by code:-

How to create a form plugin in WordPress by code:-

The plugin is used to add dynamic functionality into WordPress which can be reuse-bale into multiple WordPress web applications.

When we want to develop any complex operation or task in WordPress then we always use the plugin.

mostly plugin can download by WordPress.o but if you develop an application for the customer then my suggestion is that you should create a plugin.

in this article, I am providing step by step implementation of plugin development in WordPress.

I am not creating a large plugin but I will explain how really plugin is working.


Create a folder in WordPress/wp-content/plugins and you can name anything to the folder,i am providing si.


create si.php file under si folder and write the following code

<link href="&lt;?php echo plugins_url(); ?&gt;/si/css/style.css" rel="stylesheet" type="text/css"></link>

<form action="" method="post">
<input name="txtp" placeholder="enter p" type="text" />
<br /><br />
<input name="txtr" placeholder="enter r" type="text" />
<br /><br />
<input name="txtt" placeholder="enter t" type="text" />
<br /><br />

<input name="btnsubmit" type="submit" value="Calculate" />

2) create a style.css file under the CSS folder  and write the following code


height: 50px;
border: 1px solid red;

height: 50px;
border: 1px solid red;

3) create si_admin.php into the same folder

Shorcode of SI plugin is [si] ";

 think that your plugin development task has completed.

bye bye enjoy, if any doubt then ask me at comment


Post a Comment


POST Answer of Questions and ASK to Doubt

Post a Comment (0)