• 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

How to show excerpt on homepage if it exists

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 › How to show excerpt on homepage if it exists

This topic is: not resolved

Tagged: Excerpt, grid loop, minimum pro

  • This topic has 2 replies, 3 voices, and was last updated 8 years, 2 months ago by ErinM.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 21, 2014 at 7:27 am #86254
    zekit
    Member

    Hey guys, I am using genesis with Minimum Pro and I am looking for a way to show the post excerpt (if there is one) in the homepage instead of the post content .

    Can anyone help me?

    http://wpsite.co.il
    January 25, 2014 at 1:21 pm #86988
    Dorian Speed
    Member

    Find the following code in front-page.php

    //* Genesis grid loop
    function minimum_grid_loop_helper() {
    
    	if ( function_exists( 'genesis_grid_loop' ) ) {
    		genesis_grid_loop( array(
    			'features'              => 0,
    			'feature_image_size'    => 0,
    			'feature_content_limit' => 0,
    			'grid_image_size'       => 0,
    			'grid_content_limit'    => 250,
    			'more'                  => __( '[Read more]', 'minimum' ),
    		) );
    	} else {
    
    		genesis_standard_loop();
    
    	}
    
    }

    Replace it with this (changing the grid content limit to zero):

    //* Genesis grid loop
    function minimum_grid_loop_helper() {
    
    	if ( function_exists( 'genesis_grid_loop' ) ) {
    		genesis_grid_loop( array(
    			'features'              => 0,
    			'feature_image_size'    => 0,
    			'feature_content_limit' => 0,
    			'grid_image_size'       => 0,
    			'grid_content_limit'    => 0,
    			'more'                  => __( '[Read more]', 'minimum' ),
    		) );
    	} else {
    
    		genesis_standard_loop();
    
    	}
    
    }

    Bringing websites Up to Speed
    Firebug will light the way to understanding the secrets of the Internet!

    July 24, 2015 at 9:06 am #160302
    ErinM
    Member

    This helped me. Thank you! 🙂

  • 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

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