WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Adding "home" to navigation (2 posts)

  1. afro
    Member
    Posted 7 years ago #

    The template I am using populates the navigation with the site pages. How do I also add a "Home" link to that navigation?

    Here's the code:

    <ul>
    <?php wp_list_pages('depth=1&title_li=' ); ?>
    </ul>
    </div><br />

  2. whooami
    Member
    Posted 7 years ago #

    <ul>
    <?php wp_list_pages('depth=1&title_li=' ); ?>
    <li class="page_item"><a href=index.php" title="Home">Home</a></li>
    </ul>
    </div>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.