Using wp_nav_menu()
-
I have worked out how to put wp_nav_menu() into its own container with a class, and how to give the
“ul” element within this its own ID, now I can’t figure out if there is a way that I can also do the same for the
“li” elements of the list as well.So far I have:-
<?php wp_nav_menu( array('primary', 'Primary Menu', 'container_class' => 'menu', 'menu_id' => 'menu_list' ) ); ?>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Using wp_nav_menu()’ is closed to new replies.