Customisations deleted after a theme update

Home Forums Calendar Products Events Calendar PRO Customisations deleted after a theme update

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1067970
    Neal
    Participant

    Hi there – just wondering if you have an answer …

    I had made a few customisations based on your themer’s guide …

    then they got over-written after the last divi theme update 🙁

    Is there a way I can stop this happening in the future?

    Thanks, Neal

    #1068312
    George
    Participant

    Hey @Neal,

    I’m really sorry to hear about this loss of custom work 🙁

    There is indeed a way to prevent this from happening, which is WordPress’s excellent “Child Theme” feature → https://codex.wordpress.org/Child_Themes

    If you make a child theme of the parent “Divi” theme, and then add your customizations into this child theme, then you can update the Divi theme without affecting the code within the child theme.

    Check out the article above for more information on how child themes work, how to make one, etc.

    I really hope this helps! Let me know if that’s the case and/or if there’s anything else I can help with.

    Sincerely,
    George

    #1068400
    Neal
    Participant

    OK – thanks.

    Is that easy to set up considering I have the current Divi all set up to work with Events Calendar etc -finally after so much work I have it working as I like. Just a little worried that I have to do so much work again etc.

    I suppose I could save the custom functions in a separate text file and then copy them back in after an update.

    Neal

    #1068586
    George
    Participant

    Sure thing, @neal – your idea is not a bad one. You could also even make a “custom plugin” just for your site, and store all of your customizations there (although for PHP template overrides for anything in The Events Calendar, those template overrides themselves will still need to be in a theme or child theme).

    I’ll close up this thread for now, but I wish you the best of luck with your customizations!

    Cheers,
    George

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Customisations deleted after a theme update’ is closed to new replies.