Support » Networking WordPress » Multisite Universal Menu

  • Hello:

    I am using a WP Multisite installation that is up-to-date as of the time of this posting. I am using HTTPS and running on a stand-alone web-server using MS-IIS on MS server 2012.

    There currently are ~20 subsites in the multisite install. The reason I am using a multisite install is to make things easier for the content managers in various departments.

    Everything seems to work great so far. Each site has its own menu at the top of the page. I am using the “Max Mega Menu” mega-menu in each site. Unfortunately I cannot find a way to propagate this mega-menu to all sites within the multisite network. I have also tried other mega-menus without success.

    What I need to find a way to do is to create a unified menu system at the top of every site page. This menu would be the overall sites menu and allow visitors to select the various departments.

    I have found this plugin “Multisite Shared Menu By Ben Greeley.” It does not seem to be updated or maintained at this point given that it has the note “This plugin hasn’t been updated in over 2 years.”

    The only alternatives to a unified universal multisite menu that I can come up with are:

    I would appreciate any ideas, suggestions, or pointers as I am really stuck on how to accomplish this at this time.

    • This topic was modified 3 months, 2 weeks ago by  Richard Krone.
    • This topic was modified 3 months, 2 weeks ago by  Richard Krone.
Viewing 1 replies (of 1 total)
  • Hey, the 2 year old plugins seems to be working. I tested it.
    There is one notice it shows because of an old function that will stop working in the future, but make this change in the code and will be ok:

    In the file views/options-page.php change this code:

    			// Output dropdown menu of available sites...
    			$blogList = wp_get_sites();
    
    			echo '<tr>
    					<th scope="row"><label for="mfs_override_site_id">Source Site:</label></th>';
    
    			echo '<td>
    					<select name="mfs_override_site_id" id="mfs_override_site_id">';
    
    			echo '<option value="">-- Select --</option>';
    			foreach( $blogList as $blogTemp ) {
    				if( $blogTemp['blog_id'] != get_current_blog_id() ) {
    
    					echo '<option value="'.$blogTemp['blog_id'].'"';
    
    					if( esc_attr( get_option('mfs_override_site_id') ) == $blogTemp['blog_id'] ) {
    						echo ' selected ';
    					}
    
    					echo '>'.$blogTemp['domain']. $blogTemp['path'].'</option>';
    
    				}
    			}

    to be like this:

    			// Output dropdown menu of available sites...
    			$blogList = get_sites( array( 'number'=>99999 ) );
    
    			echo '<tr>
    					<th scope="row"><label for="mfs_override_site_id">Source Site:</label></th>';
    
    			echo '<td>
    					<select name="mfs_override_site_id" id="mfs_override_site_id">';
    
    			echo '<option value="">-- Select --</option>';
    			foreach( $blogList as $blogTemp ) {
    				if( $blogTemp->blog_id != get_current_blog_id() ) {
    
    					echo '<option value="'.$blogTemp->blog_id.'"';
    
    					if( esc_attr( get_option('mfs_override_site_id') ) == $blogTemp->blog_id ) {
    						echo ' selected ';
    					}
    
    					echo '>'.$blogTemp->domain . $blogTemp->path .'</option>';
    
    				}
    			}
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.