Tag Info

Hot answers tagged

1

To remove ul class from wp_nav_menu, you will have to define menu_class to false. Default wp_nav_menu ul menu class is menu. <?php wp_nav_menu( array( 'container' => false, 'items_wrap' => '<ul>%3$s</ul>', 'theme_location' => 'mainmenu' ) ); ?> I added mainmenu as theme_location. You should change it to your theme location. ...



Only top voted, non community-wiki answers of a minimum length are eligible