We would like to have the ability to supply an “if” argument in our template file so that if the page or post being viewed is related to another specific page or post, then that if argument would be triggered.
For instance, we have a “people” post type. We have them connected to multiple pages of a “services” post type. If they are connected to service #2, then a certain piece of code would be written into the template file. If not, then it doesn’t get executed.
- The topic ‘[Plugin: Posts 2 Posts] Query Connection For Specific Relationship’ is closed to new replies.