Title: wp_nav_menu custom modification
Last modified: August 19, 2016

---

# wp_nav_menu custom modification

 *  [sparkyboy22](https://wordpress.org/support/users/sparkyboy22/)
 * (@sparkyboy22)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/wp_nav_menu-custom-modification-1/)
 * Hi I have a strange setup to try and fix.
 * WordPress is installed and all working correctly.
 * I have interspire shopping cart that uses wp_nav_menu to display the title menu
   so it matches the rest of the site.
 * In the menu set up in wordpress I have a link pointing to [http://www.com/shop/](http://www.com/shop/)
 * When i click the menu item and the shop loads the menu item has the current-menu-
   item class assigned to it.
    If I visit any other page than the shops home page
   then this class is not used and the current page css isnt being applied to the
   menu.
 * Where / how do I make changes so that all sub directories and sub pages of /shop/
   will show a change to the class for the menus li and I can keep the highlight
   on the menu?
 * Thank you in advance for your help.

The topic ‘wp_nav_menu custom modification’ is closed to new replies.

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 0 replies
 * 1 participant
 * Last reply from: [sparkyboy22](https://wordpress.org/support/users/sparkyboy22/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/wp_nav_menu-custom-modification-1/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
