Title: [Plugin: Posts 2 Posts] Two connections in one query
Last modified: August 20, 2016

---

# [Plugin: Posts 2 Posts] Two connections in one query

 *  Resolved [Michael Dance](https://wordpress.org/support/users/seventhsteel/)
 * (@seventhsteel)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-two-connections-in-one-query/)
 * Is it possible yet to search two different connection types in one query?
 * I.e., find movies which are connected to a certain actor and also connected to
   a certain studio.
 * I found this two-step solution —
 * [http://wordpress.org/support/topic/plugin-posts-2-posts-get-posts-which-are-connected-to-several-other-posts-connected-to-x-and-y](http://wordpress.org/support/topic/plugin-posts-2-posts-get-posts-which-are-connected-to-several-other-posts-connected-to-x-and-y)
 * –but am just checking to see if there’s an alternative. I’m creating an advanced
   search form, so I’m trying to keep the db queries to a minimum.
 * [http://wordpress.org/extend/plugins/posts-to-posts/](http://wordpress.org/extend/plugins/posts-to-posts/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-two-connections-in-one-query/#post-3010182)
 * This is not possible. Besides, several simpler queries are usually faster than
   a big, complex one.
 *  Thread Starter [Michael Dance](https://wordpress.org/support/users/seventhsteel/)
 * (@seventhsteel)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-two-connections-in-one-query/#post-3010233)
 * OK. Thanks for the response, and the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Posts 2 Posts] Two connections in one query’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/posts-to-posts_7a8e9d.svg)
 * [Posts 2 Posts](https://wordpress.org/plugins/posts-to-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/posts-to-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/posts-to-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/posts-to-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/posts-to-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/posts-to-posts/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Michael Dance](https://wordpress.org/support/users/seventhsteel/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-two-connections-in-one-query/#post-3010233)
 * Status: resolved