How to delete duplicate navigation bar references to Home?
If your theme displays for navigation, and there is more than one instance of Home in the navigation bar, here's several ways to fix that. Typically the duplicate problem occurs after someone has created a called Home.
Many theme authors 'hard-code' a reference to Home in the theme's header.php and use , , to display all the other Pages. But, if you've created a Page called Home, that likely causes the duplicate navigation item.
To delete the duplication, you would edit your theme's header.php and:
- Find and delete the hard-coded reference to Home.
- Or, use the exclude=x argument with wp_list_pages() and replace the x with the Page ID of your Home Page.