From the course: WordPress: Custom Post Types and Taxonomies
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Setting up your child theme - WordPress Tutorial
From the course: WordPress: Custom Post Types and Taxonomies
Setting up your child theme
- [Instructor] Because we've created custom post types, and taxonomies, we'll want to display that content in a way separate from the current theme. In order to display that content on the front end, we'll need to add some code to our theme. If you're using a custom made theme, that is, one you developed, or had one developed for you, you can make modifications directly to the theme. However, if you're using a theme that you got from a marketplace, or the WordPress theme repository, you'll risk losing any changes you make the next time that theme updates, so instead we'll need to make a child theme. A child theme piggybacks off of the main, or parent theme, using any files from the parent, not specifically overwritten in the child. That means that if the parent gets an update, our modifications are safe, and sound. This is a quick primer on WordPress child themes, but if you'd like to learn more about WordPress child themes, you can check out the course in our library. Since we're…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
(Locked)
The WordPress template hierarchy4m 9s
-
(Locked)
Setting up your child theme5m 47s
-
(Locked)
Creating a single custom post template3m 14s
-
(Locked)
Modifying the single template header4m 1s
-
(Locked)
Creating a custom post archive template3m 56s
-
(Locked)
Adding a custom taxonomy to a template4m 1s
-
(Locked)
Creating a custom taxonomy template2m 35s
-
(Locked)
-
-
-