It is not recommended to add custom code directly to your theme, as any modifications you make will be overwritten during theme updates. This means you’ll lose all your customizations each time the theme is updated.
To keep your custom code safe and easily maintainable, you should add it to a child theme instead. A child theme allows you to preserve your customizations while still updating the parent theme without losing your changes.
For step-by-step instructions on how to create a child theme, please refer to our guide:
https://wptravel.io/how-to-create-a-child-theme/



