• 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

Balance Theme – change post format on home page

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 › Balance Theme – change post format on home page

This topic is: resolved
  • This topic has 6 replies, 2 voices, and was last updated 12 years, 11 months ago by KathleenCD.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • July 16, 2013 at 5:42 pm #51051
    KathleenCD
    Member

    Is there a (simple) way of changing how multiple posts show up on the home page. Unless the post titles are the same length, having the posts side by side in 2 colums looks very untidy. I'd like to have them show the same as they do on the blog page - one beneath the other. [ http://testsite2nl.com ]

    Fingers crossed!
    Thanks.

    http://testsite2nl.com/
    July 16, 2013 at 5:54 pm #51053
    Doak Heggeness
    Member

    You need to uncomment-out ( /*...*/ ) or delete the 'grid loop' in the home.php ( lines 41 - 66 ). Please use a third party app ( cPanel or SFTP ) so you can 'undo' any errors. DO NOT delete genesis (); at the bottom of the page.

    /*
    remove_action( 'genesis_loop', 'genesis_do_loop' );
    add_action( 'genesis_loop', 'child_grid_loop_helper' );
    /** Add support for Genesis Grid Loop **/
    function child_grid_loop_helper() {
    
    	if ( function_exists( 'genesis_grid_loop' ) ) {
    	
    		genesis_grid_loop( array(
    			'features' => 1,
    			'feature_image_size' => 0,
    			'feature_image_class' => 'align none post-image',
    			'feature_content_limit' => 0,
    			'grid_image_size' => 'grid',
    			'grid_image_class' => 'align none post-image',
    			'grid_content_limit' => 0,
    			'more' => __( 'Continue reading...', 'genesis' ),
    			'posts_per_page' => 5,
    		) );
    
    	}
    
    	else {
    		genesis_standard_loop();
    	}
    
    }
    */

    Doak Heggeness, WordPress Development | Website

    July 16, 2013 at 6:25 pm #51063
    KathleenCD
    Member

    Thanks for the quick repsonse. I just want to clarify - To comment out I add the /* at the beginning as shown above. Is that the only change or should i insert */ somewhere?

    Your instructions below show both but I only see /* in the code above.
    (You need to uncomment-out ( /*…*/ )

    Tks

    July 16, 2013 at 6:37 pm #51067
    KathleenCD
    Member

    Disregard... I just saw the */ at the bottom. sorry!!

    July 16, 2013 at 6:44 pm #51070
    KathleenCD
    Member

    I made the change as follows but got a syntax error. Any idea where I went wrong?

    }

    }

    /*
    remove_action( 'genesis_loop', 'genesis_do_loop' );
    add_action( 'genesis_loop', 'child_grid_loop_helper' );
    /** Add support for Genesis Grid Loop **/
    function child_grid_loop_helper() {

    if ( function_exists( 'genesis_grid_loop' ) ) {

    genesis_grid_loop( array(
    'features' => 1,
    'feature_image_size' => 'feature',
    'feature_image_class' => 'align none post-image',
    'feature_content_limit' => 300,
    'grid_image_size' => 'grid',
    'grid_image_class' => 'align none post-image',
    'grid_content_limit' => 0,
    'more' => __( 'Continue reading...', 'genesis' ),
    'posts_per_page' => 5,
    ) );

    }

    else {
    genesis_standard_loop();
    }

    }
    */

    genesis();

    July 16, 2013 at 7:49 pm #51078
    Doak Heggeness
    Member

    Yes, probably, it is easy to create a syntax error ( a semicolon out of place will create one ). Here is the home.php without the grid loop. Copy & paste it or check it against yours.

    <?php
    
    add_action( 'genesis_meta', 'balance_home_genesis_meta' );
    /**
     * Add widget support for homepage.
     *
     */
    function balance_home_genesis_meta() {
    
    	if ( is_active_sidebar( 'home-featured-left' ) || is_active_sidebar( 'home-featured-right' ) ) {
    	
    		add_action( 'genesis_after_header', 'balance_home_loop_helper' );
    
    	}
    }
    
    /**
     * Display widget content for home featured sections.
     *
     */
    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 -->';	
    
    		}
    
    }
    
    genesis();

    Doak Heggeness, WordPress Development | Website

    July 16, 2013 at 8:02 pm #51086
    KathleenCD
    Member

    Perfect!!! Thank you so much for helping me with this Doak.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Balance Theme – change post format on home page’ 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