Jump to content


Photo
- - - - -

PlatformPro and Multisite Header/Footer


  • Please log in to reply
6 replies to this topic

#1 j0emv

j0emv

    Advanced Member

  • Members

  • 38 posts
  • Country: Country Flag

Posted 14 April 2011 - 03:58 PM

Hi, I am using platformpro as the theme for my site I'm building. We are a school and have: 1) Public facing website 2) Password protected logon social network portal using buddypress. Our teachers will have blogs within the password protected site and I was wondering if there is any way to statically set the header and footer in multisite to use the main sites' header and footer? I would like all "subsites" to look and feel cohesive and feature the same header, footer and theme. Essentially what we'll have is a parent portal that is integrated into the whole experience. Let me know if there's any way to do this. Thanks

#2 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts
  • Country: Country Flag

Posted 14 April 2011 - 06:33 PM

It should do this automatically. BuddyPress pages should only change the actual content portion of your site.

#3 j0emv

j0emv

    Advanced Member

  • Members

  • 38 posts
  • Country: Country Flag

Posted 15 April 2011 - 01:54 PM

Well yes and no. What I'm saying is that I am running wordpress multisite 3.1 and my teachers will all have their own blogs or "sites". I'd like to keep the headers and footers exactly the same throughout all the sites in my network. Or at the very least, if I can set global navigation across all sites, so that all sites use the same navigation bar that will help a lot. I'm not concerned about the header images themselves because they do not change often, if at all. I'm concerned about changing links on menus and having to do that across 100 different sites. I'd like to be able to make changes to the main sites header, navigation or footer instead of having to make changes to all sites in my network to achieve a cohesive look and feel. Let me know if this is a possibility.

#4 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts
  • Country: Country Flag

Posted 15 April 2011 - 08:09 PM

Like this:

Please Login or Register to see this Hidden Content



#5 j0emv

j0emv

    Advanced Member

  • Members

  • 38 posts
  • Country: Country Flag

Posted 05 May 2011 - 05:52 PM

Yes, I actually have tried inserting code before and after the nav using the pagelines hooks but still am unable to see the main site's navigation on the "sub-sites". Maybe I'm doing something wrong but I followed the documentation on using hooks, inserted the code:

Please Login or Register to see this Hidden Content


Any ideas where I'm going wrong?

#6 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts
  • Country: Country Flag

Posted 05 May 2011 - 08:20 PM

Try adding `global $switched;` just before the switch_to_blog function.

#7 j0emv

j0emv

    Advanced Member

  • Members

  • 38 posts
  • Country: Country Flag

Posted 05 May 2011 - 10:40 PM

I tried that but maybe I'm missing something somewhere. All I want is to keep a consistent header, navigation and footer on my multisite sites. All of our sites in multisite should feel cohesive with the main site. If I make changes to the main site, the "sub-sites" header, navigation and footer should be linked to the main so that I won't have to change the sub-sites individually. We are a school and each teacher will have their own blog (site). They're all going to look and feel the same. Let me know if this is at all possible.