How To Install a GeneratePress Child Theme

GeneratePress WordPress child theme tutorial

Hey there! Some links on this page may be affiliate links which means that, if you choose to make a purchase, I may earn a small commission at no extra cost to you. I greatly appreciate your support!

In this tutorial, I’ll walk you through the super simple steps of installing a child theme on GeneratePress. Literally within two minutes, you’ll have a blank child theme installed on your website.

Let’s find out how to do it.

GeneratePress Child Theme

According to GeneratePress documentation, you can download the official blank starter child theme here.

The two simple steps to install are:

  1. Save the file on your computer
  2. From your WordPress dashboard, go to Appearance > Themes > Add New > Upload Theme and upload the .zip file

Once you have uploaded and installed the child theme, the only thing left to do is activate it.

It goes without saying that you’ll need the GeneratePress parent theme installed for this to work. While a free version is available, I recommend the premium version of GeneratePress which you can install on unlimited websites.

How To Use a Child Theme

Most people are interested in a child theme to write custom functions and/or alter the appearance of their website.

These type of changes are implemented in Appearance > Theme Editor. When in here, just make sure the GeneratePress Child Theme is selected for editing.

GeneratePress child theme editor selection

By default, two files ship with the blank GeneratePress child theme.

  • style.css
  • functions.php

These files are mostly blank and are here for you to edit as necessary. Most of the time (especially for those who aren’t too familiar with coding) you’ll simply paste in a snippet of code into your child theme’s function.php file.

How Does a WordPress Child Theme Work?

A WordPress child theme pretty much inherits all the functionality of its parent theme, thus allowing you to add additional functionality without the risk of screwing things up.

In other words, you can work in a “sandbox” with child theme. Feel free to add custom functions, shortcode, and stylesheets as necessary.

For the most part, none of your modifications will ever change the foundation of the theme. While you can of course alter the functionality and appearance of the theme, there is zero chance of permanently altering its behavior.

This is mostly because of a computer science concept called inheritance. Inheritance essentially allows one portion of code to leverage the functionality of similar code.

In a worst-case scenario, you can always uninstall your child theme and your original WordPress theme will still work properly.

YouTube video

That’s about it for this tutorial. If you have any questions, let me know in the comments below.


Meet Tony

Tony from Tony Teaches Tech headshot

With a strong software engineering background, Tony is determined to demystify the web. Discover why Tony quit his job to pursue this mission. You can join the Tony Teaches Tech community here.

One Response

Leave a Reply

Your email address will not be published. Required fields are marked *