Multisite – child sites with a different homepage than network
-
Greetings!
I’ve successfully installed a WordPress multisite network and I’m now getting all the themes and plugins organized.
I have school website, with each department setup as a child site in the multisite install. The main home for the site has a child theme we designed built off of a parent theme. Each child site (deapartment), as it stands, inherits the same child theme and homepage. I want the child sites to have a different homepage but still link into its parent’s css, functions, etc. For instance, a child site for photography would have a home page (same for all child sites) that loads in content related to just that site, but when I call add_header or footer, I get the parent theme’s header and footer.php.
If I’m following this correctly, I need a new child theme, of a child theme, that has a different home.php but accesses the defined pages and elements of its parent (which is also a child theme, but the parent to all the new sites in the network).
I hope this makes sense! Thanks for your time!
Here’s a diagram to help possibly:
**Theme**
—->(Site Theme) Child theme, all the new designs, functions, header.php, etc
|
——–> Each department, which has a different home page, but draws from Site theme for its header.php, footer.php, css, etc
——–> same for each new departmentEDIT: from further research this is apparently a “grandchild” theme and may not be supported or necessary. Would I do some kind of conditional check in the regular theme to see if I needed to load in the school’s HOME page or a department’s HOME page?
- The topic ‘Multisite – child sites with a different homepage than network’ is closed to new replies.