• 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 Conditionals

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 › Custom Conditionals

This topic is: resolved

Tagged: custom conditionals, executive pro, Extender, genesis, plugins

  • This topic has 4 replies, 2 voices, and was last updated 12 years, 5 months ago by Marcy.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 2, 2013 at 10:53 am #65075
    dman630
    Member

    What is better to use when creating custom conditionals, widgets or hooks? I have 9 different pages and would like to display a custom menu in the sidebar for each page. Everything seems to work fine for the first three pages but once I get to the fourth page, I notice duplicate menus and the wrong menu on other pages. I double checked my page id's, and conditionals for each widget but am still not sure what the issue is. Should I delete the widgets and create custom hook boxes instead, any insight or direction would help? Also, I am using the Executive Pro Child Theme with the Genesis Extender plugin. I've removed the default sidebar in theme functions. Any assistance would be appreciated.

    Thanks,
    Dan

    http://www.rtmassociates.com.php53-9.dfw1-2.websitetestlink.com/commercial-2/
    October 2, 2013 at 4:07 pm #65121
    Marcy
    Participant

    So are you creating a custom menu for each page in Appearance > Menus?

    And then are you using the Custom Menu widget to add them all to the Primary Sidebar in Appearance > Widgets ?

    And then what are you using to hide or show each Custom Menu widget? Widget Logic? Jetpack Widget Visibility?

    With Jetpack widget Visibility, you just select pages
    With Widget Logic you would use:
    is_page('807')
    for each of your Custom Menu Widgets, where 807 is the page id. This should work OK.
    I have never tried it with that many menus, but with other widgets, it works.


    Marcy | Amethyst Website Design | Twitter

    October 3, 2013 at 8:28 pm #65305
    Marcy
    Participant

    OK. This might work better for what you're trying to do.
    Add the Genesis Simple Sidebars plugin - http://wordpress.org/plugins/genesis-simple-sidebars/

    This is what it does: This plugin allows you to create multiple, dynamic widget areas, and assign those widget areas to sidebar locations within the Genesis Framework on a per post, per page, or per tag/category archive basis.


    Marcy | Amethyst Website Design | Twitter

    October 7, 2013 at 10:28 am #65678
    dman630
    Member

    Thanks for your help Marcy, I appreciate it. Sorry it took a while to respond. I was able to get the custom conditional sidebar working after isolating and deleting the custom widget causing the issue. I will definitely remember to try this first next time. Thanks, Dan.

    October 7, 2013 at 1:56 pm #65699
    Marcy
    Participant

    I'm glad you got it working!


    Marcy | Amethyst Website Design | Twitter

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Custom Conditionals’ is closed to new 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