We do not need to learn about the code of the kegiatan to be able to create plugins, Because it is available a lot of plugins that have functions related to the interests of our blog on the internet.
But there is no harm if you want to make to make plug-in
|WORDPRESS PLUGIN DEVELOPMENT|
The knowledge needed in creating plugins is
Basic PHP capabilities
Knowledge of HTML
From the three basic knowledge you can make plug in WordPress in accordance with the needs that you can later develop in line with the amount of your knowledge about the functions of
As a WordPress note it is like a framework that has many classes and certain functions to facilitate the development of plug-ins or templates. We just need to use the function and class to build plug in. So it can be said the development of a kegiatan using WordPress can be much more fun and faster than making the kegiatan from scratch.
The most important thing is we have to follow the rules that have been determined by WordPress Developer. Its rules are the coding standard and the name of the function you created
Prepare the text editor of your choice, if I use notepad ++. This is my favorite text editor, you can use any text editor.
Then write a command like this.
* Plugin Name: Your Plug-In Name
* URI plugin: http://blog.freshwebdev.com/plugin-name
* Description: A brief description of your plugin
* Author: Bimo Hery Prabowo
* Author URI: http://blog.freshwebdev.com/
* License: GPL12
Then save the file with the name index.php. Save the index.php file into the /
After that you can activate
The simplest example is we will add a text or string after the article. How to use the command line or code
$ custom_content = ‘Added text here’;
$ custom_content. = $ content;
add_filter (‘the_content’, ‘my_plugin_add_content’);
Then save, and see the result Is there any additional text after your article.
You can learn about