attach one post from one post type to another post from another post type


I have 2 custom post types: agenda and doel.
At each agenda post, I want to choose a doel post to attach it to, and the same with normal posts.
So I want a connection between posts, agenda, en doel.

I found this plugin called posts2posts from scribu, it does attach the posts types to each other, but I can not find out how and if it is possible to connect certain posts from one post type to certain posts from an other post type.

The ideal solution would be to have a dropdown in one post type, that shows all the posts from an other one, and you can select one.
In example, when editing a post from agenda, I can choose a post from doel to attach it to.

And later on I want to loop that.

Does someone know how this can be done easily, or recommend a good plugin?

Sorry for my bad explanation, hope it is kind of clear.

Maartje 4 years 2020-07-14T11:10:46-05:00 0 Answers 50 views 0

Leave an answer