WordPress custom taxonomy
In WordPress, a custom taxonomy is a system of classification for organizing WordPress Posts.
Description
WordPress provides two taxonomies: Categories and Tags.
You add custom taxonomies of your own: like Categories or Posts, but using terminology customized for a specific purpose.
Custom taxonomies create new web pages which users can browse for more detailed information.
For example, custom taxonomies related to a Custom Post Type named "Products" might include:
- Color (black, white red)
- Size (small, medium, large)
- Material (fabric, leather, wood)
Custom taxonomies are most useful for large web sites with large amounts of relatively complex information.
Making Custom Taxonomies
Use a WordPress plugin, such as:
- Types - "Easily create custom post types, custom fields and custom taxonomy and connect everything together."
- Custom Post Type UI - "Admin UI for creating custom post types and custom taxonomies in WordPress"
- See also plugins tagged "custom taxonomy"]
You can write the PHP code for custom taxonomies, but plugins are much faster, and completely reliable (unlike writing code, which is subject to error).
See also
External links
- Taxonomies @ codex.wordpress.org
- Taxonomy templates @ developer.wordpress.org
- How To Create Custom Taxonomies In WordPress
- Create custom taxonomies
- Create custom taxonomy archives