There are many plugins out there that can create child themes for you. The problem is that sometimes while trying to use these plugins with a theme that is not compatible can cause a while screen or site crash. it is always good to know how to create a child theme manually. Below are the steps that you can follow to create your own child theme.

The advantages of having a child theme is so that when a developer makes changes to their theme you do not loose any customization’s you might have made. With out a child theme you run the risk of loosing your changes when an update occurs.

 

1. On your desktop create a child theme folder “YourThemeName-child” replace YourThemeName with the name of your theme.
2. Create a file called “styles.css” in that file copy the code below into the file:

[css]
/*
Theme Name: Twenty Fifteen-Child
Theme URI: http://example.com/twenty-fifteen-child/
Description: Twenty Fifteen Child Theme
Author: John Doe
Author URI: http://example.com
Template: twentyfifteen
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: twenty-fifteen-child
*/

@import url("../twentyfifteen-child/style.css");
[/css]

Replace “Twenty Fifteen Child” with your theme name.
Enter the URL you would like for your “Theme URI”
Change “John Doe” to your name or company name, for “Author URI” enter in your site URL
For Template change  twentyfifteen to the name of the template that you will be making a child theme for.
Version this is up to you if you want to change it or leave it as is.

Now save the file.

3.Create a file called “functions.php”. This file can be left empty.
4. Add both files functions.php and styles.css into the child theme folder you created.
5. Zip up the newly created child theme folder (ex. YourThemeName-child.zip)
6. Got to the WordPress dashboard then appearance then themes.
7. Click “Add New” then “Upload theme” browse to the new child theme folder you created and upload and activate it.

In the event you can not upload it then through FTP upload the folder not the zip to your “wp-content/themes” folder. Go back to your dashboard refresh your screen and activate it there.

If all went well you should now have a newly created and functional child theme.