When you want to make changes to your site, there’s a good way to do it, and a bad way. Sadly, over time, most people have been taught the bad way. However, the good way is quite simple. You need to:
- Build a child theme. This allows you to make changes to your theme without touching the original theme and risking losing your changes if the theme gets updated.
- Build a functionality plugin. This is how you can add custom functionality to your site without risking losing those changes and providing the template that will allow you to organise your code in a way that will make your code easy to find in the future.