• 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

Change Post Numbers in Eleven40

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 › General Discussion › Change Post Numbers in Eleven40

This topic is: not resolved

Tagged: Eleven40

  • This topic has 6 replies, 3 voices, and was last updated 11 years, 9 months ago by Brad Dalton.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • July 5, 2013 at 5:22 am #49297
    JWsimpkins
    Member

    Hey guys,

    I'm currently using the Eleven40 theme and I'm trying to figure out how to change the number of posts that display on my homepage.

    Thanks!

    Jason

    http://fitmenover40.com
    July 5, 2013 at 5:50 am #49299
    Brad Dalton
    Participant

    I think you can simply change the value for features in your home.php file:

    'features' => 1,
    

    Tutorials for StudioPress Themes.

    July 5, 2013 at 7:26 am #49313
    JWsimpkins
    Member

    Great, thanks Brad!

    August 12, 2013 at 1:23 pm #55844
    winnydejong
    Member

    Hi Brad Dalton,

    I also have the Eleven40 theme. I'd like to change the homepage into 1 featured posts and 4 older 'teaser' post with the featured image. Any ideas how to do this?

    If I change the number of the featured posts in home.php, I'll get more featured posts (full width) but I can't seem to change the number of featured posts...

    Thanks in advance! Best, Winny

    August 12, 2013 at 1:34 pm #55848
    Brad Dalton
    Participant

    You mean 1 featured and 4 grid?

    You can do this with the new Eleven40 Pro version.

    This is how i did it.

    Go to Genesis > Theme Settings > Blog Page Template > Number of Posts to Show: 5

    Then go to Settings > Reading > Blog pages show at most: 5

    This is the default Eleven40 Pro version home.php file settings:

    <?php
    
    remove_action( 'genesis_loop', 'genesis_do_loop' );
    add_action( 'genesis_loop', 'eleven40_grid_loop_helper' );
    /** Add support for Genesis Grid Loop */
    function eleven40_grid_loop_helper() {
    
    	if ( function_exists( 'genesis_grid_loop' ) ) {
    		genesis_grid_loop( array(
    			'features'			=> 1,
    			'feature_image_size'	=> 0,
    			'feature_image_class' 	=> 'alignleft post-image',
    			'feature_content_limit' => 0,
    			'grid_image_size'		=> 'grid-featured',
    			'grid_image_class'		=> 'grid-featured',
    			'grid_content_limit' 	=> 250,
    			'more'				=> __( '[Continue reading]', 'eleven40' ),
    		) );
    	} else {
    		genesis_standard_loop();
    	}
    
    }
    
    genesis();
    

    The result

    index


    Tutorials for StudioPress Themes.

    August 12, 2013 at 1:49 pm #55851
    winnydejong
    Member

    Sorry, I might have been unclear. I'd like the homepage to show only five posts (1 featured, 4 grid) but I want all the other pages - archive, categories etc. - to show 10.

    If I make the changes you describe those pages will only show 5 posts... Any ideas how to fix this?

    August 12, 2013 at 2:09 pm #55855
    Brad Dalton
    Participant

    I left the Reading Settings at 5 and changed the Genesis Blog Page Template settings to 15 and it showed 15 on the blog page and 5 on the home page.

    However, the archives will only show 5 so you would need to modify the custom grid loop.

    Or use this plugin http://wordpress.org/plugins/genesis-grid-loop/


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘General Discussion’ 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