extension joomla, template joomla,banner extension joomla,jomla slider,slider joomla

How to delete duplicate navigation bar references to Home?


If your theme displays Pages 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 Page called Home.

Many theme authors 'hard-code' a reference to Home in the theme's header.php and use template tagwp_list_pages, 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:

  1. Find and delete the hard-coded reference to Home.
  2. Or, use the exclude=x argument with wp_list_pages() and replace the x with the Page ID of your Home Page.