Open philipnewcomer opened 10 years ago
Options in taxonomies? That sounds interesting!
I want to get on to this, although I have some planned updates :)
It would be great if you can do a fork and get started with this in the meantime
I might be able to tackle this, although at my current skill level I think it's a bit over my head, so don't count on seeing anything too great. :) Perhaps somebody else who has the skills would want to take this idea and go with it.
+1 to this. Categories, tags, custom taxonomies... Possibly links? Menus? WordPress has a wealth of "types" which can have data associated with them. Being able to extend them all w/ arbitrary options would be ridiculously powerful.
I'm not sure about the menus though. Tried that once, WP doesn't have an API for that and the techniques are hackish at best :(
Wasn't sure about menus either. Honestly not even sure what it'd be used for… but thought I'd include it just to get another perspective on it. :D
The Thesis theme (at least in v. 1.8.5) created an entirely new table to store taxonomic meta options in. It would then do a SELECT * on the table to pull all of the data in, on every page load. On a site with an extensive taxonomy (such as thousands of tags), each with potentially having options set, that's an EXPENSIVE query for every page load.
The best option I've found is to create an option for each taxonomic ID (e.g., titantax##), with that option containing the serialized meta, and with it being set to not autoload, so that it only is pulled when needed on the taxonomy in question.
I have to say this framework is very compelling... great work! In several of my themes I am using meta fields on categories, using the Tax Meta Class. I'd like to request that Titan framework's meta box functionality be extended to work with taxonomies as well. While WordPress doesn't have native taxonomy meta support, it's certainly possible to do (example 1, example 2), and I would love to have all of my post/taxonomy meta requirements met in one plugin. Thanks for considering!