To create a plugin, all you need to do is create a folder and then create a single file. First go to the wp-content/plugins folder, and create a new folder named myPlugin. Inside this new folder, create a file named myPlugin.php. Open the file in a text editor, and paste the following information in it:
|
<?php
|
|
/*
|
|
Plugin Name: myPlugin Creator
|
|
Plugin URI: http://www.nikolaynikolov.net
|
|
Description: My fist plugin
|
|
Version: 1.2
|
|
Author: Nikolay Nikolov
|
|
Author URI: http://www.nikolaynikolov.net
|
|
License: GPL2
|
|
*/
|
You can go into the back end to activate your plugin. Of course, this plugin doesn’t do anything, but you can add functionality by yourself.
Continue reading “Create WordPress Plugin”