• I usually know how to remove the post-based Home tab in the navigation bar from within the header.php file.

    I’ve looked in the header.php file, along with the other php files and am having no luck finding where i go to remove the post-based Home tab.

    Can someone take a sec and see if they can point me in the right direction? Would appreciate it!

    url = http://gvgonzalez.com/moderndayartisians/home

Viewing 13 replies - 1 through 13 (of 13 total)
  • it should be in header.php paste header.php code in http://wordpress.pastebin.com and paste the urls here

    Thread Starter vbpartners

    (@vbpartners)

    I know… if it’s in there, i wasn’t able to find it. Usually not difficult to do…

    here’s the link – http://wordpress.pastebin.com/yBkDbEqP

    thanks for your help!

    It’s hard to say from looking at your site. It does look like it’s coming from the header.php. Are there any files called from your header with the get_template() function?
    Perhaps the navigation is in there?

    You’re not using the Menus (under appearance) by any chance?

    <?php get_template_part( ‘navigation’, 2 ); ?>

    There should be file called navigation.php

    The home link will be in there.

    Thread Starter vbpartners

    (@vbpartners)

    the navigation-2.php file is the following:-
    <?php $shortname = ‘drcms’; ?>
    <?php if( !get_option($shortname. ‘_hide_top_menu’) ) : ?>
    <div id=”pagemenu” role=”navigation”>
    <?php wp_nav_menu( array( ‘container_class’ => ‘page-header’, ‘menu_class’ => ‘page-menu’, ‘theme_location’ => ‘secondary’, ‘depth’ => 1, ‘fallback_cb’ => ” ) ); ?>
    </div>
    <?php endif; ?>

    not sure what to edit here…

    Thread Starter vbpartners

    (@vbpartners)

    oh.. there’s only a navigation-2.php file, no navigation.php file

    Did you check under Appearance > Menus.
    Is there a menu in there?
    Maybe it’s coming from there?

    Thread Starter vbpartners

    (@vbpartners)

    No, i had tried using the menu function and it wouldn’t take the drop down feature in the menu.

    And the extra Home tab would not disappear either…

    Have you set your Home page as front page in Settings Readings select Static pages
    front page should be Home
    post page can be blank page that you create

    Thread Starter vbpartners

    (@vbpartners)

    wow… that did it!! thanks so much for checking and figuring this out…

    thanks a lot to both of you!

    You are welcome

    Have you set your Home page as front page in Settings Readings select Static pages front page should be Home post page can be blank page that you create

    I still have two links on the navigation bar.

    I have created a static page and titled ‘Home’ but it shows two ‘Home’ and ‘HOME’ navigations and both are pointing to the same page. I want the get rid of the posted original navigation ‘Home’ leaving my static ‘HOME’ page navigation and page link to it.

    How can I do that?

    One of them Home link must be hard coded in your header.php will need to the code if you can post your header.php file in http://wordpress.pastebin.com and post url here so we can see the code

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Remove Home from Nav Bar – Not in header.php’ is closed to new replies.