[wp-hackers] Customizing the view of custom taxonomies

Scott Bressler sbressler at gmail.com
Sun Aug 1 09:39:12 UTC 2010

I'm allowing users to attach their own custom metadata to posts, but this
metadata is restricted to the terms added to the taxonomy I'm registering.
For instance, a user can add a "due date" term to the taxonomy which is of
type "date." Then on the post edit page I will allow them to select a date
that will be saved I assume into postmeta. Separately, a user could add a
"copy editor" term to the taxonomy of type "user" (of the blog). On the post
edit page, a drop-down will be displayed allowing users to select which user
of the blog is the assigned copy editor of the post.

Does that make more sense now?

Thinking more about this, it seems that taxonomies and terms don't store
sufficient data, and I would still need to store information into postmeta.
Should I still be leveraging terms and taxonomies, or should I just
serialize the available metadata into a blog option field?


On Sun, Aug 1, 2010 at 2:26 AM, Mike Schinkel
<mikeschinkel at newclarity.net>wrote:

> On Aug 1, 2010, at 5:13 AM, Scott Bressler wrote:
> > Thanks for the responses. I know that I will need to create my own
> metabox
> > to display the terms that appear in a post on the post page. However, I
> also
> > need to customized way of editing the terms available in the taxonomy
> > itself. As I mentioned before, I need to only show a drop-down of choices
> > for the "type" of the term which I will then place (behind the scenes)
> into
> > the description field for the term. I also don't need to prompt for a
> slug.
> > And there are other customizations I will probably do, as well.
> Can you give some concrete use-case examples to help (at least me) better
> understand what you are trying to accomplish?  As is, it's still unclear to
> me.
> -Mike
> _______________________________________________
> 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