Diesel Coffee Child Theme is a ‘child theme’ created in order to preserve any changes you make to your main theme.
WTF is a child theme? (Trigger warning – geeky bit!)
On the most basic level, a child theme must consist of three things:
- A child theme directory (or folder). Like all themes, your child theme folder will exist inside your WordPress Themes folder that holds your child theme files.
- A style.css file (which will be used to store your child theme CSS)
- A functions.php file – At the basic level this file will hold the wp_enqueue_scripts action that will enqueue the parent theme stylesheet
Don’t avoid updating your main theme!
Diesel Coffee Child Theme – here’s how to create yours
Why You Need a Diesel Coffee Child Theme or Divi Child Theme
One important reason to create a child theme is to preserve the modifications you make when updating the parent theme. Whenever you update Divi, all of the theme files are updated so if you have made any changes to these files, those changes will be erased