• 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.