• I tried to change my main page to be a static page I created entitled home. Now the navigation bar at the top of my site has two pages that say home that lead you to the same place. Can I get rid of one?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Depends on how your theme generates the navbar. If it uses wp_list_pages() to generate the links you actually do have two pages with the same name somewhere in WP. Delete one. Or use “&exclude=” to not list the pageID of the home page that you don’t want to show up.
    If the navbar hardcodes the links to your pages, there’s probably an extra link named “Home” that goes to the root of your page. Change that one.

    All of this is most likely to happen in header.php, btw.

    Thread Starter 799183

    Thank you so much
    P.S. a tip to future users not familiar with html, use ctrl+F to find in your script if it uses wp_list_pages() or if it harcodes the links.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Two home pages’ is closed to new replies.