How to create a child theme in wordpress ?

first you need to create a folder in wp-content/themes/YourChildthemeName

Suppose we are creating a child theme for twentyFifteen theme.

then we can put our child theme name to twentyFifteen-child

The most important thing about child theme is consist of two files that is functions.php and style.css.

These both files are just copy of the parent theme.

The style.css consists of below code just copy and paste:


You can make this file blank.

that’s it..