• 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

Custom menu with links within current section

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 › Custom menu with links within current section

This topic is: resolved

Tagged: menus

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 2 months ago by oldmankit.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • November 12, 2013 at 5:22 am #72452
    oldmankit
    Member

    I have a menu that looks like this:
    Section one
    - page 1.1
    - page 1.2
    - page 1.3
    Section two
    - page 2.1
    - etc
    Section three
    - page 3.1
    - etc.

    This all display through a dropdown menu that uses Superfish script, at the top of the page. When you hover over 'Section one', you see an accordian come down with page 1.1, 1.2 and 1.3.

    What I would like to do (even ignoring any accessibility issues) is to be able to have something in the sidebar that duplicates this content without any script, and only has links to pages in the current section. For example, when the user is browsing a page in section one, they would see links to all the pages in section one (1.1, 1.2, 1.3). They wouldn't see pages from other sections. The same would work when they are browsing pages in section two.

    Obviously I could type the links by hand, but that's really inflexible. Is there a way I could do this with a plugin or something else?

    I apoligise that my site is in maintenance mode so I cannot provide a working url.

    A related question is this: if people don't use javascript or are using a screenreader, will they be able to access all of the links in my primary menu?

    November 12, 2013 at 7:19 am #72457
    nutsandbolts
    Member

    There is a plugin called Genesis Simple Menus you might find useful. Basically, you can use Primary Navigation as you normally would, then the plugin allows you to use different Secondary Navigation menus depending on what page, post, category, etc. the person is viewing. So, for example, you could create a menu for Section 1, then assign it to all the posts and pages in that section of the site.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    November 13, 2013 at 1:18 am #72656
    oldmankit
    Member

    Thanks for the tip on Genesis Simple Menus. I tried it, and decided there should be a more automatic way of adding a custom menu rather than having to select on every page which menu to display.

    I posted my answer on WordPress StackExchange. You can see it here.

  • 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

© 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