How to Create a Custom Taxonomy in WordPress with Pods
Custom taxonomies are a great way to organize information in WordPress. And the Pods plugin makes it easy create them without having to write any PHP code. We’ve got a full article explaining custom taxonomies in a fair amount of depth, so for here I’ll just offer a summary. You want a custom taxonomy because:
- You want to help your visitors browse your content in more interesting and effective ways.
- You find that conceptually, you’re using tags or categories (the default WordPress taxonomies) for multiple different purposes.
- You just think it’d be cool to try ;p
Here’s how I create a new “Difficulty Level” taxonomy on the Post “post type” in WordPress:
And here are the steps written out:
Using the Pods Plugin to Make a Custom Taxonomy in WordPress
- Install and activate the Pods plugin
- Go to “Pods > Add New”.
- Click on “Create New”. We’re selecting this because we’re adding the taxonomy to an existing “Post Type”, we’re making a new taxonomy.
- On the “Create a New Content Type” menu, you’ll select “Custom Taxonomy (like Categories or Tags)” from the “Content Type” drop down.
- Then you’ll fill in the plural and singular labels for your new taxonomy. For me, that was “Difficulty Levels” and “Difficulty Level.”
- Click “Next step”. This will create your new taxonomy, but you then need to tell Pods to apply it to (at least one) post type in WordPress.
- To make your custom taxonomy work, you’ll want to go to “Advanced Options.” There you’ll scroll to the bottom, and see something labelled “Associated Post Types”. Here (if we’re using our taxonomy on normal posts), we’ll selects “Posts (post)”.
- Finally, we’re all set. Everything should work as you’d expect :)