• kstavert

    (@kstavert)


    A friend used Customizr to build a site and
    lost all of his customization when he updated
    the theme

    A site was built for me using Customizr and
    Customizr is reading that there is an update…

    I have a tremendous amount of stuffs to lose
    if I update the theme….

    so, can I install Child Themify and fix this????

    I am technically challenged in this area and
    will appreciate help… thanks

    Karen

    https://www.ads-software.com/plugins/child-themify/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I just tried it, and lost my menus… so I reverted back

    The short answer is YES, The long answer is…

    The purpose of the Child Themify plugin is to prevent this from happening. Here is how it works. When WordPress(yoursite) runs,

    1) Basic WordPress uses it’s own style.css

    2) An activated Theme brings in it’s changes to your WordPress site by using it’s own Theme/style.css to overwrite the style created by the Basic WordPress/style.css.

    3)Child Themify creates it’s own folder ‘YourChildTheme’ in the WordPress/wp-content/Themes folder with its’ own style.css. When YourChildTheme is activated in Dashboard Themes, The WordPress(yourstite)/wp-content/Themes/Theme style’css is in turn modified (overwritten) by your WordPress(yoursite)/wp-content/Themes/YourChildTheme/style.css.

    In that way, when you update the Theme, your own YourChildTheme style.css is not replaced by the Theme update. A child theme named YourChildTheme created by Child Themify has it’s own style.css style sheet located in the Child Theme folder created when you click on .Create Child Theme;. Initially YourChildTheme/style.css contains nothing but

    /*
    Theme Name: MyCustomizr
    Version: 1.0
    Description: A child theme of Customizr
    Template: customizr
    */

    @import url(“../customizr/style.css”);

    So, any stylesheet changes you make to your WordPresssite should actually be in this YourChildTheme/style.css, NOT your Theme/style.css. That way, when you update the Theme, your changes are not lost.

    Regardless, You should always keep a copy of your changes in a file, maybe called something like ‘MyChangesToStyle.css’ so if something drastic does happen, you can easily restore all of your changes by renaming this file to style.css in the YourChildTheme folder.

    Additionally, your next question may be:

    How do I add a Dashboard/Theme screenshoot for the childtheme?

    per the help files:

    1) Create a screenshot and call it “screenshot.png”

    (I used MS Paint but any software for creating/editing images will do.)

    2) Now upload that to the root of your child theme’s folder. In other words, put it inside of the folder that holds the files for your child theme, but not inside any of the folders within that folder.
    Correct: yoursite.com/wp-content/themes/yourchildtheme/screenshot.png
    Incorrect: yoursite.com/wp-content/themes/yourchildtheme/images/screenshot.png

    3) It should be picked up automatically and show in your admin area after you do this. If you don’t see it, you may have to clear your cache.

    I hope this helps.

    Plugin Author J B

    (@johnpbloch)

    kstavert: Hmmm. Simply using child themify won’t completely protect your customizations.

    Here’s how to keep your customization:

    If you know exactly which files you’ve changed, copy those files into the new child theme created by child themify. If you don’t know which files you changed, I would copy everything except style.css into the new folder.

    Your child theme should just work after that, with all your custom code intact. At that point, feel free to update the parent theme (I’d also save a copy of the theme pre-update, just in case).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can you create a child theme AFTER a site is customized and setup’ is closed to new replies.