Title: Using Custom Menu Twice Causes Validation Errors
Last modified: August 19, 2016

---

# Using Custom Menu Twice Causes Validation Errors

 *  [fcb66](https://wordpress.org/support/users/fcb66/)
 * (@fcb66)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/using-custom-menu-twice-causes-validation-errors/)
 * 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.

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [menu](https://wordpress.org/support/topic-tag/menu/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * 0 replies
 * 1 participant
 * Last reply from: [fcb66](https://wordpress.org/support/users/fcb66/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/using-custom-menu-twice-causes-validation-errors/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
