title: wp_nav_menu Returning nothing
body: <p>So I have come to move my HTML site over to wordpress and im having issues with the menu. None of the links listed in the admin panel pull through.</p>
  <p>header.php code:</p>
  <pre><code>&lt;nav&gt;
  &lt;?php
  wp_nav_menu(array(
    'theme_location' =&gt; 'top-menu',
    'items_wrap'=&gt; '&lt;ul class=&quot;nav__links&quot;&gt;&lt;li&gt;',
    'container' =&gt; '',
  ));
  ?&gt;
  &lt;/nav&gt;
  </code></pre>
  <p>This is the nav bar html:</p>
  <pre><code>&lt;nav&gt;
    &lt;ul class=&quot;nav__links&quot;&gt;
      &lt;li&gt;&lt;a class=&quot;un&quot; href=&quot;#&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a class=&quot;un&quot; href=&quot;#&quot;&gt;Services &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;&lt;/a&gt;
        &lt;ul class=&quot;dropdown&quot;&gt;
          &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Broadband&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Broadband&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Broadband&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Broadband&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Broadband&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Broadband&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Broadband&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Broadband&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Broadband&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a class=&quot;un&quot; href=&quot;#&quot;&gt;Customers&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a class=&quot;un&quot; href=&quot;#&quot;&gt;News &amp; Blog&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a class=&quot;un&quot; href=&quot;#&quot;&gt;About us&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a class=&quot;un&quot; href=&quot;#&quot;&gt;Contact&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/nav&gt;
  </code></pre>
  <p>The code in my functions.php file:</p>
  <pre><code>function wp_custom_new_menu() {
  register_nav_menus(
    array(
      'top-menu' =&gt; __( 'Top Menu' ),
      'mobile' =&gt; __( 'Mobile Menu' )
    )
  );}add_action( 'init', 'wp_custom_new_menu' );
  </code></pre>
  <p>This is what is being pulled through:</p>
  <pre><code>&lt;nav&gt;
  &lt;ul class=&quot;nav__links&quot;&gt;&lt;li&gt;    &lt;/li&gt;&lt;/ul&gt;&lt;/nav&gt;
  </code></pre>
  <p>Im not entirely sure why its doing this, There is definitly a menu created within the wordpress admin area. Display location top menu has been checked also.</p>
  <p>Any pointers would be great.</p>
  <p>Thanks,
  HizY</p>