• thePixelPixie

    (@yourbusybee)


    I have a client who has 2 different domains, hosted in 2 different places to boot. Most content will be somewhat different. BUT there is one custom post type for which they’d like to enter the data only once, then display certain filtered items on one site and others on the other site. So my question is, is it possible to share data from just certain fields across 2 different domains? I know it’s possible to map user accounts across sites. So I’m guessing that in theory it should be possible in this instance as well. I’m just not sure how to get started.

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there, the way a lot of developers are going these days with sharing content across sites is via the REST API. Documentation may be found at https://v2.wp-api.org. Since you need to share a custom content type, you’ll probably have to do some additional work to make the content available via REST.

    About three years ago I was asked about sharing content across sites, and the best solution for that particular project was the FeedWordPress plugin, which can pull in content through its RSS feed. Again, since you’re talking about a custom content type, I’m not sure how well it will work in this case.

    Running a script to copy content from one database to another is theoretically possible, but I don’t know that there’s any out of the box solution or how feasible that is when different hosts are involved.

    Thread Starter thePixelPixie

    (@yourbusybee)

    Thank you. I will look into the REST API. I am also playing with some other code as a possible solution, but have asked for some assistance on it in a StackExchange thread: Here

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘NOT really multi-site, but similar?’ is closed to new replies.