Hi,
I have been experiencing an issue where my custom code in WordPress gets deleted after some time. I am not sure what is causing this problem. I am using the WoodMart theme, and I want to ensure that my customizations remain intact.
Here are some details:
– I am adding custom code for functionality and styling.
– The custom code is placed in the theme’s functions.php file and custom CSS in the theme’s stylesheet.
– The code works initially but disappears after some time, especially after updates.
Can someone guide me on the best practices to implement custom code in a way that it doesn’t get deleted? Should I use a child theme or custom plugin? Any specific steps or resources would be highly appreciated.
If a child theme is the solution, could you please provide detailed instructions on how to create a child theme for the WoodMart theme?
Thank you!