From the course: WordPress: Advanced Custom Fields

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Creating a child theme

Creating a child theme - WordPress Tutorial

From the course: WordPress: Advanced Custom Fields

Start my 1-month free trial

Creating a child theme

- [Instructor] Using field groups to add more content to our posts in the WordPress dashboard is only part of what we need to do. In order to display that content on the front end we need to add some code to our theme. If you're using a custom made theme, that is one you developed or had developed for you, you can make modifications directly to that theme. However, if you're using a theme you got from a marketplace or the WordPress theme repository you should not make changes directly to that theme. You'll risk losing them in the next update. Instead, we need to make a child theme. A child theme piggybacks off of the main or parent theme using any files from the parent that are not specifically overridden in the child. That means if the parent gets an update our modifications are safe and sound. This is a quick primer in WordPress child themes. If you'd like to learn more about child themes you can check out the course in our library. Since we're using the Astra theme we're going to…

Contents