WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to be able to choose an object from another custom post type I've created when adding a second type. Similar to the way you can choose an author for a post.

So when creating a post of type B there would be a dropdown of all the post As that the current author has created.

Is there a way to do this?

Thanks for any suggestions or direction.

share|improve this question
What do you mean by saying "object". Do you mean custom field data, a category/tag, a taxonomy? – Wyck Dec 15 '10 at 21:51
Sorry, probably the wrong term. I meant creating an item of that type. So for example if post type A were Teams and type B were players. When creating a player I could select which team they are on. – Sandbox Wizard Dec 15 '10 at 22:44
Creating a taxonomy would work if the team name were all I were concerned with, but there are more fields for a team than just the name. – Sandbox Wizard Dec 15 '10 at 22:46
up vote 2 down vote accepted

The simplest way is probably this plugin:

Posts 2 Posts http://wordpress.org/extend/plugins/posts-to-posts/

share|improve this answer
Perfect, just what I was looking for. Thanks goldenapples – Sandbox Wizard Dec 26 '10 at 22:36
For anyone else having this issue, Posts 2 Posts is a fantastic plugin. Gave me all the tools I needed. – Sandbox Wizard Mar 2 '11 at 6:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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