[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: https://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: https://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
- The topic ‘[Plugin: Posts 2 Posts] Show connected posts from another posts ID’ is closed to new replies.