Is there a way to allow Relationship fields to search for posts of a given type from a different site on the same Multi-Site network?
I have a number of sub-sites that need to show, on their homepages, three posts of a certain type. To reduce duplication of content and workload, I want to have those posts located in only the main site on the network and have the other network sites choose, for each site, which posts to show.
My first thought was to hook into the relationship field and use the WP REST API to fetch the posts from the main site before listing them, but that doesn’t seem possible.
Is there a way to do this?
Or is there another way to do this that I haven’t thought of that would be less complicated?
@hube2 That plugin didn’t actually help; it doesn’t allow for the narrowing of results by taxonomy or custom post type, and it’s been abandoned by the creator. Do you know of any other resources for this?
No, I don’t. If I were going to do this I’d probably use a simple select field and populate it dynamically myself. Not as fancy as a relationship field but it would get the job done. https://www.advancedcustomfields.com/resources/dynamically-populate-a-select-fields-choices/