Forums

[resolved] 2 Home Pages with Static Page (3 posts)

  1. debpro
    Member
    Posted 3 years ago #

    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
    http://theinteriorguyllc.com

  2. bindanaku
    Member
    Posted 3 years ago #

    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.

  3. archienadon
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic