title: Custom Django Wagtailmenus Flatmenu Template
body: <p>I am using <a href="https://github.com/rkhleics/wagtailmenus" rel="nofollow noreferrer">https://github.com/rkhleics/wagtailmenus</a> for my Django Wagtail menus, but can't seem to figure out how to use a custom template for my <code>flat_menu</code>.  I followed the guides but I think I may be doing something wrong.</p>
  
  <p>My flat_menu template is in a directory <code>menus/top_sub_menu.html</code>, where <code>top_sub_menu</code> is the handle of the menu I created.</p>
  
  <p><strong>top_sub_menu.html</strong></p>
  
  <pre><code>{% load menu_tags %}
  {% if menu_items %}
    &lt;ul class="c-links c-theme-ul"&gt;
      {% for item in menu_items %}
        &lt;li&gt;
          &lt;a href="{{ item.href }}"&gt;{{ item.text }}&lt;/a&gt; {% if item.has_children_in_menu %}{% sub_menu item %}{% endif %}
        &lt;/li&gt;
      {% endfor %}
    &lt;/ul&gt;
  {% endif %}
  </code></pre>
  
  <p><strong>header.html</strong></p>
  
  <pre><code>{% load menu_tags %}
  ...
  {% flat_menu 'top_sub_menu' %}
  ...
  </code></pre>
  
  <p>I have a custom <code>main_menu.html</code> and a <code>sub_menu.html</code> in the same directory and they work, so I know my menu directory is in correct location. Thank you.</p>