Support » Fixing WordPress » How to make menu to array?
7 years, 5 months ago
I want to customize my pages-menu more. It would be best to make the menu to an array. Then I can print it with a foreach loop (to ul-list). Then I can access the first and last menu items (li) to add span elements in them.
How do I make this possible?
Might look at Function_Reference/get_pages.