[resolved] Two Home Radio Buttons (4 posts)

  1. Fulltimer
    Posted 6 years ago #

    I am trying to set up a wordpress theme as a webpage. First I tried the Desk Mess theme and got 2 home buttons. Then tried installing a new theme, coffee desk, and get the same thing. My edit pages only shows one home page.

  2. Mark Ratledge
    Forum Moderator
    Posted 6 years ago #

    The first "Home" is hardcoded in your header.php; remove this line:

    <li><a href="<?php echo get_settings('home'); ?>">Home</a></li>
  3. Fulltimer
    Posted 6 years ago #

    Thank you, will try that right now.

  4. healthybones
    Posted 6 years ago #

    Hi, thanks this worked for me too. I had to delete this whole line of code, but it's essentially the same.

    <li <?php if(is_home()){ echo 'class="page_item current_page_item"'; } else { echo 'class="page_item"'; } ?>><a href="<?php bloginfo('url') ?>" title="Home" >Home</a></li>

    Thanks for posting sundogtech!

Topic Closed

This topic has been closed to new replies.

About this Topic