Home Forums FAQ Child Theme guidance

This topic contains 2 replies, has 2 voices, and was last updated by  6Sunbury 10 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/JavaScript/PHP codes into child theme folder, the changed files will not be covered when theme updated(because the files in the air-theme folder will be covered, the files in the 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, the installing progress is same with installing a normal 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: header.php, footer.php, single.php, page.php, comments.php, searchform.php and PHP files in the template folder, please clone the PHP file, move the cloned PHP file into child theme folder. Please make sure the same folder tree with the 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.

Join Newsletter(FREE)

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