Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Please forgive me if this doesn't make a whole lot of sense.

Is there a way to list all the posts created under one custom post type (eg: Blueprints) in the edit screen of another (eg: Buildings) in a checklist (or similar) so that individual bluebrints can be associated with individual buildings?

I hope that made sense.

share|improve this question
    
Listing posts with checkboxes isn't going to automatically create a relation though is it, how do you plan to relate those posts to one another? –  t31os Dec 21 '11 at 13:20
    
The checkboxes would act like custom meta boxes. So if Blueprint A and Blueprint B were selected in Building 1 they would appear as a custom field value –  Dean Elliott Dec 21 '11 at 13:48
1  
"were selected in building 1"? ... If it's the post listing, how are you in a given building? You're viewing a list, not a given single item.. (please try and expand on what is your describing or envisioning).. also please add that additional info to the question to avoid bloating the comments. –  t31os Dec 21 '11 at 13:56
add comment

1 Answer

up vote 1 down vote accepted

if you are trying to make ralationship links between post types, the easiest way is to use the great "posts 2 posts" plugin by Scribu : http://wordpress.org/extend/plugins/posts-to-posts/

here is the documentation : https://github.com/scribu/wp-posts-to-posts/wiki

hope that could help.

seb.

EDIT :

Is there a way to list all the posts created under one custom post type (eg: Blueprints) in the edit screen of another (eg: Buildings) in a checklist (or similar)

yes ! in the edit screen of each post types depending on the associations you create between them. not a checklist, but similar, well, better ! this plugin gives you the ability to add/remove/reorder, with drag and drop, your linked posts/post types/pages and even users if you need...

so that individual bluebrints can be associated with individual buildings?

absolutely ! not only "one to one" relationships inbetween different post types, but also "many to many" and "one to many"... you choose. see the manual.

share|improve this answer
add comment

Your Answer

 
discard

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.