<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - Topic: Multiple menu&#039;s</title>
		<link>http://www.kriesi.at/support/topic/multiple-menus</link>
		<description>Support Forum - Topic: Multiple menu&#039;s</description>
		<language>en-US</language>
		<pubDate>Wed, 22 May 2013 05:34:57 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/multiple-menus" rel="self" type="application/rss+xml" />

		<item>
			<title>hotspot on "Multiple menu&#039;s"</title>
			<link>http://www.kriesi.at/support/topic/multiple-menus#post-39489</link>
			<pubDate>Tue, 31 Jan 2012 21:58:36 +0000</pubDate>
			<dc:creator>hotspot</dc:creator>
			<guid isPermaLink="false">39489@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;@GDHMedia&#60;/p&#62;
&#60;p&#62;Just place the code in a div in the location you want the menu to appear.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>GDHMedia on "Multiple menu&#039;s"</title>
			<link>http://www.kriesi.at/support/topic/multiple-menus#post-39389</link>
			<pubDate>Tue, 31 Jan 2012 05:58:10 +0000</pubDate>
			<dc:creator>GDHMedia</dc:creator>
			<guid isPermaLink="false">39389@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hotspot, where does that line of code go in the header?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Multiple menu&#039;s"</title>
			<link>http://www.kriesi.at/support/topic/multiple-menus#post-38807</link>
			<pubDate>Thu, 26 Jan 2012 13:29:02 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">38807@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;br /&#62;
glad that you found a solution. You can also use Kriesi's framework to register the menu. Just add your menu to the config variable in functions.php:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$avia_config[&#38;#39;nav_menus&#38;#39;] = array(&#38;#39;avia&#38;#39; =&#38;gt; &#38;#39;Main Menu&#38;#39;, &#38;#39;avia2&#38;#39;=&#38;gt; &#38;#39;Sub Menu&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;i.e. like:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$avia_config[&#38;#39;nav_menus&#38;#39;] = array(&#38;#39;avia&#38;#39; =&#38;gt; &#38;#39;Main Menu&#38;#39;, &#38;#39;avia2&#38;#39;=&#38;gt; &#38;#39;Sub Menu&#38;#39;, &#38;#39;avia3&#38;#39;=&#38;gt; &#38;#39;Sub Sub Menu&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>hotspot on "Multiple menu&#039;s"</title>
			<link>http://www.kriesi.at/support/topic/multiple-menus#post-38802</link>
			<pubDate>Thu, 26 Jan 2012 12:31:25 +0000</pubDate>
			<dc:creator>hotspot</dc:creator>
			<guid isPermaLink="false">38802@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Ah I got it allready, this is the code to display the menu:&#60;br /&#62;
&#38;lt;?php wp_nav_menu( array( 'container_class' =&#38;gt; 'class_name', 'theme_location' =&#38;gt; 'menu2' ) ); ?&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hotspot on "Multiple menu&#039;s"</title>
			<link>http://www.kriesi.at/support/topic/multiple-menus#post-38800</link>
			<pubDate>Thu, 26 Jan 2012 12:11:48 +0000</pubDate>
			<dc:creator>hotspot</dc:creator>
			<guid isPermaLink="false">38800@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I need to use multiple 'main' menu's, is there an option to achieve this?&#60;/p&#62;
&#60;p&#62;I added this code to the functions.php to create multiple menu options:&#60;br /&#62;
if (function_exists('add_theme_support')) {&#60;br /&#62;
    add_theme_support('menus-test');&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;if ( function_exists( 'register_nav_menu' ) ) {&#60;br /&#62;
  register_nav_menus( array(&#60;br /&#62;
    'menu1' =&#38;gt; 'Menu 1 name in back-end',&#60;br /&#62;
    'menu2' =&#38;gt; 'Menu 2 name in back-end',&#60;br /&#62;
    'menu3' =&#38;gt; 'Menu 3 name in back-end'&#60;br /&#62;
  ));&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;But I dont know the exact code to input in the header.php to display the specific menu's. Any suggestions?&#60;br /&#62;
I tried:&#60;br /&#62;
&#38;lt;?php wp_nav_menu( array( 'theme_location' &#38;gt; 'menu2', 'container' &#38;gt; '' ) ); ?&#38;gt;&#60;br /&#62;
But it keeps loading the theme's main menu :-(
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
