Populating articles from sub sites to the main site. (3 posts)

  1. Dean
    Posted 3 years ago #

    I have set up a multisite sit network, I need to be able to populate the main site from the sub-sites according to the category.
    For instance my main site is called http://www.mainsite.com. Then I have few sub-sites, such as

    I want to know who I can populate my http://www.mainsite.com from the post of these sub-sites according to the category. So for instance, in main site I have 3 categories, called sports, business, cinema. So I want to populate the sports from sports.mainsite.com, so and so.

    I have seen may networks set up like this. So I know it can be done. can anybody tell me how to do this?

  2. grosshat
    Posted 3 years ago #

    You have multiple ways for doing that coding.

    An easy/clean way might be using a specific theme for the main site, and coding in that functions to fetch the contents you want from the rest of the sites. You would fetch such contents passing the category as a parameter.

    If the contents you fetch are just post contents, you also could the feeds by category for fetching them.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.