Home Forums WoodMart support forum How to Implement Custom Code Without It Getting Deleted?

How to Implement Custom Code Without It Getting Deleted?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #568907

    easyprintspot
    Participant

    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!

    #569226

    Hung Pham
    Keymaster

    Hello easyprintspot,

    Thank you for reaching out!

    First of all, I’m really sorry have taken long time to reply you.

    You can easily download it from our website using the following link: https://xtemos.com/docs-topic/setup-child-theme/

    Once downloaded, you can install it following our installation instructions, or if you need further assistance, feel free to let us know, and we’ll be happy to guide you through the process.

    Kind Regards

Viewing 2 posts - 1 through 2 (of 2 total)