To create a child theme in cPanel - i.e. not hosted at Wealthy Affiliate, go here...
A Child Theme is a theme that inherits the functionality of another theme, called the parent theme. Child Themes allow you to change or add functionality to that of the parent theme.
This is important as it ensures that all the changes you make to the design of your website, i.e. to the styles, layout, fonts, colors and more will never be overwritten whenever the theme is updated.
Why Use a Child Theme?
It may seem unnecessary to create a second theme with another stylesheet for your site as you already have the parent style.css stylesheet, but it is by far the safest way to go.
Most importantly, it is good design!
Two reasons for creating a child theme are:
- It keeps your changes secure - If changes are made to any of the main files (php code files and/or the style.css stylesheet file), these changes will be completely lost the next time you perform a theme update, and WordPress frequently offers updates for its themes. Your website will then lose ALL the special formatting that you have made and worse still your site may crash!
- It ensures the theme remains in its original state - Messing about with code is dangerous even if you know what you are doing. By performing changes to any code you run the risk of damaging your theme, this will cause you’re a lot of heartache and waste time in trying to repair it.
Join the Discussion
Write something…
SowAndReap
Premium Plus
Thanks for this info, I will be using this down the road. I just added it to my favorites.