• 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

Change Primary Navigation with Page *Not Resolved*

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 › Change Primary Navigation with Page *Not Resolved*

This topic is: not resolved

Tagged: different menus, minimum pro

  • This topic has 4 replies, 2 voices, and was last updated 10 years ago by kimberlymwhd.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 17, 2016 at 12:49 pm #191461
    kimberlymwhd
    Member

    Still looking for a way to change the Primary Navigation menu for each individual Page?

    Here is my coding in my theme now:
    //* Reposition the primary navigation menu
    remove_action( 'genesis_after_header', 'genesis_do_nav' );
    add_action( 'genesis_after_header', 'genesis_do_nav', 15 );

    //* Reposition the secondary navigation menu
    remove_action( 'genesis_after_header', 'genesis_do_subnav' );
    add_action( 'genesis_after_header', 'genesis_do_subnav', 7 );

    //* Reduce the secondary navigation menu to one level depth
    add_filter( 'wp_nav_menu_args', 'minimum_secondary_menu_args' );
    function minimum_secondary_menu_args( $args ){

    if( 'secondary' != $args['theme_location'] )
    return $args;

    $args['depth'] = 1;
    return $args;

    }

    I want to have 5 Custom Menus for 5 different Pages.

    Let me know if anyone can walk me through how to do this. Thanks!

    http://blog.fogelman-management.com/
    August 17, 2016 at 12:56 pm #191463
    Brad Dalton
    Participant

    You could use the Genesis Simple Menus plugin.


    Tutorials for StudioPress Themes.

    August 17, 2016 at 2:32 pm #191484
    kimberlymwhd
    Member

    Ok tried that and it looks like I'm needing to replace the Primary navigation and that plugin only allows changes to the Secondary. Do you know how to "swap" those menu names/positions??

    August 17, 2016 at 9:41 pm #191500
    Brad Dalton
    Participant

    You can change the position of the primary and secondary nav menu using code.

    Or

    You can use custom code to show different menus conditionally.


    Tutorials for StudioPress Themes.

    August 18, 2016 at 8:44 am #191538
    kimberlymwhd
    Member

    Brad, I have done this via your first option. But now I can NOT figure out which CSS to change to show the links! Can you help me with this? The menu is located under the "marketing the difference" header but its ALL showing white!
    Here is the example page: http://blog.fogelman-management.com/resources/templates/

  • 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