Home Forums FAQ Child Theme guidance

This topic contains 4 replies, has 3 voices, and was last updated by  SeaTheme 1 month ago.

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

    6Sunbury
    Participant
    Purchased

    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

    SeaTheme
    Keymaster
    Purchased
    Supported

    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
    Purchased
    This reply has been marked as private.
    #19606

    jhchoi
    Participant
    Purchased

    How can you change the name of the Child theme? Can you change the zip file name and upload with the new zip file name?

    #19610

    SeaTheme
    Keymaster
    Purchased
    Supported

    Hi,

    Do you mention the name in wp-admin, you need to edit the style.css, change the “Theme Name”.

    No, it doesn’t work by changing zip file name. Please change the child theme folder name. It is not necessary, the child theme folder is only shown in origin HTML code
    PS: don’t change the parent theme folder name

    Regards

    • This reply was modified 1 month ago by  SeaTheme.
Viewing 5 posts - 1 through 5 (of 5 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!