Answer the question
In order to leave comments, you need to log in
How to link posts from two custom post types?
There are 2 arbitrary types of posts - posts where films and actors with actors are published
. movie page - actors.
Tried to implement actors via taxonomy, but got 404 on actor list page,
user can open actor page and see bio, poster, age etc. actor and films with his participation , the
user can open the page with the film and see the actors participating in the film
Tried to implement it through the MetaBox Relationships plugin, but did not quite understand how to display
Answer the question
In order to leave comments, you need to log in
Through additional fields did similar. Get Advanced Custom Fields or pods. There seems to be an extra. a field that allows you to select posts. In the ACF plugin, there is definitely a type field of the record object.
This is a many-to-many relationship of records in a database. This is not organized in wordpress out of the box.
There are plugins for organizing such a relation of posts.
With additional fields, it will most likely be easier and faster to organize this, but the manager will have to specify the dependencies twice, select the actor for the film and vice versa.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question