• 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

Add alternate primary navigation menu just for home 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 › Design Tips and Tricks › Add alternate primary navigation menu just for home page?

This topic is: not resolved

Tagged: custom menu, nav menu

  • This topic has 4 replies, 2 voices, and was last updated 6 years, 3 months ago by okieman.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • June 19, 2017 at 6:02 pm #207958
    okieman
    Member

    On our site, our minister wants the nav menu on the home/splash page to only show three links. Then the full version should display on all other pages. Same location in the layout. I have been doing this with CSS. It got messy. WP developers in StackExchange suggested I create a new menu in functions.php that is just for the home page, and use "is_home()" to display it only there.
    But in the past, I had to abandon another customization project because Outreach Pro is a child theme. Any "gotcha" warnings about this alternate menu for the home page before I proceed?

    http://www.tulsaunity.com/
    June 19, 2017 at 10:53 pm #207961
    Brad Dalton
    Participant

    There's many different options:

    1. You can code the custom menu in your functions file using a conditional tag
    2. You can code the custom menu in your front-page.php file
    3. You can code a custom widget area for the front page only and use the custom menu widget
    4. You can try the Genesis Simple Menus plugin


    Tutorials for StudioPress Themes & WooCommerce.

    June 19, 2017 at 11:10 pm #207962
    okieman
    Member

    I really like options 1-3. Looks like #3 could all be done in the admin area? Do you have an opinion about pros/cons of #1 and #2?

    June 19, 2017 at 11:12 pm #207963
    Brad Dalton
    Participant

    3 is easiest for you. Here's the code.


    Tutorials for StudioPress Themes & WooCommerce.

    June 19, 2017 at 11:23 pm #207964
    okieman
    Member

    Thanks for that link!! I was trying to squeeze out information because I have a contract gig where about half the clients are on WordPress. I've been working with it about 2 years and before that a very different platform: ColdFusion. So I'm collecting ideas on how to handle challenges.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ 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

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