[wp-hackers] Adding meta data to categories

Brian Krausz brian at nerdlife.net
Mon Jan 26 08:37:38 GMT 2009

Sorry for the late reply Dan, been really busy.  Glad you found you
solution, but for the sake of completeness I'll throw in the potential use
of my plugin:

Right now i have hardcoded object types to just Post, Page, and Link.  You
could also add in category, which then just defines a new object type, and
the object_id would refer to a category_id.  You would have to write your
own interface to the category admin pages, but after that you could have
taxonomies for categories.  Seems a little complicated and the "custom
fields" paradigm seems to fit much better for your needs, but it's an
interesting concept that I might add in to my plugin when bored/less busy.
Thanks for the idea!


On Fri, Jan 23, 2009 at 8:02 PM, dan.f <dan at eliresearch.com> wrote:

> I too have been trying to solve this issue.  Brian - I've
> installed/uninstalled your plugin 3 times thinking it would be the
> solution,
> but I still dont know if it is :(  From what I can gather, you can create
> new terms, but can't associate them with categories, just
> posts/pages/links.
> What I would like is a table similar to wp_postmeta, but wp_categorymeta,
> with 4 columns:
> id, catid, key, value
> Then have an interface on the categories page to add multiple meta
> key/values to each category, and some functions to retrieve these values as
> an array for use in the theme.
> The headspace2 plugin by urbangiraffe is close on this regard, but they
> just
> have a single input box and its just values defined for each category that
> get used for meta keyword tag, not key/value settings.
> But, that plugin does modify the 'edit category' page to create the
> interface, so that appears to be possibly to hook into.
> Brian, can custax do this?  If there is nothing out there like this, then I
> will probably end up doing.  Doesn't seem too complicated...
> Mike Schinkel-5 wrote:
> >
> > "Brian Krausz" <brian at nerdlife.net> wrote:
> >> my plugin abstracts that API into a GUI,
> >> may help with what you're
> >> trying to do.
> >> http://wordpress.org/extend/plugins/custom-taxonomies/
> >
> > This looks really interesting and may be exactly what I need for several
> > different potential use cases but after installing it it is not clear how
> > someone would actually apply it's functionality.  It seems to compete
> with
> > tags and categories, but I don't see how they relate.
> >
> > Do you have a blog post anywhere explaining how you've used it?
> >
> > -Mike Schinkel
> > http://mikeschinkel.com/
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
> >
> --
> View this message in context:
> http://www.nabble.com/Adding-meta-data-to-categories-tp21361154p21635767.html
> Sent from the Wordpress Hackers mailing list archive at Nabble.com.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list