Please note that our Legacy Themes have been replaced by new Thrive Theme Builder Themes. While our Legacy Themes are still functional, we are no longer actively developing them. We do have an article that explains how to create a child theme in Thrive Theme Builder, which you can find here.
WordPress has their own instructions for setting up a child theme here, however, this tutorial will be specific to our own themes with screenshots and specifics to help you install a child theme in the next few minutes.
If you haven't already, take some time to read about what child themes are and whether you need to use one before getting started.
Step 1 - Install the Parent Theme
The first thing you need to do is to decide which theme you want to use. In this example, we'll be using our own theme, Performag, however it can be any Thrive Theme that you choose.
You can install the parent theme as you would usually. Learn more about how to do this.
Step 2 - Create your Child Theme Folder
The first step is to create a new folder that will hold all your child theme files. You should create this folder in your wp-content/themes directory.
You also need to pay attention to the naming convention. Your new child theme folder must be the name of the parent theme with "-child" as the suffix. So for instance, to create a Performag child theme, the folder name should be:
Once we've created the child theme folder, it should look like this:
Step 3 - Create style.css File
Inside your child theme folder, you then need to create a file called style.css - this is obligatory even if you don't have any intention of adding CSS to your child theme.
The style.css file must set directly inside the child theme folder, and must contain the following header:
Theme Name: Performag Child
Theme URI: http://yoursite.com
Child Theme Author: Paul McCarthy
Author URI: http://yoursite.com
Template: performag Version: 1.0.0
Text Domain: performag-child
Obviously, you can modify the details to suit your own project.
You must make sure that the "Template" maps exactly to the directory name of the parent theme. In this case, we've set it to "performag" since that's our parent theme. Be careful, this is case sensitive so make sure you don't use capital letters (all our themes follow a lower case directory naming convention).
You should now have something that looks like this:
Step 4 - Create functions.php file
The other file that your theme must have is a "functions.php" file. This, also, must be added directly inside the child theme folder.
The functions.php can be left empty at this point - it just needs to be present.
Your folder should now look like this:
Step 5 - Activate your Child Theme!
The final step is to go to your WordPress dashboard and activate your child theme.
Go to "Appearance" -> "Themes" and you should see your child theme listed:
Click the "Activate" button, and your child theme will become live!
At this point, the child theme will look no different from the parent theme (since the child theme inherits all of the parent themes functions, templates, and CSS files).