WordPress.org

Support

Support » Themes and Templates » how to make subpages trigger menu item as current?

how to make subpages trigger menu item as current?

  • Using the new menu system in 3.0 with TwentyTen.

    I want to make it so that Pages that are subpages of a parent page show the parent page’s menu item as current when on the subpage. For example, if the parent Page is:

    http://domain.com/projects

    and there’s a menu item called ‘projects’ associated with it, then when a visitor is on a page like:

    http://domain.com/projects/subproject

    that it still leaves the ‘projects’ menu item lit up as current.

    any way to do this?

  • The topic ‘how to make subpages trigger menu item as current?’ is closed to new replies.