• Resolved mgran

    (@mgran)


    Hello,

    If a add some tags to a theme, for example to display some custom fields, what happens when a new theme version is released and the theme is updated? Do I lose all the theme customization?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Yes. BFor this reason, it is recommended that you consider creating a child theme for your customisations whenever possible.

    Thread Starter mgran

    (@mgran)

    I thought so. Thanks esmi!

    So doing it this way you leave the parent theme “alone” and you work with the child version.
    And when there is an theme update what happens?

    And when there is an theme update what happens?

    The Parent Theme updates, but the Child Theme remains untouched – so any changes you have made via the Child Theme likewise remain untouched.

    Thread Starter mgran

    (@mgran)

    OK, but then the child theme doesn’t “get” the improvements of the parent one, does it?

    OK, but then the child theme doesn’t “get” the improvements of the parent one, does it?

    The Child Theme shouldn’t need to incorporate any “improvements” of the Parent Theme; instead, it should already be leveraging/relying on the functionality of the Parent Theme.

    With a Child Theme, you replace only what you need to change. For everything else, WordPress knows to use the files from the Parent Theme (template files, style.css, functions.php, etc.).

    Most Child Themes will only ever need to be a modified stylesheet (style.css), that uses @import to pull in the Parent Theme’s style.css, and then modifies it.

    Thread Starter mgran

    (@mgran)

    Clear now!!!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘theme update’ is closed to new replies.