Understanding How WordPress Outputs Code From Child Themes
If you’ve ever needed to make tweaks to a third party theme, or you’re using a theme framework, you’ll be familiar with child themes.
They’re a powerful feature of WordPress, giving you the flexibility to make customizations to any parent theme without losing them when the theme is updated. I use them to make edits to third party themes, or with the framework theme I’ve developed myself.
However, it can sometimes be unclear whether WordPress will be using the code from your parent or your child theme. When it comes to template files, stylesheets and functions files, it can be tricky to work out what’s being used when.
In this post, I’ll…