Title: WordPress Menu Modification
Last modified: August 24, 2016

---

# WordPress Menu Modification

 *  [wajahatraja](https://wordpress.org/support/users/wajahatraja/)
 * (@wajahatraja)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/wordpress-menu-modification/)
 * I just registered a second menu in WordPress and I’m using this code to display
   the menu:
 * <?php wp_nav_menu( array( ‘theme_location’ => ‘secondary’, ‘container_class’ 
   => ‘secondary_class’ ) ); ?>
 * In the template, I have the following items for the menu:
 * Overview
    Hotels Restaurants Events
 * The menu is displayed on all post pages. I would like the menu to somehow automatically
   link to the “post URL” followed by the menu item (/Overview, /Hotels etc).
 * How can this be done?
 * Thanks.

The topic ‘WordPress Menu Modification’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [wajahatraja](https://wordpress.org/support/users/wajahatraja/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/wordpress-menu-modification/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
