Your SlideShare is downloading. ×
0
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
WordPress Bootcamp Part 2 - Extending WordPress
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

WordPress Bootcamp Part 2 - Extending WordPress

476

Published on

The second session for Metronet's WordPress Bootcamp.

The second session for Metronet's WordPress Bootcamp.

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

  • Be the first to like this

No Downloads
Views
Total Views
476
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
17
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
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript

    • 1. Extending WPPART 2Extending WordPress
    • 2. Extending WPCORE
    • 3. Extending WPcore = essential WordPress files
    • 4. Extending WPDON’T
    • 5. Extending WPHACK
    • 6. Extending WPCORE
    • 7. Extending WPDon’t Hack Core WHY? Can’t Upgrade :(
    • 8. Extending WPDon’t Hack Core
    • 9. Extending WPPLUGINS
    • 10. Extending WPPlugins “Plugins are tools to extend the functionality of WordPress. The core of WordPress is designed to be lean, to maximize flexibility and minimize code bloat. Plugins offer custom functions and features so that each user can tailor their site to their specific needs.”
    • 11. Extending WPHello World
    • 12. Extending WPHello World
    • 13. Extending WPHello World
    • 14. Extending WPHello World
    • 15. Extending WPHello World
    • 16. Extending WPPROGRAMMING YOUR PLUGIN
    • 17. Extending WPHOOKS
    • 18. Extending WP TWO ActionsTYPES Filters
    • 19. Extending WPmodify the default behavior of WP
    • 20. Extending WPActions “Actions are the hooks that the WordPress core launches at specific points during execution, or when specific events occur. Your plugin can specify that one or more of its PHP functions are executed at these points, using the Action API.”
    • 21. Extending WPActions hook_name = name of action hook your_function_name = name of function you have defined to be executed following the specified action hook priority (optional) = an integer that can be used to specify the order of action hooks. (default: 10) accepted_args (optional) = how many arguments your function takes
    • 22. Extending WPActions
    • 23. Extending WPActions
    • 24. Extending WPActions http://codex.wordpress.org/Plugin_API/Action_Referenceplugins_loaded, wp_head, wp_print_styles, wp_print_scripts, wp_footer,wp_print_footer_scripts, add_attachment, add_category, delete_category, delete_post, edit_attachment, edit_category, edit_post, publish_page, publish_post, save_post, comment_post, edit_comment, delete_comment
    • 25. Filters Extending WP “Filters are the hooks that WordPress launches to modify text of various types before adding it to the database or sending it to the browser screen. Your plugin can specify that one or more of its PHP functions is executed to modify specific types of text at these times, using the Filter API.”
    • 26. Extending WPFilters tag = name of filter hook your_function_name = name of function you have defined to be apply filter priority (optional) = an integer that can be used to specify the order of filter hooks. (default: 10) accepted_args (optional) = how many arguments your function takes
    • 27. Filters Extending WP
    • 28. Extending WPFilters http://codex.wordpress.org/Plugin_API/Filter_Referencewp_title, the_title, the_excerpt, the_content, the_author, login_headertitle, login_headerurl, login_message, comment_excerpt, widget_title, excerpt_length, excerpt_more
    • 29. Extending WPFrom WP.org...Follow Coding Standards.Use Unique Names.Don’t hardcode DB prefixes but use $wpdb->prefixinstead. (ie. wp_)SELECT only what you need.Add define(WP_DEBUG, true); to your wp-config.phpfile.
    • 30. Extending WP
    • 31. Extending WPAdding Scripts (jQuery, etc.)
    • 32. Extending WPThe “Wrong” Way
    • 33. Extending WP
    • 34. Extending WPThe Right Way
    • 35. Extending WP
    • 36. Extending WP
    • 37. Extending WP
    • 38. Extending WPReal Example
    • 39. Extending WP2 Other Really Cool Things
    • 40. Extending WP Transient API &WP Events (Cron)
    • 41. Extending WPTransient API
    • 42. Extending WPWP Events
    • 43. Extending WP Also check out WP Object Cache and plugincaching solutions like WP Super Cache and W3 Total Cache.
    • 44. ANY ?’s

    ×