Support » Networking WordPress » Best way to share data with main site?

  • Resolved jay0316

    (@jay0316)


    It doesn’t look like my question posted. Posting again just incase….

    I have a multisite installation. My main site has a location page and each location has a child site in the multisite installation.

    I was thinking I might be able to create a custom post type called location or something for each of the child sites and then use advanced custom fields to add fields like address, city, state, phone, email, schedule etc. Then use a xml or json feed to send that info to the parent site, which would parse it and display on the locations page.

    Is there a better way to do this? Any plugins that would help?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    We had a server glitch :/

    Are the child sites only locations?

    It’s almost something you’d want to add as a site settings (admin menu on each sub site) and then use switch_to_blog to loop through and pull that info.

    Thread Starter jay0316

    (@jay0316)

    Yes, the child sites will be locations and will have information specific to that location. About page, contact, photos etc.

    I have a settings page that I created manually that I can use as an example (I think I followed a tutorial on WPtuts awhile back), but was wondering if there are easier ways for creating those site settings pages?

    Also, I remember reading that the switch to blog can be resource intensive…is that still the case? I’m using it to add the main sites navigation menu at the top of the sub sites as well.

    Thanks!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Less the case than it was. It’s safe enough that unless we’re talking 50 sites or so, you’re fine.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Best way to share data with main site?’ is closed to new replies.