How to use wp_nav_menu
-
I’m using a dropdown menu script that requires certain classes on certain items of the list to work.
basically the<a>
of a list items<li>
with a sub-menu should have class=”dir”
The</li>
<li>
‘s of the first and last items should have classes “first” and “last” respectively.
like so:<li><a href="./" class="dir">Lyrics</a> <ul> <li class="first"><a href="./">Search for Lyrics</a></li> <li class="first"><a href="./">Play Lyrics Game</a></li> </ul>
Plesae dont tell me to change my css, use a plugin,jquery,etc…I just need that output that way that’s all.
Thank you so much
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘How to use wp_nav_menu’ is closed to new replies.