• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

customnavone – metro theme

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › customnavone – metro theme

This topic is: not resolved
  • This topic has 4 replies, 2 voices, and was last updated 12 years, 8 months ago by AnitaC.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • June 14, 2013 at 5:20 am #45839
    Jess
    Participant

    hello

    I hope someone can help

    My goal is to have a custom menu i created using this tutorial

    http://journalxtra.com/easyguides/add-menu-genesis-themes-4830/

    to be above the header
    the primary menu below the header
    the secondary menu below the primary menu (below header)
    
    i have encountered a problem where the secondary menu is duplicated above header and below header 
    
    this is my functions file info
    
    remove_action('genesis_before_header', 'genesis_do_subnav');
    add_action('genesis_after_header', 'genesis_do_subnav');
    // Remove Custom Menu support
    remove_theme_support ( 'genesis-menus' );
    // Default Menus: registers menus
    add_theme_support ( 'genesis-menus' , array ( 'primary' => 'Primary Navigation Menu' , 'secondary' => 'Secondary Navigation Menu' ,'customnavone' => 'Third Navigation Menu' ) );
    // Add new navbar
    add_action('genesis_before_header', 'customnavone');
    function customnavone() {
    require(CHILD_DIR.'/customnavone.php');
    }
    //remove nav - uncomment these to remove the original menu (if needed)
    remove_action( 'genesis_before_header', 'genesis_do_nav' );
    remove_action( 'genesis_before_header', 'genesis_do_subnav' );
    if anyone has any ideas it would be much appreciated
    Raffa
    http://dev.ydesfemmesmtl.org/
    June 14, 2013 at 5:38 am #45844
    AnitaC
    Keymaster

    You need to add the CSS styling to it so it will show up like the others.


    Need help with customization or troubleshooting? Reach out to me.

    June 14, 2013 at 5:42 am #45846
    Jess
    Participant

    thanks for the quick reply anitac

    im concerned about the duplicate secondary menu

    June 14, 2013 at 7:21 am #45873
    Jess
    Participant

    sorry...ignore last remark

    i was using the wrong hook...yep :&

    June 14, 2013 at 7:30 am #45876
    AnitaC
    Keymaster

    You can turn the secondary menu off under Genesis > Theme Settings. Deactivate it there if you don't want to use it.


    Need help with customization or troubleshooting? Reach out to me.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble