Basically I have a multisite setup where each site is just one single page (each has a different theme). How can I output that page content of any site on a page of the main site programmatically?
Like I have multisite on domain.com and I have sites like
b.domain.com, then how can I show the content on lets say
I need clues on how can I go about it? Output buffering in some way? Mainly I only need the widgets to work. Don't need the
is_* functions as its just one page site.
Its like I want to view the content of diff sites on a single page by passing on parameters upon checking of which it is figured out which site of the multisite needs to be shown at this request & then that site is shown as if it was opened by its URL. Right now upon receiving the request on
domain.com/api/main, I am redirecting to the site URL (
b.domain.com) but I would like to render the output on a single URL only. Any clues?