Alex Mansfield: Building Extensible Themes With Hooks And Filters

Continue the discussion

Published

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 »

Rate this:

Event

WordCamp Portland 2015 16

Speakers

Alex Mansfield 1

Tags

Extensible Themes 1
filters 17
hooks 36

Language

English 10545

Download
MP4: Low, Med, High, Original
OGG: Low
Subtitles
Subtitle this video →