Is there a way I can display a menu in my theme that isn't formatted in a list? i just want to display the <a>
tags without the <li>
tags.
is this possible?
theme file:
<?php wp_nav_menu( array( 'theme_location' => 'navigation' ) ); ?>
functions.php:
function register_my_menus() {
register_nav_menus(array('navigation' => __( 'Main Nav' )));
}
add_action( 'init', 'register_my_menus' );
Edit: see my answer below, found on Stack Overflow