title: Wordpress Menu - Add class to anchors
body: <p>Trying to add the standard bootstrap "nav-link" class to the anchors rendered by the Wordpress menu. So far ...</p>
  
  <p>1/ I can pass variables to the wp_nav_menu()</p>
  
  <pre><code>&lt;?php wp_nav_menu(array(
                              'theme_location' =&gt; 'header-menu',
                              'menu_class' =&gt; 'navbar-nav',
                              'container' =&gt; 'false'
          ) );
          ?&gt;
  </code></pre>
  
  <p>and apply a class to the menu that way, and remove the containing div.</p>
  
  <p>2/ I then use the Wordpress Appearances > Menu UI to apply "nav-item" class to li tags.</p>
  
  <p><strong>Q. How do I apply a class to the wordpress menu anchor's</strong></p>