Quick Fix Summary
Grab the Custom Post Type UI plugin and activate it. Head to CPT UI → Add/Edit Taxonomies, give your new taxonomy a name like "Genres" or "Product Types," and hit save. Instantly, it’ll show up in your WordPress sidebar under Posts or any custom post types you’ve set up.
What's Happening
In WordPress, a taxonomy is basically a way to organize content by shared characteristics. Think of categories and tags—they’re built-in taxonomies that sort posts hierarchically or by association. But here’s the cool part: you can create your own taxonomies to match your site’s needs perfectly. Maybe you want to group products by "Color" or articles by "Topic."
(Honestly, this flexibility is why taxonomies are so powerful—especially for sites with diverse or specialized content.)
They aren’t limited to standard posts either. You can attach taxonomies to custom post types, too. For example, a "Portfolio" custom post type might use a "Project Type" taxonomy to keep things tidy.
Step-by-Step Solution
Here’s how to set up a custom taxonomy as of 2026, assuming you’re running WordPress 6.6 or later—the most stable version available right now.
- Install and activate the Custom Post Type UI plugin
- Head to Plugins → Add New in your WordPress dashboard.
- Search for Custom Post Type UI, install the one from WebDevStudios, then activate it.
- Create a new taxonomy
- Go to CPT UI → Add/Edit Taxonomies in your admin sidebar.
- Under Taxonomy Settings, type in a Plural Label like "Genres" and a Singular Label like "Genre."
- Pick the Taxonomy Type: choose Post for regular posts or Custom Post Type if you’re working with something like "Movies."
- Decide if you want it Hierarchical (for parent/child relationships) and whether it should be Public.
- Save and verify
- Scroll down and click Save Taxonomy.
- Check your WordPress admin sidebar—your new taxonomy should appear under Posts or your chosen custom post type.
- Create a new post or edit one. The taxonomy field will show up in the editor, ready for use.
If This Didn't Work
Sometimes, even after saving, your custom taxonomy might not appear. Here’s what to do:
- Check plugin conflicts
- Deactivate other plugins one by one—start with ones that mess with post types or taxonomies.
- Clear transients and caches
- If you’re using a caching plugin like WP Rocket or LiteSpeed Cache, clear the cache.
- Don’t forget to purge any CDN or server-side caches too.
- Manually register the taxonomy (alternative method)
- Drop this code into your theme’s
functions.phpfile or a custom plugin. Just swap outYOUR_CUSTOM_POST_TYPEwith your CPT name if needed.// Register Custom Taxonomy function register_custom_taxonomy() { $args = array( 'label' => 'Genres', 'hierarchical' => true, 'public' => true, ); register_taxonomy('genre', 'post', $args); // Swap 'post' with your CPT slug } add_action('init', 'register_custom_taxonomy'); - Save the file and refresh your WordPress admin. Your taxonomy should now be visible.
- Drop this code into your theme’s
Prevention Tips
Want to avoid headaches with custom taxonomies down the road? Follow these simple best practices:
- Use unique slugs
- Pick a taxonomy slug (like
genre) that doesn’t clash with other plugins or themes.
- Pick a taxonomy slug (like
- Document your changes
- Jot down your custom taxonomies and post types in a shared doc or text file—especially handy if you’re working with a team.
- Regularly update plugins
- Keep Custom Post Type UI and WordPress updated. Outdated plugins cause most taxonomy errors these days.
- Backup before making changes
- Always back up your site before tweaking taxonomies, especially if you’re editing code. Try UpdraftPlus or your host’s built-in backup tools.
