• 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

Template tag for including the primary menu

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 › Template tag for including the primary menu

This topic is: resolved
  • This topic has 2 replies, 2 voices, and was last updated 11 years, 3 months ago by Susan Nelson.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 24, 2014 at 10:57 am #92156
    Susan Nelson
    Participant

    I am working on an old version of the Corporate theme and I need to manually place the primary navigation. Using the simple hooks plugin, I tried each of these:

    <?php wp_nav_menu( array('menu' => 'Primary' )); ?>
    <?php wp_nav_menu( array('menu' => 'nav-primary' )); ?>
    <?php wp_nav_menu( array('menu' => 'menu-primary' )); ?>

    They all work, but the menu has none of the styles associated with it. It's just a plain unordered list. Does anyone have an idea of how I can include the primary menu using a template tag within simple hooks?

    February 26, 2014 at 1:12 am #92432
    Brad Dalton
    Participant

    Include a container class and/or wrap them in the same classes as your primary or secondary menus. http://wpsites.net/web-design/adding-additional-nav-menus-in-genesis/


    Tutorials for StudioPress Themes.

    February 26, 2014 at 4:43 am #92448
    Susan Nelson
    Participant

    Thanks, Brad! That worked.

  • 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