title: How to wrap submenu in wordpress wp_nav function
body: <p>I am new to wordpress would be great help if anyone can help me out, i have designed a website using bootstrap framework, for making it CMS i am using wordpress. i need to get menus dynamically from wordpress which i have dine using the following code</p>
  
  <pre><code>&lt;?php wp_nav_menu(array('menu_class' =&gt; 'nav nav-justified','container_class' =&gt; 'menu_bac')); ?&gt;
  </code></pre>
  
  <p>but problem i am stuck with is to get sub menus dynamically, i have been advised to use navwalker , but no idea how to add it to my own code.
  can someone <strong>please help me out</strong></p>