
What is a Child theme?
A child theme as theme that inherits the functionality (how it works) and styling (look and feel) of a WordPress parent theme.
What is a Parent Theme
This is simply the theme you choose to use on your WordPress website.
Do I need to have a child theme?
The short answer is YES! In caps and with an exclamation mark.
Child themes are highly recommended when modifying existing themes to maintain their original design and code.
This is normally a consideration for Website Developers, however WordPress is very intuitive and enables anyone to make and manage their own website.
That said, if you modify your website without a child theme, updates to your theme can overwrite those changes.
Why does this happen?
Well. When a theme author makes changes to their theme. You receive these changes as a “theme update.” During the update process, the ‘old theme files’ are overwritten with the ‘new theme files’. This means that if you made any changes to the old theme files the whole file that you changed will be replaced with the new files, and your changes contained within the old files will be deleted with those old pages.
How does a Child Theme prevent my changes from being deleted?
When you create a child theme, you are basically making a new set of files that contains only the changes and modifications that you have made. These files will never be changed or deleted or replaced because the Theme Developer cannot update them. They can only update the Parent Theme Files.
This allows you to create a safe space between the latest theme files and your customisations.
What files can I make ‘Child Theme Files’?
Normally, custom functions and direct theme file editing (for example the ‘header.php’ files are what you would include in your child theme, however you can include any of the original theme files in your child theme.
Do I need to make custom CSS changes in my Child Theme?
If you are using any of the latest WordPress themes, or if you are using any of the Top 10 best WordPress themes, chances are you do not need to add a custom CSS file to your child theme. This is because the developers have already created a space for you to make custom CSS changes. This is normally accessible via: Appearance -> Customise -> Custom CSS, however the path can vary slightly between theme authors.
Well. How can I make a Child Theme?
Creating a child theme is a very easy process. You can find out how to do just this in our next article “How to make a WordPress Child Theme”.
Infographic vector created by freepik – www.freepik.com
Check out more of our articles here