Writing a Wordpressplugin from scratchKostas KarolemeasCTO, pinobo.com
Why? Sometimes plugins by others suck… because: They are not actively developed and have bugs They have dependencies’ c...
Plugin Files(1/3)https://codex.wordpress.org/Writing_a_Plugin• Standard plugin information• plugin information header• Lic...
Plugin Files(2/3)http://www.gnu.org/licenses/gpl-2.0.txt• GPL2 License• Required for Wordpress Plugin Repositorygpl-2.0.tx...
Plugin Files(3/3)http://wordpress.org/plugins/about/readme.txt• Plugin info• Description• Installation• FAQ• Screenshots• ...
Install Plugin Zip the 3 files into my-plugin.zip Upload file to installWriting a wordpress plugin from scratch Kostas K...
Hands-onWriting a wordpress plugin from scratch Kostas Karolemeas
Hands-onWriting a wordpress plugin from scratch Kostas Karolemeas
Upcoming SlideShare
Loading in …5
×

Writing a Wordpress plugin from scratch

625 views

Published on

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.

Published in: Technology, Art & Photos
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
625
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Writing a Wordpress plugin from scratch

  1. 1. Writing a Wordpressplugin from scratchKostas KarolemeasCTO, pinobo.com
  2. 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 inmost of your project. Sometimes you have some great functionality thatyou want to share with others or even make moneyout of it.Writing a wordpress plugin from scratch Kostas Karolemeas
  3. 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 usedby WordPress or a license compatible withthe GPL2• Actual Codemy-plugin.phpWriting a wordpress plugin from scratch Kostas Karolemeas
  4. 4. Plugin Files(2/3)http://www.gnu.org/licenses/gpl-2.0.txt• GPL2 License• Required for Wordpress Plugin Repositorygpl-2.0.txtWriting a wordpress plugin from scratch Kostas Karolemeas
  5. 5. Plugin Files(3/3)http://wordpress.org/plugins/about/readme.txt• Plugin info• Description• Installation• FAQ• Screenshots• Changelog, etcreadme.txtWriting a wordpress plugin from scratch Kostas Karolemeas
  6. 6. Install Plugin Zip the 3 files into my-plugin.zip Upload file to installWriting a wordpress plugin from scratch Kostas Karolemeas
  7. 7. Hands-onWriting a wordpress plugin from scratch Kostas Karolemeas
  8. 8. Hands-onWriting a wordpress plugin from scratch Kostas Karolemeas

×