Support » Themes and Templates » How to upgrade modified theme

  • I have a modified theme on I have changed the layout and posistion and many different elements how do I upgrade and maintain these modifications? The theme i use is duster, i also plan on doing the same on my other site

Viewing 3 replies - 1 through 3 (of 3 total)
  • You’ll need to move any theme file changes to a child theme:

    The problem is that ive changed many things, functions,css and what not , are you supposed to copy these files to a child theme folder or whatever and then update the site and whatever is now messed up or where mods were deleted you look for the code in the child theme and bring it over to the parent or updated theme?? Thanks for the quick help!!

    Yes, you would create the child theme and copy the changed files to the child theme — but you will need to carefully read about how functions.php work in a child theme — it’s not the same as regular php files. With the css file, it’s better to only have your changes in the child theme style.css file, so you may need to use a compare text editor or other program to do those. Or, less ideal, you can copy the entire thing — though that will make it harder to keep track of and manage your CSS and it creates duplicate code.

    Also, when you change to a child theme, theme options don’t carry over, so you’ll have to redo those in the child theme.

    Once you have everything set in the child theme, you can the update the parent theme.

    All that said, be very, very sure to make multiple archive (backup versions) of your files as you are working. And a complete backup of everything before you start messing with it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to upgrade modified theme’ is closed to new replies.