• 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

brook1979

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 41 post (of 41 total)
← 1 2 3
  • Author
    Posts
  • April 3, 2013 at 8:10 am in reply to: Home featured Left/Right #32819
    brook1979
    Member

    Hi Brad,

    Thanks for taking the time to help, much appreciated. Here's what I have done up to now. I was going to try and explain what ive done, BUT ive messed with it that much Im getting confused....SO heres what ive done in the code.

    Registered the new featured areas:

    genesis_register_sidebar( array(
    'id'                => 'case-featured-left',
    'name'            => __( 'Case Featured Left', 'balance' ),
    'description'    => __( 'This is the featured left area for case studies.', 'balance' ),
    ) );

    genesis_register_sidebar( array(
    'id'                => 'case-featured-right',
    'name'            => __( 'Case Featured Right', 'balance' ),
    'description'    => __( 'This is the featured right area for case studies.', 'balance' ),
    ) );

    Then on the home page (I know they shouldnt be on the home.php, BUT im not clear on where to add them).

    function balance_home_loop_helper() {

    if ( is_active_sidebar( 'home-featured-left' ) || is_active_sidebar( 'home-featured-right' ) ) {

    echo '<div id="home-featured"><div class="wrap clearfix">';

    echo '<div class="home-featured-left">';
    dynamic_sidebar( 'home-featured-left' );
    echo '</div><!-- end .home-featured-left -->';

    echo '<div class="home-featured-right">';
    dynamic_sidebar( 'home-featured-right' );
    echo '</div><!-- end .home-featured-right -->';

    echo '</div><!-- end .wrap --></div><!-- end #home-featured -->';

    echo '<div id="case-featured"><div class="wrap clearfix">';

    echo '<div class="case-featured-left">';
    dynamic_sidebar( 'case-featured-left' );
    echo '</div><!-- end .case-featured-left -->';

    echo '<div class="case-featured-right">';
    dynamic_sidebar( 'case-featured-right' );
    echo '</div><!-- end .case-featured-right -->';

    echo '</div><!-- end .wrap --></div><!-- end #case-featured -->';

    }

    }

    remove_action( 'genesis_loop', 'genesis_do_loop' );
    add_action( 'genesis_loop', 'child_grid_loop_helper' );

     

    Can you point me in the right direction from here?

    Your assistance is much appreciated.

    Carl

  • Author
    Posts
Viewing 41 post (of 41 total)
← 1 2 3
« Previous Page

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