• Hi,
    I use picolight theme, with child-theme. I have modified some things in theme’s files (other than style.css), files that I don’t see inherited within the child-theme..
    Now my problem is that I can’t update the theme without losing the changes I’ve made. Is there any way to do that and keep the changes? Copying theme’s files to child’s folder would do the job?

Viewing 7 replies - 1 through 7 (of 7 total)
  • What changes did you make and to which files?

    Thread Starter engl9253

    (@engl9253)

    weeell.. header.php, footer.php, page.php, sidebar.php … for example.
    what changes? hard to tell.. added text, photos, menus etc.. I can’t tell you exactly what’s what.. I wasn’t aware, at that time, it would be such a problem later.. ??
    Sorry for being such a noob in this.. ??

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Work out whether it’ll be quicker to scrap the theme and download the theme again or undo your changes.

    You can use a tool like DiffChecker to check the difference between your files and the theme’s original files.

    Thread Starter engl9253

    (@engl9253)

    Andrew, I’m afraid I didn’t make myself understood. I want to be able to update the theme, but at the same time to keep the changes. I don’t want to have to do it all over again every time I update theme. So I hoped that somehow I might transfer all this to the child theme, so that I don’t lose anything by updating “mother”-theme.

    Yes, you can move a copy of any .php files that you changed to the child theme. But theme changes – setting/options, etc. that you make in the Dashboard of your site are not changes to theme files — and they are not transferred to a child theme – there is no way to do that – you have to redo them – it’s like changing to any other new theme. Your content (i.e. text, photos, posts, pages) will transfer fine.

    BTW, if you changed, functions.php, you need to handle that differently – you can’t move a copy of that file to the child theme. Ditto the style.css file. Have you reviewed:

    https://codex.www.ads-software.com/Child_Themes

    Thread Starter engl9253

    (@engl9253)

    yes, I know about the style.css file and it’s ok – the child theme has it as far as I know it replaces the parent’s style.css
    and yes, I have reviewed the “Child Themes” info. ??

    Thank you both for your help. I’ll backup my data, copy files to child and update. If it’s ok, I’ll come back here to mark this post as resolved. If not.. well, I’ll cry for more help here.. :))))

    edit: little bit of grammar.. ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Theme Picolight] Updating theme with child’ is closed to new replies.