WordPress.org

Forums

Connect custom post types (3 posts)

  1. Lorrens
    Member
    Posted 2 years ago #

    I'm looking for a way to connect my custom post types.
    I have one post type for artists, with information about the artist, a picture, some links, etc.
    The other post type is releases, which has it's own information as well.

    My google-skills don't give me anything this time, but what I want to do:
    Whenever I create a new release, I want to select the artists who are on the release (I prefer showing all artists with their own checkbox so I can select one or multiple).
    But if I edit an artist, I want to see on what releases he has been as well on the artist edit page..

    Can somebody please give me some pointers what I should/can do?

    Thank you!

  2. emke
    Member
    Posted 2 years ago #

    You can create relationships between CPTs. Look at this plugin - http://wordpress.org/extend/plugins/posts-to-posts/

    If this is something that should be done is another matter. Please read the following tutorials:

    1. http://ottopress.com/2011/when-to-not-use-a-custom-taxonomy/
    2. http://ottopress.com/2010/wordpress-3-0-and-custom-post-types/

    Good luck!

  3. Lorrens
    Member
    Posted 2 years ago #

    Thank you Emke, this was the best answer I could get! :)

Topic Closed

This topic has been closed to new replies.

About this Topic