One of the things I’ve been thinking about is how to make it easier to customize the theme in a child theme while still maintaining the ability to update Alien Ship with ease.
A common issue I see with themes is that if you want to make simple changes to a file (like header.php for example) you have to copy the file over, make your changes, and then when an update for the parent theme comes out you have to spend time merging those changes back into your child theme.
I hate having to maintain things like this, especially for small changes. So I’m looking at ways to change the structure of Alien Ship to make it easier for all of us. One way this can be handled is with template parts. For example, in the header.php file I broke out the meta data lines and put them into a file called inc/parts/meta.php. For someone who needs to make changes to this meta data, they can simply edit this one file instead of maintaining the whole header.php in their child theme. I did the same thing with the title, since this is something that people commonly want to change for SEO purposes.
There are other ways of achieving this. Instead of using template parts, these things can be handled with functions/hooks. Using this method, one just creates their own function and overrides the one in Alien Ship.
It’s helpful to get an outside perspective on things, so I’d like to hear your thoughts on this before I move forward making these changes. Please share your thoughts and ideas in the comments.