[wp-hackers] automatic taxonomy update after add a new custom post type

Jimmy Roy jimmy.roy at gmail.com
Tue Oct 26 04:53:17 UTC 2010


hi Scribu,
it works perfectly in admin.
now I will see how display on front end.

thank u!

Jimmt



2010/10/25 scribu <mail at scribu.net>

> On Mon, Oct 25, 2010 at 5:08 AM, Jimmy Roy <jimmy.roy at gmail.com> wrote:
>
> > hi guys,
> >
> > I work on a new project and in this project I have 3 custom post types:
> >
> >   - book
> >   - translator automatically
> >   - editor
> >
> > until now everything is easy.
> >
> > now it's more complicated, a book is edited by an editor and translated
> by
> > a
> > translator so when I add a new book I would like to select translator and
> > editor in a custom taxonomy (taxo-translator and taxo-editor).
> >
> > these 2 custom taxonomies are filled when I add a new translator (custom
> > post type) and a new editor (custom post type)... actually it's what I
> want
> > to do... but is it possible and how to do that?
> >
> > an action hook after the creation of the custom post type ? how to get
> name
> > and id?
> >
> > I'm not sure if I can do it easily with WP...
> >
>
> I think you should try the Posts 2 Posts plugin, instead of trying to map a
> post to a taxonomy term:
>
> http://wordpress.org/extend/plugins/posts-to-posts/
> _______________________________________________
> 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