128 reputation
17
bio website axeva.com
location Clifton Park, NY
age
visits member for 3 years, 1 month
seen Feb 6 '13 at 22:04

App Developer, Golfer, Occassional Thinker, and Creator of Cohabit Sudoku & Colortoons


Dec
3
comment How to count nav menu items?
Thank you! That didn't get me exactly what I wanted, but it was close enough to help me find the answer. The problem was that I don't know the menu name or slug, only the theme name set in the register_nav_menu statement. I did find some code to determine the menu name however. With that in hand, I could use your code above.
Dec
3
comment How to count nav menu items?
Thanks for the answer. I realize I could do it with CSS, but the list will be out of order. Going across the columns you would get one, two, three, four at the top. What I need is one, four, seven, nine. In other words, the list goes down the first column, then down the second column, and so on.