WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Change the name of the “Home” link

[Resolved] Change the name of the “Home” link

  • ChocolateArchy
    Member

    @chocolatearchy

    Could someone please tell me how to change the name of the “Home” link? My theme is Wasteland. The code I’ve found that semi-works is:

    <div class="menu">
    
               <?php if(function_exists('wp_page_menu')) : ?>
                <?php wp_page_menu ('show_home=1&amp;depth=1&amp;title_li='); ?>
              <?php else : ?>
    
    	<ul>
                <li><a href="<?php echo get_settings('Home'); ?>">Home</a></li>
                <?php wp_list_pages('depth=1&amp;title_li='); ?>
            </ul>                
    
    <?php endif; ?>
    </div>

    I’ve tried to change the two “Homes” in the
    “ul”, but that does nothing on my website. Changing the “show_home=1&depth=1&title_li=” to “show_home=My Blog” changes the name of the “Home” link, but it messes up the rest of my nav bar.

    Someone please help me!!!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Change the name of the “Home” link’ is closed to new replies.