Beginning Plugin d
Upcoming SlideShare
Loading in...5
×
 

Beginning Plugin d

on

  • 1,207 views

 

Statistics

Views

Total Views
1,207
Views on SlideShare
1,207
Embed Views
0

Actions

Likes
0
Downloads
8
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Beginning Plugin d Beginning Plugin d Presentation Transcript

  • Getting Started with WordPress Development by John Hawkins @VegasGeek JohnHawkinsUnrated.com Friday, August 27, 2010
  • $about[‘presentation’] • Tools • Hooks • Code • Resources Friday, August 27, 2010
  • Tools Friday, August 27, 2010
  • Develop Locally • Windows: XAMPP http://h.awkins.com/xampp • Mac: MAMP http://h.awkins.com/mamp Friday, August 27, 2010
  • Use an IDE • Syntax highlighting • Error checking • Auto-complete functions • Try NetBeans h.awkins.com/wiki-ide h.awkins.com/netbeans-config Friday, August 27, 2010
  • Hooks Friday, August 27, 2010
  • What’s a Hook? • Specific points in the WordPress code used to interact with WordPress • Two types of hooks; Actions and Filters • 1300+ hooks in WordPress 3.0 List of hooks: http://h.awins.com/wp-hooks Friday, August 27, 2010
  • Action Hooks • Tell WordPress to perform a function at a specific point Friday, August 27, 2010
  • Filter Hooks • Passes data to your function • Your function can modify the data and send it back to WordPress Friday, August 27, 2010
  • Code Friday, August 27, 2010
  • What will it do? • Create a shortcode • Display info for an upcoming event in a page or post • Create an admin panel to update event info Friday, August 27, 2010
  • The Plugins Folder • Single files go directly in the plugin folder • Multiple files go in their own folder • WordPress only looks one folder deep Friday, August 27, 2010
  • The Plugins Folder • Single files go directly in the plugin folder • Multiple files go in their own folder • WordPress only looks one folder deep Friday, August 27, 2010
  • Plugin Header Friday, August 27, 2010
  • Plugin Header Friday, August 27, 2010
  • The Function Friday, August 27, 2010
  • Friday, August 27, 2010
  • Friday, August 27, 2010
  • Add a Settings Page Friday, August 27, 2010
  • The Settings Form Friday, August 27, 2010
  • Options Page Friday, August 27, 2010
  • Use the Option Values Friday, August 27, 2010
  • Resources Friday, August 27, 2010
  • Resources • http://codex.wordpress.org • http://h.awkins.com/wc-utah Friday, August 27, 2010
  • Thank You! I am: John Hawkins I email: john@vegasgeek.com I tweet: @VegasGeek I blog: JohnHawkinsUnrated.com I work: 9seeds.com Friday, August 27, 2010