WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] navigation menu - html markup (1 post)

  1. anairamzap
    Member
    Posted 2 years 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

Topic Closed

This topic has been closed to new replies.

About this Topic