Home Forums FAQ Child Theme guidance

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

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

    6Sunbury
    Participant

    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

    #15289

    BWSM
    Keymaster

    Hi,

    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:
    /template/global/footer-info.php

    You can change the cloned files into child theme folder.

    5) Put your own function codes into functions.php

    Regards!
    Bwsm – uiueux.comTwitterFacebook

    #15447

    6Sunbury
    Participant
    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.