Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
No <ul> or container for a WordPress menu. Useful if you want to manually add <li>'s to your menu.
wp_nav_menu( array(
'theme_location' => 'my-theme-location',
'depth' => 1,
'container' => '',
'container_class' => '',
'menu_class' => '',
'items_wrap' => '%3$s'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment