Support » Fixing WordPress » wp_nav_menu and pagination

  • I’m using wp_nav_menu() to create the menu on my website. On the home page, let’s say, the menu-item with the URL to the home page gets the current-menu-item class.

    I’d also like to give this home menu-item the current-menu-item class on the other pages, for example

    Is it possible to tell wordpress to give the current-menu-item class to a menu item if the URL matches the requested URL + [page/][any number/] ?

  • The topic ‘wp_nav_menu and pagination’ is closed to new replies.