Title: Duplicate IDs
Last modified: October 17, 2016

---

# Duplicate IDs

 *  Resolved [dsieber](https://wordpress.org/support/users/dsieber/)
 * (@dsieber)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/duplicate-ids/)
 * The menus are getting cloned and appended to SlickNav.
    Therefore I’ve had the
   problem of duplicate IDs (original nav and cloned nav had the same ID).
 * I fixed this by adding a simple “.removeAttr(‘id’)” after the clone() command
   in “slicknav-mobile-menu/js/slick-init.js” (lines 28 & 30).
 * I don’t know if this has already be discussed, but I thought this might help 
   others with the same problem.

Viewing 1 replies (of 1 total)

 *  Plugin Author [neilgee](https://wordpress.org/support/users/neilgee/)
 * (@neilgee)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/duplicate-ids/#post-8340810)
 * Thanks for the input!
 * The clone will only occur if multiple menus are used and will only clone the 
   first menu in the list.

Viewing 1 replies (of 1 total)

The topic ‘Duplicate IDs’ is closed to new replies.

 * ![](https://ps.w.org/slicknav-mobile-menu/assets/icon-256x256.jpg?rev=1130038)
 * [SlickNav Mobile Menu](https://wordpress.org/plugins/slicknav-mobile-menu/)
 * [Support Threads](https://wordpress.org/support/plugin/slicknav-mobile-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/slicknav-mobile-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slicknav-mobile-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slicknav-mobile-menu/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [neilgee](https://wordpress.org/support/users/neilgee/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/duplicate-ids/#post-8340810)
 * Status: resolved