I use the following code to connect post type X with both post type Y and Z.
p2p_register_connection_type( ‘X’ , ‘Y’ );
p2p_register_connection_type( ‘X’ , ‘Z’ );
This worked like a charm in version 0.3. Now, I updated to version 0.4-alpha5 and it doesn’t work like expected. Only the last connected post type is shown (and connected?) in the post edit screen of post type X.
So in the above example, there is no box to connect to posts of type Y, only a box to connect to posts of type Z. If I switch the two lines of code the box is shown to connect posts of type Y, but not of type Z. I think both should show up.
- The topic ‘[Plugin: Posts 2 Posts] Connect more then one custom post type’ is closed to new replies.