[wp-hackers] Shared MultiSite Menus

Dobri dyordan1 at ramapo.edu
Thu May 30 15:50:48 UTC 2013


Otto's right, I forgot you could do site-wide options. That's probably the best place. Awkward, I know, but there's no harm in doing it.

Here's another idea: if it's just a shared menu(not 4 separate ones that you  glue together) why not sync it up? Every time a menu is saved on one of the four sites, replicate the same menu on the other three. You'll only be doing this on menu save so it's not as heavy as doing it every page load.

~Dobri

On Thu, 30 May 2013, at 11:43 AM, Otto wrote:

> On Thu, May 30, 2013 at 10:29 AM, Dobri <dyordan1 at ramapo.edu> wrote:
>> If it's this specialized, how about on menu save from any of the four sites you create a raw HTML flat file and dump it on the server? Then on render, just pull that file in. Doesn't really scale obviously but it works for a very specific case like yours, right?
> 
> Instead of a flat file, use a site-option.
> 
> http://codex.wordpress.org/Function_Reference/update_site_option
> http://codex.wordpress.org/Function_Reference/get_site_option
> 
> -Otto
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list