Things change rapidly in the WordPress world. The content in this post is more than a year old and may no longer represent best practices.
Custom Post Types and Custom Taxonomies
View more presentations from East Bay WordPress Meetup.
Notes on the Slides
Slide 3
Our awesome sponsors at Page.ly provide the hosting for this site. Sign up with them and they install WordPress for you—and update it, too.
Slide 4
A taxonomy is a group of terms. We learned about taxonomy when we first studied biology and the classification of living things. This is a hierarchical taxonomy. Each subcategory is contained in the category above, so the leopard is also a panther, a cat, a carnivore, a mammal, a chordate, and an animal. In WordPress, categories are a hierarchical taxonomy.
Slide 5
Even though tag clouds show the frequently-used tags in a larger size, WordPress tags are a non-hierarchical taxonomy. All of them are on the same level.
Slide 6
WordPress has four kinds of built-in taxonomies: Post Categories, Post Tags, Navigation Menus, and Link Categories. You can do a lot with that, but there are times when you want to add your own taxonomies so you can classify things more specifically, say a recipe site, or a movie or book review site.
Slide 7
WordPress has five kinds of built-in content types. Most people are familiar with posts and pages, but you also have media attachments (anything you can upload through the media uploader), post revisions, and navigation menu items.
WordPress 3.0 makes it much easier to register custom content types, which can act either like pages (hierarchical) or posts (non-hierarchical) . This makes WordPress act more like a traditional Content Management System. You can either code your own custom content types, or use a plugin like Custom Post Type UI or GD Custom Posts and Taxonomies Tools, which is what I used to make these screenshots.
Leave a Reply