• Resolved Tigmo

    (@debpro)


    I recently switch my site to a static front page and now I have 2 home buttons. I created a page named home and then made a blank page for my posts. Went static and live and now I have 2 homes so I changed the page I made to Welcome for now but I’m not sure how to get just one Home button. Not sure where to look in the theme editor and what to change in the code. Any help would be greatly appreciated!

    Thanx…Mike
    https://theinteriorguyllc.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try opening the header.php file then search for the tag wp_page_menu or wp_list_pages. It seems like the home link is hard-coded in the file. Just delete it.

    I did as debpro, wound up with two home pages after creating a static home page. I tried bindanaku but eliminated all but one link to pages. Then I saw this line just above the wp_list_pages tag:

    <strong><li class="<?php echo $highlight; ?>"><a>">Home</a></strong>

    I cut it and the second home page link went away. This was using Green Theme 1.0 by Kasper Solberg. Seems to work fine now, but if it blows up I’ll come back and add caveat.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘2 Home Pages with Static Page’ is closed to new replies.