Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Sysc the content and pages between two WordPress install?

Hey All,

I've some questions about Sysc the content and pages between two WordPress install

we just build a site: Example.com.au and we need to sync all product pages (and some other pages) to dealer sites , but need custom header & footer + other pages

for example, There are dealerships who sell the caravans (Testing.com.au sample dealer ) we will take a copy of Example.com.au and customize it as per clients logo and dealer specific content but we want to have certain pages be 'pulled / sync'd' from Example.com.au , so when they update Example.com.au, the changes go out to the other dealers sites like Testing.com.au

Any help and possible solutions ?

Cheers Gopi

2 Answers

Kevin Korte
Kevin Korte
28,149 Points

I've not done this before, but what came to mind is that you'll basically need your own API and the dealer sites would make calls to your main site, and get information back as JSON data, which they could than use to display that information however needed.

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

The best way to do this would be with using WordPress Network sites or WordPress Multisite as it's also referred to. This would let you create a common theme that you could customize for each dealer site. They could build their own pages and content but also easily pull in anything that you have listed on the main site.