I need to create one menu from home page and the other menu for other pages
<p>I need to use a menu in home and another menu in the other page so I use this code (in page-header.php):</p>

<pre><code>&lt;?php if(!is_single()) :?&gt;      
    &lt;?php wp_nav_menu( array('menu' =&gt; 'Menu1' )) ; &gt;
&lt;?php endif; ?&gt;
&lt;?php if(is_single()) :? &gt;
    &lt;?php wp_nav_menu( array('menu' =&gt; 'Menu2' )); ?&gt;
&lt;?php endif; ?&gt;
</code></pre>

<p>But it doesn't work. Anyone can help me?</p>