![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Think I solved this - Will Post Solution Here after it's working.
I'm setting up a Wordpress Multisite Network. I need all sites to share a common menu. I've found some code that makes sense to me but, need to know how/where to put it/add filter - OK, I've found the Genesis menu.php - and hence "genesis_do_subnav" CODE SAMPLE: //store the current blog_id being viewed global $blog_id; $current_blog_id = $blog_id; //switch to the main blog which will have an id of 1 switch_to_blog(1); //output the WordPress navigation menu wp_nav_menu( //add your arguments here ); //switch back to the current blog being viewed switch_to_blog($current_blog_id); |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| WordPress multisite permalinks | tamjl | General Discussion | 5 | 03-09-2012 10:30 AM |
| How to make global nav (parent) menu items only roll over access points | Jon hyland | General Discussion | 4 | 02-05-2010 05:09 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us