0

I'am wondering if i can do this:

I have a Custom post type with named Staff, there you can create/add your staff.

Then I have another Custom post type called Projects.

When I add a new project i want a list of every Staff, and then choose a staff member that was active in that project.

So how do i get the data from Custom post type Staff to Custom post type Projects?

2

2 Answers 2

1

I would highly recommend the Advanced Custom Fields plugin. I use it pretty much on every project.

You can easily create the Post Object or Relationship connection. It's a great plugin with detailed documentation.

Posts 2 Posts is good as well, but last time I used it I needed to add code for connecting Custom Post Types. There wasn't straightforward interface to connect custom post types.

I hope that helps.

0

The easiest thing to do would be to use a plugin like Posts 2 Posts. This will allow you to connect your 2 CPTs together.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.