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 ?
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 ?
You must be logged in to post a comment.
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:
Hi @m3tsys:
First, you might find this trac ticket instructive.
That said, the best solution I’ve found this far is ZigConnect Plugin:
Hope this help.
You can create relationships between custom post types with the plugin Sub Posts, price: $ 19.99. With this plugin you’re done in minutes, from creating the relationships to displaying them in widgets or shortcodes.
Maybe I see this totally wrong, but is it not better to make just 1 custom post type with different fields ?
Make a custom post type called movies with the fields review, trailer and details.
It seems rather odd to sort for example details together of different movies. If it’s the actors for example you want to sort them on, make that a separate field. That way, you can find all movies with a particular actor.