Support » Plugins and Hacks » Hacks » [Resolved] navigation menu – html markup
5 years, 5 months ago
Hi! I’m having problems with the menus html markup generated by the ‘wp_list_pages’ function.
This is the code I am using:
[Code moderated as per the Forum Rules. Please use the pastebin]
With two “unnested” <li tags. This way I can manage the style of each <li tag (one for the Parent page item, and another one for the children item) by separate.
Well… I hope this makes sense and someone have an idea on how to hack it.
As far as I can see this is generated in wp-includes/nav-menu-template.php