Your SlideShare is downloading. ×
Building your first plugin by John Hawkins at WordCamp MSP
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Building your first plugin by John Hawkins at WordCamp MSP

1,553

Published on

This is the slide deck from my presentation at WordCamp MSP about Building your first WordPress plugin.

This is the slide deck from my presentation at WordCamp MSP about Building your first WordPress plugin.

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

  • Be the first to like this

No Downloads
Views
Total Views
1,553
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • ***********CLICK “INSERT” THEN “HEADER & FOOTER” TO EASILY UPDATE THE “SPEAKER NAME @TWITTER” ON ALL SLIDES***********
  • Transcript

    • 1. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! BUILDING YOUR FIRST PLUGIN WordPress 301 Follow John Hawkins @VegasGeek
    • 2. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! - Husband - Dad - Self-Employed - Web Developer - Geek Follow John Hawkins @VegasGeek Hi, I’m John
    • 3. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! - 9seeds.com - VegasGeek.com - @vegasgeek - Spend too much time in front of the computer Follow John Hawkins @VegasGeek What I do
    • 4. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! HOW I GOT STARTED Follow John Hawkins @VegasGeek
    • 5. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! - Tools - Hooks - Code - Resources Follow John Hawkins @VegasGeek About this presentation
    • 6. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! TOOLS Follow John Hawkins @VegasGeek
    • 7. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! - Windows: XAMPP http://vegasgeek.com/xampp - Older Mac (like me): MAMP http://vegasgeek.com/mamp Follow John Hawkins @VegasGeek Develop Locally
    • 8. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! - Syntax Highlighting - Error Checking - Auto-Complete functions - NetBeans / PHP Storm Follow John Hawkins @VegasGeek Use an IDE
    • 9. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! HOOKS Follow John Hawkins @VegasGeek
    • 10. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! - Specific points in the WordPress code used to interact with WordPress - Two types of hooks; Actions and Filters - 1,300+ hooks in WordPress 3.0 Follow John Hawkins @VegasGeek What’s a Hook?
    • 11. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! - Tell WordPress to perform a function at a specific time Follow John Hawkins @VegasGeek Action Hooks
    • 12. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! - Passes data to your function - Your function can modify the data and send it back to WordPress Follow John Hawkins @VegasGeek Filter Hooks
    • 13. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! CODE Follow John Hawkins @VegasGeek
    • 14. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! - Create a shortcode - Display info for an upcoming event in a page or post - Create an admin panel to update event info Follow John Hawkins @VegasGeek What will it do?
    • 15. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! - Single files go directly in the plugin folder - Multiple files go in their own folder - WordPress only looks one folder deep Follow John Hawkins @VegasGeek The Plugin Folder
    • 16. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! - Single files go directly in the plugin folder - Multiple files go in their own folder - WordPress only looks one folder deep Follow John Hawkins @VegasGeek The Plugin Folder
    • 17. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! Follow John Hawkins @VegasGeek Plugin Header
    • 18. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! Follow John Hawkins @VegasGeek Plugin Header
    • 19. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! Follow John Hawkins @VegasGeek The Function
    • 20. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! Follow John Hawkins @VegasGeek
    • 21. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! Follow John Hawkins @VegasGeek
    • 22. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! Follow John Hawkins @VegasGeek Add a settings page
    • 23. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! Follow John Hawkins @VegasGeek The settings form
    • 24. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! Follow John Hawkins @VegasGeek The settings form
    • 25. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! Follow John Hawkins @VegasGeek The settings form
    • 26. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! Follow John Hawkins @VegasGeek The settings form
    • 27. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! Follow John Hawkins @VegasGeek The settings form
    • 28. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! Follow John Hawkins @VegasGeek Settings Page
    • 29. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! Follow John Hawkins @VegasGeek Use the option values
    • 30. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! RESOURCES Follow John Hawkins @VegasGeek
    • 31. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! - http://codex.wordpress.org - http://vegasgeek.com/wc-msp Follow John Hawkins @VegasGeek
    • 32. www.WordCampMSP.org Tweetaboutthissession#WordCampMSP!!! John Hawkins john@9seeds.com Work: http://9seeds.com Blog: http://vegasgeek.com Tweet: @vegasgeek Follow John Hawkins @VegasGeek Thank You!

    ×