[wp-trac] [WordPress Trac] #10142: Add metadata support for taxonomies
WordPress Trac
wp-trac at lists.automattic.com
Tue May 17 20:22:48 UTC 2011
#10142: Add metadata support for taxonomies
-------------------------------------------------+-------------------------
Reporter: sirzooro | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Taxonomy | Version:
Severity: normal | Resolution: maybelater
Keywords: has-patch needs-testing 2nd-opinion |
-------------------------------------------------+-------------------------
Comment (by greenshady):
@nacin
You mentioned somewhere about writing out a guide on how you'd do this for
core if implemented. Did you ever get around to that? I'd just like to
future-proof some stuff I'm working on as much as possible.
Replying to [comment:46 scribu]:
> As Otto has said countless times, terms are just a convenient name for a
group of posts in a taxonomy, which is a named set of groups. They're not
meant to hold any data of their own.
>
> If you find yourself needing to add additional fields to terms, you
should actually make them posts and link them to other posts. See #14513
>
> In other words, post-to-post relationships is the more appropriate
solution.
What if someone wanted to create a "category image" plugin? Or, add SEO
features (meta, keywords, title) to category archive pages?
These are just simple examples of extra fields someone might want to add
to terms. Obviously, there are some things better handled by post-to-post
relationships, but not everything fits into this scenario.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10142#comment:49>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list