[Plugin: Posts 2 Posts] Find related posts sharing connection
-
I am having great success with this excellent plugin (which I hope becomes part of the core!), thank you Scribu! However, I just can’t wrap my head around this one thing. I have a connection between two custom post types, from ‘PROJECTS’ to ‘PEOPLE’. What I am trying to do is show, while viewing say Project A, other projects (Project B, Project C, etc.) related via the people connected to both projects.
I think I want to sort on the
'to' => array('people'),
meta_key, but am not sure what the meta_value would be… Otherwise, could I call a second query inside aforeach
showing all the people related to the project? Really not sure.I hope I am explaining myself clearly enough and will clarify if that would help.
I also have a question about merging the the results of multiple p2p queries, but will start that in another thread!
- The topic ‘[Plugin: Posts 2 Posts] Find related posts sharing connection’ is closed to new replies.