• Hi,

    I’m currently working on a design that has the main nav menu across the top of the page and also down the side. So I created a widget area in the header and created a custom menu and dropped it into the header and sidebar widget areas. Which has worked a treat – yeay!

    However, when WordPress generates the menus it gives each <li> an ID of menu-item-xx where the xx is the unique ID of the menu item. Because I’m using the menu twice these ID’s are repeated and so it fails validation.

    Am I able to tell WordPress not to add these ID’s, if so can you point me to the right part of the Codex to see how, or do I need to create these menus by hand?

    Thanks in advance.

  • The topic ‘Using Custom Menu Twice Causes Validation Errors’ is closed to new replies.