• 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

designslucid

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 17, 2014 at 9:56 am in reply to: How to Conditionally hide this slider? #114665
    designslucid
    Member

    Thanks for such a quick reply genwrock. I tried your code as is and it did not show the slider on any pages, same thing that had been happening with mine. BUT - before I saw your reply I tried this below and it worked. Also, I modified is_home to is_front_page on your code and it worked as well!

    Appreciate the help and I hope this helps someone else in the future as well. I tried searching this out before I posted and couldn't find a solution that worked. Thanks again!!!

    /** Add the welcome text section */
    add_action( 'genesis_before_content_sidebar_wrap', 'custom_welcome_text' );
    function custom_welcome_text() { if ( is_front_page() ){ 
    genesis_widget_area( 'welcome-text', array(
    'before' => '<div class="welcome-text widget-area">',
    'after' => '</div>',
    ) );
    }
    }
    May 27, 2014 at 9:08 pm in reply to: Help with conditional tag! #107078
    designslucid
    Member

    Got it! Simple syntax errors.

    <div class="home-slider"><?php if (is_front_page()){ dynamic_sidebar('home-slider');}?></div>

    May 27, 2014 at 8:59 pm in reply to: Help with conditional tag! #107077
    designslucid
    Member

    The first statement - is being used currently in simple hooks with NO issues. I just don't want the slider to appear on any pages except the home page.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)

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