Learn how Divi Child Theme works, how to create it and how to use it on your Divi website.
This is a presentation made for Divi Nairobi June Meetup. Join Divi Nairobi Meetup via meetup.com/divi-nairobi
Size: 1004.03 KB
Language: en
Added: Jun 27, 2024
Slides: 17 pages
Slide Content
How to Create & Use Divi Child Themes By Patrick Lumumba meetup.com/divi-nairobi
What is a Child Theme? A child theme is an active theme that inherits the look, feel, and functions of the parent theme that’s inactive. When a modification is made to the child theme, they are kept separate from the parent theme’s files – ensuring that a new update on the parent theme doesn’t interfere with your modifications. meetup.com/divi-nairobi
So, when do you need a child theme?
You need a child theme… If you are making changes to Divi’s PHP theme template files such as a header.php , footer.php , single.php , 404.php , etc. 1
You need a child theme… If you are adding custom functions or code snippets to functions.php . 2
You need a child theme… If you are customizing the theme’s javascript files or adding lots of new javascript. 3
You need a child theme… If you are making edits/additions to ANY file that is within Divi’s theme files. 4
You need a child theme… If you don’t want clients to see any code that you save in the Theme Options so that they don’t mess with it and break something. 5
Let’s now create a Divi Child Theme!
You will need … Computer Text Editor (Notepad, TextEdit.App, VS Code)
The three main files… Style.css Functions.php Screenshot.png