WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Two Home Radio Buttons (4 posts)

  1. Fulltimer
    Member
    Posted 4 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.
    http://www.fullcirclevirtualassistant.com

  2. 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
    Member
    Posted 4 years ago #

    Thank you, will try that right now.

  4. healthybones
    Member
    Posted 3 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