Title: [Plugin: Posts 2 Posts] Show connected posts from another posts ID
Last modified: August 19, 2016

---

# [Plugin: Posts 2 Posts] Show connected posts from another posts ID

 *  Resolved [iamdangavin](https://wordpress.org/support/users/iamdangavin/)
 * (@iamdangavin)
 * [15 years ago](https://wordpress.org/support/topic/plugin-posts-2-posts-show-connected-posts-from-another-posts-id/)
 * Trying to get this to work and not having any luck.
 * I have a custom post type named “articles” that is connected to another custom
   post type called “places”.
 * Within “articles” I am connecting to various “places”. When I go to the actual
   page for my “places” ex: [http://www.mysite.com/places/the-place](http://www.mysite.com/places/the-place).
   It lists all of the connected articles. Which is great. However when I go to 
   my “articles” page ex: [http://www.mysite.com/articles/the-article](http://www.mysite.com/articles/the-article)
   I need it to display the associated(connected) articles from the “places” page.
 * So If i went to:
 * `www.mysite.com/places/the-place`
 * and
 * `www.mysite.com/articles/the-article`
 * it would display the same connected posts. Then if I went to:
 * `www.mysite.com/places/the-place-2`
 * and
 * `www.mysite.com/articles/the-article-2`
 * They would display the same connected posts that they share.
 * Make sense? I have not been able to find a solution for this anywhere and was
   hoping for some help. Not sure if I need to query the “places” post type and 
   get the ID that the “article” is connected to and then do another query to display
   the “articles” associated to that ID.
 * Any help would be more than appreciated

Viewing 1 replies (of 1 total)

 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [15 years ago](https://wordpress.org/support/topic/plugin-posts-2-posts-show-connected-posts-from-another-posts-id/#post-2072074)
 * The first case, showing other related articles, is described here:
 * [http://wordpress.org/support/topic/how-to-list-all-the-other-related-posts](http://wordpress.org/support/topic/how-to-list-all-the-other-related-posts)
 * The second case, showing articles related to places, is described here:
 * [https://github.com/scribu/wp-posts-to-posts/wiki/Basic-usage](https://github.com/scribu/wp-posts-to-posts/wiki/Basic-usage)

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Posts 2 Posts] Show connected posts from another posts ID’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [scribu](https://wordpress.org/support/users/scribu/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/plugin-posts-2-posts-show-connected-posts-from-another-posts-id/#post-2072074)
 * Status: resolved