WordCamp 2012 Seoul - Plugin

  • Published on
    12-Jun-2015

  • View
    783

  • Download
    2

Embed Size (px)

DESCRIPTION

2012 PPT .

Transcript

<ul><li> 1. WordPress Plugin@ssamtureBy ssamture@gmail.comhttp://ssamture.net WordCamp Seoul 2012 Seoul, South Korea - May 26 Track3 13:30</li></ul> <p> 2. ? WordCamp Seoul 2012 @ssamture 3. ? 4. ? WordCamp Seoul 2012 @ssamture 5. WordPressWordCamp Seoul 2012 6. WordPressWordCamp Seoul 2012 7. WordPressWordCamp Seoul 2012 8. WordPressWordCamp Seoul 2012 9. WordPressWordCamp Seoul 2012 10. WordPressWordCamp Seoul 2012 11. WordPressWordCamp Seoul 2012 12. 13. Dashboard WordCamp Seoul 2012 14. Dashboard WordCamp Seoul 2012 15. WordPress.org WordCamp Seoul 2012 16. WordPress.org /wp-content/plugins/WordCamp Seoul 2012 17. WordCamp Seoul 2012 18. 19. Hooks(Hooking) Actions FilitersWordCamp Seoul 2012 20. Hooks? : (), ; () S/W : , , . . ()WordCamp Seoul 2012 21. [ 21 ]WordCamp Seoul 2012 22. Anctions? : , , Actions Action API PHP function . Actions Functions(has_action, add_action )WordCamp Seoul 2012 23. Filters? : , () Filters Filter API . Filter Functions(has_filter, add_filter )WordCamp Seoul 2012 24. /* Plugin Name : Plugin URI : Description: Author : Version : Author URI : */ function (){ } API(hook_name,);WordCamp Seoul 2012 25. DB [ 25 ]WordCamp Seoul 2012 26. [ 26 ] 27. 28. WP_ROOT/wp-content/themes/ style.css WordCamp Seoul 2012 29. index.php [ 29 ]WordCamp Seoul 2012 30. Headers and Footers header.php footer.php theme API get_header() get_footer() [ 30 ]WordCamp Seoul 2012 31. Theme API index.php includeget_header() -&gt; header.phpget_footer() -&gt; footer.php[ 31 ] 32. header hook(wp_head) Function Refrence / wp_head- - styles, scripts meta tags-Plugin wp_head hook tag -do_action(wp_head);[ 32 ]WordCamp Seoul 2012 33. footer hook(wp_footer) WordCamp Seoul 2012 34. stylesheet WordCamp Seoul 2012 35. Post Lists index.php , category.php , archive.php WordCamp Seoul 2012 36. Post Lists&lt; &gt;WordCamp Seoul 2012 37. Post Lists[ 37 ]WordCamp Seoul 2012 38. Post Lists thumbnail functions.php functions.php -&gt; WordCamp Seoul 2012 39. Post Lists thumbnail WordCamp Seoul 2012 40. Pagenavition WordCamp Seoul 2012 41. Post and Page Detail Post single.php 42. Post and Page Detail page page.php 43. Comments single.php comments_template() comments.php WordCamp Seoul 2012 44. Menu and Navigation functions.php theme API WordCamp Seoul 2012 45. Using WordPress Hooks and Filters PC /wp-content/plugins (ex) /wp-content/plugins/meetup /wp-content/plugins/meetup/meetup.php WordCamp Seoul 2012 46. Theme Selection Plugin API add_filter WordCamp Seoul 2012 47. Theme Selection [ 47 ]WordCamp Seoul 2012 48. Content , Plugin API filter WordCamp Seoul 2012 49. , .^^</p>