Edited code disappeared after update

Hello,

I am have been running shapely on my wordpress site for several months now. I have been editing the code in the PHP editor so that it matches my needs. I have made many small changes to the code in the theme.

I recently returned to my site after a week without editing it and all my code changes were gone. I’m guessing there was an update to the theme that got rid of all the work I had done. Is there any way that I can get my code changes back? Is there anything I can do to keep this from happening in the future?

Thanks in advance!

Hello there,

I hope you are doing well today.

In order to return the code, you will have to use a backup created beforehand but this kind of issue can be prevented by using a child theme to contain the changes made to the theme.

Here are a few useful plugins:

Best Regards,
Support

Thank you for your help!

Hello there,

I am glad the solution worked for you.
Please feel free to contact us again in the future regarding any other issues.

Best Regards,
Support