Home Forums FAQ Child Theme guidance

This topic contains 2 replies, has 2 voices, and was last updated by  6Sunbury 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #15286


    Hi, Please can you direct me toward some guidance on installing and using a Child Theme. I’m not really sure where to begin! Thanks, S




    The Child theme is for theme customization, you can add the some changed css/js/php codes in to child theme folder, the changed files will not be covered when theme updated(because the files in air-theme folder will be covered, the files in air-child folder will NOT be covered).

    1) Install the parent theme (like: Air theme, refer how to install WP theme) , don’t change the theme folder name(it should be air-theme always)

    2) Install the child theme, it is same as installing parent theme, the installable file is “air-child.zip”. Activate child theme after installed.

    3) If you want to change or add some CSS/JavaScript, please put the new CSS/JavaScript, code into custom.css/custom.js of child theme

    4) If you want to change some PHP files: like header.php, footer.php or php files in template folder, please clone the PHP files, put the cloned PHP files into child theme folder. Please make sure the folder tree is same as parent theme. Like:

    You can change the cloned files into child theme folder.

    5) Put your own function codes into functions.php

    Bwsm – uiueux.comTwitterFacebook


    This reply has been marked as private.
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Join Newsletter(FREE)

Subscribe to our newsletter to receive news & updates. We promise to not spam you, super promise!