title: Why dropdown menu is not working in WordPress?
body: <p>I have set <strong>4 sub-menu</strong> under <strong>My Account</strong> menu. Here is the image: </p>
  
  <p><a href="https://i.stack.imgur.com/3bz8Q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3bz8Q.png" alt="enter image description here"></a> </p>
  
  <p><strong>but on the front-end, I can't see the submenu when I hover over my account page.</strong> </p>
  
  <p><a href="https://i.stack.imgur.com/jKurl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jKurl.png" alt="enter image description here"></a></p>
  
  <p>I am using the following code to show the full menu: </p>
  
  <pre><code>&lt;?php       
  if(is_user_logged_in()){
      $theme_location  = 'after_login_menu';
  } else {
      $theme_location = 'header_menu';
  }
  $args = array(
      'container'       =&gt; 'div',
      'container_class' =&gt; 'navbar-collapse collapse',
      'container_id'    =&gt; 'th_navbar_toggle',
      'menu_class'      =&gt; 'navbar-nav ml-auto',
      'menu_id'         =&gt; '',
      'echo'            =&gt; true,
      'before'          =&gt; '',
      'after'           =&gt; '',
      'link_before'     =&gt; '',
      'link_after'      =&gt; '',
      'items_wrap'      =&gt; '&lt;ul id="%1$s" class="%2$s"&gt;%3$s&lt;/ul&gt;',
      'item_spacing'    =&gt; 'preserve',                                
      'walker'          =&gt; new wp_bootstrap_navwalker(),
      'theme_location'  =&gt; $theme_location,
      'menu'            =&gt; $theme_location,                                
      'depth'           =&gt; 5,
  );
  wp_nav_menu($args);
  ?&gt;
  </code></pre>
  
  <p>Is there anything I am missing? </p>