The theme framework you've built will be used as a parent theme in the sites you develop. This means that in each case you'll need to create a child theme to create a unique site with its own design and with extra or different functions compared to the framework. The obvious way to go about this is to dive in and start creating template files in your child theme to override those in the framework, but thanks to the action and filter hooks you've added to your framework, this might not always be the best approach.
In this article, Rachel McCollin will outline some of the techniques you can use in your child themes to make best use of your framework and improvise your workflow.
The topics she will cover are as follows:
- Creating starter child themes
- Amending code via the framework's filter hooks
- Adding code via the framework's action hooks
- Creating template files in your child theme
- When to use a plugin instead