How to Create a Child Theme for WordPress

Create a new folder (directory) for your child theme., Get a CSS file for your child theme., Tailor the previous information to match the site., Activate your child theme., Copy and upload files from the Parent theme.

5 Steps 1 min read Medium

Step-by-Step Guide

  1. Step 1: Create a new folder (directory) for your child theme.

    First, access your files where they are hosted (on the server) instead of from the admin panel.

    Make your way to the Themes folder, click, and you should see the directories of all themes that are installed.

    Create a new directory here and title the new directory "my theme-child".

    Insert the name of your theme in place of "my theme".

    Thus, if you are using kippis theme, it would be kippis-child.
  2. Step 2: Get a CSS file for your child theme.

    It's a fact that the only file you need to officially create a child theme is a CSS file.

    Under the directory you just created, make a new file called style.css.

    Copy and paste the code shown in the image inside it. , Don't forget to save! , Log onto your admin area and go to Administration Panels
    -> Appearance
    -> Themes.

    You will see your child theme listed there.

    Click to activate. , When you need to make changes, copy the entire file (like functions.php and content.php) over to your new child theme.

    Now you can remove footer links and edit anything else safely.
  3. Step 3: Tailor the previous information to match the site.

  4. Step 4: Activate your child theme.

  5. Step 5: Copy and upload files from the Parent theme.

Detailed Guide

First, access your files where they are hosted (on the server) instead of from the admin panel.

Make your way to the Themes folder, click, and you should see the directories of all themes that are installed.

Create a new directory here and title the new directory "my theme-child".

Insert the name of your theme in place of "my theme".

Thus, if you are using kippis theme, it would be kippis-child.

It's a fact that the only file you need to officially create a child theme is a CSS file.

Under the directory you just created, make a new file called style.css.

Copy and paste the code shown in the image inside it. , Don't forget to save! , Log onto your admin area and go to Administration Panels
-> Appearance
-> Themes.

You will see your child theme listed there.

Click to activate. , When you need to make changes, copy the entire file (like functions.php and content.php) over to your new child theme.

Now you can remove footer links and edit anything else safely.

About the Author

R

Ronald Lewis

Enthusiastic about teaching DIY projects techniques through clear, step-by-step guides.

72 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: