Hello @antonrv
My name is Mehedi, and I’m the Product Manager here at Astra. I wanted to reach out and address your concerns about losing custom code after a theme update.
Firstly, I’m truly sorry to hear that you’ve lost your custom codes after the theme update! I’d like to clarify that the behavior you experienced is inherent to the structure of WordPress itself. When themes are updated, any customizations made directly within the theme files may be overwritten. This is not an Astra problem, works same for other themes as well.
This is why we strongly recommend using a child theme for any custom code modifications. Child themes act as a safeguard, ensuring that your customizations remain intact through theme updates. You can download Astra child theme here- https://wpastra.com/child-theme-generator/
If you need any assistance with setting up a child theme, please don’t hesitate to reach out. Our support team is here to help you every step of the way.
We value your feedback and hope this clarifies the situation. Would you be willing to revisit your review?
Thanks for your understanding and for being a valuable part of the Astra community.
Regards,
Mehedi Hasan