WordPress.org

Ready to get started?Download WordPress

Forums

Remove 'Home' link in Navigation (6 posts)

  1. drexnefex
    Member
    Posted 7 years ago #

    I am trying to remove the Home link from my Navigation bar. I've created a static Home page titled 'Home-new' which loads instead of the default home page.

    how do i eliminate the redundant Home link on my nav bar?

    i've search this forum using 'remove home link' as parameters and haven't been able to find what i need.

    Here's a link: http://shanedrexler.com/snoqBnB/

    Thanks.

  2. drexnefex
    Member
    Posted 7 years ago #

  3. Chris_K
    Member
    Posted 7 years ago #

    Really hard to answer without a look at your site (got a url?) or at least a hint as to what theme you're using.

    [edit: ok then, I see we're on the same wavelength! :-) ]

  4. Chris_K
    Member
    Posted 7 years ago #

    That's an interesting header graphic.

    If you look at your theme's header.php file, is the first home hard-coded with the rest of the pages coming via wp_list_pages?

    Or do you have Home and Home-new both listed when you go to Manage -> Pages?

  5. drexnefex
    Member
    Posted 7 years ago #

    Thanks, that's one of my better custom images.

    The first Home is hard coded coming via the wp_list_pages.

    here's the line of code in my Header.php:
    <a>">Home</a><?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>

    Home-new is listed in my Manage Pages.

  6. Chris_K
    Member
    Posted 7 years ago #

    I'd lean towards editing the header.php and removing that first one that's been manually added.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags