title: How to create Navbar Menu with Bootstrap 4 in Wordpress?
body: <p>I am facing issues when getting the updated Bootstrap 04 markup into WordPress menu. Here is the menu I am using. Till <code>li</code> tag inserting the class to the <code>li</code> tag is fine.</p>
  
  <p>Please let me know how to add class to the anchor (<code>&lt;a&gt;</code>) tag. Do I need to use a filter or is there any easy way ??</p>
  
  <pre><code>        &lt;ul class="navbar-nav"&gt;
              &lt;li class="nav-item active"&gt;
                  &lt;a class="nav-link" href="#"&gt;Home &lt;span class="sr-only"&gt;(current)&lt;/span&gt;&lt;/a&gt;
              &lt;/li&gt;
              &lt;li class="nav-item"&gt;
                  &lt;a class="nav-link" href="#"&gt;Features&lt;/a&gt;
              &lt;/li&gt;
              &lt;li class="nav-item"&gt;
                  &lt;a class="nav-link" href="#"&gt;Pricing&lt;/a&gt;
              &lt;/li&gt;
              &lt;li class="nav-item dropdown"&gt;
                  &lt;a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"&gt;
                    Dropdown link
                  &lt;/a&gt;
                  &lt;div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink"&gt;
                      &lt;a class="dropdown-item" href="#"&gt;Action&lt;/a&gt;
                      &lt;a class="dropdown-item" href="#"&gt;Another action&lt;/a&gt;
                      &lt;a class="dropdown-item" href="#"&gt;Something else here&lt;/a&gt;
                  &lt;/div&gt;
              &lt;/li&gt;
          &lt;/ul&gt;
  </code></pre>
  
  <p>Thanks in advance</p>