WordPress.org

Ready to get started?Download WordPress

Forums

How to upgrade modified theme (4 posts)

  1. nccfl1
    Member
    Posted 1 year ago #

    I have a modified theme on lacrosse-lounge.com 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 flowlaxde.com

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You'll need to move any theme file changes to a child theme:

    http://codex.wordpress.org/Child_Themes

  3. nccfl1
    Member
    Posted 1 year ago #

    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!!

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic