WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Change the name of the "Home" link (4 posts)

  1. ChocolateArchy
    Member
    Posted 4 years ago #

    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!!!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    Is your site currently set up to use a static page or a posts page on its front page?

  3. renato_s
    Member
    Posted 4 years ago #

  4. ChocolateArchy
    Member
    Posted 4 years ago #

    Oh, thank you so much renato_s! That was exactly what I was looking for!!!

Topic Closed

This topic has been closed to new replies.

About this Topic