WordPress.org

Ready to get started?Download WordPress

Forums

Home Menu Tab (3 posts)

  1. bradybarrows
    Member
    Posted 5 years ago #

    My Home Tab goes to the most recent post and I want it to go to a particular page. How can this be done?

  2. MichaelH
    Member
    Posted 5 years ago #

    What page? If 'Home' is a hardcoded value in say your theme's header.php, then just change it there?

    Also review the information about static home page options in Administration > Settings > Reading.

  3. cotton.rohrscheib@pleth.com
    Member
    Posted 5 years ago #

    I have seen a lot of newer themes out there that have the home hardcoded in this like this:

    <li><a href="<?php echo get_settings('home'); ?>">Home</a></li>

    And when you actually put in a home page, you will often find yourself w/ two "Home" links in your navbar. It's kind of an aggravation for me, but I know why the theme developer does it this way, what I usually do is go in and delete this line out and leave this:

    <?php wp_list_pages('title_li=&depth=2&sort_column=menu_order'); ?>

    Usually works pretty well.

Topic Closed

This topic has been closed to new replies.

About this Topic