So here’s the deal: I’m trying to create a menu of all of my pages on my wordpress site. However, in order to fit in with the dropdown menu I created, I need to add special classes to all li’s and a different one to sub ul’s. I thought the easiest way to do this would be to generate the menu manually through a loop. How do I do this? Or is there an easier way to achieve what I want?
Hey! Would you mind sharing how you did it with javascript for adding classes to the sub ul’s. I actually need to add several divs before the sub uls… Any ideas?
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘WP List pages loop’ is closed to new replies.