1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do I change the Home link in my Wordpress navbar?

Discussion in 'Blogging' started by lazyentrepreneur, Sep 25, 2009.

  1. lazyentrepreneur

    lazyentrepreneur Junior Member

    Joined:
    Jun 8, 2009
    Messages:
    191
    Likes Received:
    44
    I used Artisteer to create a Wordpress part of my overall site. I have an HTML page set up as my home page and I have the Wordpress set up on a subdomain of the site. I want to change the "Home" button and link in the navbar at the top of the Wordpress part. Right now the "Home" button and link say that the Wordpress part of my site is the homepage, but it is not. I want that Home link to point to my HTML index file. How do I do this?
     
  2. ritzn75

    ritzn75 Newbie

    Joined:
    Dec 13, 2008
    Messages:
    29
    Likes Received:
    1
    You have to edit header.php under the theme of the wordpress installation

    PM me and I can do it on teamviewer, if you want.
     
  3. lazyentrepreneur

    lazyentrepreneur Junior Member

    Joined:
    Jun 8, 2009
    Messages:
    191
    Likes Received:
    44
    Yeah, I've looked at the header file, but it looks nothing like any of the easier header files to edit in all the questions I've been reading during an extensive Google search dealing with similar problems. I can edit the other navbar links fine with plugins, but I can't figure out how to edit the "Home" button and link. Anybody?

    I found this in the Theme Functions file as well:

    PHP:
    function art_menu_items()
    {
        global 
    $artThemeSettings;
        if (
    true === $artThemeSettings['menu.showHome'] && 'page' != get_option('show_on_front'))
            echo 
    '<li><a' . (is_home() ? ' class="active"' '') . ' href="' get_option('home') . '">'.$artThemeSettings['menu.topItemBegin']
                . 
    $artThemeSettings['menu.homeCaption'] . $artThemeSettings['menu.topItemEnd'] . '</a></li>';
        
    add_action('get_pages''art_header_page_list_filter');
        
    add_action('wp_list_pages''art_list_pages_filter');
        
    wp_list_pages('title_li=');
        
    remove_action('wp_list_pages''art_list_pages_filter');
        
    remove_action('get_pages''art_header_page_list_filter');
    }
     
    Last edited: Sep 26, 2009
  4. lazyentrepreneur

    lazyentrepreneur Junior Member

    Joined:
    Jun 8, 2009
    Messages:
    191
    Likes Received:
    44
    That helped me figure it out Rom. I appreciate your help with this.