Support » Networking WordPress » Data from root site in child sites

  • I am trying to setup a network of sites where all the child sites are really a sub section of the main site. For example, the main navigation of the root site is in the header of all the child sites. Theme wise, I cannot figure this out. I am also trying to make available other root site data in the child sites such as link lists.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    Maybe you’d be better off using categories.

    the only reason you’d use multisite for this is if you wanted completely separate admin areas, where users did not have access to other departments (sites).

    That is what I want. We are creating a website for a youth soccer club. Each team in the club can then manage their own mini site with team news, calendar, photo galleries, etc. However, the overall theme needs to be related to the club. Obviously we don’t want team managers from one team editing content for another team. Trying to explain to team managers how to make sure they post content into a specific category or add a page as a child to another page is quite difficult (although you would assume it’s quite easy). These are really novice web users and the separate admin ensures that things are a bit easier for them to understand.

    Anyway, I did figure this out. It took a lot of searching to finally find the answer:

    <?php switch_to_blog(1); ?>

    then

    <?php restore_current_blog(); ?>

    This did the trick in the header.

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    Yep, that’s the one.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Data from root site in child sites’ is closed to new replies.