[wp-hackers] WP Custom Post Type as 'Taxonomy' for Other Custom Post Type

Alex Andrews awgandrews at gmail.com
Mon Feb 28 18:16:27 UTC 2011


Hey folks,

Dipping into the Custom Post Types and Taxonomy world and I am
wondering what is the best way to do this sort of thing.

Artist is an artist, which is a custom post type. However, artists
have multiple releases, also a custom post type so one can present a
deal of details about the release. How can I link artists with
releases? Obviously, release X under another circumstance could be a
custom taxonomy of Artist, but I want to have a little more depth than
that, so one can list /artists/ also list /artist/ with their releases
and have /artist/release

Any idea of the best approach here? How does one link two custom post
types together.

Thanks a lot for your help.

All the best,

Alex


More information about the wp-hackers mailing list