Forums
Home / Everything else WordPress / Static Home page- 2 menu links. How to change that?
(@rideordie)
14 years, 7 months ago
I am using a page (titled Service) as the Home page for a site. This is causing both ‘Service’ and ‘Home’ to appear in the menu.
I would like to keep the Home link but I would like to get rid of the Service link.
Can anyone give me information about how to do this?
Thanks in advance!!!!
(@michaelh)
If you want to keep the Home link, which is probably hardcoded in your theme’s header.php, then you will want to use the exlcude= argument with the template tag, wp_list_pages(). Again you will probably find wp_list_pages in your theme’s header.php.
Related: Stepping Into Template Tags Stepping Into Templates Template Hierarchy