Theming WordPress
summary
Creates a child theme from a clean parent, adds a stylesheet and functions.php, and enqueues parent then child styles (no @import) so styles load faster and can be versioned to bust caches. Shows copying parent templates to override them, using get_stylesheet_directory vs get_template_directory, and enqueueing or deregistering JS. Demonstrates a working child theme and a plugin-based “grandchild” that reliably swaps colors, noting it only works about 40% of the time if done naively, so testing and diffs on parent upgrades are essential.
AI-written summary · about
chapters (23)
- 0:00Theming WordPress
- 1:21Once upon a time...
- 2:20Hey! What happened?
- 2:47Other Benefits
- 4:45Find a Parent Theme
- 5:38Create a child theme directory
- 6:38Create style.css
- 10:26Create functions.php
- 14:09Activate!
- 14:27Add a Preview Image
- 14:50Making Changes
- 15:31Custom template
- 15:42Path for Files
- 16:22Adding JavaScript
- 18:55Upgrading the Parent
- 20:13Additional Tips
- 20:36Starter Themes
- 22:10Automating Child Themes
- 22:36Outdated Helpful Plugins
- 23:45Grandchild Plugin
- 26:04Grandchild Templates
- 33:05Resources
- 43:15Feedback
related talks
56mUsing WordPress as a Modern Web Dev
23mThe Jugaad Way: WordPress Code for Non-Developers
10mCreate a Gatsby Blog Powered by WordPress in 10 Minutes
21mHookup with WordPress
21mUsing WordPress as a Framework
01h 02mHacking Wordpress, a Crash Course in Writing Plugins and Widgets
30mcomposer require Wordpress
33mCase studies: Two color management plugins for PostCSS
