Speakers: Alex Mansfield

  • Alex Mansfield: Building Extensible Themes With Hooks And Filters

    Alex Mansfield: Building Extensible Themes With Hooks And Filters

    WordCamp Portland 2015Speaker: Alex Mansfield

    November 22, 2015 — In this talk, I would like to explore a third option that uses the WordPress hook and filter system to find a comfortable middle ground. Using this method, the index.php file is used as starting point, with all of its output added via hooks and filters. Additional page templates simply add or remove actions from these hooks and filters. This methodology allows new templates to be created quickly and easily. Existing templates can also be modified on a per-use basis. To get the most out of this session, familiarity with WordPress Theme development and PHP are recommended. Knowledge of the WordPress hook/filter system will be helpful, but not required.

    Presentation Slides »