New answers tagged walker
I checked out the walk method from the original Walker class source at WordPress and used that to get my result. I added a couple of more things to it, including: Adding first and last classes to the every ul in the navigational menu. Adding odd and even classes to every li relative to the position it is in its ul. Adding before-parent and after-parent ...
Top 50 recent answers are included