I have a client who has 5 T-Shirt printing companies. Each company has a unique set of designs that caters to different niches. However, on all sites, the available shirt styles are the same. What I mean by that, is that if he has a V-Neck t-shirt that is manufactured by Gildan, then he has that shirt for all sites and can print designs on it for any of the niches.
So by design, I’m talking about what is printed on the shirt. By style, I’m referring to Gildan V-Neck versus Hanes T-Shirt, etc. Each style has unique colors it can come in, thread count, weight, etc. The shirts are all purchased in bulk not to individual end users.
We’ve created a custom taxonomy with custom fields that allow a garment page to be populated to show the various styles. He’d really like to be able to create a page on one master site and have the WordPress loop of the other four sites automatically use the loop from the master site so that he doesn’t have to input the data five time.
Honestly, I’m not even sure where to start with this, so I’m unable to show any code as to where I am or what I’ve tried so far. Any tips for getting this rolling would be great. Thanks.
To make data available from WordPress across domains, you might consider the JSON API plugin. I have used it in moments where I needed to include content from a WordPress installation on another site.