• 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

Conditional or appended menus

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 › Conditional or appended menus

This topic is: not resolved

Tagged: conditional, menu, one page

  • This topic has 1 reply, 1 voice, and was last updated 9 years ago by fortyfivecreative.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 5, 2014 at 3:30 am #88731
    fortyfivecreative
    Member

    Hi, I'm hoping to get some help on conditional menus, or adding to existing links on existing menus. You'll see here: http://tok.hostfortyfive.co.uk that this is a 1 page site, with the exception of the blog page that you can get to by clicking 'More' on any one of the 3 post excerpts.

    The primary menu and sticky menu on the front page call anchor points on the same page, but once you click on an excerpt and get to a blog page, category or single post, the menus are still trying to call the anchor points so no longer work, as you are now on a different page.

    I need to either substitute the menus on the blog page and associated pages in order to get users back to the front page, or add to the href on the menu links, e.g. '#menus' becomes 'site url/#menus' as a conditional statement.

    Any help or better solution would be appreciated!

    Thanks

    http://tok.hostfortyfive.co.uk
    February 5, 2014 at 9:22 am #88763
    fortyfivecreative
    Member

    Solved with a simpler solution. I added the full paths to the menu links, rather then just the anchor, e.g.

    http://tok.hostfortyfive.co.uk/#menus

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