Forums

Static Home page- 2 menu links. How to change that? (2 posts)

  1. rideordie
    Member
    Posted 2 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!!!!

  2. MichaelH
    moderator
    Posted 2 months ago #

    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

Reply

You must log in to post.

About this Topic