add a "home" page link (3 posts)

  1. msdobe1
    Posted 6 years ago #

    The theme I'm using doesn't have a 'home' page link and I want to add one. I tried adding a 'home' link in 'pages' but it takes me to another page (like the 'about' page), and from there I can click on 'Home' and go to the home page. But I can't go directly to the home page from the 'pages' link.

    Is there some way to add a home page link?

  2. geezerd
    Posted 6 years ago #

    In the header.php, before
    <?php wp_list_pages('title_li='); ?>
    <li><a href="http://yoursite.com">Home</a></li>
    That will make it before all the other links, put it after if you want Home after.
    A simple search for "adding links" found that for me...

  3. asechrest
    Posted 6 years ago #

    It takes a bit more work if your theme's navigation menu dynamically highlights the page you're on.

    If you can't get it to work with Geezerd's option, post a link to your site and a more specific solution might can be offered.

Topic Closed

This topic has been closed to new replies.

About this Topic