WordPress.org

Ready to get started?Download WordPress

Forums

Changing Home Link To Something Else (2 posts)

  1. 3nikki
    Member
    Posted 4 years ago #

    Hello

    I use the copy blogger theme and the header text is 'Home'. This is hyperlinked to my home page.

    I have gotten a bit SEO savvy now and wish to change the text from 'Home' to an appropriate keyword.

    This should have been surprisingly easy but I have been stumped by the code in header.php.

    Appreciate any pointers on changing this.

    Thanks very much.

    Naveen

  2. Len
    Member
    Posted 4 years ago #

    Hi 3nikki,

    If you open header.php you will see a file include. Look for the following line ...

    <?php include (TEMPLATEPATH . '/nav_menu.php'); ?>

    That is a file include. It is calling a file named nav_menu.php So, we open nav_menu.php and see the following ...

    <li><a <?php if (is_home()) echo('class="current" '); ?>href="<?php bloginfo('url'); ?>">Blog</a></li>

    Change the anchor text to whatever you want.

Topic Closed

This topic has been closed to new replies.

About this Topic