title: wordpress navigation menu without sub menu
body: <p>I am using this code to display <strong>navigation menu</strong>:</p>
  
  <pre><code>&lt;?php wp_nav_menu( array( 'theme_location' =&gt; 'primary', 'menu_class' =&gt; 'nav-menu' ) ); ?&gt;
  </code></pre>
  
  <p>This code display navigation menu with sub-menu at header area. but I do't want to display sub-menu at footer area just display main menu. </p>