WordPress.org

Support

Support » Plugins and Hacks » Hacks » Global Nav Menu & Footer for WP Network

Global Nav Menu & Footer for WP Network

  • I’m trying to create a global menu and footer. I’ve been looking at Network Wide Menus plugin but it doesn’t seem to work. I believe I’ve followed his instructions but then again I’m not sure and I’d rather not add another plugin.

    I’m working with Thesis theme and trying to hack a solution in a global functions file that each sub-site calls. I want to pull in the main nav menu from the primary site (the first of the Network sites). I can call a menu but what I get is the sub-site’s menu. How do I specify the site and the menu together? eg. If I’m in site #3 and I want to use the menu from site #1 how do I tell WP?

    wp_nav_menu( array( ‘menu’ => ‘Main Nav’ ) );

Viewing 1 replies (of 1 total)
  • So either no one else has thought of or had to do this, or the answer is so blatantly obvious that I’ve missed it!

    I did see the function switch_to_blog($new_blog) but I’ve read this is rather resource intensive. Is the only other option to query the database directly?

Viewing 1 replies (of 1 total)
  • The topic ‘Global Nav Menu & Footer for WP Network’ is closed to new replies.
Skip to toolbar