Okay
  Public Ticket #1255060
Custom code in theme core files overwritten with update?
Closed

Comments

  •  5
    Inki started the conversation

    Hi,

    quick question: I've added some custom code to theme core files such as functions.php.

    When I update the theme, will the functions.php file be overwritten, resulting in the custom code to disappear as well?

    If so, is there another solution for this? or should I just copy/paste the code after each update?

    Thanks.

  • [deleted] replied

    Hi Inki,

    You can activate Child theme. For more info please read this article (this article is made for our kalium theme but the same stands for all the themes).