• 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

oliverrealize

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • November 2, 2016 at 2:52 pm in reply to: Adding third and fourth nav menu with mobile dash icons #195647
    oliverrealize
    Member

    I've customized the code to get it to work to add what was missing. It is now working. Well at least the menus are now showing I still have to work on the responsive js

    November 2, 2016 at 12:54 pm in reply to: Adding third and fourth nav menu with mobile dash icons #195640
    oliverrealize
    Member

    But I'm not adding a footer menu. But I still set it up this way to test and it didn't work.

    November 1, 2016 at 10:21 pm in reply to: Adding third and fourth nav menu with mobile dash icons #195626
    oliverrealize
    Member

    The first part of code works fine to register the menus.

    But this code below doesn't seem like it's actually adding the menu location. I'm no php expert but I can see that it's not referencing the menus first to apply the array

    
    // Add attributes to markup
    // Add footer menu just above footer widget area
    add_action( 'genesis_before_footer', 'amethyst_footer_menu', 9 );
    function amethyst_footer_menu() {
    
    	genesis_nav_menu( array(
    		'theme_location' => 'footer',
    		'container'       => 'div',
    		'container_class' => 'wrap',
    		'menu_class'     => 'menu genesis-nav-menu menu-footer',
    		'depth'           => 1
    	) );
    
    }
    
    November 1, 2016 at 9:13 pm in reply to: Adding third and fourth nav menu with mobile dash icons #195625
    oliverrealize
    Member

    Giving this a shot right now. Thank You.

    October 31, 2016 at 5:06 pm in reply to: Adding third and fourth nav menu with mobile dash icons #195578
    oliverrealize
    Member

    Here is the functions.php of the child theme. Trimmed to just the parts I added to create third and fourth menu.

    
    //* Adding Third and Fourth Nav Menu
    
    function register_additional_menu() {
      
    register_nav_menu( 'third-menu' ,__( 'Third Navigation Menu' ));
    register_nav_menu( 'fourth-menu' ,__( 'Fourth Navigation Menu' ));
         
    }
    add_action( 'init', 'register_additional_menu' );
    
    add_action( 'genesis_after_header', 'add_third_nav_genesis' ); 
    
    function add_third_nav_genesis() {
    
    echo'<div class="nav-primary">';
    wp_nav_menu( array( 'theme_location' => 'third-menu', 'container_class' => 'genesis-nav-menu' ) );
    echo'</div>';
    
    }
    
    add_action( 'genesis_header', 'add_fourth_nav_genesis' ); 
    
    function add_fourth_nav_genesis() {
    
    echo'<div class="nav-primary">';
    wp_nav_menu( array( 'theme_location' => 'fourth-menu', 'container_class' => 'genesis-nav-menu' ) );
    echo'</div>';
    
    }
    
  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)

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