Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Ryan Bonner
2,383 PointsUnderstanding custom taxonomies
Are there any learning tracks in Treehouse that cover creating custom taxonomies for custom post types? A basic search revealed nothing, so I thought I'd ask.
4 Answers

Kevin Korte
28,148 PointsI just finished doing a ton of work with custom taxonomies....almost all I have to solve myself using the codex. Do you want to just create them?

Ryan Bonner
2,383 PointsThe difficulty for me is that I have limited experience with manipulating database tables and JavaScript, so I was hoping that there was a Treehouse learning track that would help me build up the underlying skillsets.

Kevin Korte
28,148 PointsFortunately, with WP's functions you do not have to manipulate the database, and you get all of your taxonomy terms back to the page without Javascript.
There are two ways to do it, one is to manually register your taxonomy in your functions.php file. More can be read here -> http://codex.wordpress.org/Function_Reference/register_taxonomy
Or, what I do is actually us the Custom Post Type UI plugin to create my custom post types, and create my custom taxonomies. It's very easy to assign a custom taxonomy to a custom post type with that plugin.

Ryan Bonner
2,383 PointsPrimarily, yes. I'm building a media content library, and I need to create a new taxonomy to handle all of the unique category tags that I want separate from my blog post categories.

Ryan Bonner
2,383 PointsThat is awesome advice, Kevin! I really appreciate it!