title: How to customize wp-bootstrap-navwalker in wordpress
body: <p>I'm trying to use wp-bootstrap-navwalker to customize my navigation. </p>
  
  <p>here is the example of my current static code</p>
  
  <pre><code>&lt;div class="collapse navbar-collapse"&gt;
    &lt;ul class="navbar-nav nav navbar-right"&gt;
      &lt;li&gt;&lt;a class="menu" href="index-2.html"&gt;home&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a class="menu" href="#"&gt;travel&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a class="menu" href="#"&gt;lifestyle&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a class="menu" href="about.html"&gt;about me&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a class="last-menu" href="contact.html"&gt;contact&lt;/a&gt;&lt;/li&gt;
   &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I'm using this wp-bootstrap-navwalker to make it dynamic </p>
  
  <pre><code> wp_nav_menu( array(
      'menu'              =&gt; 'primary',
      'theme_location'    =&gt; 'primary',
      'depth'             =&gt;  2,
      'container'         =&gt; 'div',
      'container_class'   =&gt; 'collapse navbar-collapse',
      'menu_class'        =&gt; 'nav navbar-nav navbar-right',
      'fallback_cb'       =&gt; 'wp_bootstrap_navwalker::fallback',
      'walker'            =&gt; new wp_bootstrap_navwalker())
  );
  </code></pre>
  
  <p>Which is working perfectly fine. Now i have a problem, That i have <code>menu</code> class inside my <code>&lt;a class="menu"&gt;home&lt;/a&gt;</code>. How can i put <code>menu</code> class inside my anchor tag if that data is coming dynamically. Is there any way that we can customize this <code>wp_nav_menu(array( ));</code> ?</p>