• 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

Remove Posts from Homepage

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 › Remove Posts from Homepage

This topic is: not resolved
  • This topic has 8 replies, 5 voices, and was last updated 12 years, 2 months ago by Marco.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • April 19, 2013 at 9:36 am #36382
    zackthegreek
    Member

    I am using the minimum child theme and I want to keep posts from displaying at the bottom of the homepage.  Anyone know how to do this?  Thanks for your time!

     

     

    http://www.tronelectric.com
    April 19, 2013 at 10:01 am #36389
    zuperigo
    Member

    wp>dashboard>genesis>theme settings and go to comments and edit ...

    April 20, 2013 at 10:08 am #36572
    zackthegreek
    Member

    That did not help

    April 20, 2013 at 12:36 pm #36582
    AnitaC
    Keymaster

    Open up your Home.php file, look for this and delete it:

    add_action( 'genesis_loop', 'minimum_grid_loop_helper' );
    function minimum_grid_loop_helper() {
    
    	if ( function_exists( 'genesis_grid_loop' ) ) {
    		genesis_grid_loop( array(
    			'features' 		=> 0,
    			'feature_image_size' 	=> 'featured',
    			'feature_image_class' 	=> 'post-image',
    			'feature_content_limit' => 0,
    			'grid_image_size'	=> 0,
    			'grid_image_class'	=> 'alignnone',
    			'grid_content_limit' 	=> 250,
    			'more'			=> __( '[Read more]', 'minimum' ),
    		) );
    	} else {
    		genesis_standard_loop();
    	}
    
    }

    Need help with customization or troubleshooting? Reach out to me.

    May 3, 2013 at 1:59 pm #39161
    Mike P
    Member

    I had the same question. Removed the above code and it took care of the loop feature, however I still have posts appearing.

    http://www.impactcollaborative.org/dc01/

    Thoughts?

     

     

    May 3, 2013 at 2:17 pm #39165
    AnitaC
    Keymaster

    Did you remove the code including the standard loop?


    Need help with customization or troubleshooting? Reach out to me.

    May 3, 2013 at 11:15 pm #39209
    Mike P
    Member

    I did indeed remove the standard loop part, along with everything else in the above code.  Ideally, I'd like to replace the grid/loop section down there with a widget area. But will aim for removing the posts for now.

    May 4, 2013 at 12:13 am #39214
    Mike P
    Member

    Looks like I could add this to the stylesheet:

    .home #inner {
    display: none;
    }

    but this pretty much limits my ability to add anything else there, right?

     

    May 4, 2013 at 10:46 am #39272
    Marco
    Member

    Hello,
    just place 2 // before the `add_action( 'genesis_loop', 'minimum_grid_loop_helper' );`

    like` //add_action( 'genesis_loop', 'minimum_grid_loop_helper' );`

    You don't have to remove the `remove_action( 'genesis_loop', 'genesis_do_loop' );`.

    If you need to remove the sidebar, just add this before the genesis();

    `remove_action( 'genesis_after_content', 'genesis_get_sidebar' );`

    genesis();


    Neat & Plain – Genesis and WordPress specialist

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