Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1076234

    Hi! my website is running on v3.8 without a child theme.
    I made changed to functions.php (though wordpress edit menu) and custom css (though enfold menu). I’d like to upgrade to the latest version and this time implement child theme.

    How should I do it? and what am I going to lose?

    Many thanks!

    Edit: I meant to the latest version, seems like it’s not 4.4 but 4.5 :)

    • This topic was modified 5 years, 9 months ago by 0_o.
    #1076687

    Hey 0_o,

    If you move what you added to functions.php to your child theme then you shouldn’t lose anything. Once you have activated the child theme then you can import the parent settings in the theme options. I would recommend that you do this on a staging version of your site in order to not risk any problems with your production site.

    Best regards,
    Rikard

    #1076703

    Thanks,
    So I should:
    1. copy the functions.php additional lines
    2. overwrite the old enfold folder with a new one (v4.5)
    3. copy the child theme folder
    4. active child theme
    5. paste the functions.php additional lines

    And that’s it? I’m not going to lose any of the settings I made to the “theme options” including custom CSS and such?

    #1076916

    Hi,

    Yes, basically. Except for step 2, you likely need to delete the old theme folder, then upload the new one. And last step would be to import the theme settings from the parent in the theme option.

    You shouldn’t lose anything, but please make sure to have backups of the site before starting the update in case something should go wrong.

    Best regards,
    Rikard

    #1076932

    Worked great. Thank you!

    • This reply was modified 5 years, 9 months ago by 0_o.
    #1077018

    Hi,

    Great, I’m glad you got it working and thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.