I am working on building a video custom post type and as part of it I want to pull information from a team member custom post type to display with the videos.
Here is an example:
https://stglawkam.wpengine.com/pa-vid/5-reasons-every-parent-needs-an-estate-plan/ (This is a single post from the custom post type pa-vid)
https://stglawkam.wpengine.com/focus-areas/litigation/ (This is a standard page)
If you open the video there is a call and email button that is using a relationship field to connect the video to an attorney post and that info is pulled from from fields on the attorney post.
It works great on individual video pages and normal pages, but I also am displaying the videos on the blog feed and another custom post type and there the attorney data doesn’t get pulled at all: https://stglawkam.wpengine.com/news-media/ (this is just the standard blog feed I modified to display the pa-vid custom post type along with the normal posts) https://stglawkam.wpengine.com/team/joseph-a-zarlengo/ (this is an attorney post type where the relationship is supposed to pull data from)
Is there some gotcha or extra step I need to keep in mind when building this functionality to work certain page types to make sure it functions everywhere?
You’ll need to provide code for where it is not working. There is very little that anyone can do to help by just looking at the generated pages.