Plugin Territory: What Is the Responsibility of Themes and What Is the Responsibility of Plugins
summary
Discusses the concept of “Plugin Territory” for WordPress, examining which features belong in themes versus plugins—specifically where to implement custom post types, taxonomies, meta boxes, shortcodes, widgets, and plugin dependencies. Explains problems when themes encroach on plugin responsibilities and gives guidance on how to avoid that by deciding which functionality should be theme-specific and which should live in plugins.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 1:27WordPress architecture
- 3:58functions.php as plugin
- 6:29What belongs in plugins
- 8:41Shortcodes in themes vs plugins
- 9:24Contact forms in themes vs plugins
- 10:32Analytics and options in plugins
- 11:35Meta boxes debate
- 12:58Custom post types in themes
- 14:41Custom taxonomies in plugins
- 15:48Widgets in themes vs plugins
- 17:15Territory overlap
- 18:17Repository rules
- 19:40Plugin vs functions.php
- 20:02Plugin dependencies
- 21:28Benefits of separation
- 22:33Q&A
- 23:15Styling in plugins
- 25:47Page builders and content loss
- 29:07Shortcodes and page builders pitfalls
- 30:58Plugin performance impact
- 32:05Summary
