• Just starting to use WordPress and I’m trying to get the current page to show up as active. I would like it to be so the page you are on shows up as <li class=”active”>

    This is the code I’m using to show the menu.

    I believe it’s a new feature on WordPress 3

    <?php wp_nav_menu(array(‘menu’ => ‘nav’));??

    This is what the HTML is outputting

    [Code moderated as per the Forum Rules. Please use the pastebin]

    I don’t have a link to the site at the moment as I’m building it locally first.

    Thanks for any help.

The topic ‘WordPress navigation help’ is closed to new replies.