Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

Like this? Share it with your network

Share

Building your first plugin by John Hawkins at WordCamp MSP

  • 1,924 views
Uploaded 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.

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,924
On Slideshare
1,924
From Embeds
0
Number of Embeds
0

Actions

Shares
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. Building your first plugin
    WordPress 301
    Follow John Hawkins @VegasGeek
  • 2. Follow John Hawkins @VegasGeek
    Hi, I’m John
  • 7.
    • 9seeds.com
    • 8. VegasGeek.com
    • 9. @vegasgeek
    • 10. Spend too much time in front of the computer
    Follow John Hawkins @VegasGeek
    What I do
  • 11. How I got started
    Follow John Hawkins @VegasGeek
  • 12. Follow John Hawkins @VegasGeek
    About this presentation
  • 16. tools
    Follow John Hawkins @VegasGeek
  • 17.
    • Windows: XAMPPhttp://vegasgeek.com/xampp
    • 18. Older Mac (like me): MAMPhttp://vegasgeek.com/mamp
    Follow John Hawkins @VegasGeek
    Develop Locally
  • 19.
    • Syntax Highlighting
    • 20. Error Checking
    • 21. Auto-Complete functions
    • 22. NetBeans / PHP Storm
    Follow John Hawkins @VegasGeek
    Use an IDE
  • 23. hooks
    Follow John Hawkins @VegasGeek
  • 24.
    • Specific points in the WordPress codeused to interact with WordPress
    • 25. Two types of hooks; Actions and Filters
    • 26. 1,300+ hooks in WordPress 3.0
    Follow John Hawkins @VegasGeek
    What’s a Hook?
  • 27. - Tell WordPress to perform a functionat a specific time
    Follow John Hawkins @VegasGeek
    Action Hooks
  • 28.
    • Passes data to your function
    • 29. Your function can modify the data andsend it back to WordPress
    Follow John Hawkins @VegasGeek
    Filter Hooks
  • 30. code
    Follow John Hawkins @VegasGeek
  • 31.
    • Create a shortcode
    • 32. Display info for an upcoming eventin a page or post
    • 33. Create an admin panel to updateevent info
    Follow John Hawkins @VegasGeek
    What will it do?
  • 34.
    • Single files go directly in the plugin folder
    • 35. Multiple files go in their own folder
    • 36. WordPress only looks one folder deep
    Follow John Hawkins @VegasGeek
    The Plugin Folder
  • 37.
    • Single files go directly in the plugin folder
    • 38. Multiple files go in their own folder
    • 39. WordPress only looks one folder deep
    Follow John Hawkins @VegasGeek
    The Plugin Folder
  • 40. Follow John Hawkins @VegasGeek
    Plugin Header
  • 41. Follow John Hawkins @VegasGeek
    Plugin Header
  • 42. Follow John Hawkins @VegasGeek
    The Function
  • 43. Follow John Hawkins @VegasGeek
  • 44. Follow John Hawkins @VegasGeek
  • 45. Follow John Hawkins @VegasGeek
    Add a settings page
  • 46. Follow John Hawkins @VegasGeek
    The settings form
  • 47. Follow John Hawkins @VegasGeek
    The settings form
  • 48. Follow John Hawkins @VegasGeek
    The settings form
  • 49. Follow John Hawkins @VegasGeek
    The settings form
  • 50. Follow John Hawkins @VegasGeek
    The settings form
  • 51. Follow John Hawkins @VegasGeek
    Settings Page
  • 52. Follow John Hawkins @VegasGeek
    Use the option values
  • 53. resources
    Follow John Hawkins @VegasGeek
  • 54.
    • http://codex.wordpress.org
    • 55. http://vegasgeek.com/wc-msp
    Follow John Hawkins @VegasGeek
  • 56. John Hawkins
    john@9seeds.com
    Work: http://9seeds.com
    Blog: http://vegasgeek.com
    Tweet: @vegasgeek
    Follow John Hawkins @VegasGeek
    Thank You!