This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Home tab appears twice in navigation

  • Creator
    Topic
  • #10246
    Robert Piller
    Participant

    Hi Jason,

    I’ve had this problem with every theme I’ve created using Jump Start, and I’m hoping you can help me resolve it once and for all. Basically, activating the Jump Start theme causes “Home” to appear twice in the navigation bar. Regardless of whether “Front page displays” is set to “Your latest posts” or “A static page”. Regardless of whether “Homepage Content” is set to “Posts” or “Custom Layout” in Appearance > Theme Options.

    I’ve created a page called “Home”, I’ve set that page to use a custom layout, and I’ve added a “Content” element that displays the content from the current page. Without resorting to CSS to hide the extra navbar item, how can I fix this? More importantly, what should be my workflow for creating themes in the future? I want my client to be able to edit the home page by clicking “Home” in Pages, not by having to dig around in the Builder.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #10248
    Bluenotes
    Participant

    Have you tried using the Menu settings in Appearances > Menu? Create a new menu, set it as the primary navigation then add your pages to the menu and arranging them how you would like.

    #10249
    Robert Piller
    Participant

    Thanks Bluenotes. I am aware of that option, but it’s more work for my clients if they can’t just use the default Pages structure for the navigation. Also, I’m trying to understand WHY activating this theme adds a duplicate “Home” to the navbar, whereas others don’t.

    #10252
    Jason Bobich
    Keymaster

    Hello,

    Yeah, as @Bluenotes pointed out, you want to make sure and actually create a menu under Appearance > Menus. You should always do this with your WordPress site, no matter the theme. Most modern themes should support this. This is the standard now. The concept of letting the pages automatically fill the nav bar is bit outdated. This was the sort of popular approach back before WordPress 3.0, when we didn’t have such a great menu system.

    However, as a fallback, Jump Start has a function that displays a generic “Home” button followed by all pages of your current site. This is just a placeholder, really. I’m assuming you haven’t created custom menu and you have a page on your site called “Home” (thus the duplicate) — So just create a custom menu setup the way you want it, and then apply that to the “Primary Navigation” location

    #10254
    Robert Piller
    Participant

    Thanks for the info. Why “should” I create menu using the new system? The old system works fine for simple sites.

    Jump Start is the only theme I’ve encountered that displays a generic “Home” button. Why not just display the pages of the site as listed in Pages so people don’t have to bother with custom menus if they don’t want to?

    Is there an easy way to disable the superfluous “Home” button generation?

    #10255
    Jason Bobich
    Keymaster

    The fallback handle function is called “themeblvd_primary_menu_fallback” and can be found in /framework/includes/helpers.php. This is a pluggable function you can edit from your Child theme.

    http://dev.themeblvd.com/tutorial/editing-framework-functions/

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.