Handling multiple post type templates: Individual templates


show more Handling multiple post type templates: Individual templates provides you with in-depth training on Design. Taught by Morten Rand-Hendriksen as part of the Create an Online Portfolio with WordPress show less
please wait ...

Handling multiple post type templates: Individual templates

WordPress allows you to create individual custom post type templates for each of your custom post types. This means you can fully customize the way each of them is displayed. However, it also means if several of your custom post types are supposed to look the same, you have to create several identical files. Though this is easy if you have just one or two, it can become hard to manage if you have several different post types to deal with. For example, if you make a change in one file, you then have to make a change in all the other ones so they all stay the same. There are many ways to deal with this.

And in this course, I'll show you three different methods. The first one is to deal with each individual post type as its own template. If we look at the content we've created so far, we have recipes, photos, and videos, and then on the side we have the regular posts. When we look at the recipes, we've already created a custom post type template that displays our custom taxonomie...

Handling multiple post type templates: Individual templates
Video duration: 6m 25s 3h 13m Advanced

Viewers:

Handling multiple post type templates: Individual templates provides you with in-depth training on Design. Taught by Morten Rand-Hendriksen as part of the Create an Online Portfolio with WordPress

Subjects:
Design Web
Software:
WordPress
Author:
please wait ...