Thank you! I have installed MB Relationships but am having trouble with the very first step. When I add the code to create a relationship (pasted below) to my functions file, it breaks the site. Am I missing something? I notice it says "Note: you need to hook to mb_relationships_init to make sure the API is ready for use." -- is that a separate step and if so do you have documentation for that piece?
Oh, sorry. jo.on is right. There's a syntax error in the code. Please just remove the last ");". I supposed to write code for PHP 5.3, but then changed to the normal syntax (and forget to remove the last ");").
Thank you both! Silly me, I should have been able to figure that one out. I have it working now.
Another question for you: I read in the documentation (and see by using the plugin) that on the "to" post/page, you can view the connected posts only and can’t edit them. For my project, this is quite limiting. (With posts2posts, you can edit connected posts/pages from both the "from" and "to" post/page edit screens.) Is it possible to enable editing from the "to" post/page with MB Relationships?
As a workaround, I am trying to programmatically add custom meta box fields based on relationship settings. This works OK-ish via adding a filter to rwmb_meta_boxes and sniffing out the currently-edited post type/id, but my logic falls apart when trying to pull other custom mb-defined metadata applied to those related posts.