This presentation shows how one can build a wordpress plugin from scratch. In particular it demonstrates a simple plugin for embedding pinobo.com boards in a wordpress post or page using a short code.
2. Why?
Sometimes plugins by others suck… because:
They are not actively developed and have bugs
They have dependencies’ conflicts
They do not do the job
Sometimes you keep repeating the same code in
most of your project.
Sometimes you have some great functionality that
you want to share with others or even make money
out of it.
Writing a wordpress plugin from scratch Kostas Karolemeas
3. Plugin Files
(1/3)
https://codex.wordpress.org/Writing_a_Plugin
• Standard plugin information
• plugin information header
• License
• Most Plugins use the GPL2 license used
by WordPress or a license compatible with
the GPL2
• Actual Code
my-plugin.php
Writing a wordpress plugin from scratch Kostas Karolemeas