Custom Taxonomies
June 11th, 2009
If you are using WordPress 2.8, might I recommend Simple Taxonomies, which has a few of the features I’ve been waiting for better APIs to implement.
Download Latest Version (1.2.4) Now
WordPress provides a lot of functionality geared towards the use of generic “taxonomies”, such as Tags and Categories, but no way to manage the taxonomies themselves. The Custom Taxonomies WordPress Plugin allows you to:
- Create custom taxonomies with admin-set names and slugs for posts, pages, or links
- Define whether or not to accept hierarchies, descriptions, multiple selections, and/or tag-style entry
- Manage each taxonomy’s terms in a full AJAX-interface
- Assign terms to posts, pages, and links just as you would with categories and tags
- Setup permalinks
- Add widgets for your taxonomies into your site
- NEW: Term Clouds!!
- NEW: Support for single-selection taxonomies!!
Feedback
If you like my plugin please rate it. If you really like it (or have money to burn), please consider supporting further development by donating via PayPal
Changelog
Version 1.2.4 (2/18/09)
- Added “None” option to single-select dropdown (thanks nick and danf)
Version 1.2.3 (2/5/09)
- Added term clouds!
- Added single-selection dropdown option
- URL parameter fix (thanks Matt)
Version 1.2.2 (1/3/09)
- Basic backwards compatibility (thanks Hikmet)
- Add terms bugfix (thanks Iplingo)
Version 1.2.1 (12/30/08)
- Small fix with global variables (thanks Jorge)
Version 1.2 (12/29/08)
- Added permalinks
- Added ability to edit parts of taxonomies
- DB charset bug fix
Version 1.1 (12/28/08)
- Added widgets
Version 1.0 (12/26/08)
- Initial release
Hi, I love this plugin–does all the backend stuff I want it to do. I’ve tried Simple Taxonomies and it just doesn’t compare. Please don’t abandon this!
Unfortunately, I’m getting a 404 error when I try to click on the links in the widget. (http://richendagould.com/writing Publications list) I’ve used this plugin on another site and don’t have this problem there, so perhaps it’s interacting with another installation?
Also, I’m curious about how the taxonomies can be called in a theme, and each term made linkable within a post. Say, I want to display the custom taxonomy for Fruit above the post, and the custom taxonomy for Color below it.
Example:
Custom_fruit: Apples
This is a post about trees
Custom_color: green
Thank you for your time and efforts thus far, and any help you can provide now.
Hi! Just wondering… what does the “Allow nested terms” option do?
Cheers!
Here’s a bug that I found…
Clicking on a term from a particular taxonomy in the Edit Post page will return “No posts found” if the term has the following criteria:
- used only once
- used in the most recent post (ie. positioned at the top of the list in the Edit Post page)
Also the custom taxonomies doesn’t seem to show in the filter dropdown menu.
Hopefully you can have a look at these issues.
Thanks again for the plugin. It has a lot of useful features that I can’t get from Simple Taxonomies plugin.
Also is it possible to have the custom taxonomies show in the ‘Quick Edit’ window?
Found another bug here…
After I selected a term for a post from a particular custom taxonomy and published it. Then when I edited the same post and decided I didn’t want any term for that post, I couldn’t seem to deselect all terms (ie. select none) and published it. The updated post always leave the most recent selected term(s) checked.
Hello All. I’ve added this plugin to my WP install (2.8.6) and have no trouble adding & managing my taxonomies…even the permalinks work well. However, rather than having the permalink return a post-styled list (as I’m using the taxonomies for pages, not posts) I’d like to add to my template a line that will return all given items under a tax name. According to the readme, I added if(function_exists(’custax_list_terms’)) custax_list_terms(’thing’); where thing=tax_name but nothing is pulled in even though several pages have checkmarks in the tax_name box. Please advise.
@Brian: Have you resolved problem involved by @Giraldi_Maggio ? I confirm existing problem, it’s impossible now, to deselect all terms from a post and publish it.
Any suggestion ?
Tnx in advance, great plugin !
Hi there — I’m noticing users cannot create their own terms within a given taxonomy like an admin can — how do I give a user permission to do this?
Hi Brian — I’ve stalked and learned that you’re alive and well on twitter, and that you’ve been busy making FF extensions, but, if you’ve got a sec, it would be super groovy, perhaps even worth my first donation ever, for you to take a look at a couple of things over here with your Custom Taxonomies code. I’ve spent the last three days trying to work out a mashup of the three existing taxonomy plugins that would merge nicely with the upcoming WP3.0 features and now I find myself sitting here with my head spinning 360 and my eyes bulging out. This plugin would need to allow for custom styled meta boxes ( choice of dropdown, checkbox or default for non-hierarchical … hierarchical default will be in 3.0 - so must be able to migrate nicely from any plugin code providing that functionality early ) … needs to allow deselecting a checked term from a saved post — this is the bug that is making your existing code unusable at the moment —- needs to just be very aware in general of the core WP code changes coming up and be compatible with it in a way that everything continues to function as expected without its existence.
Problem is, your code is really well written, has nice jQuery integration yadda yadda, and it just seems like such a huge waste of time to attempt to reinvent the wheel. It needs such minor work to make it a real godsend right now that every time I start in on something, I find myself just going back to your code and going why? WHY? Why can’t I just get this to work, it’s already written, and way better than I could do. AND it’s over my proverbial head to debug it. Okay, I guess what I’m saying is … please? Can you give it a look and let us know there is life here’bouts?
Ok all, it looks like he most universal complaint is the inability to deselect an item from a post. I should be able to recreate and debug this fairly easily, so I’m going to try and tackle it this weekend. I don’t think I’ll be adding new features to this plugin for a while, but the plugin should at least work to its current spec.
Thanks for all the kind words!