• I’m huge fan of twenty sixteen WordPress theme. Just few mins ago, I updated my theme in the dream of that all bugs were be fixed. But, the simple one click on update increased my homework.

    Please tell me how to create a child theme, from next time.. I don’t want to loss anything after clicking on update button.

    1. Header.php file modification
    2. Schema markup (It would be great, if these thing will be precomes in all WordPress themes)
    3. Function.php custom code (Sorry, I didn’t used Functionality plugin. I accept my mistake. But what can I do? In the love of making site faster, I don’t like to use plugin on step by step for each things.
    4. I lost modification in footer.php file , I had modified credit links.

Viewing 16 replies (of 16 total)
  • Child theme inherits all the functionality and styling of it’s parent theme. If you are using child theme and a theme update is applied your changes won’t be lost or overwitten

    You can quickly create child theme for any theme, just follow the steps given below:

    #1 Create a folder and name it exactly your theme name; append -child in the name. e.g. creating child theme for twentysixteen theme would be called twentysixteen-child this folder should sit beside parent theme under wp-content/themes/

    #2- Your child theme should have three files.
    style.css
    functions.php
    screenshot.png

    #3- In functions.php file you can override parent theme functions.

    #4 In style.css file you can override parent theme CSS code.

    #5 If you want to change header design then you have to override header.php file. For this copy header.php file of your parent theme and paste it inside your child theme folder. Now, you can modify the child theme header file as per your requirements.

    #6 Similarly, you can also override footer.php file in your child theme.

    For more info have a look over below thread-
    https://codex.www.ads-software.com/Child_Themes

Viewing 16 replies (of 16 total)
  • The topic ‘How to a Create Child Theme of Twenty Sixteen?’ is closed to new replies.