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.

I currently have a custom post type of "Faculty" - each faculty can have zero or many custom post type "Bibliographies," and a bibliography can belong to one or more faculty.

What is the best practice for setting up this association, and more importantly, is this possible still using the API? I'm testing this with 3.4.1.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

When its about setting up Post to Post relations, I find the scribu's Posts 2 Posts plugin the best out there. the plugin not only does provide the interface but also provides the API to handle the relations.

share|improve this answer
    
Thanks for the information - I'm currently using Posts2Posts but wasn't sure about the API part. Does it add hooks to the XML-RPC API or is it done otherwise? –  Nic Jul 8 '12 at 16:42
    
You will have to hook to XML-RPC API yourself and then use the Posts 2 Posts functions from there. –  Hameedullah Khan Jul 9 '12 at 6:39

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.