What is the Difference Between Divi Child Themes and Divi Layout Packs?
If you’ve been using Divi for some time now, you would have come across the terms child theme and layout pack. While on the surface both may seem, they are in fact very different entities with different installation processes and applications.
In the following post, we discuss Divi child themes and layout packs to help you along your Divi development journey.
What is the Difference Between Divi Child Themes and Divi Layout Packs
Before we discuss the differences between child themes and layout packs, we must define each entity individually.
What is a Divi child theme?
A child theme is a collection of files that, when installed on a WordPress website, forms a connection with a parent theme. In the case of using a Divi child theme, the Divi theme is the parent theme.
WordPress works in such a way that it looks first to the child theme, then the parent theme, then the core WordPress files for code to execute.
With a child theme, the web developer can create custom code files that will override the default files as set out by the parent theme and WordPress core. It is not advised to edit the files in either the parent or WordPress core themes. Not only can this result in a broken website, but during updates of the parent theme and WordPress theme files respectively, all code changes will be wiped out.
To preserve code edits and to give yourself the ability to add custom functionality and aesthetics to your Divi website, using a child theme is deemed as best practice.
Child themes come in two forms; a blank child theme and a premium child theme.
A blank child theme is simply a collection of files where you can add custom code. At its bare minimum, a blank childThis post was originally published on this site