Let’s say i have a sample post called “avatar” in “movie”, “trailer”, “review” and “details” custom post types.

How can i display in the “movie” custom post type the content + links to “trailer”, “review” and “details” custom post types ?

4 Answers
4

Ideally, you’d want to cast your vote into adding the infamous post2post relationship, which is still missing:

http://core.trac.wordpress.org/ticket/14513

In the meanwhile, the workarounds are three:

  1. Map your posts to specially crafted taxonomies. (slow)
  2. Store relationships in postmeta. (very slow if you ever need to use that in a join statement)
  3. Create your own post2post table.

Leave a Reply

Your email address will not be published. Required fields are marked *