title: How to insert a second menu into a WordPress template?
body: <p>So I'm trying to add a second menu to a WordPress template - the first I've got by writing the following:</p>
  
  <pre><code>&lt;?php wp_nav_menu( array( 'sort_column' =&gt; 'menu_order', 'container_class' =&gt; 'menu-header' ) ); ?&gt;
  </code></pre>
  
  <p>Now, I've got two menus registered in the <code>functions.php</code> file, as follows:</p>
  
  <pre><code>register_nav_menu('header', 'Header Menu');
  register_nav_menu('ad-menu1', 'Ad Menu One');
  </code></pre>
  
  <p>How do I access whatever menu is in the second nav menu registered? Or am I registering incorrectly? I've tried:</p>
  
  <pre><code>&lt;?php wp_nav_menu( array( 'theme_location' =&gt; 'ad-menu1', 'container_class' =&gt; 'menu-ads' ) ); ?&gt;
  </code></pre>
  
  <p>But that only gives me a list of every category, which is NOT what I want.</p>
  
  <p>How do I merely grab the menu that is associated with Ad Menu One/ad-menu1?</p>