Casey

Full-Stack Developer

#wordpress

Custom UL wrapper for a menu, without a walker

<?php
$args = array (
	'theme_location' => 'primary',
	'container' 	 => '',
	'container_class'=> '',
	'menu_class' 	 => 'mobile-menu',
	'items_wrap' 	 => '<ul class="menu" data-accordion-menu>%3$s</ul>'
);

wp_nav_menu( $args );

?>