#2994 closed enhancement (fixed)
bp_dtheme_main_nav() duplicates show_home parameter for wp_page_menu()
| Reported by: | DJPaul | Owned by: | DJPaul |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5 |
| Component: | Templates | Version: | |
| Severity: | Keywords: | ||
| Cc: |
Description
The bp_dtheme_main_nav(), which is the navigation menu fallback for when custom menus aren't set up, duplicates the functionality of the show_home parameter for wp_page_menu().
We should switch to the way that the home nav item is added to the Twenty Ten nav bar to standardise and reduce complexity of our code.
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [3653]) Use wp_page_menu's show_home parameter to create the "home" item in the main nav. Fixes #2994