• 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- How to Change the "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- How to Change the "Home" Page???

This topic is: not resolved

Tagged: Balance

  • This topic has 2 replies, 3 voices, and was last updated 12 years, 6 months ago by joycegrace.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 8, 2013 at 7:33 pm #40002
    SocialSuzi
    Member

    I want the front page of my Balance themed site to be a static page- how can I make the #home-featured items show up on this page instead of the blog?

    You can see the work in progress here: http://thesuccesssuite.com/

    http://thesuccesssuite.com/
    May 9, 2013 at 3:37 am #40050
    Brad Dalton
    Participant

    You can remove the posts from your home page using various methods.

    One way is to remove this code from your home.php file:

    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' => 0,
    		) );
    
    	}
    
    	else {
    		genesis_standard_loop();
    	}
    
    }
    

    So your home.php file now looks like this:

    <?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 -->';	
    
    		}
    
    }
    
    remove_action( 'genesis_loop', 'genesis_do_loop' );
    
    genesis();
    

    Or you could also comment out the custom genesis_grid_loop function


    Tutorials for StudioPress Themes.

    May 10, 2013 at 8:53 pm #40413
    joycegrace
    Participant

    Hello, I tried to do this and ran into two problems:

    I commented out the code as you suggested so my home.php had only the code in the example you gave as what you would end up with if you deleted the part you mentioned.

    That removed all text from the home page. Understandable, since now we want a static page, not posts there.

    I went into Settings > Reading and selected to have my Front Page display a page - but that takes away the banner at the top of Balance theme and shows an inside page without the breadcrumbs - so it's like a totally new set up.

    Can you help clarify what to do next after removing the code you suggested?


    Find me at Joyce Grace (http://www.joycegrace.ca)

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

© 2025 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