• 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

Select Primary Menu by page

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 › Select Primary Menu by page

This topic is: not resolved

Tagged: navigation, override, primary, simple menus

  • This topic has 2 replies, 3 voices, and was last updated 12 years, 1 month ago by Brad Dalton.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 5, 2013 at 12:40 pm #24341
    staceypruim
    Member

    I'm using Genesis and a plugin called genesis simple menus to define which secondary menu displays in certain sections of my menbership site.  I need to have another level and so was hoping to also be able to override the default primary menu as well.  Anyone done that before or know how I would go about having it "defined" by page like the secondary navigation is currently?

    April 25, 2013 at 5:26 am #37604
    cehwitham
    Member

    If there isn't an option in the plugin to define the primary menu too, then you'd have to write conditionals in your functions.php file to switch the menu based on which page you're on.

    Do you need to use primary and secondary menus? If you only need one menu per page an alternative would be to use your current plugin and then just switch the primary and secondary menus.

    Chris


    Twitter: cehwitham Web: cehwitham.com

    April 25, 2013 at 7:54 am #37633
    Brad Dalton
    Participant

    I've written conditionals for this and you can also use a plugin.

    Simply change the conditional tags in this code to the page i.d's you want to use or install the plugin. http://wordpress.org/extend/plugins/menu-items-visibility-control/

    Code not displaying? Grab it from Github


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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

© 2025 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